- PlantUML file that generated this diagram
- [Live Link to edit the PlantUML file yourself](https://www.plantuml.com/plantuml/uml/TP91Rnen48Nl_XMlFhK7gZPKFQ0g2WcYH2gHoXBbY8Rr01QxDh5dsvAA_zx5OjcbIcxhUM_jxytCJHGAKfM5UYSRBXab2GTBFLz9OHqh5RVMxIXGYINbstNmbJDtll01lpTMkACRNb5LoDWxUQ2ICQwa2lIw8RClZCzVLS4hWNW4kzu8Z0sSY_LEAUSDGpzbLv_wLtXYgka2Cg6ZgXNbuaCjynAFaODMof3GaY93PtjNuwttU1Xc6dyLi0f7d97FjnnI0Q0rEy7tG2job2hd2-xTggZ-Z6vLAfyiwFMkpme6E7ueuA0E3Ufi_gENZMQwEKzyoHZ6QAEGamI2dGzY7HwpspELFc6zdmmnDARdNVoWJv0v1GCTf5XywVTnvvsGTHnYexT1Jfx_gdfOYSV8njp_uh3NeDWu5sII-N2PVUhZSsL5V0hVCUDRtO1MnW3biqZNX5Vrz43kovrtYUYoAtMcm1TfxvtmEgGfnrHluxJjfuWDBMmwckMbQVfpFZyPpeI7nA7GuQlJD9Q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
!theme materia-outline | |
skinparam backgroundColor white | |
skinparam defaultFontName Futura | |
skinparam defaultFontSize 16 | |
left to right direction | |
node "WS2032 Weather Station" | |
actor "Web User" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Watch the .git dir and log any file size changes | |
delay=1; prev=`du -sk .git/ | cut -f 1`; sleep $delay; while true; do cur=`du -sk .git/ | cut -f 1`; expr \( $cur - $prev \) / $delay ; prev=$cur; sleep $delay; done > rate.log & | |
# Chart the .git dir's file size changes (estimate of activity) | |
watch -n 1 'gnuplot -e "set terminal dumb;p \"<tail -25 rate.log\" with lines notitle"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deploy Stage | |
sudo yum install --assumeyes jq | |
heroku apps:destroy \ | |
--app danburyio-pr$SNAP_PULL_REQUEST_NUMBER \ | |
--confirm danburyio-pr$SNAP_PULL_REQUEST_NUMBER || true | |
heroku create danburyio-pr$SNAP_PULL_REQUEST_NUMBER \ | |
--buildpack https://github.com/heroku/heroku-buildpack-nodejs.git | |
heroku addons:add mongolab:sandbox | |
heroku domains:add $SNAP_PULL_REQUEST_NUMBER.pr.danbury.io | |
curl -H "X-DNSimple-Token: $DNSIMPLE_USER:$DNSIMPLE_TOKEN" \ |
I hereby claim:
- I am jaxzin on github.
- I am jaxzin (https://keybase.io/jaxzin) on keybase.
- I have a public key whose fingerprint is 2CDD E247 9125 9D15 4E83 BB28 E2B6 8177 3FD7 E15D
To claim this, I am signing this object:
- Download the perforce visual tool suite from here: http://www.perforce.com/perforce/downloads/index.html
- Copy only the p4merge.app file into your /Applications/ directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Before | |
public void initSelenium(Scenario scenario) throws Exception { | |
// TODO: Find the scenario name | |
String scenarioName = ((ExecutionUnitRunner)getPrivateField(getPrivateField(scenario, "reporter"), "executionUnitRunner")).getName(); | |
DesiredCapabilities capabilities = DesiredCapabilities.firefox(); | |
capabilities.setCapability("version", "5"); | |
capabilities.setCapability("platform", Platform.XP); | |
capabilities.setCapability("name", scenarioName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When Mac OS X Mountain Lion was released, I did a completely clean install. Unfortunately [RVM](http://rvm.io) won't install directly on the stock release. Here are the steps to get the installation working. | |
# This gist is based in part by [this post](http://theengguy.blogspot.ca/2012/04/setting-up-os-x-lion-and-mountain-lion.html) by [@theengguy](http://twitter.com/theengguy). | |
# 1. Install [MacPorts](http://www.macports.org) | |
# You can snag the package installer (easiest) from [https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg](https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg) | |
# 2. Install a new version of curl | |
sudo port -v selfupdate | |
sudo port install curl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `git tracked` -- Show which remote branches are tracked and the associated local branch | |
git config --global alias.tracked "for-each-ref --format='%(refname:short) <- %(upstream:short)' refs/heads" |
The following code is day-to-day operations when working with 3 forks: an open source project, a local fork of that project, and a company fork of that project. The power of Git is remote aliases that allow you to work with all 3 forks in parallel in the same code base and instantly compare, push, merge, etc.
Setup:
#> git clone [url of local fork: ie: username/project]
#> cd project
#> git remote add project [url of project: ie: project/project]
#> git remote add company [url of company fork: ie: company/project]
NewerOlder