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
| /** | |
| * This code demonstrates how to use Unicode Variation Selectors to encode and decode hidden messages. | |
| * | |
| * It defines two functions: `encoder` to convert a string into a sequence of Unicode characters that | |
| * represent the bytes of the original string, and `decoder` to reverse this process and retrieve the | |
| * original string from the hidden Unicode characters. | |
| * | |
| * The `encoder` function takes a string, converts it to a buffer of bytes, and then maps each byte to | |
| * a corresponding Unicode character. If the byte value is 15 or less, it uses the range U+FE00 to U+FE0F; | |
| * if it's greater than 15, it uses the range U+E0100 to U+E01EF. |
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
| /* | |
| ## Baixar planilha do SSP-SP | |
| wget https://www.ssp.sEp.gov.br/assets/estatistica/transparencia/spDados/SPDadosCriminais_2025.xlsx -O SPDadosCriminais_2025.xlsx | |
| ## Converte paginas do XLS para CSV | |
| in2csv -f xlsx --sheet "SPDadosCriminais_2025" SPDadosCriminais_2025.xlsx > SPDadosCriminais_2025.csv | |
| ## Filtra apenas S.JOSE DOS CAMPOS records | |
| cat SPDadosCriminais_2025.csv | grep "S. JOSÉ DOS CAMPOS" >> SPDadosCriminais_2025_SJC.csv |
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
Show hidden characters
| [ | |
| // UI shortcuts | |
| { | |
| "key": "ctrl+shift+j", | |
| "command": "workbench.action.terminal.toggleTerminal", | |
| "when": "terminal.active" | |
| }, | |
| { | |
| "key": "ctrl+k ctrl+w", | |
| "command": "workbench.action.closeOtherEditors" |
This file has been truncated, but you can view the full file.
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
| const data = [ | |
| ["The quick brown fox jumps", ""], | |
| ["", "The quick brown box jumps"], | |
| ["The quick brown fox jumps", " "], | |
| [" ", "The quick brown box jumps"], | |
| ["The quick brown fox jumps", " "], | |
| [" ", "The quick brown box jumps"], | |
| ["The quick brown fox jumps", "The quick brown box jumps"], | |
| ["The quick brown fox jumps", "The fast brown dog jumps"], | |
| ["The red car drives fast", "The blue car drives slow"], |
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
| # https://askubuntu.com/a/597071 | |
| xinput set-button-map 9 1 0 3 | |
| xinput set-button-map 10 1 0 3 |
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
| /* | |
| * Useful links: | |
| * | |
| * https://help.adblockplus.org/hc/en-us/articles/360062859913-Add-a-custom-filter | |
| * https://help.adblockplus.org/hc/en-us/articles/360062733293-How-to-write-filters#elemhide-emulation | |
| */ | |
| /* Grid view */ | |
| youtube.com#?#ytd-rich-item-renderer:-abp-has(a#thumbnail[href^="/shorts/"]) |
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
| export class Left<T> { | |
| constructor(public value: T) {} | |
| public isLeft(): this is Left<T> { | |
| return true; | |
| } | |
| public isRight(): this is Right<never> { | |
| return false; | |
| } |
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 | |
| #adb shell pm list packages | awk -F":" '{print $2}' | |
| apps="com.android.chrome | |
| com.google.android.apps.docs | |
| com.google.android.apps.maps | |
| com.google.android.apps.photos | |
| com.google.android.calendar | |
| com.google.android.feedback |
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() { var elements = document.body.getElementsByTagName('*'); var items = []; for (var i = 0; i < elements.length; i++) { if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { items.push(elements[i]); } } if (items.length > 0) { for (var i = 0; i < items.length; i++) { items[i].innerHTML = ''; } } else { document.body.innerHTML += '<style>* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\ * * { background-color: rgba(0,255,0,.2) !important; }\ * * * { background-color: rgba(0,0,255,.2) !important; }\ * * * * { background-color: rgba(255,0,255,.2) !important; }\ * * * * * { background-color: rgba(0,255,255,.2) !important; }\ * * * * * * { background-color: rgba(255,255,0,.2) !important; }\ * * * * * * * { backgrou |
NewerOlder