Skip to content

Instantly share code, notes, and snippets.

View Azure-Agst's full-sized avatar
😅
Job huntin'

Andrew Augustine Azure-Agst

😅
Job huntin'
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
@Azure-Agst
Azure-Agst / chem.8xp
Created May 30, 2017 13:05
for anyone who needs help on their chem exam
Lbl M
Menu("Chem Exam 2017","Heat Trans.",1,"Free Energy",2,"Hess's Law",3,"Acids/Bases",4,"Boiling Point",5,"Vant Hoff",7,"Limiting Reagent",8,"Percent Yield",9,"Exit",E
Lbl E
ClrHome
Stop
Lbl 1
ClrHome
Output(1,3,"--Heat Trans.--")
@Azure-Agst
Azure-Agst / Makefile
Last active August 19, 2017 16:24
3ds homebrew dev. (problem solved. make sure b9s is updated, kiddies!)
#---------------------------------------------------------------------------------
.SUFFIXES:
#---------------------------------------------------------------------------------
ifeq ($(strip $(DEVKITARM)),)
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
endif
TOPDIR ?= $(CURDIR)
include $(DEVKITARM)/3ds_rules
@Azure-Agst
Azure-Agst / error.txt
Last active September 22, 2017 13:28
Errors while trying to compile Mephisto
azureagst@azureagst-laptop:~$ cd Mephisto
azureagst@azureagst-laptop:~/Mephisto$ make
clang++-4.0 -std=c++1z -I. -Weverything -Werror -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-header-hygiene -Wno-shadow-field-in-constructor -Wno-old-style-cast -Wno-missing-prototypes -Wno-unused-parameter -Wno-padded -Wno-sign-conversion -Wno-sign-compare -Wno-shadow-uncaptured-local -Wno-weak-vtables -Wno-switch -Wno-unused-variable -Wno-unused-private-field -Wno-variadic-macros -Wno-unused-macros -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-reorder -Wno-missing-noreturn -Wno-unreachable-code -Wno-gnu-zero-variadic-macro-arguments -Wno-cast-align -DLZ4_DISABLE_DEPRECATE_WARNINGS -Wno-undefined-func-template -Wno-format-nonliteral -Wno-documentation-unknown-command -include Ctu.h -c -g -o Nxo.o Nxo.cpp
clang++-4.0 -std=c++1z -I. -Weverything -Werror -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-header-hygiene -Wno-shadow-field-in-constructor -Wno-old-style-cast -Wno-missing-prototypes -Wno-unused-paramet
@Azure-Agst
Azure-Agst / start.js
Last active October 26, 2017 12:57
the shitty node.js code for @usum_bot on twitter
//Initiate Twitter
var TwitterPackage = require('twitter');
var secret = {
//in reality i have the corresponding data with it's name below
consumer_key: 'hahanope',
consumer_secret: 'redacted',
access_token_key: 'nonono, not in my house',
access_token_secret: 'woop'
}
var Twitter = new TwitterPackage(secret);
//curl -H 'Client-ID: f416knomq8em5mn3wvsvndsc2wyp4e' -X GET 'https://api.twitch.tv/helix/streams?user_id=183714542'
{"data":[],"pagination":{}}
#include "utils.h"
#include "timers.h"
#include "splash_screen.h"
#include "sd_utils.h"
#include "lib/printk.h"
#include "display/video_fb.h"
#include "console.h"
struct BMP {
char Type[2]; //File type. Set to "BM".
@Azure-Agst
Azure-Agst / TeamScraper.py
Last active June 25, 2018 21:31
Team Scraper for HSEL
"""
TeamScraper.py
(c) 2018 Andrew Augustine
Based off a script by Moelandblue
"""
#import modules
import gspread, requests, json, time
from oauth2client.service_account import ServiceAccountCredentials
@Azure-Agst
Azure-Agst / main.java
Last active August 24, 2018 13:04
L7A1
import java.util.*;
import java.lang.*;
//lmao fuck modulus
public class Lesson_7_Activity_One {
public static void main(String []args){
Scanner scanner = new Scanner(System.in);
System.out.println("Enter a three digit number:");
String x = scanner.nextLine();
@Azure-Agst
Azure-Agst / fUCK_EDHESIVE.java
Created August 24, 2018 18:56
jesus i hate T1L9A2
import java.lang.*;
// "Write the code to print a random integer from -20 to 20 inclusive using Math.random()."
//
// fuck you for not letting me use Math.round() or Math.floor().
// you'll just get a fucking if statement how about that?
// SUCK ME
public class Lesson_9_Activity_Two {
public static void main(String []args){
double num = ((Math.random() - 0.5) * 2) *21;