Skip to content

Instantly share code, notes, and snippets.

View GoombaProgrammer's full-sized avatar

Goomba GoombaProgrammer

View GitHub Profile
@GoldenretriverYT
GoldenretriverYT / chatgpt.html
Last active December 5, 2022 07:44
A full idle game generated by ChatGPT
<!DOCTYPE html>
<html>
<head>
<title>Candy Factory</title>
<style>
/* Add some basic styling for the game */
body {
font-family: sans-serif;
}
@MidSpike
MidSpike / readme.md
Last active January 29, 2025 18:02
CVE-2022-23812 | RIAEvangelist/node-ipc is malware / protest-ware
@elifiner
elifiner / -first-last-names.md
Last active April 16, 2025 23:21
List of first names and last names for random data generation

First and last names

This gist has two files in it: first-names.txt and last-names.txt, each with 4096 names taken from some unnamed database.

Useful for generating mock data for testing or for opfuscating production data for testing.

See https://stackoverflow.com/a/50242368/15109 for some thoughts about data obfuscation.

@yamanahlawat
yamanahlawat / replacers.py
Created January 25, 2017 12:17
Using Regular Expressions to expand contractions of a Word
import re
replacement_patterns = [
(r'won\'t', 'will not'),
(r'can\'t', 'cannot'),
(r'i\'m', 'i am'),
(r'ain\'t', 'is not'),
(r'(\w+)\'ll', '\g<1> will'),
(r'(\w+)n\'t', '\g<1> not'),
(r'(\w+)\'ve', '\g<1> have'),
@define-private-public
define-private-public / HttpServer.cs
Last active April 22, 2025 09:49
A Simple HTTP server in C#
// Filename: HttpServer.cs
// Author: Benjamin N. Summerton <define-private-public>
// License: Unlicense (http://unlicense.org/)
using System;
using System.IO;
using System.Text;
using System.Net;
using System.Threading.Tasks;
@DashW
DashW / ScreenRecorder.cs
Last active April 28, 2025 07:38
ScreenRecorder - High Performance Unity Video Capture Script
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
class BitmapEncoder
{
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData)