This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name noSpacebarScroll | |
| // @description Prevents the spacebar from scrolling the web page | |
| // @namespace noSpacebarScroll | |
| // @grant none | |
| // @include * | |
| // @exclude *github.com* | |
| // @antifeature May break spacebar input on some web pages that rely on custom JavaScript inputs | |
| // @version 2 | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Custom scrollbar parameters */ | |
| /* $HOME/.config/gtk-3.0/gtk.css */ | |
| /* Enable legacy-style steppers (scrollbar buttons) */ | |
| * { | |
| -GtkScrollbar-has-backward-stepper: true; | |
| -GtkScrollbar-has-secondary-backward-stepper: true; | |
| -GtkScrollbar-has-forward-stepper: true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% for p in site.pages %} | |
| {% for gallery in p.galleries %} | |
| <div class="gallery"> | |
| {% if gallery['gallery'] == "test album" %} | |
| {% for image in gallery.images %} | |
| <div class="gallery-image-wrapper"> | |
| <a name="{{ image.name }}"></a> | |
| <!-- link correct gallery folder/image: | |
| site.gallery.dir -> dir of galleries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################ | |
| ## SYMLINK TO JAVA_HOME IN /usr/lib/jvm/: ## | |
| ############################################ | |
| openjdk-8-openj9 -> /opt/openj9-jdk8u232-b09/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| license: gpl-3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -x ## or just ` curl -Ls http://git.io/vRozn | sh `. | |
| ## Downloads the Mac OS X 10.10 Recovery Partition update, | |
| ## Copy's over the 10.10 version of Disk Utility.app, then | |
| ## use git to apply a binary patch so it will run on 10.11+. | |
| cd /tmp | |
| rm -rf DU1010 | |
| mkdir DU1010 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # _plugins/url_encode.rb | |
| require 'liquid' | |
| require 'uri' | |
| # Percent encoding for URI conforming to RFC 3986. | |
| # Ref: http://tools.ietf.org/html/rfc3986#page-12 | |
| module URLEncode | |
| def url_encode(url) | |
| return URI.escape(url, Regexp.new("[^#{URI::PATTERN::UNRESERVED}]")) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| if [[ $INTEL_DRV == true ]]; | |
| then | |
| # intel driver --> not necessary (fhd-mode already included) | |
| LVDS="eDP1" | |
| #SWYM | |
| exit 1; | |
| else | |
| # modesetting driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## returns string of percentage of memory used | |
| bc <<< "(100*($(awk '/MemTotal/ {print $2}' /proc/meminfo) - $(awk '/MemFree/ {print $2}' /proc/meminfo) ) / $(awk '/MemTotal/ {print $2}' /proc/meminfo))"; | |
| exit 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % definiere zu-zeigen-Symbol | |
| \newcommand{\zz}{$\mathrm{z\kern-.3em\raise-0.5ex\hbox{z}}$} | |
| \newcommand{\ZZ}{$\mathrm{Z\kern-.3em\raise-0.5ex\hbox{Z}}$} | |
| % qed-Symbol für Text-Umgebung | |
| \newcommand{\qed}{\hfill \ensuremath{\Box}} |
NewerOlder