I hereby claim:
- I am dukejones on github.
- I am dorje (https://keybase.io/dorje) on keybase.
- I have a public key ASAcnROFFb1FDb2kKJbP1BO0MQ74BRqTV0KwLmObOy7gFwo
To claim this, I am signing this object:
| "Blackberries - Chester La Querencia, Cuartel 12" | |
| "Canned Coconut Milk 12 +/- 1% (Recipe B)" | |
| "FreshHealthOHganics: basil" | |
| "Sesame Seed, Whole" | |
| "Poppy Seeds, Natural Blue" | |
| "Sushi Ginger, Unsweetened" | |
| "Cacao - Nibs de cacao" | |
| "Gingerbread - Fresh ginger" | |
| "Sour cherries - 01 EU-NOP ORG (A)", |
| import ErrorStackParser from 'error-stack-parser' | |
| const ROLLBAR_ACCESS_TOKEN = '[ACCESS TOKEN]' | |
| var rollbarUrl = `https://api.rollbar.com/api/1/item/` | |
| // https://github.com/rollbar/rollbar.js/blob/master/src/errorParser.js | |
| function Frame(stackFrame: ErrorStackParser.StackFrame) { | |
| var data:any = {}; | |
| // data._stackFrame = stackFrame; |
| echo "Be sure to uninstall rvm, rbenv, nvm, and any other version managers ... they will probably interfere with asdf's magic." | |
| echo -e "\033[1;32mBeginning major install process... 🐋🚀 \033[0m" | |
| command -v brew >/dev/null 2>&1 || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| echo "Installing GPG Encryption" | |
| brew list gpg >/dev/null || brew install gpg | |
| echo "Installing asdf tool!" | |
| brew list asdf >/dev/null || brew install asdf |
| # Use like: `task mytask: :setup_logger do` | |
| # Rather than: `task mytask: :environment do` | |
| task setup_logger: :environment do | |
| set_logger(file: Rails.root.join('log', 'rake.log')) | |
| end | |
| # Or just call set_logger(file: 'custom_file.log') from your rake task. Be sure to use an absolute path. | |
| def set_logger(file: STDOUT, level: Logger::INFO) | |
| logger = ActiveSupport::TaggedLogging.new(Logger.new(file)) | |
| logger.level = level |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -e | |
| usage () { | |
| cat <<DOCUMENTATIONXX | |
| Usage : $0 PROFILE_NAME COMMAND | |
| This tool will take a named profile from your ~/.aws/credentials with only | |
| a "role_arn = " line and no source profile, get temporary credentials for | |
| the profile, and execute the rest of the parameters as a command with the |
| #!/usr/bin/env ruby | |
| require 'aws-sdk' | |
| require 'pry-byebug' | |
| regions = [ | |
| 'us-west-2', # Oregon | |
| 'us-east-1', # N Virginia | |
| 'eu-west-1', # Ireland | |
| 'eu-central-1', # Frankfurt |
| #!/bin/bash | |
| apt-get update | |
| apt-get upgrade -y | |
| # SSH Key Auth | |
| USERNAME=dorje | |
| SSHKEY="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHcfdQt2xu0iaa4/rzmyBsCiYqo/T2MHMBp5eJLJrrlwqSz/PqfxsxwRxYKn/wq21waaki7PRUgvxUFiphgo1rRUCNCDl4/X9VgMJeyrGwReqJXYexY7KERLaBhjCPnKwO3278cGibwyNmI7+sUN5fuiiesOrVijqIqarPEY5K3JOs7bcJ1ljRbk7rJ6uCF8GxpEcga/lM5Gb3x6HhvwlWK9/vY83EvFS2/ce1fzE6Noo35vSWj8PCw9Ihg8B/dGN3eTBeP3plpxMFokxVKJMdXw3yS7bsQlTmaPgF1KR43FeqXVbFNoeX/gYFaFqzfQUn6EThC4Cm0EQjtxEebJu5 dorje@Dukes-MBP" | |
| useradd -m -s /bin/bash $USERNAME |
| FROM ubuntu:xenial | |
| RUN apt-get -y update | |
| RUN apt-get install -y build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool \ | |
| ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake | |
| RUN git clone https://github.com/str4d/zcash.git \ | |
| && cd zcash \ | |
| && git checkout standalone-miner | |
| RUN /zcash/zcutil/build.sh -j$(nproc) |
| #!/bin/bash | |
| IMG_LABEL=zcash | |
| APP_INIT_URL=https://s3.amazonaws.com/your-bucket-app/myapp-init.tar.gz | |
| function prepare_instance { | |
| apt-get -y update | |
| apt-get -y install nginx | |
| curl -sSL https://get.docker.com/ | sh | |
| mkdir /opt |