Skip to content

Instantly share code, notes, and snippets.

View fluteds's full-sized avatar

fluteds

View GitHub Profile
@IQAndreas
IQAndreas / caesar-cipher.sh
Last active June 29, 2026 15:54
A really simple Caesar Cipher in Bash (or Shell) using `tr`, can also easily be adjusted to encrypt/decrypt ROT13 instead.
# Caesar cipher encoding
echo "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" | tr '[A-Z]' '[X-ZA-W]'
# output: QEB NRFZH YOLTK CLU GRJMP LSBO QEB IXWV ALD
# Caesar cipher decoding
echo "QEB NRFZH YOLTK CLU GRJMP LSBO QEB IXWV ALD" | tr '[X-ZA-W]' '[A-Z]'
# output: THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
# Can also be adjusted to ROT13 instead
@stormchasing
stormchasing / Auto Check-In to Southwest Flights.user.js
Last active May 18, 2026 16:02
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 August 17, 2026 23:02
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 July 7, 2026 19:29
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

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