Skip to content

Instantly share code, notes, and snippets.

View DV8FromTheWorld's full-sized avatar
💭
Through code, all things are possible.

Austin Keener DV8FromTheWorld

💭
Through code, all things are possible.
View GitHub Profile
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class LimitedStack<T>
{
private LinkedList<T> stack;
private int maxSize;
using UnityEngine;
using System.Collections.Generic;
public class pendulumVelocity : MonoBehaviour
{
List<float> list = new List<float> ();
public int numToGraph = 128;
public Transform bar;
@DV8FromTheWorld
DV8FromTheWorld / Main.java
Created November 19, 2015 18:48
Testing process IO Handling to preserve IO between parent/child when child dies.
package net.dv8tion.test;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
public class Main
{
private static final String WAIT_ON_INSTANCE = "wait";
{"t":"GUILD_UPDATE","s":2,"op":0,"d":{"roles":[{"position":-1,"permissions":36817920,"name":"@everyone","managed":false,"id":"125581052398796800","hoist":false,"color":0},{"position":1,"permissions":36817920,"name":"Test","managed":false,"id":"126248391230488576","hoist":false,"color":0}],"region":"amsterdam","owner_id":"107562988810027008","name":"TestServera","joined_at":"2015-12-13T12:54:16.573000+00:00","id":"125581052398796800","icon":"9391b3b22f3b7b07c119bc01250e10bd","embed_enabled":false,"embed_channel_id":null,"afk_timeout":300,"afk_channel_id":null}}
{"t":"GUILD_UPDATE","s":3,"op":0,"d":{"roles":[{"position":-1,"permissions":36817920,"name":"@everyone","managed":false,"id":"125581052398796800","hoist":false,"color":0},{"position":1,"permissions":36817920,"name":"Test","managed":false,"id":"126248391230488576","hoist":false,"color":0}],"region":"us-west","owner_id":"107562988810027008","name":"TestServera","joined_at":"2015-12-13T12:54:16.573000+00:00","id":"125581052398796800","icon":"9391b3b22f3b7b
{
"t":"GUILD_UPDATE",
"s":2,
"op":0,
"d":{
"roles":[
{
"position":-1,
"permissions":36817920,
"name":"@everyone",
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'java'
Project.name = "JDA"
group 'net.dv8tion'
version = new Version(major: 1, minor: 0, revision: 0).toString()
sourceCompatibility = 1.8
targetCompatibility = 1.8
@DV8FromTheWorld
DV8FromTheWorld / AudioBridge
Last active December 24, 2018 08:40
Simple Audio bridge written with JDA's new audio receiving system.
/*
* Copyright 2016 Austin Keener
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@DV8FromTheWorld
DV8FromTheWorld / Discord Relationship System
Created October 8, 2016 19:24
Documentation of Discord's client-only relationship system
type:
0 - no relationship
1 - friend
2 - blocked
3 - incoming friend request
4 - outgoing friend request
accepting FR triggers RELATIONSHIP_ADD 1
remove friend triggers RELATIONSHIP_REMOVE 1
block triggers RELATIONSHIP_ADD 2
[
{
"pack-identifier": "pack-id",
"sticker-id": "sticker-id",
"usage": 125
}
]

Keybase proof

I hereby claim:

  • I am DV8FromTheWorld on github.
  • I am dv8fromtheworld (https://keybase.io/dv8fromtheworld) on keybase.
  • I have a public key whose fingerprint is DE13 D9B4 8271 8A1C 963C B2BA 89E4 2D4C DDB1 6328

To claim this, I am signing this object: