Skip to content

Instantly share code, notes, and snippets.

Matt McClard yankeyhotel

View GitHub Profile
zulhfreelancer /
Created Jan 23, 2017
How to fix 'readline.bundle image not found' problem?

If you get error like this:

Running via Spring preloader in process 7662
/Users/zulh/.rvm/gems/ruby-2.3.1@useradmin/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require': dlopen(/Users/zulh/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
  Referenced from: /Users/zulh/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
  Reason: image not found - /Users/zulh/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
	from /Users/zulh/.rvm/gems/ruby-2.3.1@useradmin/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
	from /Users/zulh/.rvm/gems/ruby-2.3.1@useradmin/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /Users/zulh/.rvm/gems/ruby-2.3.1@useradmin/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
Last active Apr 20, 2019 — forked from iambibhas/scopes.txt
Sublime Text 2/3: Snippet scopes

Here is a list of scopes to use in Sublime Text 2/3 snippets -

ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
deanius / futures_wait.js
Last active Apr 19, 2016
Wait on Array of Futures
View futures_wait.js
// server/server.js
var Future = Npm.require('fibers/future');
Meteor.methods ({
testFutures: function(array) {
// var future = new Future;
// setTimeout(function() {
bootsified / google-get-directions-link.html
Created Dec 2, 2014
Text link to Google Maps "Get Directions" page, with focus initially set for empty starting address field.
View google-get-directions-link.html
View meteor.smtp.bash
# add the email package
meteor add email
colingourlay / example.js
Last active Feb 28, 2019
Lodash / Underscore sort object keys. Like _.sortBy(), but on keys instead of values, returning an object, not an array. Defaults to alphanumeric sort.
View example.js
var obj = {b: 3, c: 2, a: 1};
// {a: 1, b: 3, c: 2}
_.sortKeysBy(obj, function (value, key) {
return value;
// {a: 1, c: 2, b: 3}
AlexPashley / mixins.scss
Created Jul 5, 2013
SASS: Mixins for CSS
View mixins.scss
/* MIXINs */
@mixin transition( $val : ease 0.5s ) {
-webkit-transition: $val;
@mixin text-shadow( $top: 3px, $left: 3px, $blur: 3px , $colour: #333 ) {
View jQuery HTML5 placeholder fix.js
// Released under MIT license:
$('[placeholder]').focus(function() {
var input = $(this);
if (input.val() == input.attr('placeholder')) {
}).blur(function() {
var input = $(this);
You can’t perform that action at this time.