Skip to content

Instantly share code, notes, and snippets.

Marc Boeker marcboeker

Block or report user

Report or block marcboeker

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
View iremember.js
// How to:
// 1) Login into
// 2) Open the developer tools and execute this code in the console
// See more @
const _API_URL='';
const _requestContacts = () => {
console.warn('Requesting your contacts...');
return fetch(_API_URL, {
method: 'POST',
headers: {
momer / gist:ac20357abd331e23b8ea
Last active Mar 26, 2019
A pattern I created to maintain connections to an RPC server in Go. Since net/rpc does not provide any methods for automatically reconnecting to an RPC server, I needed a work-around. Additionally, rpc.Client does not export any state variables (rpc.Client.shutdown and rpc.Client.closing) nor does it export the Client's Mutex. So, we wrap the rp…
View gist:ac20357abd331e23b8ea
package main
import (
brandonb927 /
Last active Nov 17, 2019
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see
# Alot of these configs have been taken from the various places
# on the web, most from here
hiboma / nginx.conf
Created Jan 24, 2012
Nginx+Lua+Redis で動的upstream
View nginx.conf
worker_processes 1;
error_log /dev/stderr debug;
events {
worker_connections 256;
http {
server {
You can’t perform that action at this time.