Skip to content

Instantly share code, notes, and snippets.

@browserdotsys
browserdotsys / corsair_jpeg_util.py
Created May 21, 2023 18:15
Small util to display JPEGs on a Corsair iCUE H150i ELITE LCD display
#!/usr/bin/env python3
import pyshark
from dataclasses import dataclass
import argparse
import hid
import time
VID = 0x1b1c # Corsair
PID = 0x0c39 # Corsair LCD Cap for Elite Capellix coolers
/*
Copyright (C) 2017 Steve Benz <s8878992@hotmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@browserdotsys
browserdotsys / rank_followers.py
Created June 14, 2020 01:03
Rank your followers in a twitter data archive
#!/usr/bin/env python3.7
import json
import os
import sys
def load_json(fp):
data = fp.read()
return json.loads(data[data.find('['):])
@browserdotsys
browserdotsys / brain_damage.py
Created January 6, 2020 06:46
Script that repeatedly mutates and samples the GPT2 1.5B model, simulating brain damage
import torch
import struct
import random
import time
import numpy as np
from transformers import GPT2LMHeadModel, GPT2Tokenizer
def flip_bit(fv):
bit = random.randint(0, 31)
v = struct.unpack("I", struct.pack("f", fv))[0]
This file has been truncated, but you can view the full file.
by "PlaystationCoach"
by "PlaystationMan"
http://t.co/QYgiYdQgJ
just deleted 11,000 tweets at the request of the twitter corporation, to clear my name, after getting hours of abuse on twitter.

Model prompt >>> Without saying a word, Luke reached over and gently stroked R2D2's dome.


SAMPLE 1

As Luke pushed his finger gently, there was an unmistakable click. A small ball of air bounced down from R2D2's temple of skin and struck the underside of his finger into R2D2's left hand.

R2D2's hand was still as it always had been, and Luke and Leia were looking forward to seeing if it would give them a second look in time for their next mission.

Model prompt >>> She took his throbbing manhood in her hand.


SAMPLE 1

He didn't stop rubbing her nipples, but she let on a smile. "Well..."

"I am so glad you want it all, too, I mean..." he trailed off. She was trying to take him out of this world he had seen, but he could sense how uncomfortable she was feeling with him. It was starting to take over her.

Model prompt >>> In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.


SAMPLE 1

It is not Demogorgon's fault that the universe has been weakened in the past and that there are just massive Watcher's Manuals distorting itself and mistaking the REAL universe for a sliver of reality. What the real universe has to do with is redefining the human experience.

Batman may have been justified in using his fists to stop events or merely in psychological warfare ("There's no boundary between amazing incredible and Wannabes") , but this did not stop him from having his crimes committed by the Neo-Nerfed (the Military Organization of the United Nations) being widely called "Honest Sermon" by all those who supported it. But are these falsehoods true? I think not. Ultimately Superman allows himself to become (by his actions), because he does not believe that he is the only one who can do it. This is morally justified misinterpretation of th

Model prompt >>> Gypsy Panther frowned at the screenshot showing closed-source code on a mutual's desktop.


SAMPLE 1

"Bookmarks are available right now on my side, by signing up!"

An employee one time asked, "Why would you forget the single-most important file I've got, a list of our performance anomaly?" James said, "Figuratively, a single file means there are only 15 hours or less of user time."

Model prompt >>> Has Anyone Really Been Far Even as Decided to Use Even Go Want to do Look More Like?


SAMPLE 1

I've been doing it since 2009, when I started doing it. It works in my devlab, and I've been working in a traditional return of service store so those have been my three few days in the store. I recently took some fun trips to Mexico and joined an army. It kinda rocked me right back. I figured that working in a practice center is how I could reach out to patients with pain and suffering. I felt I had to take things a step further. I've taken or called on two therapists many times with some great results, trending in the right direction. Some still have weeks in their hospital awaiting their treatments. My hope is to move on to less demanding things in a bit more fulfilling, adult life. Having seen the patients improve with the drug, seems to be doing it, and the people I see may be turning their life around too. On second thought, Robot League is certainly very similar in its design to