Skip to content

Instantly share code, notes, and snippets.

View afiaka87's full-sized avatar
🤪

Clay Mullis afiaka87

🤪
View GitHub Profile
Title|Artist|Album
I'll Keep Coming|Low Roar|0
You and Whose Army?|Radiohead|Amnesiac
Pyramid Song|Radiohead|Amnesiac
Sugar Rhyme|Bonobo|Animal Magic
Kiara|Bonobo|Black Sands
El Toro|Bonobo|Black Sands
1009|Bonobo|Black Sands
The Keeper ft. Andreya Triana|Bonobo|Black Sands
Moon Trills|Jonny Greenwood|Bodysong
*Matt puts on "Heisenberg's" hat from Breaking Bad.*
Jay (cont'd): So... nothing has changed?
*Breaking Bad music continues*
Matt: Nothing's changed.
*Matt stares into the camera intensely for the remainder of the episode.*
*Breaking Bad music continues*
@afiaka87
afiaka87 / Panjno_Cyberpunk_Guide.md
Last active December 28, 2020 04:12
A guide for improving performance in the game Cyberpunk 2077 on the RTX-2000 Series of cards

Panjno's "Dramatically Increase FPS" Guide

*(This will make street lights "glow" look like shit. Still looking for the exact culprit behind this. I think it's the texture filtering quality in Nvidia Control Panel, as I can't improve it with in game settings.

AKA "yeah, run it without ray tracing". Really what you should do with these settings is get a stable FPS beyond 60 fps, then turn on ray tracing and see if you can keep it in the realm of 50 - 60 fps. This was very possible for me on a RTX 2070 Super. There's some good ideas in this guide, and some bad ones (like downloading "resource-freeing" programs and hex-editing). Use with care and don't be desperate. This game is also buggy and might just "not work" yet for you.

Right click cyberpunk in Steam, go to properties

  • Disable steam overlay (may break "Steam Controller" api, (so it only works with an Xbox One controller basically))
  • Disable steam input (if using mouse/keyboard)
"""
# Setup:
`python3 -m pip install bs4`
# Usage:
```python3
# Change the episode_id_param and num_pages
python3 transcripts.py
```
import wandb
from functools import lru_cache
from collections import OrderedDict
import os
import imghdr
import argparse
from random import choice
from pathlib import Path
from os import listdir
from PIL import Image

Symphonie Fantastique

Symphonie Fantastique is a program symphony composed by Hector Berlioz.

Meta

Originally the symphony was paired with a story meant to be read along with as the symphony played as is typical in the program symphony style. Later in life, Hector Berlioz excluded the program completely. Some suspect he regretted this aspect of the work.

( Hector Berlioz's Symphonie Fantastique playing )
Goddamn it.
Come on, get in there!
Charlie, what are you doing, man? What are you...
What's going on over here?
Oh, I'm trying to get each of my toes in these five-fingered shoes, you know what I mean?
But there's, like, something's dropping off and I can't tell where my pinky is.
Why did you get the stupid five-finger shoes?
Well, you're always yelling at me for taking my shoes off in laser tag, so I figured I'd get some shoes that are like... a lot more like bare feet.
I don't know why you're always yelling at me about...
@afiaka87
afiaka87 / train_dalle_pytorch.ipynb
Last active September 14, 2021 01:46
train_dalle_pytorch.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@afiaka87
afiaka87 / filter_cah.py
Last active September 25, 2021 04:27
Clean and Filter Crawling @ Home by length, aspect ratio, image size, detected language
number_regex = re.compile(r'[0-9]{5,}')
date_regex = re.compile(r'[0-9]{4}-[0-9]{2}-[0-9]{2}')
url_regex = re.compile(r'https?://[^\s]+')
@lru_cache(maxsize=32)
def tokenize(s):
s = s.decode('utf-8')
s = s.lower()
s = number_regex.sub('', s)
@afiaka87
afiaka87 / openai_captions.txt
Created January 4, 2022 07:58
Captions for dalle from the openai cdn. Removed all mannequin captions.
This file has been truncated, but you can view the full file.
an illustration of a bunny in a beanie sipping a latte
a small red book sitting on a large green book
a black and white photograph of a fox sitting on a mountain during spring
a poster of a cougar sitting on a mountain during summer
an illustration of a baby penguin in a leather jacket using a calculator
a pencil sketch of a pangolin sitting on a mountain at dawn
a professional high quality illustration of a pig isopod chimera. a pig imitating an isopod. a pig made of isopod.
a rug with an image of a pink cucumber
an emoji of a baby fox wearing a red hat, green gloves, yellow shirt, and blue pants
a small blue block standing behind a large red block