I hereby claim:
- I am jamesottaway on github.
- I am jms (https://keybase.io/jms) on keybase.
- I have a public key ASDrBAY_mdkRlk_f67CwRnKuF2m29A1tbG7G0bd1JeoFPQo
To claim this, I am signing this object:
node_modules/ |
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.mkShell { | |
} |
I hereby claim:
To claim this, I am signing this object:
<ContentItem source="INTERNET_RADIO" location="50585"/> |
version: '2.0' | |
services: | |
couchpotato: | |
image: linuxserver/couchpotato | |
ports: | |
- 5050:5050 | |
volumes: | |
- couchpotato:/config:rw | |
- movies:/movies:rw | |
- downloads:/downloads:rw |
source 'https://rubygems.org/' | |
gem 'rspec-rails', '~> 3.2' | |
gem 'rspec-its', '~> 1.2' |
module ArrayRefinements | |
refine Array do | |
def head | |
self.first | |
end | |
def tail | |
self[1..-1] | |
end | |
end |
Safety not Guaranteed
Beyond the JVM
var password = "password"; | |
var salt = "saltsalt"; | |
var iterations = 50000; | |
var passwordBytes = System.Text.Encoding.UTF8.GetBytes(password); | |
var saltBytes = System.Text.Encoding.UTF8.GetBytes(salt); | |
var hashSize = new System.Security.Cryptography.HMACSHA512().HashSize / 8; | |
var hashedPassword = new byte[hashSize]; | |
var sha512Callback = CryptSharp.Utility.Pbkdf2.CallbackFromHmac<System.Security.Cryptography.HMACSHA512>(); |
dep 'babushka deps cloned' do | |
requires 'github has my public key' | |
setup { | |
set :babushka_deps_dir, '~/.babushka/deps'.to_fancypath | |
define_var :github_username, :message => 'What is your GitHub username?' | |
define_var :babushka_deps_repo_name, :message => 'What is your Babushka deps repo called?', :default => 'babushka-deps' | |
set :babushka_deps_repo, "[email protected]:#{var :github_username}/#{var :babushka_deps_repo_name}.git" | |
} | |
met? { var(:babushka_deps_dir).directory? && shell("(cd #{var :babushka_deps_dir} && git remote -v)")[var :babushka_deps_repo] } | |
meet { shell "git clone #{var :babushka_deps_repo} #{var :babushka_deps_dir}" } |