Skip to content

Instantly share code, notes, and snippets.

took a break from open source

JBD rakyll

took a break from open source
Block or report user

Report or block rakyll

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
use warnings;
use strict;
my $bin=$ARGV[0];
my @line = split /\s+/, `nm $bin |grep runtime.buildVersion`;
my $addr = hex($line[0]);
my $end = $addr + 16;


apk2layer flattens an alpine linux package(s) and its dependencies into a standalone tarball.


apk2layer [-mirror] PKGNAME... > layer.tar
jonhoo /
Last active Oct 22, 2018
Distributed RWMutex in Go

podlet pod de lait


podlet is a tiny CLI tool & daemon to launch kubernetes pods on a bare docker host.

This is a proof of concept, not affiliated to the main kubernetes project, and it only supports a subset of the v1beta3 PodSpec.


crosbymichael / gist:fb367ed11c77069d8736
Created Dec 12, 2014
Static container for debian jessie
View gist:fb367ed11c77069d8736
root@services1:~# wget && chmod +x debian.jessie
--2014-12-11 21:41:15--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84455326 (81M) [binary/octet-stream]
Saving to: ‘debian.jessie’
100%[=========================================================================>] 84,455,326 17.9MB/s in 10s
proppy /
Last active Aug 29, 2015
docker-dev: poor man dev workflow for dockerized apps
# Copyright 2014 Google Inc. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
proppy /
Last active Aug 29, 2015
gorogoro helps lazy gophers to run their programs in the cloud.
proppy / Dockerfile
Last active Aug 29, 2015
gce2docker: bootstrap a GCE vm with docker
View Dockerfile
FROM google/cloud-sdk
RUN apt-get update && apt-get install -y --no-install-recommends curl sshpass netcat-traditional
RUN curl -o /bin/docker && chmod +x /bin/docker
RUN curl -o /bin/jq && chmod +x /bin/jq
EXPOSE 44243
rcrowley / grace.go
Last active Jul 9, 2019
Graceful stop in Go
View grace.go
package main
import (
piscisaureus /
Created Aug 13, 2012
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

You can’t perform that action at this time.