Skip to content

Instantly share code, notes, and snippets.

<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/buttons-min.css">
<link rel="stylesheet" href="css/pure-rein.css">
<button class="pure-button rein-btn-pill btn-success">Button</button>
@filipelinhares
filipelinhares / ohmyplugin.sh
Created February 10, 2015 15:26
An easyiest way to install your oh-my-zsh plugins from Github repositories
ohmyplugin (){
cd ~/.oh-my-zsh/custom/plugins
git clone $1
subl $HOME/.zshrc
}
@filipelinhares
filipelinhares / my-atom.less
Created May 15, 2015 14:52
Atom style editor
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
@image-noise: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAB3BAMAAADC/GLDAAAAMFBMVEUAAACqqqoAAACqqqo/Pz8AAAAuLi4TExN/f3+Li4tiYmLX19ewsLDi4uJYWFixsbGPmeHFAAAAEHRSTlMAAwIGCAULDQYLDQ0NCRcXy6bg3wAACQBJREFUeF5l0M3rLm9BwOHrvuf9mec55z75Wra41cwKF2MZYaspc1FEjERv1GLAHwVRMEoSRIvRhYS4mDBIyMWQKAQZIxhUKIySRK0eC0HCxYFq0+rbf9Dy4XCuP+Cz+MggRyvg00jY1AT0o7qBNqUew+CquiBcQIvRjgS4HxJJBzsAGW2DqjpXgMSPWaFiIpKhruT/lm94A/WUROA5ReOBihVMkWhDNiLgfsIAUx3B6eamWSQcOka0AEwoJxZOMEggMgGaNeEGLJQwQElApeiB6hMAGUDzbRcAgnMtPPk4yPg/eD6wz1wu5AmY6bl9cMZdvNAkoIcSULDovMvtAPQAkeEOEy5YIADKT3BCVQGIuNPCPxIADUFPBKcALyJMPm8gGT2IwE9QCCVcxqEZ3wGYIHjok/IAjLUlcdNgmmlE9swz2h5uuLNVvNTC/szAuJL2HeNOoiMkgA0w9ZTIGIG3aySVBUQxNEp1aEDM84ASQGaoUh9ULDZnBtuAMwo0jABafbMbMRUcmBG/CxH/TKdQjA6Q4e9WIzagwe2zCoAarht8aGn+CtDnX/E6GVQcn7N/HZ/2sJjxXjA
#201F20,#333333,#D4A53F,#FFFFFF,#3E313C,#F2F2F2,#00FFD5,#EB4D5C
@filipelinhares
filipelinhares / visited.js
Created May 31, 2015 16:32
Link visited with Local Storage
localStorage.setItem('visited-'+window.location.pathname,true);
var links = document.getElementsByTagName('a');
for (i=0;i<links.length;i++) {
var link = links[i];
if (link.host == window.location.host && localStorage.getItem('visited-' + link.pathname + '/')) {
link.dataset.visited = true;
}
}
@filipelinhares
filipelinhares / csscomb.json
Created July 23, 2015 12:49
My csscomb.json file
{
"sort-order":[
"position",
"top",
"right",
"bottom",
"left",
"z-index",
"display",
"float",
@filipelinhares
filipelinhares / vim.md
Last active July 22, 2024 12:06
Vim basic commands

Vim basic commands

A

  • a Enter into insert mode after the character your cursor is on.
  • A Enter into insert mode at the end of the current line.

B

  • b Move cursor to first character of previous word.
  • B Move cursor to first character of previous non-blank series of characters.
  • Ctrl+b Scroll page backwards (move up in the file).
@filipelinhares
filipelinhares / meta.html
Created August 17, 2015 00:24
Basic metatags
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>My Title</title>
<meta name="author" content="@ofilipelinhares">
<meta name="description" content="description">
<meta name="viewport" content="width=device-width, initial-scale=1">
@filipelinhares
filipelinhares / install.md
Last active June 9, 2023 17:29
Install Erlang, Elixir and Phoenix - Ubuntu and OSX

Install Erlang, Elixir and Phoenix

Ubuntu

Erlang

sudo apt-get install erlang

Elixir