dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
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 bash | |
| set -euo pipefail | |
| # Ensure we're inside a git repo | |
| git rev-parse --is-inside-work-tree >/dev/null 2>&1 || { | |
| echo "Not a git repository." | |
| exit 1 | |
| } | |
| # Month mapping (portable) |
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 Show All Branches | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-06-04 | |
| // @description Show All branches by default in bitbucket | |
| // @author You | |
| // @match https://bitbucket.org/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=bitbucket.org | |
| // @grant none | |
| // ==/UserScript== |
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 Trello Minimalist Theme | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.6 | |
| // @description Change Trello default theme | |
| // @author gabrielrbarbosa | |
| // @match https://trello.com/b/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=trello.com | |
| // @require https://code.jquery.com/jquery-3.7.1.min.js | |
| // ==/UserScript== |
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://www.4devs.com.br/gerador_de_inscricao_estadual | |
| function weightCalculator(ie) { | |
| let weights = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; | |
| let weights2 = [3, 2, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2]; | |
| let base = ""; | |
| let base2 = 0, soma = 0; | |
| let block = ie.toString().split(""); | |
| block.splice(3, 0, "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
| // ==UserScript== | |
| // @name WhatsApp Web Dark Mode | |
| // @namespace https://github.com/gabplay/ | |
| // @version 1.0 | |
| // @description Switch theme to dark mode in web.whatsapp.com | |
| // @author Gabplay | |
| // @match http://web.whatsapp.com/* | |
| // @match https://web.whatsapp.com/* | |
| // ==/UserScript== | |
| (function() { document.getElementsByTagName("body")[0].classList.add('dark'); })(); |
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
| import webbrowser | |
| from bs4 import BeautifulSoup as bs | |
| import urllib | |
| #soup = bs(ur.urlopen("https://www.google.com/search?q=" + input("Digite uma frase para detectar plágio: ").lower().strip(), "html.parser")) | |
| input_text = input("Digite uma frase para detectar plágio: ").lower().strip() | |
| params = urllib.parse.urlencode({'q': input_text}) | |
| url = "https://www.google.com/search?%s" % params | |
| headers = {'User-Agent':'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7',} |
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
| { | |
| "font_size": 11, | |
| "bold_folder_labels": true, | |
| "fade_fold_buttons": false, | |
| "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
| "theme": "Material-Theme.sublime-theme", | |
| "line_padding_bottom": 3, | |
| "line_padding_top": 3, | |
| "material_theme_accent_acid_lime" : true, |