Skip to content

Instantly share code, notes, and snippets.

View aidswidjaja's full-sized avatar
🍰
One journey ends. Another begins.

aidswidjaja aidswidjaja

🍰
One journey ends. Another begins.
View GitHub Profile
@aidswidjaja
aidswidjaja / ghlorg.md
Created September 17, 2021 03:57
GitHub custom organization locations

Set custom GitHub organization locations, like this one:

image

Since GitHub tries to make you choose from countries now, just use the API to get around it.

curl \
  -X PATCH \
 -H "Accept: application/vnd.github.v3+json" \
@aidswidjaja
aidswidjaja / gpg.md
Last active September 6, 2021 03:31
GnuPG for GitHub on macOS with fish

GnuPG for GitHub on macOS with fish

Generate GPG key

Choose 4096 bits with otherwise default settings.

gpg --full-generate-key

Find your GPG key

@aidswidjaja
aidswidjaja / speeches.md
Last active September 3, 2021 03:35
GPT-2/GPT-3 generated text

AI/ML generated texts using aitextgen with the GPT-2/TensorFlow architecture on a quad-core 8GB ram Azure US East VM, not that you care anyway.

I refuse to believe this is generated, but you can run it through plagiarism checkers, search sentences on Google with quotation marks, or look up the names shown below. It really is AI-generated text.

It's a lot better this time since instead of using custom trained models using a relatively small dataset, I decided to go with a 3GB standard model. It varies a lot, so some will be worse than others, but it is actually very impressive when you get a good one like Text 1.

I think this model was trained from longform articles linked on Reddit. They sound extremely convincing, but it really is AI-generated as far as I can see.

Damn, why were we using our own models? And why is this tech so good?

@aidswidjaja
aidswidjaja / profanity_filter.wlist
Created August 9, 2021 09:04
Minecraft Education Edition profanity filter for darwin 1.14.50
1488
8=D
A55hole
abortion
ahole
AIDS
AIDs
ainujin
ainuzin
akimekura
@aidswidjaja
aidswidjaja / index.md
Last active July 24, 2021 10:01
CoreMediaIO DAL Virtual Camera Guide for macOS

CoreMediaIO DAL Virtual Camera Guide for macOS

Use virtual camera devices with Discord, Zoom and Microsoft Teams on macOS devices (Intel 80386-style and Apple Silicon).

Disclaimer

This guide is designed to be a basic quick start guide with CoreMediaIO DAL Virtual Camera Guides for those who are proficient with computing systems. It's not comprehensive and support is not guaranteed. Really, it's just to help my friend get VTuber running on his Microsoft Teams classes.

This information is supplied by volunteers in good faith. However, we are not responsible if it doesn’t work, your computer sets on fire, or you start the next nuclear war. We do our best to make sure the information here is safe for you and your computer, but you proceed at your own risk.

@aidswidjaja
aidswidjaja / !-discord-custom-css.md
Last active September 15, 2021 22:35
Discord Custom CSS

Custom CSS for Discord

This is my personal custom CSS file for Discord Canary/Development that should be used with Chromium Local Overrides, which can be accessed within the Electron client.

  • Using custom CSS files may constitute a breach of ToS - I'm not responsible if your Discord account magically disappears one day
  • This might break your Discord client - again I'm not responsible if your Discord client breaks or if your computer blows up
  • I'm not here to provide support - if you have issues you can put them below but please don't expect a speedy response - use at your own risk
  • The Fire Emblem box art is supposed to be there - I think it looks cool

Basically, only use this local CSS file if you know what you're doing.

@aidswidjaja
aidswidjaja / flash.md
Last active November 8, 2020 03:59
Preserving Flash Games: Boxhead

Preserving Flash Games: Boxhead

Alright, so I've been trying to get flash games to be preserved for when Adobe ends support in 2020. Particularly, I want to preserve Sean T Cooper's Boxhead flash game. Here's what I did.

  1. Ripped a version of the .swf file from Y8 Games: https://img-hws.y8.com/cloud/y8-flash-game/contents/item_versions/flash_games/1941/original/box_head_2play.swf?1521286171
  2. Used LightSpark under [Wine] to attempt to run it
  3. Failed :( - it gets through the loading screen and then sorta dies

welp Lightspark didn't work