Skip to content

Instantly share code, notes, and snippets.

View davidsonfellipe's full-sized avatar
:octocat:
hey ✌🏼

Davidson Fellipe davidsonfellipe

:octocat:
hey ✌🏼
View GitHub Profile
#!/bin/bash
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install zsh
brew install zsh
# Configure zsh
touch ~/.zshrc
@davidsonfellipe
davidsonfellipe / camphor.scss
Created December 13, 2017 15:53 — forked from bdno86/camphor.scss
camphor
$camphor300:'d09GMgABAAAAAQ5UABIAAAAEn0QAAQ3tAAEZmQAAAAAAAAAAAAAAAAAAAAAAAAAAG4SkahzOKgZgFotgAIosCCIJgnMRCAqLlgCKvTwBNgIkA5lwE4GnDguZdAAEIAW7bwcgDHJb0WS0WUXZkokWaBHx4wKbY7TigANIU/t980QCGzI/IkCsdbqJZwY1ZOgWDngIamw3I43435Dd+zJ1kNmKVp/DvXNAwaNm//////////////////+/NZkMZ5cAl0CpbZ3oiwloFA5GyIWNzOYVLt1bpXPX+pABI2fo5rMZpgVYIzYqgxt92ajECqUKh2G9gaOCVRC23VSRVypHfbvb7wYcwEM25WArF0esm1yKzDixrJRdcBGtcpBZTFbFbIl8LIU4gWOnEdSITqkoGrHWJ8ywn9eVFWWk3lC6m07qp1TXntHaWp6ekYHLrFoyzOXYiQnn2kWX2zqMaFBTca25vHKndPhJV66HRhQzL9lB3OT20KGTXuFHu62wm1qzoV/iTnaiLdc8o/D7B+1O94BrjSE3cia6U1A5XNp0kHmUj8IMBaeiGaiNJV7b1csb0bq8EWYo2h1TuipR+7hmYjxeZsonGLNcmgsKp5EUDCEj9SvRyxX2uMUNfINmfNqglBYNNtjtNmdwWV2ly4uQKheyDyka2RTRoQ3IEfs+0BNcGJ4Z5AnmHNpFbCKW5PsXkAzJ6VVzzVMo0fwIUpQQT67itTNRE946/NxDashl9KuAFUbZ6yW91vObh+WAMZ1mQ1J4wotF6KXHuo65X6wSz406hW/T6XZMf/6W+HGYUxCDfhyjPaoMGcWccmbYM/H35NdHTOd79Jg0ho/BDBvRy2vcg8pHsv07UYiKrDFeqzL0Qk7qCkXLuukl2EKuR3xS6VtsLEaT0BfWoDYoQ1YvEjjT729XNMYoCX3j+2ApedBG/UHLOJ7AAnfPSqdmmePsY+522MpfPaf7kf6fIJMn0/4SE6PmuI3yjyeGjWn+1qj/ukf09DE
@davidsonfellipe
davidsonfellipe / gist:97e4d44f6969245a71f9c2823dafda32
Last active March 30, 2016 14:50
Restart Bluetooth Daemon on Mac OS X (Yosemite) without restarting
# Restart Bluetooth Daemon on Mac OS X without restarting
alias blue-stop='sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport'
alias blue-start='sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport'
alias blue-reset='blue-stop && blue-start'
@davidsonfellipe
davidsonfellipe / gist:7515312
Created November 17, 2013 16:41
Sugestão para boxes GE-UI
%franja {
position: relative;
&:before {
content: "";
border-style: none none none solid;
border-width: 0 0 0 80px;
bottom: -1px;
clear: both;
color: #B60D3D;
//CSS3 new properties for background: background-size, background-origin and background-clip, new shorthand:
.selector {
background: #000 url(image.gif) no-repeat top left / 100% 100% border-box content-box;
// COLOR URL REPEAT POSITION-TOP POSITION-LEFT / BACKGROUND-SIZE-WIDTH BACKGROUND-SIZE-HEIGHT BACKGROUND-ORIGIN BACKGROUND-CLIP
}
"Use Vim settings, rather then Vi settings (much better!).
"This must be first, because it changes other options as a side effect.
set nocompatible
let mapleader=","
"fonts and other gui stuff
"make sure to install the powerline patched font
"version of the font you like
"https://github.com/Lokaltog/powerline-fonts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@davidsonfellipe
davidsonfellipe / str.go
Last active December 20, 2015 10:39
str.go
package str
func Reverse(input string) string {
inputLength := len(input)
inverted := make([]rune, inputLength)
for _, char := range input {