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 / Makefile
Last active Jun 11, 2020 — forked from RadNi/lwnfs.c
Updated lwnfs
View Makefile
obj-m := lwnfs.o
lwn-objs := lwnfs.o
all: ko
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

Rust in Large Organizations

Initially taken by Niko Matsakis and lightly edited by Ryan Levick


  • Introductions
  • Cargo inside large build systems
  • FFI
  • Foundations and financial support
steakknife /
Last active Mar 19, 2020 — forked from mustafaturan/
ruby latest setup for centos 7.x
#!/usr/bin/env bash
set -ex
yum install -y epel-release # EPEL repo
yum install -y centos-release-scl # shiny-new(er) compliers
# make sure there are no surprises installing from repos
grep -r gpgkey= /etc/yum.repos.d/ | cut -d= -f2 | xargs -L1 rpm --import
yum update -y # system update
# misc dev tools, but we're not going to use the ancient toolchain
steakknife / action_dispatch_extensions.rb
Last active May 9, 2018 — forked from tokland/action_dispatch_extensions.rb
How to add locale scope to i18n_routing
View action_dispatch_extensions.rb
class ActionDispatch::Routing::Mapper
def localize_and_scope_for(locales, options = {}, &block)
skip_scope = options[:skip_scope]
locales = locales.dup
locales.delete skip_scope
scope("/:locale", :constraints => {:locale => /#{locales.join('|')}/}) do
yield if skip_scope
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
#!/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* ]];
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
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 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 / -
Last active Aug 29, 2015 — forked from reklis/-
View -