start new:
tmux
start new with session name:
tmux new -s myname
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
| install PostgreSQL 9 in Mac OSX via Homebrew | |
| Mac OS X Snow Leopard | |
| System Version: Mac OS X 10.6.5 | |
| Kernel Version: Darwin 10.5.0 | |
| Install notes for PostgreSQL 9.0.1 install using Homebrew: | |
| sh-3.2# brew install postgresql |
| import os, time, sys, fnmatch | |
| path_to_watch = "D:/Projects/consumer-purchase-webapp/WebContent/js" | |
| def findCoffeeFiles(): | |
| matches = [] | |
| for root, dirnames, filenames in os.walk(path_to_watch): | |
| for filename in fnmatch.filter(filenames, '*.coffee'): | |
| matches.append(os.path.join(root, filename)) | |
| return matches |
| # http://ariejan.net/2011/09/24/rspec-speed-up-by-tweaking-ruby-garbage-collection | |
| # | |
| # Usage: | |
| # DEFER_GC=10 rspec spec/ | |
| # DEFER_GC=10 cucumber features/ | |
| # | |
| # put it to spec/support/deferred_garbage_collection_all_in_one.rb | |
| # or feature/support/hooks.rb | |
| class DeferredGarbageCollection | |
| DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || -1).to_f |
| unicorn.rb | |
| ----------------------------------- | |
| application = "jarvis" | |
| remote_user = "vagrant" | |
| env = ENV["RAILS_ENV"] || "development" | |
| RAILS_ROOT = File.join("/home", remote_user, application) | |
| worker_processes 8 | |
| timeout 30 |
| states = <<STATES | |
| AC,Acre | |
| AL,Alagoas | |
| AP,Amapá | |
| AM,Amazonas | |
| BA,Bahia | |
| CE,Ceará | |
| ES,Espírito Santo | |
| GO,Goiás | |
| MA,Maranhão |
A list of Sketch plugins hosted at GitHub, in no particular order.