Skip to content

Instantly share code, notes, and snippets.

@RoguePixel
RoguePixel / RecordDesktop.sh
Created January 2, 2012 03:33
Bash Multimedia scripts
#!/bin/bash
clear
timestamp=$(date +%F)
filename=$1-
#fslim=$2
echo 'recording in 3 seconds' && sleep 3s
@RoguePixel
RoguePixel / ControlBanshee.py
Created January 2, 2012 03:30
Python scripts
#!/usr/bin/python/
##ControlBanshee.py:
##python hack script to control playback of the banshee media player
##
import os
#from subprocess import call
menu="\ncommands: \n \
@RoguePixel
RoguePixel / rsync_backup.py
Created January 2, 2012 03:24
rsync wrapper scripts
#!/usr/bin/python
import sys, os, subprocess
##
##RSYNC-BACKUP V1
#the script can be executed and by defualt the variables specified in the script will used, otherwise arguments may be passed to the script at runtime. This script can be used to sync remote files to a local directory or local files to a remote direcory specified at runtime.
##
##
#argument examples:
#":~$ rsync-backup.py -raz user@host:/some/dir/ /some/dir"