Skip to content

Instantly share code, notes, and snippets.

View phirefly's full-sized avatar

Raphael (Raphy) Villas phirefly

View GitHub Profile
# Git
alias gs="git status"
alias gc="git status"
alias gl='git pull origin master'
alias gplom='git pull origin master'
alias gplum='git pull upstream master'
alias gpreb='git pull --rebase'
alias gpsh='git push'
alias gpshom='git push origin master'
alias glog='git lg'
@geoffreydhuyvetters
geoffreydhuyvetters / react_fiber.md
Last active January 13, 2023 06:49
What is React Fiber? And how can I try it out today?
* note existing DATABASE_URL for historical notes
* comment out the *-db service in manifest.yml (it does not yet exist)
* create the new db service: e.g.
cf create-service rds shared-psql c2-staging-db
OR
cf create-service rds medium-psql c2-prod-db
* dump the existing db to a file
@michaelcox
michaelcox / SpecRunner.js
Last active January 11, 2024 06:05
Browser Unit Testing with Backbone Mocha Chai and RequireJS
require.config({
baseUrl: '/backbone-tests/',
paths: {
'jquery' : '/app/libs/jquery',
'underscore' : '/app/libs/underscore',
'backbone' : '/app/libs/backbone',
'mocha' : 'libs/mocha',
'chai' : 'libs/chai',
'chai-jquery' : 'libs/chai-jquery',
'models' : '/app/models'
@jcaraballo
jcaraballo / git-branch-between-different-repositories.md
Created March 6, 2012 01:05
How to fork a github repository in bitbucket

#Create bitbucket branch

##Create local branch

$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
  master
* sync
@jgarcia
jgarcia / Default (OSX).sublime-keymap
Created January 15, 2012 14:45
User Key Bindings on mac
[
{
"keys":["ctrl+w", "h"],
"command":"focus_group",
"args":{"group":0},
"context":[{"key":"setting.vintage_ctrl_keys"}, {"key":"setting.command_mode"}]
},
{
"keys":["ctrl+w", "j"],