Skip to content

Instantly share code, notes, and snippets.

View mrjones2014's full-sized avatar
🤠
I ❤️ open source

Mat mrjones2014

🤠
I ❤️ open source
View GitHub Profile
@legitosaurus
legitosaurus / wankers_guide_to_spamming.md
Created April 10, 2023 16:01
The Ultimate Wanker's Guide to Spamming AI Products on Reddit

The Ultimate Guide to Spamming Your Mediocre AI Product Like a True Wanker - @foodz

Greetings, wanker comrades! Today, we band together to celebrate the art of obnoxiously promoting our subpar AI products to every corner of Reddit. So, buckle up and unleash the inner wanker in you!

Step 1: Visibility, or How to Be the Life of the (Spam) Party

Embrace your wanker nature and follow these foolproof steps to ensure your mediocre AI product outshines even the most irrelevant posts:

  • Post it everywhere, even on /r/aww (kittens love AI, right?).
  • Clickbait titles so deliciously cheesy that they could make a lactose intolerant person cringe.
@spelcaster
spelcaster / one-shot-server.service
Last active August 14, 2024 12:22
Use netcat to serve a file through HTTP
[Unit]
Description=One shot server using netcat
After=network.target
[Service]
Type=simple
PIDFile=/run/one_shot_server.pid
Restart=on-failure
Environment="PORT=4000"
Environment="FILE=/tmp/somefile.json"
@talwai
talwai / servefile.sh
Created January 23, 2015 19:57
One-shot HTTP webserver to serve file contents using netcat
{ echo -ne "HTTP/1.0 200 OK\r\nContent-Length: $(wc -c <some.file)\r\n\r\n"; cat some.file; } | nc -l 8080