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
def test_boarding(self): | |
# pass 'Select Country' screen | |
next = self.wait_for_element_by_id('next_btn') | |
if (next): | |
next.click() | |
else: | |
self.raise_error('Can\'t find the next button on the Select Country boarding screen') | |
# pass 'Personal Search' screen | |
next = self.wait_for_element_by_id('next_btn') |
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
export JAVA_HOME=$(/usr/libexec/java_home) | |
export ANDROID_HOME=/usr/bin/android-sdk-macosx/platform-tools/adb |
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
cd my-repo | |
git fetch upstream | |
git checkout --detach upstream/master | |
git pull --no-commit upstream refs/pull/<pr-id>/head | |
# local repo now has (uncommited) changes from pull request |
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
Event: { | |
arr: {}, | |
bind: function(eventNamesArr, cb) { | |
!(eventNamesArr instanceof Array) && (eventNamesArr = [eventNamesArr]); | |
for (var idx in eventNamesArr) { | |
var eventName = eventNamesArr[idx]; | |
!(eventName in this.arr) && (this.arr[eventName] = []); | |
this.arr[eventName].push(cb); | |
} |
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
export PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/bin/android-sdk-macosx/platform-tools/:/usr/local/mysql/bin:/Users/ranbena/pear/bin:/usr/bin/android-sdk-macosx/tools | |
alias nightly='/Applications/FirefoxNightly.app/Contents/MacOS/firefox &' | |
alias wow="git status" | |
alias such="git" | |
alias very="git" |
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
<!doctype html> | |
<html> | |
<head> | |
<title>test</title> | |
<meta name="viewport" content="width=device-width initial-scale=1 minimum-scale=1 maximum-scale=1 user-scalable=0"> | |
</head> | |
<body> | |
</body> | |
</html> |
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
data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw== |
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 stash | |
git checkout master | |
git checkout -b bugfix |
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
#!/bin/sh | |
# pre-commit git hook to make sure developers don't accidentally commit code they didn't mean to commit :) | |
REMOVEME_STRING="REMOVEME" | |
DEBUGGER_STRING="debugger" | |
ALLOW_COMMITTING_REMOVEME=`git config hooks.allowcommittingremoveme` | |
# redirect stdout to stderr | |
exec 1>&2 |
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
# path ~/.xbmc/userdata/advancedsettings.xml | |
# full list of config http://wiki.xbmc.org/?title=advancedsettings.xml | |
# create this file if doesn't already exist | |
<advancedsettings> | |
<video> | |
<timeseekforward>60</timeseekforward> | |
<timeseekbackward>-10</timeseekbackward> | |
</video> |