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
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |
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
/* | |
Snippet | |
Admin SDK do Firebase | |
Firebase features such as Database, Storage, and Auth by the unified Admin SDK. | |
Go https://console.firebase.google.com/project/meu-instalador-teste/settings/serviceaccounts/adminsdk | |
Download your private key | |
npm install --save firebase-admin |
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 liga() { | |
this.ligado = true; | |
} | |
Ventilador.prototype.ligar = liga; | |
function Ventilador(velMax) { | |
this.velocidadeMaxima = velMax; | |
this.ligado = false; | |
this.ligar = liga; |
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
// REQUIRED | |
function getRandom(x, y) { | |
return Math.floor(Math.random() * (y - x + 1)) + x | |
} | |
// | |
var print = function (val) { | |
var cartas = ['carta1','carta2','carta3','carta4','carta5', 'carta6'] | |
alert(cartas[val]) |
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() { | |
// Create the dropdown base | |
$("<select class='drop' />").appendTo("#menu2"); | |
// Create default option "Go to..." | |
$("<option />", { | |
"selected": "selected", | |
"value" : "", |