Skip to content

Instantly share code, notes, and snippets.

View HorridModz's full-sized avatar

HorridModz HorridModz

View GitHub Profile
@HorridModz
HorridModz / ZipStrings.cs
Last active June 18, 2024 23:14
Simple little extension method / wrapper to support Zip() function on strings
using System.Linq;
using System.Collections;
using System.Collections.Generic;
static class ZipStringExtension
{
public static IEnumerable<List<char>> Zip(this string str1, string str2)
{
/* Zips two strings together, so that they may be iterated over.
* Wrapper for Enumerable.Zip() method; convenient because it converts strings to lists and specifies to return zipped element as an
@HorridModz
HorridModz / youtubeopenshortasvideo.js
Created October 26, 2023 00:33
Youtube Open Short As Video Bookmarklet
// Hate youtube shorts? Me too. Use this bookmarklet to open them as videos.
// Click it while on a youtube short, and it will open it as a video.
// Don't know what bookmarklets are? https://www.freecodecamp.org/news/what-are-bookmarklets/
javascript:window.location=window.location.href.replace("/shorts/","/watch?v=");
@HorridModz
HorridModz / webcatalog-unlimited-apps.md
Last active July 13, 2024 23:37
WebCatalog Unlimited Apps Crack

WebCatalog is a tool to easily create desktop apps from websites. It's an awesome tool, but the free version (Basic account) limits you to 5 apps.

webcatalog5applimitation

However, I came up with a simple workaround to trick WebCatalog into letting you install as many apps as you want:

All WebCatalog apps are stored at %LocalAppData%\Programs\WebCatalogApps. On startup, WebCatalog makes a list of your installed apps by looking at this folder. If we make it so WebCatalog cannot find this folder, it won't think we have any apps installed, and it will let us install more.