Skip to content

Instantly share code, notes, and snippets.

Kyle Browning kylebrowning

Block or report user

Report or block kylebrowning

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:da774cc96df1fd96e78e
### Keybase proof
I hereby claim:
* I am kylebrowning on github.
* I am kylebrowning (https://keybase.io/kylebrowning) on keybase.
* I have a public key whose fingerprint is 158C 60EF F5C4 B50C 69E3 08D0 F312 10F2 FE5B 9261
To claim this, I am signing this object:
View purge-cloudstack.sh
service cloudstack-management stop
mysql -ppassword -e 'drop database cloud'
mysql -ppassword -e 'drop database cloud_usage'
cloudstack-setup-databases cloud:password@localhost --deploy-as=root:password
rm -rf /var/log/cloud/management/*
cloudstack-setup-management
service cloudstack-management start
View git last
[alias]
last = "!fn() { S=1; A=`git config --get user.name`; if [ -n \"$1\" ]; then S=\"$1\"; shift; fi; if [ -n \"$1\" ]; then if [ \"$1\" != \"me\" ]; then A=\"$1\"; fi; shift; fi; git log -i --since=\"$S days ago\" --author=\"$A\" --branches --remotes --format='%C(yellow)%t%Creset %s (%an)' \"$@\"; }; fn"
You can’t perform that action at this time.