Skip to content

Instantly share code, notes, and snippets.

View dylanahsmith's full-sized avatar

Dylan Thacker-Smith dylanahsmith

  • Quebec
  • 01:24 (UTC -04:00)
View GitHub Profile
@dylanahsmith
dylanahsmith / rubytest
Last active October 3, 2015 16:58
Wrapper script for running ruby tests
#!/usr/bin/env ruby
require 'pathname'
require 'optparse'
USAGE = "Usage: rubytest [OPTIONS] FILE..."
debug = true
args = []
@dylanahsmith
dylanahsmith / bundle-ctags
Last active December 22, 2021 21:05 — forked from burke/ctags.sh
bundle-ctags
#!/usr/bin/env ruby
bundle_list_paths = `bundle list --paths`
unless $?.success?
print bundle_list_paths
exit 1
end
gem_paths = bundle_list_paths.split.map do |path|
File.join(path, 'lib')
end.select do |path|
@dylanahsmith
dylanahsmith / Makefile
Created October 17, 2011 04:13
houdini_escape_xml tests
MODULE = main
SOURCES = $(wildcard *.c)
OBJS = $(SOURCES:%.c=%.o)
CFLAGS = -Wall -I. -ggdb -O0
all: $(MODULE)
$(MODULE): $(OBJS)
clean: