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'
(function() {
"use strict";
function Icon($sce) {
function Link(scope, elem, attrs) {
scope.getIcon = function(name) {
@davidsonfellipe
davidsonfellipe / pagespeed.md
Last active August 31, 2015 18:01
Workaround for pagespeed on Chrome

PageSpeed Insights for Google Chrome has been deprecated. Please use the online version of PageSpeed Insights.

Workaround by @kiquenet

For Google Page Speed extension:

Maybe any partner in your company has installed the extension. Then do this::

Open chrome://version/ and look for Profile Path:

@davidsonfellipe
davidsonfellipe / br-responsive
Last active August 29, 2015 14:10
Breaklines responsive
br,
br:after {
content: ' ';
}
@media only screen and (min-width: 1024px) {
br,
br:after {
content: none;
}
@davidsonfellipe
davidsonfellipe / gist:d0fe40af8be82c10cc02
Created October 2, 2014 04:08
List with some Syntax Highlighters plugins
http://craig.is/making/rainbows
https://github.com/cowlby/Lighter
http://jush.sourceforge.net/
https://github.com/aercolino/Chili
http://prismjs.com/
https://code.google.com/p/google-code-prettify/
https://highlightjs.org/
http://shjs.sourceforge.net/
http://pygments.org/
http://qbnz.com/highlighter/index.php
@davidsonfellipe
davidsonfellipe / gist:11199413
Created April 23, 2014 00:52
Get all friends who canceled facebook account
// go to https://www.facebook.com/YOURPROFILE/friends
var xx = document.querySelectorAll('.fsl.fwb.fcb a')
for (var i = 0; i<xx.length; i++){
if(xx[i].href === 'https://www.facebook.com/YOURPROFILE/friends#') {
console.log(xx[i].innerHTML);