CCCPaste

View Webcam with Mplayer

mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0:fps=10:outfmt=rgb16 tv://

Nice looking Weather Forecast in your shell

https://github.com/chubin/wttr.in

#Commands
curl wttr.in
curl wttr.in/newyork

Imagemagick Filter Code Generator.

http://jqmagick.imagemagick.org/

Stream to Youtube using FFMPEG

#!/bin/bash

ffmpeg -f pulse -i default -f x11grab -framerate 30 -video_size 1920x1080 \ :(
-i :0.0+0,0 -vcodec libx264 -preset veryfast -maxrate 1984k -bufsize 3968k \
-vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 \

lpSolve with absolute values

ntypes <- length(unique(dat[,"type"])) # number of types
typemap <- setNames(seq.int(ntypes), unique(dat[,"type"])) # map typename to 1,...,ntypes

solve_one <- function(subdat, capdat) {

ESP8266 SD card Pinout Notes

ESP8266 SDcard pinout
=====================
GND - GND
3.3v - 3.3v
5v - N/A

Userscloud List Downloader - comics

#!/bin/bash
url="$1"
agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0"

wget "$url" -O-|grep "_blank"|cut -d\" -f4,7|cut -d\< -f1|sed 's/">/|/g'|while read file

Comic Book Downloader

#!/bin/bash
url="$1"
agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0"

#wget "$url" -O-|zcat|sed 's/"/\n/g' |grep userscloud|while read link

gqrx rtl-sdr usb radio dongle setup

#install needed software
sudo aptitude install gqrx-sdr rtl-sdr

#UnPlug device in and kill kernel module
sudo rmmod dvb_usb_rtl28xxu rtl2832

list all files recursively without 'ls' or 'find'

#!/bin/sh

search() {
local d
for d in *; do