Skip to content

Instantly share code, notes, and snippets.

Felipe Sabino felipesabino

Block or report user

Report or block felipesabino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@felipesabino
felipesabino / keybase.md
Created Feb 8, 2017
Keybase identity proof
View keybase.md

Keybase proof

I hereby claim:

  • I am felipesabino on github.
  • I am felipesabino (https://keybase.io/felipesabino) on keybase.
  • I have a public key ASBk0qjwacKBiWX2X1mmEEeJYkg48UN2SiTzECBiU8Gy8wo

To claim this, I am signing this object:

View verify.txt
Verifying that +felipesabino is my blockchain ID. https://onename.com/felipesabino
View .vimrc
" Make vim more useful
set nocompatible
" Set syntax highlighting options.
set t_Co=256
set background=dark
syntax on
" colorscheme badwolf
" Enabled later, after Pathogen
@felipesabino
felipesabino / apps.md
Last active Dec 31, 2015
new mac os - development
View apps.md
  1. System Preferences -> Security -> Allow apps to be installed from anywhere
  2. iTerm2
  3. remember to install update when prompted
  4. after update, enable toolbet with paste history and jobs (sweet!)
  5. Jumpcut
  6. xcode - from App Store
  7. open xcode to install xcode components
  8. install command line tools
  9. homebrew
  10. update brew: $ brew update
View .gitconfig
[alias]
com = commit -m
ck = checkout
po = push origin
mg = merge --no-ff
st = status -sb
br = ls-remote
lc = ls-files -u
ls = ls -la
a = add -A :/
View .aliases
# original from: https://github.com/addyosmani/dotfiles/blob/master/.aliases
# Easier navigation: .., ..., ~ and -
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"
@felipesabino
felipesabino / setup.sh
Last active Apr 5, 2018
Mac OS small enhancements
View setup.sh
#!/bin/sh
# Sets Terminal to case insensitive
# http://blog.nickburwell.com/blog/2008/11/mac-os-x-terminal-case-insensitive-auto
echo "set completion-ignore-case On" >> ~/.inputrc
# Disables the creation of .DS_Store files on external volumes
# http://danilo.ariadoss.com/how-to-recursively-remove-ds_store-files-on-mac-os-x/
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
# Make Your Keyboard Keys Repeat Properly When Held Down
# http://lifehacker.com/5826055/make-your-keyboard-keys-repeat-properly-when-held-down-in-mac-os-x-lion
View ColorConverter.js
/**
*
* Javascript color conversion
* http://www.webtoolkit.info/javascript-color-conversion.html
*
**/
function HSV(h, s, v) {
if (h <= 0) { h = 0; }
if (s <= 0) { s = 0; }
@felipesabino
felipesabino / UIViewController+ModalCheck.h
Created Jul 25, 2012
Checking whether ViewController is presented as Modal - iOS 5-
View UIViewController+ModalCheck.h
// UIViewController+ModalCheck.h
//
// Created by Felipe Sabino on 06/14/11
#import <UIKit/UIKit.h>
@interface UIViewController (ModalCheck)
-(BOOL)isPresentedAsModal;
You can’t perform that action at this time.