- 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 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 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 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 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]
This file contains 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
<plugin> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.0.1</version> | |
<inherited>true</inherited> | |
<executions> | |
<execution> | |
<id>enforce-no-duplicate-classes</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> |
This file contains 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
<dependencyManagement> | |
<dependencies> | |
<!-- Manage secondary loggers by claiming they will be provided --> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>1.2.15</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> |
This file contains 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
<dependencyManagement> | |
<dependencies> | |
<!-- Manage secondary loggers by claiming they will be provided --> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<version>1.2.15</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> |
This file contains 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
-- Used the Tumblr v1 API because it is light-years simpler http://www.tumblr.com/docs/en/api/v1#api_write | |
-- | |
-- To use this, open it in the AppleScript Editor, change the properties below, | |
-- switch to Mail and select the emails with pics attached that you wish to import to tumblr, | |
-- switch back to the AppleScript Editor and press Run. | |
-- | |
-- NOTE: tumblr limits your photo uploads to 75 per day, so plan accordingly. | |
-- | |
property tumblr_email : "----" |
NewerOlder