Skip to content

Instantly share code, notes, and snippets.

View Technoguyfication's full-sized avatar
🐍
no step

Hayden Andreyka Technoguyfication

🐍
no step
View GitHub Profile
@Technoguyfication
Technoguyfication / retrieve bitlinks.py
Created April 5, 2023 07:18
Retrieve all the Bitlinks on your Bitly account and save them to a JSON file
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBxD8JpmhjHeaxy/YwxkVpxXdnFmtHEA2C3RGNXoK+51 haydenandreyka@gmail.com
@Technoguyfication
Technoguyfication / toxic-regex.md
Last active April 28, 2022 22:32
Various regular expressions to catch toxic language

Toxic Regexes

A list of regular expressions I've created to catch toxic chat messages online. These expressions can be executed in case sensitive or case insensitive mode.

  • You can combine any/all of these filters together by adding them together with a | character in between. This will cause any words/phrases that match any of the regexes to match.
  • You can see an example of the combined mega filter of all the following expressions and play around / test the filters to your liking at this link: https://regex101.com/r/L5f1ik/2

Swastika character

This expression may not work in PHP or Go based regex interpreters due to their handling of unicode character literals.

(?>\u534D|\u5350)
@Technoguyfication
Technoguyfication / Open in Unity Context Menu.reg
Created November 26, 2017 22:24
Adds an item to the extended context menu of a directory to open it as a Unity3D project.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenInUnity]
@="Open in Unity"
"Icon"="\"C:\\Program Files\\Unity\\Editor\\Unity.exe\""
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\shell\OpenInUnity\command]
@="\"C:\\Program Files\\Unity\\Editor\\Unity.exe\" -projectPath \"%1\""

Keybase proof

I hereby claim:

  • I am Technoguyfication on github.
  • I am tknoguyfication (https://keybase.io/tknoguyfication) on keybase.
  • I have a public key whose fingerprint is D5B7 39EC 6FA0 E975 2025 06F4 E1AF CD6F E715 E460

To claim this, I am signing this object:

@Technoguyfication
Technoguyfication / userselection.js
Created August 26, 2016 12:22
this is a snipper but can be a standalone file
function userFromString(string, message = null) {
if (message) {
if (message.mentions.length > 0) {
return message.mentions[0];
}
}
if (string.includes('#')) {
var dSplitString = string.toLowerCase().split('#');
var dMatches = BotClient.users.getAll('discriminator', dSplitString[dSplitString.length - 1]);
@Technoguyfication
Technoguyfication / musicbotcounter.js
Last active August 2, 2016 23:47
counts the number of people who want to make music bots
const Discord = require('discord.js');
const fs = require('fs');
var Client = new Discord.Client();
var botCount = 0;
Client.on('message', (msg) => {
if (msg.author.bot) return;
if (!msg.server) return;
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix='snek ', description='this is snekbot.')
@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)