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
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyLC8KPj79TWDq6+tKrNRLTS+9PacvvlSGmJ5MufP3y/iFUlnDrdfgMcK0bjQQloCnVLwHZkJ8/Z4uxFxid/nNtAove1rJF4vKaFY5G9gtx+kDlOLMOJniPjwiRu/npAY3QiSwtNgIOIukQvmoDJ7YBEe7ZLPaDhh3j20Ix+NpqTMDciJxIhpJCP/jj9uer3oe1tyezW5ZeRDYn8WnNDsvg9EoG3UeIho2WHe++fUKdntQmN+YZwtwRR5SHN11iPJtVR0TywGc00jtUtJvFlFhm6IjgUAygLZBdlpJnu5HnisWfmOy0XCcN4cqhYwsNyBF0DPH7Fif+WXrO+bqZU0Z [email protected] |
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/bash | |
| #simple script to block and unblock websites using iptables string match. | |
| #usage: | |
| #to block: ./iptables.sh block facebook.com | |
| #to unblock: ./iptables.sh unblock facebook.com | |
| if [ "$1" == "block" ] | |
| then | |
| iptables -A OUTPUT -p tcp -m string --string "$2" --algo kmp -j REJECT | |
| iptables -A INPUT -p tcp -m string --string "$2" --algo kmp -j REJECT |
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/bash | |
| #Script to easily download the videos from vimcasts.org in .m4v format. | |
| #The -P option of grep doesn't come with BSD and Solaris? | |
| wget http://media.vimcasts.org/videos/index.json -O /tmp/index.json | |
| mapfile -t videos < <(cat /tmp/index.json | grep -o -P '(?<=: ").*(?=",)' | grep m4v | sort -V) | |
| for i in "${!videos[@]}" | |
| do | |
| wget ${videos[$i]} | |
| done |
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
| Hit http://localhost:19999/ from your browser. | |
| To stop netdata, just kill it, with: | |
| killall netdata | |
| To start it, just run it: | |
| /usr/sbin/netdata |
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
| tmux-256color-italic|tmux with 256 colors and italic, | |
| sitm=\ePtmux;\e\E[3m\e\\, ritm=\ePtmux;\e\E[23m\e\\, | |
| use=screen-256color, |
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
| Section "InputClass" | |
| Identifier "Clickpad" | |
| MatchIsTouchpad "on" | |
| MatchDevicePath "/dev/input/event*" | |
| Driver "evdev" | |
| # Synaptics options come here. | |
| Option "TapButton1" "1" | |
| Option "TapButton2" "3" | |
| Option "TapButton3" "2" | |
| Option "SoftButtonAreas" "60% 0 0 40% 40% 60% 0 40%" |
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/bash | |
| echo "Link of main page: " | |
| read main_page | |
| curl $main_page | grep -Po '".*?"' | grep '\.mp3' | sed 's/"//g' > links.txt | |
| num=$(cat links.txt | wc -l) | |
| for i in $(seq "$num") | |
| do | |
| if [ "$i" -lt "10" ] | |
| then |
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
| [$Version] | |
| update_info=konsole.upd:2.9.0-global-options | |
| [Colors] | |
| CurrentPalette=Forty Colors | |
| [Desktop Entry] | |
| DefaultProfile=Shell.profile | |
| [Favorite Profiles] |
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/bash | |
| x=$(ps -A | grep redshift) | |
| echo $x | |
| if [ -z "$x" ] | |
| then | |
| redshift &2>/dev/null | |
| else | |
| killall -9 redshift && redshift -x | |
| fi |
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
| use strict; | |
| use vars qw($VERSION %IRSSI); | |
| $VERSION = "2004021901"; | |
| %IRSSI = ( | |
| authors => "Stefan 'tommie' Tomanek", | |
| contact => "stefan\@pico.ruhr.de", | |
| name => "morse", | |
| description => "turns your messages into morse or spelling code", | |
| license => "GPLv2", |