foo bar
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
| curl -L "https://go.microsoft.com/fwlink/?LinkID=760868" > /tmp/vscode.deb | |
| sudo dpkg -i /tmp/vscode.deb && sudo apt-get install -f |
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 Path of Exile Trade Autofill | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-12-13 | |
| // @description Copy and item in-game (CTRL+C) and click the button to process clipboard text | |
| // @author BrunoLM | |
| // @match https://www.pathofexile.com/trade2/search/poe2/Standard | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=pathofexile.com | |
| // @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
| <div id="sudoku-solution"></div> | |
| <canvas id="canvas" style="display: none;"></canvas> | |
| <div id="blocks-container"></div> | |
| <script src="https://cdn.jsdelivr.net/npm/tesseract.js@2.1.1/dist/tesseract.min.js"></script> | |
| screenshot:<br /> | |
| <textarea> | |
| const canvas = document.querySelector('#game canvas'); | |
| // Convert canvas to a Blob | |
| canvas.toBlob(async (blob) => { |
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 Block Ad accounts on X (Twitter) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-11-30 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://x.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=x.com | |
| // @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
| #Persistent | |
| #SingleInstance, Force | |
| DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr") | |
| SetMouseDelay, -1 | |
| ; Voice Command state | |
| toggle := false | |
| Menu, Tray, Icon, %A_ScriptDir%\IconFalse.ico |
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
| { | |
| "root": true, | |
| "parser": "@typescript-eslint/parser", | |
| "plugins": ["@typescript-eslint"], | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:@typescript-eslint/eslint-recommended", | |
| "plugin:@typescript-eslint/recommended" | |
| ], | |
| "rules": { |
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
| function Get-ImageBase64([string]$file) { | |
| if ($file -like 'http*') { | |
| return Get-ImageBase64FromUrl($file); | |
| } | |
| return Get-ImageBase64FromFile($file); | |
| } | |
| function Get-ImageBase64FromFile( | |
| [string] |
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
| // first inject jQuery on the page, then run on /wp-admin/edit.php | |
| // wait for it then run o.join('\n') | |
| // execute the output on _posts folder | |
| var o = []; | |
| (function() { | |
| let posts = [].slice.call(document.querySelectorAll('.post_name')).map(e => { | |
| let container = e.parentNode; | |
| let id = container.id.split('_')[1]; | |
| let editUrl = `https://your.wordpress.com/wp-admin/post.php?post=${id}&action=edit`; |
NewerOlder