Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
hey ✌🏼

Davidson Fellipe davidsonfellipe

:octocat:
hey ✌🏼
View GitHub Profile
View camphor.scss
$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
View gist:3355961
@davidsonfellipe
davidsonfellipe / gist:97e4d44f6969245a71f9c2823dafda32
Last active Mar 30, 2016
Restart Bluetooth Daemon on Mac OS X (Yosemite) without restarting
View gist:97e4d44f6969245a71f9c2823dafda32
# 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 Nov 17, 2013
Sugestão para boxes GE-UI
View gist:7515312
%franja {
position: relative;
&:before {
content: "";
border-style: none none none solid;
border-width: 0 0 0 80px;
bottom: -1px;
clear: both;
color: #B60D3D;
View gist:6902968
//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
}
View gist:6764486
"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
View multiple_ssh_setting.md

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"
View str.go
package str
func Reverse(input string) string {
inputLength := len(input)
inverted := make([]rune, inputLength)
for _, char := range input {
View lenajs.grayscale.js
LenaJS.grayscale = function(pixels, args) {
for (var i = 0; i < pixels.data.length; i += 4) {
var r = pixels.data[i],
g = pixels.data[i+1],
b = pixels.data[i+2];
pixels.data[i] = pixels.data[i+1] = pixels.data[i+2] = 0.2126*r + 0.7152*g + 0.0722*b;
You can’t perform that action at this time.