I hereby claim:
- I am dkarter on github.
- I am doriankarter (https://keybase.io/doriankarter) on keybase.
- I have a public key ASDQtkGNlS0bRsrTqYHz2kqjQc6apoPAX57DM2eFbJI2igo
To claim this, I am signing this object:
function mkcd () { | |
mkdir -p $1 && cd $1 | |
} | |
function initprj() { | |
if [[ "$1" != "." ]]; then | |
mkcd $1 | |
fi | |
# setup git |
module Pages | |
class Checkout | |
include Capybara::DSL | |
def visit | |
visit checkout_path | |
end | |
def change_payment_method(payment_method) | |
if payment_method == :credit_card |
cd lib/elixir && "/Users/dkarter/Dropbox/Developer/forks/elixir/rebar" clean | |
==> elixir (clean) | |
rm -rf ebin | |
rm -rf lib/*/ebin | |
rm -rf lib/elixir/test/ebin | |
rm -rf lib/*/tmp | |
rm -rf lib/mix/test/fixtures/git_repo | |
rm -rf lib/mix/test/fixtures/deps_on_git_repo | |
rm -rf lib/mix/test/fixtures/git_rebar | |
rm -rf lib/elixir/src/elixir.app.src |
{ | |
"spec/support/pages/*.rb": { | |
"type": "page", | |
"template": [ | |
"module Pages", | |
" class {camelcase}", | |
" include Capybara::DSL", | |
" include CapybaraErrorIntel::DSL", | |
" include Rails.application.routes.url_helpers", | |
"", |
I hereby claim:
To claim this, I am signing this object:
defmodule ThreeTwentyThree do | |
def find_sum_zero_triplets(list) do | |
for x <- list, y <- list, z <- list, filter(list, x,y,z) do | |
Enum.sort([x,y,z]) | |
end | |
|> Enum.uniq | |
end | |
defp filter(list, x,y,z) do | |
([x,y,z] -- list == []) && (x+y+z == 0) |
" ==================================== | |
" GitGutter: | |
" ==================================== | |
nnoremap <silent> <cr> :GitGutterNextHunk<cr> | |
nnoremap <silent> <backspace> :GitGutterPrevHunk<cr> |
==> Upgrading 1 outdated package, with result: | |
wireshark 2.4.4 | |
==> Satisfying dependencies | |
==> Downloading https://www.wireshark.org/download/osx/Wireshark%202.4.4%20Intel%2064.dmg | |
Already downloaded: /Users/dkarter/Library/Caches/Homebrew/Cask/wireshark--2.4.4.dmg | |
==> Verifying checksum for Cask wireshark | |
==> Starting upgrade for Cask wireshark | |
==> Running uninstall process for wireshark; your password may be necessary | |
==> Running uninstall script /usr/sbin/dseditgroup | |
==> Username and password must be provided. |
{ | |
"presets": [ | |
[ | |
"env", | |
{ | |
"targets": { | |
"browsers": "> 1%", | |
"uglify": true | |
}, | |
"useBuiltIns": true |