Skip to content

Instantly share code, notes, and snippets.

View brunos3d's full-sized avatar
:shipit:
hunting bytes 🏹

Bruno Silva brunos3d

:shipit:
hunting bytes 🏹
View GitHub Profile

Valores

// string
"Essa Γ© uma string"
'Essa Γ© outra string'
`Adivinha sΓ³?! Mais uma string!`

// boolean
true
[/]
appicon-margin=0
appicon-padding=5
available-monitors=[0]
desktop-line-use-custom-color=false
dot-color-1='#5294e2'
dot-color-2='#5294e2'
dot-color-3='#5294e2'
dot-color-4='#5294e2'
dot-color-dominant=true
// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client
// Learn from this, do not just copy it mofo!
//
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584
/*
koad-was-here
@brunos3d
brunos3d / javascript_destructuring.js
Last active January 15, 2020 14:19
ES6 - 3 Formas de desestruturar um objeto com javascript
var objeto = { tamanho: 10, nome: undefined, peso: 180 };
// =========================================== exemplo 1
// "desmembramento manual" =[
var size = objeto.tamanho;
var name = objeto.nome || "Bruno";
var weight = objeto.peso;