Skip to content

Instantly share code, notes, and snippets.

@jcaraballo
jcaraballo / git-branch-between-different-repositories.md
Created March 6, 2012 01:05
How to fork a github repository in bitbucket

#Create bitbucket branch

##Create local branch

$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
  master
* sync
@bulljit
bulljit / gist:1087570
Created July 17, 2011 13:05
Transmission-Daemon Script: OnComplete ClamAV
#!/bin/sh
#user or email the logs get mailed to in case of error / virus (if your mta supports non-local email)
ADMIN="user"
#Log file used, warning, if you re-use the log file all previous data will be overwritten each time the script is run.
LOGFILE="/var/log/transmission/scanlogs/transmission-completed-$TR_TORRENT_NAME.log"
#Boolean to choose if logs should be deleted when no error occured or virus was found
DELETE_LOG_FILES_ON_OK=false
#Boolean to choose if logs should be mailed when no error occured or virus was found