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
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
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'
#!/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* ]];
steakknife / LICENSE
Created May 21, 2017 — forked from sinisterchipmunk/LICENSE
tar, gzip, and untar files using ruby in memory without tempfiles
Copyright (C) 2011 by Colin MacKenzie IV
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
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