Skip to content

Instantly share code, notes, and snippets.

dhead666 dhead666

View GitHub Profile
@jcaraballo
jcaraballo / git-branch-between-different-repositories.md
Created Mar 6, 2012
How to fork a github repository in bitbucket
View git-branch-between-different-repositories.md

#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 Jul 17, 2011
Transmission-Daemon Script: OnComplete ClamAV
View gist:1087570
#!/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
You can’t perform that action at this time.