- Salve o link Galeria na sua barra de favoritos (dica: arraste o link para a barra).
- Clique com o botão direito do mouse no link da barra de favoritos, use a opção "Editar favorito" e substitua o endereço/URL pelo código logo abaixo das instruções.
- Vá para a página de rede social
- Use o link da barra de favoritos
- Vai aparecer uma visão de galeria na própria página. Clique nas imagens desejadas
- botão esquerdo = abre numa nova janela
Structurally compare two versions of the composer.lock file and output a JSON document with the found differences.
Compare the current version against the version two commits behind (@~2):
$ composer_lock_diff.php <(git show @~2:composer.lock) <(cat composer.lock)
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
| require 'bigdecimal' | |
| class CurrencyMismatch < RuntimeError | |
| end | |
| class Currency | |
| def initialize(symbol, decimals) | |
| @symbol = symbol | |
| @decimals = decimals | |
| end |
A previous known tool to batch download Google Groups messages, https://github.com/icy/google-group-crawler, does not work with the current (as of March 2023) Google Groups website.
What I needed was to download all attachments from a small number of conversations. So I used some JavaScript to automate downloading them from my browser. It works like this:
- Open the Google Groups app and insert the initialization code into the Console:
function sleep(ms) {
return new Promise(r => setTimeout(r, ms))
}
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
| // Thanks to https://twitter.com/derekstavis/status/1306021971163926528 ! | |
| // Install this as a bookmarklet, use a tool like https://caiorss.github.io/bookmarklet-maker/ | |
| const styleId = 'Instant-Dark-Mode' | |
| const THEME = 'Instant-Dark-Mode' | |
| const THEME_DARK = `${THEME}--dark` | |
| const THEME_LIGHT = `${THEME}--light` | |
| let element = document.getElementById(styleId) | |
| if (!element) { |
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
| // ==UserScript== | |
| // @name Embed Google Docs into GitLab | |
| // @namespace http://github.com/edudobay/ | |
| // @website https://gist.github.com/edudobay/8cea2e2f2e670a0f24d5cd50c0133834 | |
| // @updateURL https://gist.github.com/edudobay/8cea2e2f2e670a0f24d5cd50c0133834/raw/GitLab-Embed-GoogleDocs.userscript.js | |
| // @downloadURL https://gist.github.com/edudobay/8cea2e2f2e670a0f24d5cd50c0133834/raw/GitLab-Embed-GoogleDocs.userscript.js | |
| // @version 0.2 | |
| // @description The name says it all. | |
| // @author https://github.com/edudobay | |
| // @match https://gitlab.com/* |
- Versão 2: também funciona para qualquer outro site que tenha áudios ou vídeos!
- Versão 1: versão inicial (apenas WhatsApp Web)
Parece que o WhatsApp Web foi atualizado de maneira que esta ferramenta não funciona mais com ele. Vou postando atualizações à medida que souber.
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
| { | |
| "name": "example/psysh-imports-shadow-namespaces", | |
| "require": { | |
| "nesbot/carbon": "^2.19", | |
| "psy/psysh": "^0.9.9" | |
| } | |
| } |
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 | |
| import argparse | |
| import sys | |
| import subprocess | |
| import re | |
| import urllib.parse | |
| def git(args): | |
| proc = subprocess.run( |
NewerOlder