CCCPaste

basic busybox http variable example

#!/bin/bash

echo -e "Content-type: text/html; charset=UTF-8\n"
eval $(echo "$QUERY_STRING" | awk -F'&' '{ for(i=1;i<=NF;i++) { print $i} }')

Android Camera controls

#take still images in a loop

#turn on screen
input keyevent KEYCODE_POWER

Crude Kindle Ripper

#!/bin/bash
#Very Crude Kindle ebook ripper
#xautomation package required.

while [ 1 ]

Basic Wifi Deauth jammer

#!/bin/bash
#must be root or sudo
wifi=$1

/etc/init.d/network-manager stop

Plot Age Of U.S. President Candidates 2016

pres_age <- function() {
#data
all_pres <- read.csv2("http://pastebin.com/raw/B0p5fts3", stringsAsFactors=FALSE)
all_pres[, "birthdate"] <- as.Date(strptime(all_pres[,"birthdate"], "%d.%m.%Y"))
all_pres[, "inauguration.date"] <- as.Date(strptime(all_pres[,"inauguration.date"], "%d.%m.%Y"))

U.S. Presidents (source: Wikipedia)

nr;name;birthdate;inauguration.date
2;John Adams;30.10.1735;4.3.1797
6;John Quincy Adams;11.7.1767;4.3.1825
21;Chester A. Arthur;5.10.1829;19.9.1881
15;James Buchanan;23.4.1791;4.3.1857

U.S. President candidates (Source: http://goo.gl/M6El6P)

candidate,birthday,party,source
Martin O'Malley,1/18/1963,Democrat,https://en.wikipedia.org/wiki/Martin_O%27Malley
Hillary Clinton,10/26/1947,Democrat,https://en.wikipedia.org/wiki/Hillary_Clinton
Bernie Sanders,9/8/1941,Democrat,https://en.wikipedia.org/wiki/Bernie_Sanders
Jeb Bush,2/11/1953,Republican,https://en.wikipedia.org/wiki/Jeb_Bush

Send an email with mailx - hostgator server

echo "test"| mailx -a "attachment/file.pdf" -r "[email protected] (Bob the Man)" -s "test sub" -- [email protected]

FFMPEG add Music to Still Image Video

ffmpeg -loop 1 -i image.jpg -i music.mp3 -strict -2 -shortest output2.mp4

Basic File Selection

#!/bin/bash

getFile(){
clear
PS3="Please Select a File: "