Skip to content

Instantly share code, notes, and snippets.

/*
By Ben-Kaniobi
https://gist.github.com/Ben-Kaniobi
Versions:
0.1.5 Fixed bug of black rectangle that sometimes appeared near the url bar with long urls
0.1.4 Updated for Firefox 42 on Windows 10; Also handling background of tab bar
0.1.3 Updated for Firefox 40 on Windows 10
0.1.2 Added info on how to make it work on Windows 10
0.1.1 Update for Firefox 29 (Australis)
0.1.0 First release
@Ben-Kaniobi
Ben-Kaniobi / FirefoxAntiAustralis.css
Last active August 19, 2016 17:33
userChrome.css
/*
By Ben-Kaniobi
https://gist.github.com/Ben-Kaniobi
Versions:
0.1.6 Updated for Firefox 48; Fixing recommendation pop-up position
0.1.5 Updated for Firefox 42 on Windows 10; Compatibility mode for other script not needed anymore
0.1.4 Compatibility with style "Firefox with Windows 8 colors" can now be selected from dropdown menu on userstyles.org
0.1.3 Minor cosmetic fix: Use right margin to overlap tab borders instead of left margin so the left border is still visible on the first tab
0.1.2 Updated to move the bookmark bar below the address bar
0.1.1 Updated to remove the menu button and small fix
@Ben-Kaniobi
Ben-Kaniobi / Testprotokoll.tex
Last active August 29, 2015 14:06
LaTeX template
% By Ben-Kaniobi
% https://gist.github.com/Ben-Kaniobi
\documentclass{scrartcl}
\usepackage[ansinew]{inputenc} % Schriftcodierung für Windows
\usepackage[T1]{fontenc} % Schriftkodierung
\usepackage[ngerman]{babel} % Neue de. Rechtschr. (Worttrennung, äöüß etc.) als Parameter für babel
\usepackage{lmodern} % Darstellung
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
## Intermediate documents:
@Ben-Kaniobi
Ben-Kaniobi / print.tex
Created November 17, 2014 08:54
LaTeX template
% Very simple LaTeX template for printing images in correct size
\documentclass{scrartcl}
%\usepackage[a3paper]{geometry}
\usepackage{todonotes}
\begin{document}
\begin{figure}
@Ben-Kaniobi
Ben-Kaniobi / Apache_GPL_MIT.md
Created December 29, 2014 15:59
License comparison

License comparison: Apache / GPL / MIT

Similarities

License and copyright notice Required
Private Use Permitted
@Ben-Kaniobi
Ben-Kaniobi / nearest_neighbor.m
Created January 31, 2015 17:19
TSP nearest neighbor
function [ path, cost ] = nearest_neighbor( start, map )
%NEAREST_NEIGHBOR Solves the traveling salesman problem using the nearest
%neighbor method
%% Preparation
if diff(size(map)) ~= 0
error('The width and height of the Map has to be the same');
end
% Replace diagonal elements with infinite value so we don't stay in the
@Ben-Kaniobi
Ben-Kaniobi / A1_Add-classic-desktop-right-click-settings.reg
Last active August 5, 2023 20:03
Windows 10: Classic "Personalize" and "Display settings" in desktop right-click menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground]
[HKEY_CLASSES_ROOT\DesktopBackground\ClassicSettings]
[HKEY_CLASSES_ROOT\DesktopBackground\ClassicSettings\Shell]
[HKEY_CLASSES_ROOT\DesktopBackground\ClassicSettings\Shell\DisplayClassic]
@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
@Ben-Kaniobi
Ben-Kaniobi / Markdown-in-Npp.md
Last active November 17, 2023 04:50
Step-by-step tutorial/guide how to use markdown in Notepad++

Markdown in Notepad++

Syntax Highlighting

Follow the instructions of this project.

Live Preview