Skip to content

Instantly share code, notes, and snippets.

🍍
One day I'll finish a personal project.

Gabriel Lima the-glima

🍍
One day I'll finish a personal project.
Block or report user

Report or block the-glima

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
View git.io
git.io/zemayer
git.io/gabrielmateus
View cookie.js
View sublime-plugins.md

Sublime alias for command line:

sudo ln -s "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" /bin/subl

El Captain

sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

Plugins

View konami.js
function(){
//Konami magic
var code=[38,38,40,40,37,39,37,39,66,65], konamiStep=0;
window.addEventListener("keydown", function(event) {
if(event.keyCode==code[konamiStep]){konamiStep++;}else{konamiStep=0;}
if(konamiStep==code.length){
//KONAMI MAGIC HERE
konamiStep=0;
}
}, false);
@the-glima
the-glima / installation-guide.md
Last active Aug 29, 2018
Installation guide from scratch
View installation-guide.md
View meta-tags.md

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@the-glima
the-glima / provision.sh
Last active Aug 29, 2015
Custom shell provision for Ubuntu VM
View provision.sh
#!/bin/bash
echo -e "Go get yourself a cup of coffee!"
echo -e "\n--- Updating packages list ---\n"
sudo apt-get update
echo -e "\n--- Install base packages ---\n"
sudo apt-get -y install vim curl wget build-essential python-software-properties git-core
View prepare-commit-msg.sh
#!/bin/bash
# This way you can customize which branches should be skipped when
# prepending commit message.
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop test)
fi
BRANCH_NAME=$(git symbolic-ref --short HEAD)
BRANCH_NAME="${BRANCH_NAME##*/}"
@the-glima
the-glima / select-brazilian-estates.html
Created Aug 14, 2015
Select com todos os estados brasileiros.
View select-brazilian-estates.html
<select>
<option value="">Selecione</option>
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AP">Amapá</option>
<option value="AM">Amazonas</option>
<option value="BA">Bahia</option>
<option value="CE">Ceará</option>
<option value="DF">Distrito Federal</option>
<option value="ES">Espirito Santo</option>
@the-glima
the-glima / Material.theme.sublime-setting
Last active Aug 2, 2016
Sublime Preferences Setting
View Material.theme.sublime-setting
{
"auto_upgrade_ignore": [ "Material Theme" ], // Reset theme issue
"theme": "Material-Theme-Darker.sublime-theme",
"color_scheme": "Packages/Theme - Cyanide/Monocyanide - Contrasted Light.tmTheme",
"material_theme_disable_folder_animation" : true , // Disable folder animation
"material_theme_small_statusbar" : true , // Set small status bar
"material_theme_compact_sidebar" : true , // Set compact side bar
"material_theme_tabs_autowidth" : false , // Enable autowidth for tabs
"material_theme_contrast_mode" : false , // Enable sidebar and panels contrast mode
}
You can’t perform that action at this time.