Skip to content

Instantly share code, notes, and snippets.

Avatar
🍰
Trying to save the world

aidswidjaja aidswidjaja

🍰
Trying to save the world
View GitHub Profile
@aidswidjaja
aidswidjaja / hsc-inactivity.md
Last active September 21, 2022 09:36
Inactivity announcement
View hsc-inactivity.md

A notice to my online friends

From Thursday 22 September AEST until early November, I will go dark across my Discord and other public-facing social media accounts, in order to prepare for my HSC final exams. Wish me luck!


Friday 16 September

As I mentioned previously, I'm approaching the end of high school, and will take the Higher School Certificate exams here in Sydney, Australia, alongside 78 000 other students. The examinations are ranked, and 50% of this exam counts towards this final rank. This rank and the final exams directly impact my opportunities for university or other education next year, and a higher rank means I have access to more courses with a higher cut-off rank, hence I'm trying to do my best.

@aidswidjaja
aidswidjaja / opal-hacking.md
Last active July 1, 2022 05:57
Opal card hacking
View opal-hacking.md
@aidswidjaja
aidswidjaja / docs.css
Created May 29, 2022 02:54
Google Docs by Adrian
View docs.css
.kix-appview-editor, .docs-homescreen-item-container, .docs-hs-tmp-contractedcontentholder {
background-color: #0d1117 !important;
}
[role="search"], [placeholder="Search"], .docs-homescreen-list-containe, .docs-homescreen-list-container-vertical, .docs-homescreen-list-item,
.docs-homescreen-list-header, .docs-homescreen-list-item-icon
{
background-color: #202125;
color: white;
border: none !important;
View staircase.py
#!/usr/bin/python3
import sys
potato = int(sys.argv[1]) # no input validation plz don't be mean
i = 1;
while i <= potato:
spaces = potato - i
@aidswidjaja
aidswidjaja / index.md
Last active April 8, 2022 11:34
BopBot Availability Updates
View index.md

Bopbot Availability Updates

Initial findings – 7 April 8:19pm

When a song is played, it is triggering a 403 error code.

[08:34:15] [ERROR] [LocalAudioTrackExecutor]: Error in playback of ZwIQEnUrXZA
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44)
@aidswidjaja
aidswidjaja / canvas.css
Last active May 31, 2022 00:08
Canvas custom CSS
View canvas.css
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,600;1,400;1,600&display=swap');
.pages.show .page-title {
color: #ffffff;
font-weight: bold;
}
body, html {
font-family: 'Rubik', sans-serif;
color: #fafbfc;
@aidswidjaja
aidswidjaja / README.md
Last active October 6, 2021 08:47
Ludum Dare 49 - Explaining Bug Patches
View README.md

Ludum Dare 49 Bug Patches

Pigeon Game Studios

This gist aims to hopefully explain the approach we took when deciding which and which bugs not to fix after the Jam event had afficially ended.

GitHub

You can find our Git repository with full commit history at terebigeemu/ludum-dare-49

Bugs in the rules

@aidswidjaja
aidswidjaja / ld49-git.md
Last active October 1, 2021 12:14
unity + git (ludum dare 49)
View ld49-git.md

unity + git

for pigeon game studios @ ludum dare 49

Before you start

This section is only for script kiddies

  1. Download Unity Hub
  2. Download Unity 2021.1.22f1 (correct version is really important) - comes bundled with Visual Studio
  3. Download https://git-scm.com/
@aidswidjaja
aidswidjaja / ghlorg.md
Created September 17, 2021 03:57
GitHub custom organization locations
View ghlorg.md

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" \