Skip to content

Instantly share code, notes, and snippets.

View Phlogistique's full-sized avatar
🤔

Noé Rubinstein Phlogistique

🤔
View GitHub Profile
@Phlogistique
Phlogistique / js.py
Last active October 20, 2016 17:35
really minimal jobserver
import sys
import subprocess
import queue
import threading
import functools
import multiprocessing
exit = []
def worker(q):
@Phlogistique
Phlogistique / v.rb
Created March 12, 2012 17:15
Open vim at specified line
#!/usr/bin/env ruby1.9.1
require 'shellwords'
files = []
opts = []
ARGV.each do |f|
if File.exists? f
files << [f, nil]
elsif f =~ /(.+):(.+?):?$/
if File.exists? $1