Skip to content

Instantly share code, notes, and snippets.

View nwunderly's full-sized avatar
😎
ok, this is epic

nwunderly

😎
ok, this is epic
View GitHub Profile
@nwunderly
nwunderly / alt_detection.ipynb
Created August 29, 2022 01:22 — forked from 7bitlyrus/alt_detection.ipynb
alt_detection.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nwunderly
nwunderly / discord-scams.md
Last active April 19, 2024 22:53
Discord anti-scam blogs!

Good morning friends. As some of you might have seen, Discord released two new safety-related blog posts today! I'd highly recommend reading them both and sharing them with your communities. Wanted to give a little commentary on them as well, as someone familiar with these scams.

Protecting Against Scams on Discord

https://discord.com/blog/protecting-users-from-scams-on-discord

This is a blog acknowledging the recent surge in scams on Discord. Notably, it also mentions the FTC's report indicating an internet-wide surge in scams in 2021. It discusses general advice for both general users and for server admins and mods. It's a pretty good writeup, but it is missing some things.

"Why Would Someone Want Access to My Account?"

@nwunderly
nwunderly / The_PirateStealer_Saga_Vol2.md
Last active January 20, 2023 01:53
The_PirateStealer_Saga_Vol2.md

The PirateStealer Saga, Volume 2: "Wait, This Is Still Going??"

Intro

This document is a follow-up to The PirateStealer Saga, detailing additional events that have occurred in the week since its writing.

@nwunderly
nwunderly / The_PirateStealer_Saga.md
Last active January 20, 2023 01:53
The_PirateStealer_Saga.md

The PirateStealer Saga: A tale of love, war, betrayal, and revenge

Intro

The following document chronicles my discovery of the incredibly riveting lore behind a particular open-source malware project.

@nwunderly
nwunderly / docker_install.txt
Created August 5, 2021 01:43
Docker installation script
Install Docker on a 64-bit Linux system.
AMD64/x86-64: run docker_install_amd64.sh
ARM64: run docker_install_arm64.sh
@nwunderly
nwunderly / earth_mars_utils.py
Created May 4, 2021 04:14
Python implementations of findE.m, ymdhms2jd.m, findEarth.m, findMars.m
"""Python implementations of findE.m, ymdhms2jd.m, findEarth.m, findMars.m
Based on Dr. Hartzell's files. Written by Nate Wunderly.
"""
from numpy import abs, floor, pi, sin, cos, arccos
"""findE.m
@nwunderly
nwunderly / chatbots.py
Created March 14, 2021 05:51
Shitty chat bot code using ChatterBot and trained on a Discord channel
"""
This file runs two discord bots, which talk to each other after one of them is prompted by a user.
WARNING: This code kinda sucks
"""
import asyncio
import logging
import sys
@nwunderly
nwunderly / ice_puzzle_generator.go
Created February 8, 2021 05:54
Level generator for that pokemon ice sliding puzzle game
package main
import (
"fmt"
"math/rand"
)
const (
PLAYER = "o"
EMPTY = "+"
@nwunderly
nwunderly / 2bp.py
Last active January 31, 2021 01:04
python two-body problem solver
"""
Two-body problem integrator.
"""
import argparse
import numpy as np
from scipy.integrate import solve_ivp
from matplotlib import pyplot as plt
@nwunderly
nwunderly / converters.py
Last active January 21, 2021 20:11
helpful discord.py converters
import re
import discord
from discord.ext import commands
class FetchedUser(commands.Converter):
async def convert(self, ctx, argument):
if not argument.isdigit():
raise commands.BadArgument('Not a valid user ID.')
try: