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 May 29, 2024 00:03
Liberal, Accurate Regex Pattern for Matching All URLs
The regex patterns in this gist are intended to match any URLs,
including "mailto:foo@example.com", "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 June 9, 2024 03:40
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 17, 2024 17:27
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 17, 2024 04:00 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@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
@xPaw
xPaw / README.md
Last active November 11, 2023 11:32
Counter-Strike 2 Text Mod
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 7, 2024 18:40
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, 2024 14:16
Discord error codes

Error Codes

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

Miscellaneous

Code Message
0 General error (such as a malformed request body, amongst other things)

Unknown API object