Skip to content

Instantly share code, notes, and snippets.

View pointydev's full-sized avatar
we drainin'

Elliott Tallis pointydev

we drainin'
View GitHub Profile
@gruber
gruber / Liberal Regex Pattern for All URLs
Last active June 6, 2025 01:10
Liberal, Accurate Regex Pattern for Matching All URLs
The regex patterns in this gist are intended to match any URLs,
including "mailto:[email protected]", "x-whatever://foo", etc. For a
pattern that attempts only to match web URLs (http, https), see:
https://gist.github.com/gruber/8891611
# Single-line version of pattern:
(?i)\b((?:[a-z][\w-]+:(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))
@cocobelgica
cocobelgica / Menu Creator.ahk
Created October 20, 2012 09:44
Menu Creator (AutoHotkey_L)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance, force
CreateMenu(LVMenu, PMenu), CreateHotkey("PGUP", "PGDN")
, qmenu := new MenuProp()
, item := new ItemProp()
, qmenu.Create(), qmenu.Show()
return
@davispuh
davispuh / steam_console_params.txt
Last active May 30, 2025 22:15
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
@shamil
shamil / mount_qcow2.md
Last active June 11, 2025 07:11
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active June 18, 2025 02:05 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@pointydev
pointydev / UACElevationPrompt.ahk
Created October 14, 2019 00:40
AHK script to send a notification when UAC opens (mainly for when it opens minimised) - https://pointy.needs-to-s.top/7m5TKn6.exe
#Persistent
#SingleInstance, Force
Menu, Tray, Tip, UAC Elevation Prompt
Menu, Tray, NoStandard
Menu, Tray, Add, UAC Elevation Prompt, Exit
Menu, Tray, Check, UAC Elevation Prompt
Menu, Tray, Default, UAC Elevation Prompt
Menu, Tray, Disable, UAC Elevation Prompt
Menu, Tray, Add
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active May 29, 2025 16:32
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@Dziurwa14
Dziurwa14 / codes.md
Last active June 17, 2025 12:21
Discord error codes

Error Codes

All collected Discord error codes, categorized by type (first 2 digits).

Unknown API Object

Code Message
10001 Unknown Account
10002 Unknown Application
10003 Unknown Channel
10004 Unknown Guild