Skip to content

Instantly share code, notes, and snippets.

View Hoi15A's full-sized avatar
🚀
:)

Austin Hoi15A

🚀
:)
View GitHub Profile
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector --verbose -l 200 --sort rate --save /tmp/test/mirrorlist
# When: 2020-02-16 11:53:49 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2020-02-16 11:50:57 UTC
# Last Check: 2020-02-16 11:31:48 UTC
@Hoi15A
Hoi15A / regional.js
Last active February 5, 2018 21:33
Discord large letter converter
const stdin = process.openStdin()
const exp = /[^a-z .]/gi
const alphabet = {
'a': '🇦',
'b': '🇧',
'c': '🇨',
'd': '🇩',
'e': '🇪',
'f': '🇫',
@Hoi15A
Hoi15A / keybase.md
Last active July 18, 2017 17:37
Keybase

Keybase proof

I hereby claim:

  • I am hoi15a on github.
  • I am hoi_a (https://keybase.io/hoi_a) on keybase.
  • I have a public key ASAvVg_7D0K32823E9Q1NXyqajnCO6QyY8hMEYCh96yO-wo

To claim this, I am signing this object:

@Hoi15A
Hoi15A / index.js
Created April 17, 2017 13:09
Quick NodeJS echo bot
var TelegramBot = require('node-telegram-bot-api');
var token = "abcdefghijk:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
bot = new TelegramBot(token, {polling: true});
bot.onText(/\/echo (.+)/, function(msg, match) {
var chatId = msg.chat.id;
var resp = match[1];
bot.sendMessage(chatId, resp, {"parse_mode":"Markdown"});
@Hoi15A
Hoi15A / Advent of Code - Day 2 Part 1.java
Last active January 24, 2016 09:43
Advent of Code Day 2
package adventofcodeday2;
/**
*
* @author Austin
*/
public class AdventOfCodeDay2 {
/**
* @param args the command line arguments
@Hoi15A
Hoi15A / Advent of Code - Day 1.java
Last active December 2, 2015 13:18
Solution for Parts 1 & 2 of Day 1 in Java
System.out.print("Enter the Code: ");
Scanner Input = new Scanner(System.in);
String Code = Input.nextLine();
//Part 1 of Day 1, Advent of Code
System.out.println("\nPart 1");
System.out.println("------");