Skip to content

Instantly share code, notes, and snippets.

@cupakromer
cupakromer / broken_session
Created September 30, 2014 20:34
Bundler binstubs + standalone problem
# With a clean project setup
$ bundle --binstubs --standalone
$ bundle binstubs rspec-core
$ cat bin/rspec
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
@joseph39
joseph39 / readme.md
Last active December 3, 2021 14:45
Runtime.s for Mac OS X and Windows

Runtime.s for Mac OS X and Windows

These versions of runtime.s works by simulating the break region that is not present in either operating system. The region that it initially allocates is 4MB in size and can be increased by modifying the brk_region_size value. In case where it does run out of memory, it will jump to __exception and consequently terminate the process.

Mac OS X

runtime.s for Mac OS X does not have any library dependencies.

Windows

@wickman
wickman / README.md
Created January 3, 2014 19:52
pex.pex README

Pex.pex: Usage

PEX files are single-file lightweight virtual Python environments.

pex.pex is a utility that:

  • creates PEX files
  • provides a single use run-environment

Installation

@pusewicz
pusewicz / mov2gif.rb
Last active December 29, 2015 01:09
Convert you QuickTime recorded screencast in the MOV and turn it into an animated GIF
#!/usr/bin/env ruby
=begin
DEPENDENCIES:
$ brew install ffmpeg
$ brew install imagemagick
=end
require 'optparse'
require 'fileutils'
@wickman
wickman / README.md
Created April 12, 2012 22:55
Python development in Pants (tutorial)

Python development using Pants

brian wickman - @wickman

[TOC]

Why use Pants for Python development?

Pants makes the manipulation and distribution of hermetically sealed Python environments

@everpeace
everpeace / README.md
Created March 27, 2012 08:39
Automata (DFA,NFA,εNFA) in Scala