This file contains hidden or 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
while :; do; say -v Luciana Igor é top; sleep 3; done & |
This file contains hidden or 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
import Vue from 'vue' | |
const actions = { | |
SHOW: 'SHOW', | |
MESSAGE: 'MESSAGE', | |
HIDE: 'HIDE' | |
} | |
function newGlobalEvent (eventName = '') { | |
const bus = new Vue() |
This file contains hidden or 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
export const curry = fn => (...args) => { | |
if (args.length >= fn.length) { | |
fn.apply(null, args) | |
return | |
} | |
curry(fn.bind(null, ...args)) | |
} |
This file contains hidden or 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
const slugify = input => input | |
.toString() | |
.toLowerCase() | |
.replace(/[áãâà]/gi, 'a') | |
.replace(/[éê]/gi, 'e') | |
.replace(/í/gi, 'i') | |
.replace(/[óõô]/gi, 'o') | |
.replace(/ú/gi, 'u') | |
.replace(/ñ/gi, 'n') | |
.replace(/ç/g, 'c') |
This file contains hidden or 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> | |
<with-mouse> | |
<div | |
slot-scope="{ coords }" | |
:style="{ | |
left: `${coords.x - 75}px`, | |
top: `${coords.y - 75}px`, | |
}" | |
class="box" | |
/> |
This file contains hidden or 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
function queryString(obj) { | |
return Object.entries(obj) | |
.map(([index, val]) => `${index}=${val}`) | |
.join('&'); | |
} |
This file contains hidden or 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
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
//following will be in italic (=FlottFlott) | |
"comment", | |
"entity.name.type.class", //class names | |
"keyword", //import, export, return… | |
"constant", //String, Number, Boolean…, this, super | |
"storage.modifier", //static keyword |
This file contains hidden or 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 functional> | |
<div | |
class="container" | |
:class="{ | |
row: props.flexRow, | |
column: props.flexColumn, | |
wrap: props.flexWrap, | |
'justify-content-start': props.justifyContentStart, | |
'justify-content-center': props.justifyContentCenter, |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[ | |
{ | |
"letterWithHtml": "<p>Sem neurose eu começo esse funk<br>Com a maior satisfação<br>Pois eu tenho com sentimento<br>Do primeiro a facção<br>Foi 5 dias de terror, oh qe a Zona Sul tremeu<br>Quem abalou a Zona Sul foi o Bonde do Zebedeu<br>Não se espante com minhas palavras,<br>Vou citar sem emoção,<br>Mas pra fechar com o primeiro<br>Tem que ser de coração,<br>Paz, Justiça e Liberdade<br>Para quem se encontra trancado,<br>Essa luta não é em vão<br>E os nosso irmãos estão bolado.<br>Vou mandando um forte abraço<br>Para o irmão Sidney,<br>Ronaldinho fecha com a Sul,<br>Gordão, Cabelo e também o Nenê<br>O King, Jagunço e Fabinho,<br>Abacaxi e o Cocaia,<br>Tio Cláudio, também chapa quente,<br>Coyote, Juninho e também Morenga<br>O artigo dessa facção vou falar qual é que é,<br>É o 1533 chapa quente pesado, bolado<br>Faz o que é...</p><p>Pode soltar DJ é mais ou menos assim óh...</p><p>(Refrão)</p><p>Demorô, fechô,<br>É o 1° sem neurose comando<br>Demorô fechô, fechô,<br>É o 1° que chega e bota terror.</p>< |
This file contains hidden or 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
const info: Function = console.info; | |
const warn: Function = console.warn; | |
const error: Function = console.error; | |
const table: Function = console.table; | |
/** | |
* Add date before de args | |
* @param {Function} fn | |
* @param {Array} args | |
*/ |