Skip to content

Instantly share code, notes, and snippets.

View papucho's full-sized avatar

Fernando Araújo papucho

View GitHub Profile
@papucho
papucho / gulpfile.js
Created May 8, 2014 21:48
Gulpfile for awesome assets pipeline
var gulp = require('gulp');
var sass = require('gulp-ruby-sass');
var prefix = require('gulp-autoprefixer');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var jade = require('gulp-jade');
// FILES PATHS
var jsSrcDir = ['js/app.js','js/**/*.js','js/*/*/*.js'];
var sassSrcDir = ['css/**/*.sass', 'css/*/*.sass'];
@papucho
papucho / gist:c877e57c5597e2fa8aad
Created May 27, 2015 16:28
Security Champions
/bin/ls /etc
@papucho
papucho / introrx.md
Created November 2, 2015 23:27 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@papucho
papucho / dark.json
Last active December 15, 2015 03:29
My Sublime Text 2 settings.
{
"bold_folder_labels": true,
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"font_face": "PragmataPro",
"font_size": 14.5,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')

Contrato Arrasador 3

Atualizado em: 11/07/2012

Entre nós [nome da empresa] e você [nome do cliente]

Sumário:

Nós faremos o melhor para satisfazer suas necessidades e atender suas expectativas, mas é importante registrar tudo por escrito para que todos conheçam suas responsabilidades (quem faz o quê) e saibam o que acontece quando algo dá errado. Neste contrato você não encontrará termos jurídicos complicados ou textos longos e incompreensíveis. Nós não temos interesse em fazê-lo assinar algo que poderá se arrepender depois. O que nós queremos é o melhor para os dois lados, agora e no futuro.

@papucho
papucho / local.sh
Created May 21, 2013 22:15
Tips for server management.
brew install ssh-copy-id
ssh-copy-id user@server
# Romain Champourlier © softr.li
# Inspired from many gist, recipes on github, tutorials... essentially:
# - https://gist.github.com/548927
# - http://techbot.me/2010/08/deployment-recipes-deploying-monitoring-and-securing-your-rails-application-to-a-clean-ubuntu-10-04-install-using-nginx-and-unicorn/
# - https://github.com/ricodigo/ricodigo-capistrano-recipes
#
# ONGOING WORK
# MIT License http://www.opensource.org/licenses/mit-license.php
#
# - Intended for Ubuntu 10.04.3
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.