CCCPaste

Backup all SVN repositories

@echo off

echo Backup all SVN repositories using Hungarian date format
echo
echo Based on http://serverfault.com/a/573221/305124

gphoto2 notes

#!!!!!!!!!!!if camera is "claimed" look for process that is using it,
#!!!!!!!!!!!possible "gvfs-gphoto2-volume-monitor" and kill it

#Some Settings are only available if you are in “M” mode on the camera
List features:

Run CMD Command web server interface

<#
This creates a web server on port 800 that runs given commands
It servers up output from this script.
example: http://localhost:8000/?cmd=dir c:\

wansview ipcam grab images in loop

#!/bin/bash
let x=1
while [ 1 ];
do
wget "http://<ip adress>/snapshot.cgi?user=<username>&pwd=<password>" -O $(printf %04d.jpg ${x%.*})

FLASH SWF extract all files.

swfextract --outputformat "extract_%06d.%s" -a 1- test.swf

BASH check POP3 mail with telnet

#!/bin/bash

fetch(){
sleep 1
echo "USER user@website"

Get Crew Information from Callback Staffing

//Load jQuery
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.

check imap mail gmail

#turn on "Less Secure Apps"
https://www.google.com/settings/security/lesssecureapps

#do a quick check
curl -u username:password --silent "https://mail.google.com/mail/feed/atom" |sed 's/</\n</g'

Mplayer Slave Control Notes

#setup
mkfifo /tmp/mplayer-control
find `pwd` -iname "*.mp3" > /tmp/playlist #create playlist
mplayer -slave -input file=/tmp/mplayer-control --playlist="/tmp/playlist" > /tmp/mplayer-info
#mplayer -slave -input file=/tmp/mplayer-control *.mp3 > /tmp/mplayer-info

Android Moto G Root Telnet

#!/bin/bash

img=boot.img
img2=boot2.img
port=9999