This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git aliases | |
alias gitd="git diff -- ':!package-lock.json' ':!yarn.lock'" | |
alias gitc='git checkout development' | |
alias gits='git status' | |
# Will return the current branch name | |
# Usage example: git pull origin $(current_branch) | |
function current_branch() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo ${ref#refs/heads/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USE | |
.font-face(Ubuntu-Regular, 'https://dl.dropbox.com/u/1220078/ubuntu-new/Ubuntu-Regular-webfont', 400, normal); | |
.font-face(Ubuntu-Italic, 'https://dl.dropbox.com/u/1220078/ubuntu-new/Ubuntu-Regular-Italic-webfont', 400, italic); | |
.font-face(Ubuntu-Bold, 'https://dl.dropbox.com/u/1220078/ubuntu-new/Ubuntu-Bold-webfont', 700, normal); | |
.test { | |
.font(Ubuntu-Regular, 1em, normal, normal); | |
h1 { | |
.font(Ubuntu-Bold, 1.7em, bold, normal); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[redirects]] | |
from = "/*" | |
to = "/index.html" | |
status = 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.result { | |
display: none; | |
} | |
.active { | |
display: block; | |
} | |
.inactive { | |
display: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Author: Lima Vallantin | |
https://medium.com/@limavallantin | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or | |
(at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"enero":[ | |
"María, Madre de Dios", | |
"Basilio, Gregorio", | |
"Genoveva", | |
"Yolando, Rigoberto", | |
"Emilia", | |
"Wilma, Melanio", | |
"Raimundo", | |
"Luciano, Eladio", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
var youtube = 'https://www.youtube.com/results?search_query='; | |
var query = prompt('video query'); | |
if(query != '') { | |
document.location.href = youtube + query; | |
} | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="preloader"> | |
<div class="f_circleG frotateG_01"></div> | |
<div class="f_circleG frotateG_02"></div> | |
<div class="f_circleG frotateG_03"></div> | |
<div class="f_circleG frotateG_04"></div> | |
<div class="f_circleG frotateG_05"></div> | |
<div class="f_circleG frotateG_06"></div> | |
<div class="f_circleG frotateG_07"></div> | |
<div class="f_circleG frotateG_08"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
rules: { | |
'selector-class-pattern': '^[a-z]+(-[a-z]+)*$' | |
} | |
} | |
// test: https://regex101.com/r/4ChNan/2 |