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 |
These are my personal things for making Discord's web app bearable for me -- a barebones text chat application. | |
Almost all nitro / payment / game / voice chat stuff has been hidden / blocked. | |
If something breaks / looks wrong, I'll probably eventually fix it myself, but please leave comments. | |
A lot of the ublock filters only work if your language is set to English. | |
Strongly recommend | |
08/22/2022 - as of current PTB, performance on Firefox has yet again worsened. | |
Related bugzilla entries: | |
https://bugzilla.mozilla.org/show_bug.cgi?id=1605271 |
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-db
ShareX 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.