See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| // ==UserScript== | |
| // @name Auto Check-In to Southwest Flights | |
| // @namespace http://www.ryanizzo.com/southwest-auto-check-in/ | |
| // @version 1.8 | |
| // @author Nicholas Buroojy (http://userscripts.org/users/83813) | |
| // @contributor Ryan Izzo (http://www.ryanizzo.com) | |
| // @contributor JR Hehnly (http://www.okstorms.com @stormchasing) | |
| // @contributor Trevor McClellan (github.com/trevormcclellan) | |
| // @description Automatically check in to Southwest Airline flights at the appropriate time. | |
| // @include https://www.southwest.com/air/check-in/index.html* |
| for (var arrScripts = document.getElementsByTagName('script'), i = 0; i < arrScripts.length; i++) { | |
| if (arrScripts[i].textContent.indexOf('externalId') != -1) { | |
| var channelId = arrScripts[i].textContent.match(/\"externalId\"\s*\:\s*\"(.*?)\"/)[1]; | |
| var channelRss = 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId; | |
| var channelTitle = document.title.match(/\(?\d*\)?\s?(.*?)\s\-\sYouTube/)[1]; | |
| console.log('The rss feed of the channel \'' + channelTitle + '\' is:\n' + channelRss); | |
| break; | |
| } | |
| } |
Notes:
Set up a virtual machine running Windows XP.
| // ==UserScript== | |
| // @name Get Youtebe RSS | |
| // @namespace http://tampermonkey.net/ | |
| // @include https://*youtube.com/* | |
| // @require http://code.jquery.com/jquery-3.3.1.min.js | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author Bravo Yeung | |
| // @grant none | |
| // ==/UserScript== |
| rem Run this with admin rights! | |
| rem Запускать от имени администратора! | |
| powershell -command "& {Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force}" | |
| ftype Microsoft.PowerShellScript.1="C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe" "%%1" | |
| assoc .ps1=Microsoft.PowerShellScript.1 | |
| reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1" /f | |
| reg add "HKCR\Microsoft.PowerShellScript.1\shell\runas" /f | |
| reg add "HKCR\Microsoft.PowerShellScript.1\shell\runas" /v "HasLUAShield" /t REG_SZ /f |
| rem Run this with admin rights! | |
| rem Запускать от имени администратора! | |
| powershell -command "& {Set-ExecutionPolicy -ExecutionPolicy Restricted -Force}" | |
| ftype Microsoft.PowerShellScript.1="C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe" "%%1" | |
| assoc .ps1=Microsoft.PowerShellScript.1 | |
| reg delete "HKCR\Microsoft.PowerShellScript.1\shell\runas" /f |
Use the above file, replacing...
{URL of shortener} by the root URL where you have the shortener installed. For example https://nlsn.cf/{github token} your github access token{repo} by your username and repo in full. For example nelsontky/gh-pages-url-shortener-dbShareX Config.sxcu is the default uploader and works with nelsontky's version.ShareX Config with name.sxcu works with nelsontky/gh-pages-url-shortener#68.Discord's css is minified, with it's classes following the format name-hash. When they pushed a new asset to the canary build, the classes got renamed:
This means the classes on the themes don't relate to any discord class anymore.