Skip to content

Instantly share code, notes, and snippets.

View BytewaveMLP's full-sized avatar
🇨🇦

Eliot Partridge BytewaveMLP

🇨🇦
View GitHub Profile
function hello()
print('wat is this?')
end
hello()
nilvar = nil
if nilvar then
print('lua just broke. k.')
"C:\Program Files\Java\jdk1.7.0_17\bin\java" -Xincgc -Xmx1024M -Xms1024M -Djava.library.path=C:/Users/Eliot/Documents/Projects/Minecraft/1.7/MCModTest\build\natives -Dfml.ignoreInvalidMinecraftCertificates=true -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.1.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.7.0_17\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jfxrt.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_17\jre\lib\ext\access-bridge-64.ja
<!DOCTYPE html>
<html lang="en">
<head>
<?php require_once "globalinc.php"; ?>
<!-- Bootstrap - Simplex -->
<link href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.2/cyborg/bootstrap.min.css" rel="stylesheet">
<title>Bytewave's RP Info</title>
<script>
$(document).ready(function(){
// Bytewave
@BytewaveMLP
BytewaveMLP / snippet.java
Created August 29, 2015 01:26
fokken wot
public static boolean isStringAllLettersOrDigits(CharSequence s)
{
for (int i = 0; i < s.length(); i++) {
if (!Character.isLetterOrDigit(s.charAt(i))) {
return false;
}
}
return true;
}

Keybase proof

I hereby claim:

  • I am bytewavemlp on github.
  • I am bytewave (https://keybase.io/bytewave) on keybase.
  • I have a public key ASCRol84KLoO5n9jGo6hkbRmc6WiBQSh01Z3nbs4KfUxjQo

To claim this, I am signing this object:

@BytewaveMLP
BytewaveMLP / eeti-upload
Last active August 5, 2016 23:40
Uploads a file to eeti.me (when file is -, uploads stdin)
#!/bin/bash
# ==================================================================
# eeti-upload - Uploads a file to eeti.me
# Made with love by Bytewave (http://steamcommunity.com/id/Bytewave)
# Licensed under the WTFPL (http://www.wtfpl.net)
# ==================================================================
EETI_USER="" # your eeti2 username
EETI_PASS="" # your eeti2 password
using System;
namespace GuessTheNumber {
class Program {
const int MAX_VALUE = 100;
static void Main(string[] args) {
Console.WriteLine("Guess the Number!");
Console.Write("Would you like to play? [y/n]: ");
#/bin/bash
op="$1"
site="$2"
script="$0"
error_exit() {
echo "$(basename "$script"): $1" >&2
exit $2
}
const readline = require("readline");
const TINYFACE = "• c •";
const BOOP = "/)";
const LINE = "~";
const HEART = "❤";
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms)).catch(() => {});
}
@BytewaveMLP
BytewaveMLP / Vector.ts
Created June 1, 2018 02:43
Vector implementations, Typescript and Go
export class Vector {
public x: number;
public y: number;
/**
* Creates a new Vector instance using cartesian coordinates
*
* For constructing vectors with polar coordinates, see Vector.fromPolar()
*
* @param {number} x The x component of the vector