Name | Syntax | Description |
---|---|---|
NOP | NOP |
No operation |
MOV | MOV <SRC>, <DST> |
Move value from source to destiny |
SWP | SWP |
Swap values of ACC and BAK |
SAV | SAV |
Send ACC value to BAK |
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
calc = (a, b, op) => operations[op](a,b) | |
operations = { | |
'+': (a, b) => a + b, | |
'-': (a, b) => a - b, | |
'*': (a, b) => a * b, | |
'/': (a, b) => a / b | |
} |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFtrFYYBEAC2UB4MQCEzfHDe61cbCJXY1grGtoJllIRe+AOkEut9NFadqiG5 | |
+h5r4KPNWnXufbBa7BvBwALYk5Bcs5XlWeaY+kk8wfqM2fd4wDoBJ1xbkZIpKxLw | |
8JzzDrF34VVPhry6JsS2NkSKxzh0hKhHxiGiwzTxRaKxTTQ/7tkO6cbcAa5gf0bf | |
HjxMNxpULrrsTuxtguOlTRXCVeAoddHKRdbv9QJCzM/PNd8xClq0WL/VjT/b6hts | |
tu58hJLgVPwPiUrOami8zBvvg9T8tur77OPIh3fIv6y+RSiku7FVBZ6yN0PRueL+ | |
inDjMmcKPdNMw2/zxCjVazHKOUcVMVYfrf5WwEGGw0MLcQ2Wus1RzKFk/GmLtNZq | |
gniLcmqoE7jwk7z0JGhewMDJVW/Xv1+kHk+lhlcyJJICf6AKLHQkZ2em1IKq2+u5 | |
09qVlRcfA7DQDTYxTIbUE9JLX1Ob783kX5xo9XGKAAI7N4nToDgfXv+a9kB98He1 |
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
{ | |
"arrowParens": "avoid", | |
"bracketSpacing": true, | |
"endOfLine": "lf", | |
"insertPragma": true, | |
"jsxBracketSameLine": true, | |
"printWidth": 120, | |
"proseWrap": "always", | |
"semi": false, | |
"singleQuote": true, |
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
// scrolls two pixels down every 25 milliseconds | |
scroll = setInterval(function(){ window.scrollBy(0, 2); }, 25) | |
//to remove | |
// clearInterval(scroll) |
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
setInterval(() => document.getElementsByClassName("recsGamepad__button")[2].click(), 2000) | |
// wrapping a bookmarklet boilerplate around this is a good idea. |
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
#!/bin/bash | |
# | |
# Esse script foi feito com as instruções desse tutorial de migração | |
# https://www.cyberciti.biz/faq/installing-php-7-on-debian-linux-8-jessie-wheezy-using-apt-get/ | |
# | |
# Testado no Debian Jessie (8.10) | |
# O computador não explodiu, ainda. | |
# | |
if [ "$EUID" -ne 0 ] |
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
javascript:(function(){ | |
if (document.URL === "data:text/html,chromewebdata"){ | |
location.href='http://web.archive.org/web/*/'+loadTimeData.data_.summary.failedUrl; | |
} else { | |
location.href='http://web.archive.org/web/*/'+document.URL; | |
} | |
}()) | |
/* compressed */ |
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
links = document.getElementsByTagName('a'); | |
for (var i=0; i<links.length; i++){ | |
if (links[i].href.endsWith('.mp3')){ | |
console.log(links[i].href); | |
var sound = document.createElement('audio'); | |
sound.controls = 'controls'; | |
sound.src = links[i].href; | |
sound.type = 'audio/mpeg'; |
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
#!/usr/bin/env python3 | |
# | |
# Frases retiradas do código original do Gerador de Lero-Lero | |
# Arquivado no Web Archive em: | |
# http://web.archive.org/web/20070320131106/http://www.suicidiovirtual.net/dados/lerolero.html | |
# | |
import random |