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 / idiotpotato.c
Last active June 9, 2023 00:15
idiot potato
#include <stdio.h>
/*
Here is my best solution for the thing Aaron posted.
Basically, it follows everything we talked about in VC, including creating a mapper. We also print using the grid concept which Lukas' dad pointed out (conceptually line by line but in terms of calls, one printf), but although I don't necessarily use a grid, I just substitute into my printf template on lines 59-63.
So, what were some of the problems yesterday?
@aidswidjaja
aidswidjaja / hsc-inactivity.md
Last active September 21, 2022 09:36
Inactivity announcement

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
@aidswidjaja
aidswidjaja / docs.css
Created May 29, 2022 02:54
Google Docs by Adrian
.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;
#!/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

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
@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

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)

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/