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 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
for i in $files; do echo "mv $i $(echo $i | cut -c 1-8)"; done |
This file contains 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 |
This file contains 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 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 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 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 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 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 python | |
# -*- coding: utf-8 -*- | |
# | |
# speak.py | |
# | |
# Copyleft 2016 Eduardo França <@edo9k> | |
# | |
# to install | |
# $ sudo apt install python-pip | |
# $ pip install future langdetect pyperclip sh |
This file contains 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, |
OlderNewer