Skip to content

Instantly share code, notes, and snippets.

View eduardo's full-sized avatar

Edu Fernández eduardo

View GitHub Profile

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@eduardo
eduardo / .slate
Created July 16, 2013 06:54 — forked from bsag/.slate
# My slate file
# 10-02-2013
# Basic mappings and bindings for moving screens around
# I have set up my right command key to trigger ctrl+alt+shift+cmd
# see http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#hyper for details
config defaultToCurrentScreen true
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
@eduardo
eduardo / .slate
Created July 16, 2013 06:54 — forked from mgax/.slate
config secondsBeforeRepeat 0.05
config secondsBetweenRepeat 0.05
config checkDefaultsOnLoad true
config focusCheckWidthMax 3000
@eduardo
eduardo / .slate
Created July 16, 2013 06:54 — forked from trishume/.slate
# Configs
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
config secondsBetweenRepeat 0.1
config checkDefaultsOnLoad true
config focusCheckWidthMax 3000
config keyboardLayout dvorak
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
gem "paymill"
@eduardo
eduardo / a.rb
Created May 10, 2012 03:06 — forked from ahoward/a.rb
#! /usr/local/rbenv/versions/1.8.7-p352-redmine/bin/ruby
### file: ./script/passenger
##
# get busy!
#
Background.logger.info("process #{ Process.pid } starting...")
logger = Background.logger
@eduardo
eduardo / gist:2644361
Created May 9, 2012 13:07 — forked from JoshMcKin/gist:801081
Deploy with Thin Rails 3
require "bundler/capistrano"
default_run_options[:pty] = true
set :user, 'user'
set :domain, 'SOMEDOMAIN.OR.IP'
set :application, "applcation_name"
set :repository, "/home/#{user}/git/#{application}.git/"
set :local_repository, "."
set :deploy_to, "/home/#{user}/#{application}"
@eduardo
eduardo / thin.sh
Created May 9, 2012 02:36 — forked from me-vlad/thin.sh
init script for multiple thin instances with rbenv shared install
#!/bin/sh
# thin This shell script takes care of starting and stopping
# thin daemon from rbenv shared install
#
# chkconfig: 2345 85 15
# description: thin is an Ruby web server
# config: /etc/sysconfig/thin
### BEGIN INIT INFO
@eduardo
eduardo / gasmask_focus_mode
Created May 8, 2012 09:07
Gasmask focus mode
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
# focus mode
# toggled with http://www.clockwise.ee/gasmask/
0.0.0.0 twitter.com
0.0.0.0 mail.google.com
@eduardo
eduardo / 0-readme.md
Created May 6, 2012 07:24
ruby-1.9.3-p125 cumulative performance patch.

Patched ruby 1.9.3-p125 for 30% faster rails boot

What is?

This script installs a patched version of ruby 1.9.3-p125 with patches to make ruby-debug work again (#47) and boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.

Huge thanks to funny-falcon for the performance patches.