Skip to content

Instantly share code, notes, and snippets.

View LukeXF's full-sized avatar
💻
Getting that bread

Luke Brown LukeXF

💻
Getting that bread
View GitHub Profile
@LukeXF
LukeXF / MinecraftUUID.php
Created August 30, 2014 14:18
A script to get get the Minecraft UUID from HTML form
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link href="../assets/css/style.css" rel="stylesheet">
@LukeXF
LukeXF / ConvertRam.html
Created August 30, 2014 13:14
A simple Gist to convert ram.
<div class="tab-pane" id="ramconvert">
<h3>Convert RAM</h3>
<p>While working with server pretty much every day, RAM allocation becomes a largely used featured in the day to day running of servers. I have adapted this script to provide a simple and easily to use tool to convert from the 4th smallest RAM values.</p>
<div class="row">
<div class="col-md-10">
<script language="JavaScript">
<!--
function byteConverter(){
document.converter.kb.value = document.converter.byte.value / 1024
document.converter.mb.value = document.converter.byte.value / (1024*1024)