Skip to content

Instantly share code, notes, and snippets.

View jolosantos's full-sized avatar

Jolo Santos jolosantos

  • Citrusbyte
  • Los Angeles, CA
View GitHub Profile
@jbenet
jbenet / simple-git-branching-model.md
Last active June 17, 2024 14:53
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.

@liamcurry
liamcurry / gist:2597326
Created May 4, 2012 19:56
Vanilla JS vs jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@IvanTorresEdge
IvanTorresEdge / prime_numbers_sieve_eratosthenes.rb
Created February 2, 2012 06:45
Find prime numbers using Sieve of Eratosthenes algorithm (Ruby)
#!/usr/bin/env ruby
n = 2..1000
o = []
p = []
for i in n
next if o.include? i
ii = i * 2
while ii <= n.last do