This script adds a new button to Twitter posts. Clicking it, copies a TwitFix link to your clipboard, and strips any trancking data from it because might as well.
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
| <title>Rebane's Discord Colored Text Generator</title> | |
| <meta charset="UTF-8"> | |
| <meta name="description" content="Rebane's Discord Colored Text Generator"> | |
| <meta name="author" content="rebane2001"> | |
| <style> | |
| /* |
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
| ffmpeg -i video-input.mp4 -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v libx265 -crf 22 -preset medium -tune fastdecode video-output.mp4 |
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
| __authors__ = 'isovel' | |
| ## Don't forget to install the dependency! | |
| from pypresence import Presence # pip install pypresence | |
| import time | |
| client_id = "832598829810581534" # Replace with the client ID of your application | |
| RPC = Presence(client_id) # Create the presence object with our client ID | |
| RPC.connect() # Init the RPC connection |
TL;DR
- Make a copy conhost.exe from System32.
- Open it with a hex editor (I use HxD).
- In HxD, go to Search - Find - Hex-values.
- Search for 881d9e530a004885c07477ff15b32e08009084c0.
- In Windows 10 version 2004, replace ff15b32e0800 with 909090909090. If using Windows 10 version 20H2, replace ff15b32e08009084 with 9090909090909090.
- Save file and copy it back to System32 (take ownership of original conhost.exe in order to replace it).
- Profit!
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 Run-Process { | |
| param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$Exe, | |
| [string]$ExeArgs, | |
| [switch]$DoNotWriteLog, | |
| [string]$LogFormat = "yyyy-MM-dd HH:mm:ss.ffff" | |
| ) | |
| Write-Verbose "From powershell running: $exe $exeArgs" |
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
| /** | |
| How to use: | |
| 1/ Use the following line as the "URL" of a bookmark in your web browser. | |
| 2/ Place the bookmark in the bookmark bar for easy access. | |
| 3/ When on a steampowered.com page, click on the bookmark and the corresponding steamdb.info page will open. | |
| */ | |
| javascript:(function(){if (window.location.hostname == 'store.steampowered.com') {var pathMatch = window.location.pathname.match(/^\/(?<appType>(app|bundle|sub))\/(?<appId>\d+)\//);pathMatch && window.open('https://steamdb.info/' + pathMatch.groups.appType + '/' + pathMatch.groups.appId + '/?source=bookmarklet','_blank');}})(); |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
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
| ##### Windows | |
| # Windows thumbnail cache files | |
| Thumbs.db | |
| Thumbs.db:encryptable | |
| ehthumbs.db | |
| ehthumbs_vista.db | |
| # Dump file | |
| *.stackdump |

