I hereby claim:
- I am cschiewek on github.
- I am cschiewek (https://keybase.io/cschiewek) on keybase.
- I have a public key whose fingerprint is AD1C F15E F339 C41A 81CF A4CE F108 2AB5 4C6A 7E52
To claim this, I am signing this object:
| # Install with: | |
| # bash < <(curl -L https://raw.github.com/gist/2435951) | |
| # | |
| # Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug | |
| echo "Installing ruby-debug with ruby-1.9.3-p194 ..." | |
| curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem | |
| curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem |
| begin | |
| raise 'example' | |
| rescue Exception => exception | |
| ::NewRelic::Agent.notice_error(exception) if defined?(::NewRelic) | |
| end |
| #app/inputs/collection_check_boxes_input.rb | |
| class CollectionCheckBoxesInput < SimpleForm::Inputs::CollectionCheckBoxesInput | |
| def item_wrapper_class | |
| "checkbox-inline" | |
| end | |
| end |
I hereby claim:
To claim this, I am signing this object:
| list = for item <- items do | |
| {item.id, item.name} | |
| end |
| # Grab exrm release directory from cache | |
| if [ -e $SEMAPHORE_CACHE_DIR/rel ]; then mv $SEMAPHORE_CACHE_DIR/rel . ; fi | |
| nvm use 5.3 | |
| mix local.hex --force | |
| MIX_ENV=prod mix deps.get --only prod | |
| MIX_ENV=prod mix mandrag.deploy | |
| # Cache updated release directory | |
| mv rel $SEMAPHORE_CACHE_DIR |
| local ret_status="🙈 %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" | |
| PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
xhost + ${hostname} to allow connections to the macOS host *export HOSTNAME=`hostname`* environment:
| javascript: (function () { | |
| if (window.location.protocol == "https:") { | |
| var port = "3443" | |
| } else { | |
| var port = "3000" | |
| } | |
| var host = window.location.hostname.replace("www.", "").replace(".", "--") + ".local.sbndev.net:" + port; | |
| window.location.href = window.location.toString().replace(window.location.hostname, host);; | |
| }()); |
| #! /usr/bin/env bash | |
| set -e | |
| for version in `asdf list ruby`; do | |
| asdf local ruby "$version" | |
| echo "Updating rubygems for $version" | |
| gem update --system --no-document --quiet | |
| echo "" | |
| done |