Archives
Trending
Support
Login
View Webcam with Mplayer
Show paste
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
Show paste
https://github.com/chubin/wttr.in
#Commands
curl wttr.in
curl wttr.in/newyork
Imagemagick Filter Code Generator.
Show paste
http://jqmagick.imagemagick.org/
Stream to Youtube using FFMPEG
Show paste
#!/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
Show paste
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
Show paste
ESP8266 SDcard pinout
=====================
GND - GND
3.3v - 3.3v
5v - N/A
Userscloud List Downloader - comics
Show paste
#!/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
Show paste
#!/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
Show paste
#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'
Show paste
#!/bin/sh
search() {
local d
for d in *; do
Previous
1
2
...
2618
2619
2620
2621
2622
...
2681
2682
Next