I hereby claim:
- I am fuzzmz on github.
- I am fuzzmz (https://keybase.io/fuzzmz) on keybase.
- I have a public key whose fingerprint is 44A6 A30E 3CC8 09D6 FD0F E8CB 5F86 00B3 80FC 7048
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import atexit | |
from time import clock | |
def secondsToStr(t): | |
return "%d:%02d:%02d.%03d" % \ | |
reduce(lambda ll,b : divmod(ll[0],b) + ll[1:], | |
[(t*1000,),1000,60,60]) | |
line = "="*40 | |
def log(s, elapsed=None): |
curl 'https://disqus.com/api/3.0/users/details.json?user=username:fuzzmz&api_secret=REPLACE_ME' |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
This will display:
#!/bin/bash | |
EXPECTED_ARGS=2 | |
if [ $# -ne $EXPECTED_ARGS ]; then | |
echo "Usage: $0 VMNAME_or_UUID SNAPSHOTNAME" | |
exit 1 | |
fi | |
set -x | |
VBoxManage controlvm "$1" poweroff #enforce turnoff | |
VBoxManage snapshot "$1" restore "$2" #restore snapshot |
Let's say that you moved your workspace from the folder in which you initially created it and now want to make AccuRev aware of the new location for the files.
In order to change the location of a workspace the following command must be used:
accurev chws -w foo_workspace -l .
Notes:
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: SystemEmail | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Send email | |
# Description: Sends an email at system start and shutdown | |
### END INIT INFO |