Skip to content

Instantly share code, notes, and snippets.

Restoring a VW, apartment EDM club, letsgo powered paragliding

Barry Allard steakknife

Restoring a VW, apartment EDM club, letsgo powered paragliding
View GitHub Profile
View README.txt
create this file in /Library/LaunchDaemons/org.basho.riak.plist
run: sudo launchctl load -w /Library/LaunchDaemons/org.basho.riak.plist
riak ping to verify
steakknife / gist:2044899
Created Mar 15, 2012 — forked from ezmobius/gist:807334
Run this script on a mac osx box running 10.6 and you will get a luajit with batteries included and all the good libs
View gist:2044899
if ! which cc
echo install command line tools for xcode (or a compiler), try again:
echo ''
steakknife / to_boolean.rb
Created Apr 28, 2012 — forked from gmgent/to_bool.rb
a better to_boolean
View to_boolean.rb
module Kernel
def to_boolean(nil_value = nil)
value = self.is_a?(String) ? self.downcase : self
case value
when "off", "no", "n", "false", "f", "0", "-", false, 0, "negative"
when "on", "yes", "y", "true", "t", "1", "+", true, 1, "affirmative"
steakknife / python3.rb
Created May 18, 2013 — forked from anonymous/python3.rb
brew formula for python 3.3.2
View python3.rb
require 'formula'
# Python3 is the new language standard, not just a new revision.
# It's somewhat incompatible with Python 2.x, therefore, the executable
# "python" will always point to the 2.x version which you can get by
# `brew install python`.
class Distribute < Formula
url ''
sha1 '46654be10177014bbb502a4c516627173de67d15'
steakknife /
Last active Aug 29, 2015 — forked from pulkitsinghal/
Test if unlimited jurisdiction policy files are installed (Apple JDK6 OSX : true, Oracle JDK6,7,8: false)
import javax.crypto.Cipher;
public class JCETest {
public static void main(String[] args) throws Exception {
final int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES");
final boolean unlimited = (maxKeyLen == Integer.MAX_VALUE);
System.out.print("JCE max key length: ");
if (unlimited) {
} else {
steakknife / -
Last active Aug 29, 2015 — forked from reklis/-
View -
View ssh-config-oldssh
# Sane security defaults for OSX 10.10 SSH clients that are still based on OpenSSH6.2_p2
# Currently your old OpenSSH installation only supports a subset of ciphers and key exchange algorithms.
# OSX Users: consider updating your openssh version ->
# Explanation:
# Background information:
Host *
PasswordAuthentication no
steakknife / docker-ssl-cert-generate
Last active Oct 24, 2017 — forked from cameron/docker-ssl-cert-generate
Generate self-signed SSL certs for docker client <— HTTPS (verified!)—> daemon
View docker-ssl-cert-generate
#! /bin/bash
set -e
echo 01 >
openssl genrsa -out ca-key.pem
cat << CNF > ca.cnf
req_extensions = v3_req
[ req ]
distinguished_name = req_distinguished_name
View tiger-vnc.rb
class TigerVnc < Formula
homepage ""
url ""
sha256 "98ffe98fcfe883e6c35aec579295b53d73d2ccf62e0f6e53a73ecad993b096ca"
depends_on "cmake" => :build
depends_on "gnutls" => :recommended
depends_on "jpeg-turbo"
depends_on "gettext"
depends_on :x11
#!/bin/bash -e
# Make sure you have installed ImageMagick
# Ensure we're running in location of script.
cd "`dirname $0`"
for f in *; do
if [[ $f == *@3x* ]];