A Pen by Luke Brown on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> | |
<title> Minecraft UUID puller </title> | |
<link href='http://fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() | |
{ | |
$(".icon1").hover( | |
function () { | |
$( "i#changei" ).removeClass( "fa-toggle-off" ); | |
$(".change1").text(""); | |
$(".achange1").text(""); | |
$(".change1").append("Secure & Protection"); |
Animation using the isotope.js features. This example would show the users projects on their portfolio
A Pen by Luke Brown on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Sets the JSON file | |
header('Content-Type: application/json'); | |
// TWITTER STATS | |
// Loads the Twitter SDK system for PHP | |
require_once('TwitterAPI.php'); | |
// Create our Application instance that allows connecting to Twitter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the reduced steam API | |
var loadsteam = function(){ | |
$.getJSON('api.php', function(data){ | |
/* | |
var items = []; | |
$.each( data, function( key, val ) { | |
items.push( "<li id='" + key + "'>" + val + "</li>" ); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function ServerStatus(serverip){ | |
$.getJSON('http://mcapi.ca/query/' + serverip + '/players', function(json){ | |
if (json.status !== true) { | |
$('#players').html("0"); | |
} else { | |
$("#players").html(json.players.online); | |
} | |
}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script> | |
function loveFunction(serverip){ | |
$.getJSON('http://api.luke.sx/webping/' + serverip, function(json){ | |
if (json.status !== true) { | |
$('#love').html("0"); | |
} else { | |
$("#love").html(json['response-time']); | |
} | |
}); |
OlderNewer