Skip to content

Instantly share code, notes, and snippets.

@rfikki
rfikki / goerli-peers-latest.txt
Last active January 7, 2023 07:03
Goerli Peers 02/25/2021 - IMPORTANT RUN THE LATEST RELEASE OF THE GETH CLIENT - https://geth.ethereum.org/downloads/
admin.addPeer("enode://bfb8f20e0bda834faecdca1a01de66b9a7fc184c2a30fca681e6e018aaae91db5d80021f9bf9b5ab598c06264b97a7e1dac1068d16267573c033245b62a2f1f7@47.103.147.67:30303");
admin.addPeer("enode://4d0f2ee1d123159525e4a98fb698076469099d326fe60499ec886e3864fbcc71d3f7b9003fa122058883d6924444bebcfc6bb18b6eb7010cc11571e9ab8ea45b@51.158.104.10:30303");
admin.addPeer("enode://40c212f40b6912dffe848e5c97987e527a3f6da8305a05de2d59cf9444a2d5e183bbb18fab95a7b7e5dc8fa7c30dad0f30f22d39bcdf22c97a1c5ae1fc0f2986@54.175.52.44:30303");
admin.addPeer("enode://26800845069faba9791520112350d0a5f0cd52d0af890196beeb5195345e17b00e60e27f260f6e24087e6066c2637e210f389a9795360b1251c17e58b95446f9@85.25.137.11:30303");
admin.addPeer("enode://2daaae5f69037e575fe169d64aa668223effdf60c2a1898492bf0a9bd45d4991355431ec5bcf9cba2eed1d750cd425d689e0e5cc7141f2954623e3d233ad44ed@80.221.111.50:30303");
admin.addPeer("enode://7a3041767f5bb2f96edf824b186ddb97fdff074675dd55f71347da3b7586210a6e09507415291d2c952dd34184b33562f9a4ecb0188ce3781df644e69901f660
@jbenet
jbenet / simple-git-branching-model.md
Last active April 9, 2024 03:31
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@johnantoni
johnantoni / gmail catchall
Created June 14, 2013 01:25
Gmail CatchAll
There is another way to create a catch-all address that will work for secondary domains. The steps are these:
1- Log into google.com/a/domain.com.
2- Click on the 'Google Apps' icon.
3- Click on 'Gmail.'
4- Click on 'Advanced settings.'
5- You will see different tabs, click on 'Default routing.'
6- Click on 'Add setting.'
7- On the new window under step 1 select 'Pattern match.'
8- Under 'Regexp' type in '.+@domain.co'
@michaelklapper
michaelklapper / virtualbox_vagrant_home.bat
Last active May 23, 2023 06:24
Reconfigure VirtualBox and Vagrant home directory for Windows Set VirtualBox home directory to: C:\VMs Store vagrant boxes: C:\VMs\vagrant.d
# VirtualBox home directory.
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setproperty machinefolder "C:\VMs"
# Vagrant home directory for downloadad boxes.
REG ADD HKCU\Environment /v VAGRANT_HOME /t REG_SZ /d "C:\VMs\vagrant.d"
@juanplopes
juanplopes / DirtyMergeSort.cs
Created October 25, 2012 04:28
Naïve external sort in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace DirtyMergeSort
{
public static class Program
{
@leegao
leegao / Rationale.md
Created July 9, 2011 02:30
JIT for dummies: JIT compiling RPN in python

If you don't care about the explanation, scroll down to find the code, it's 50 some odd lines and written by someone who doesn't know any better. You have been warned.

What it does

This is a very simple proof of concept jitting RPN calculator implemented in python. Basically, it takes the source code, tokenizes it via whitespace, and asks itself one simple question: am I looking at a number or not?

First, let's talk about the underlying program flow. Pretend that you are a shoe connoisseur with a tiny desk. You may only have two individual shoes on that desk at any one time, but should you ever purchase a new one or get harassed by an unruly shoe salesman without realizing that you have the power to say no (or even maybe?), you can always sweep aside one of the two shoes on the desk (the one on the right, because you're a lefty and you feel that the left side is always superior) onto the messy floor, put the other shoe on the right hand side, and then place your newly acquired shoe in