Skip to content

Instantly share code, notes, and snippets.

@stormchasing
stormchasing / Auto Check-In to Southwest Flights.user.js
Last active March 9, 2025 07:27
Auto Check-In to Southwest Flights.user.js
// ==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*
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 28, 2025 17:18
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@arieljannai
arieljannai / get_youtube_channel_rss_feed.js
Last active April 11, 2025 22:48
Get YouTube Channel RSS Feed
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;
}
}
@Prof9
Prof9 / guide.md
Last active June 25, 2022 04:21
Kaeru WFC connection guide for Nintendo Wi-Fi USB Connector

Notes:

  • For some people setting DNS settings in the Nintendo Wi-Fi USB Connector properties doesn't seem to work, if that applies to you you may have to set up DNS in the internet-facing connection properties instead.

Connection guide

  1. Set up a virtual machine running Windows XP.

    • Plenty of guides online on how to do this, so I won't be going into too much detail here.
    • I'd recommend using VirtualBox and the "Windows XP Mode" method found here, as all the downloads you need are from official sources: https://www.makeuseof.com/tag/download-windows-xp-for-free-and-legally-straight-from-microsoft-si/. NOTE: Skip the part where it tells you to set up Windows XP Virtual Machine Network Settings, you don't need to do this if the internet connection in your VM is already working.
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active April 18, 2025 13:45
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@yanglr
yanglr / get_youtube_channel_rss_feed.js
Last active April 27, 2025 15:51 — forked from arieljannai/get_youtube_channel_rss_feed.js
Script to get YouTube Channel RSS Feed (Add to Greasemonkey or Tampermonkey)
// ==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==
@Serat00l951
Serat00l951 / ps - start with double click.cmd
Last active June 11, 2022 12:29
Start powershell scripts with double click
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
@Serat00l951
Serat00l951 / ps - no start with double click.cmd
Last active June 11, 2022 12:37
Disable starting powershell scripts with double click
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
@Poliwrath
Poliwrath / README
Last active November 30, 2023 08:33
Firefox things to make Discord "better"
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

Usage

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

Extra information