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
dockerize () { | |
docker run --rm -t $(tty &>/dev/null && echo "-i") $@ | |
} | |
alias aws='dockerize -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" -v "$(pwd):/project" mesosphere/aws-cli' | |
alias terraform='dockerize -t -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" -v $(pwd):/app/ -w /app/ hashicorp/terraform:light' | |
alias travis='dockerize -v $PWD:/travis -v ~/.travis:/home/travis-cli/.travis rycus86/travis-cli' | |
alias heroku='dockerize -v ~/.netrc:/root/.netrc:ro wingrunr21/alpine-heroku-cli' | |
alias youtube-dl='dockerize --user $UID:$GID -v $PWD:/downloads wernight/youtube-dl' | |
alias ssh-audit='dockerize stepahn/ssh-audit' |
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
zshrclocal() { | |
if [[ "${PWD}" != "${HOME}" && -s "${PWD}/.zshrc.local" ]]; then | |
source "$PWD/.zshrc.local" | |
echo '(automatically sourced .zshrc.local)' | |
fi | |
} | |
chpwd_functions+=(zshrclocal) | |
zshrclocal |
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
javascript:(function()%7B(function()%7Bvar%20el%20%3D%20document.createElement('p')%3Bel.style.cssText%20%3D%20%22background%3A%20white%3B%20font-family%3A%20monospace%3B%20border%3A%20thick%20solid%20red%3B%20-webkit-user-select%3A%20all%3B%20user-select%3A%20all%3B%22%3Bdocument.querySelectorAll('.download%20a%3Anot(.dlmd5)').forEach(function(e)%20%7Bel.innerHTML%20%2B%3D%20e.href%20%2B%20%22%3Cbr%3E%22%3B%7D)%3Bdocument.querySelector('.page-wrap').insertBefore(el%2C%20document.querySelector('.base-main-wrapper'))%3B%7D)()%7D)() |
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
gpg --export-secret-key KEY_ID | paperkey --output-type raw | base64 | tr -d '\n\r' | fold -w 80 | split -l 4; | |
for i in x*; do cat $i | qrencode -l H -v 3 -s 10 -d 300 -o $i.png; done | |
zbarimg --quiet --raw *.png | grep -e '^$' -v | tr -d '\n\r' | base64 -D | paperkey --pubring ~/.gnupg/pubring.gpg | gpg |
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
{ | |
"name": "CordovaPlugin-device", | |
"version": "0.2.11", | |
"summary": "Mirror of Apache Cordova Plugin device", | |
"description": "A longer description of CordovaPlugin-device in Markdown format.", | |
"homepage": "https://github.com/apache/cordova-plugin-device", | |
"license": { | |
"type": "Apache License, Version 2.0", | |
"file": "LICENSE" | |
}, |
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
{ | |
"name": "CordovaPlugin-inappbrowser", | |
"version": "0.5.3", | |
"summary": "Apache Cordova Plugin inappbrowser.", | |
"description": " A longer description of CordovaPlugin-inappbrowser in Markdown format.\n", | |
"homepage": "https://github.com/apache/cordova-plugin-inappbrowser", | |
"license": { | |
"type": "Apache License, Version 2.0", | |
"file": "LICENSE" | |
}, |
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
{ | |
"name": "CordovaPlugin-console", | |
"version": "0.2.11", | |
"summary": "Mirror of Apache Cordova Plugin console", | |
"description": "A longer description of CordovaPlugin-console in Markdown format.", | |
"homepage": "https://github.com/apache/cordova-plugin-console.git", | |
"license": { | |
"type": "Apache License, Version 2.0", | |
"file": "LICENSE" | |
}, |
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
{ | |
"name": "CordovaPlugin-splashscreen", | |
"version": "0.3.4", | |
"summary": "Mirror of Apache Cordova Plugin splashscreen", | |
"description": " A longer description of CordovaPlugin-splashscreen in Markdown format.\n", | |
"homepage": "https://github.com/apache/CordovaPlugin-splashscreen", | |
"license": { | |
"type": "Apache License, Version 2.0", | |
"file": "LICENSE" | |
}, |
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
ready = -> | |
… | |
$(document).ready(ready) | |
$(document).on('page:load', ready) |
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
class ApplicationController < ActionController::Base | |
module DetourFix | |
def store_detour(options, post = false) | |
super(options.to_hash, post) | |
end | |
end | |
include DetourFix | |
end |
NewerOlder