Skip to content

Instantly share code, notes, and snippets.

View lubien's full-sized avatar
💭
Teaching people 🔥🦩 LiveView 🔥🦩

Lubien lubien

💭
Teaching people 🔥🦩 LiveView 🔥🦩
View GitHub Profile
[
{
"id":1,
"name":"Mashu Kyrielight",
"starGeneration":9.9,
"npGain":0.84,
"hits":{
"quick":2,
"arts":2,
"buster":1,

a

a

Disallow Warning Comments (no-warning-comments)

b

function allowedExtensions (exts) {
return exts.map((item, i) => {
const first = i === 0
const last = i === (exts.length - 1)
if (first) {
return [item]
}
if (last) {
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
1
2
3
4
5
6
7
8
9
@lubien
lubien / promise.js
Created June 19, 2019 03:53
O que é uma promise?
// Promise mais simples que você pode ter.
// Ainda que o retorno *pareça* imediado, lembre-se que
// ainda estamos em contexto de computação assíncrona.
// Note que não usamos uma função nossa pra gerar a promise,
// mas usamos uma função do próprio JS.
const p1 = Promise.resolve(1)
// Função cujo retorno é uma promise.
@lubien
lubien / test-ssh.js
Created June 9, 2019 10:52
test ssh gist
const foo = 10
@lubien
lubien / 1-readme
Last active September 9, 2020 21:04
Something about me
_____ _____ _____ ____ _____ _____
| __ | __| _ | \| | __|
| -| __| | | | | | | __|
|__|__|_____|__|__|____/|_|_|_|_____|
@lubien
lubien / dance.2.gif
Last active June 4, 2019 02:12
Golden
dance.2.gif
@lubien
lubien / dance.4.gif
Last active June 4, 2019 02:12
Torture
dance.4.gif