- 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 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
language: node_js | |
node_js: | |
- '4' | |
install: npm install | |
script: npm test | |
notifications: | |
email: | |
recipients: | |
- [email protected] | |
on_success: always |
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
# Permanently authenticating with Git repositories | |
$ git config credential.helper store | |
$ git push https://github.com/repo.git | |
Username for 'https://github.com': <USERNAME> | |
Password for 'https://[email protected]': <PASSWORD> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<foxyproxy> | |
<proxies> | |
<proxy name="emr-socks-proxy" id="2322596116" notes="" fromSubscription="false" enabled="true" mode="manual" selectedTabIndex="2" lastresort="false" animatedIcons="true" includeInCycle="true" color="#0055E5" proxyDNS="true" noInternalIPs="false" autoconfMode="pac" clearCacheBeforeUse="false" disableCache="false" clearCookiesBeforeUse="false" rejectCookies="false"> | |
<matches> | |
<match enabled="true" name="*ec2*.amazonaws.com*" pattern="*ec2*.amazonaws.com*" isRegEx="false" isBlackList="false" isMultiLine="false" caseSensitive="false" fromSubscription="false" /> | |
<match enabled="true" name="*ec2*.compute*" pattern="*ec2*.compute*" isRegEx="false" isBlackList="false" isMultiLine="false" caseSensitive="false" fromSubscription="false" /> | |
<match enabled="true" name="*10*.amazonaws.com*" pattern="*10*.amazonaws.com*" isRegEx="false" isBlackList="false" isMultiLine="false" caseSensitive="false" fromSubscript |
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 | |
# ex: ./parallel_commands.sh 'echo test' 'echo test' | |
for cmd in "$@"; do { | |
echo "Process \"$cmd\" started"; | |
$cmd & pid=$! | |
PID_LIST+=" $pid"; | |
} done | |
trap "kill $PID_LIST" SIGINT |
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
$ sleep 1000 | |
^Z | |
[1]+ Stopped sleep 1000 | |
$ bg | |
$ disown | |
$ exit |
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/bash | |
AWS_BASE_DIR=~/.aws | |
CREDENTIALS_DIR=$AWS_BASE_DIR/credentials.csv | |
function aws-credentials { | |
name=$1 | |
if [[ -z $name ]]; then | |
echo "Syntax: aws-credentials <name>" |
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
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.3.0 |
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
'use strict'; | |
/** | |
* Follow these steps to configure the webhook in Slack: | |
* | |
* 1. Navigate to https://<your-team-domain>.slack.com/services/new | |
* | |
* 2. Search for and select "Incoming WebHooks". | |
* | |
* 3. Choose the default channel where messages will be sent and click "Add Incoming WebHooks Integration". |
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
The standalone version of hieararchyviewer is deprecated. | |
Please use Android Device Monitor (tools/monitor) instead. | |
08:57:39 E/ViewServerDevice: Unable to debug device: samsung-sm_n9208-05157df5db5a2417 | |
08:57:39 E/hierarchyviewer: Missing forwarded port for 05157df5db5a2417 | |
08:57:39 E/hierarchyviewer: Unable to get the focused window from device 05157df5db5a2417 | |
For anyone working with Android 4.1 or later: | |
you can get Hierarchy Viewer working by setting the environment variable ANDROID_HVPROTO to ddm. | |
Mac OSX/Android Studio users, remember to start hierarchy viewer from command line so it will pick up the environment variable. |
OlderNewer