Skip to content

Instantly share code, notes, and snippets.

View BenWoodford's full-sized avatar

Ben Woodford BenWoodford

View GitHub Profile
2011-06-03 18:31:10 [INFO] Starting minecraft server version Beta 1.6.6
2011-06-03 18:31:10 [INFO] Loading properties
2011-06-03 18:31:10 [INFO] Starting Minecraft server on 178.32.186.41:25565
2011-06-03 18:31:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
2011-06-03 18:31:10 [INFO] Preparing level "world"
2011-06-03 18:31:10 [INFO] Preparing start region for level 0
2011-06-03 18:31:11 [INFO] Preparing start region for level 1
2011-06-03 18:31:11 [INFO] Preparing spawn area: 0%
2011-06-03 18:31:13 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
2011-06-03 18:31:13 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
Tracing route to apphaus.co.uk [173.203.59.152]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 10.0.1.1
2 1 ms <1 ms <1 ms 5.151.35.1
3 1 ms <1 ms <1 ms 5.151.250.5
4 10 ms 11 ms 11 ms 5.151.250.1
5 13 ms 10 ms 12 ms 77.244.140.245
6 12 ms 10 ms 11 ms Po3.csw0.rbsov.as42689.net [77.244.129.109]
7 12 ms 11 ms 11 ms Po1.br0.rbsov.as42689.net [77.244.129.130]
@BenWoodford
BenWoodford / RemoteUI.html
Created December 16, 2013 18:18
Fixed reference to #js-steam-input, the id wasn't set on the element.
<!DOCTYPE html>
<html>
<head>
<title>Remote Control</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css">
<style>
.container {
width: 700px;
}
"3483": {
"name": "Peggle Extreme",
"installed": 1,
"update_running": 0,
"update_paused": 0,
"bytes_downloaded": 14690192,
"bytes_needed": 14690192,
"bytes_per_second": 0,
"type": "game",
"icon": "http://media.steampowered.com/steamcommunity/public/images/apps/3483/427a98a549c3813e13b4062300709000599817b0.jpg",
javascript:(function()%7Bif(%24(%22%23apiBox%22).length%20%3D%3D%200)alert(%22Run%20this%20while%20on%20the%20OPSkins%20Account%20Page%20(the%20one%20with%20the%20API%20Key%20box)%20and%20make%20sure%20you%20have%20an%20API%20key!%22)%3Bvar%20apiKey%20%3D%20%24(%22%23apiBox%22).val()%3B%24.get(%22https%3A%2F%2Fopskins.com%2Fapi%2Fuser_api.php%3Frequest%3DGetActiveSales%26key%3D%22%20%2B%20apiKey).success(function(response)%20%7B%20var%20total%20%3D%200%3B%20%24.each(response.result%2C%20function(i%2C%20listing)%20%7B%20total%2B%3Dlisting.amount%20%7D)%3B%20alert(%22%24%22%20%2B%20total%2F100)%20%7D)%7D)()
Matrix flipMatrix = Matrix.CreateScale(new Microsoft.Xna.Framework.Vector3(1.0f, -1.0f, 1.0f));
HmdMatrix34_t overlayMatrix;
bool hasFlipped = false;
public void Render()
{
if (OverlayManager.Instance.OverlayFactory.IsOverlayVisible(overlayHandle))
{
if (!appliedIcon && overlayType == OverlayType.Dashboard)
{
2016-09-22 10:39:35.770 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 10: Configuration update received
2016-09-22 10:39:35.798 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 10: Configuration update action_reinit to -232323.0
2016-09-22 10:39:35.798 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 10: Re-initialising node!
2016-09-22 10:39:35.810 [TRACE] [l.initialization.ZWaveNodeSerializer] - Initializing ZWaveNodeSerializer.
2016-09-22 10:39:35.819 [TRACE] [l.initialization.ZWaveNodeSerializer] - Initialized ZWaveNodeSerializer.
2016-09-22 10:39:35.820 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveInitializationStateEvent
2016-09-22 10:39:35.820 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 10: Got an event from Z-Wave network: ZWaveInitializationStateEvent
2016-09-22 10:39:35.835 [DEBUG] [ve.internal.protocol.ZWaveController] - NODE 10: Init node thread start
2016-09-22 10:39:35.846 [TRACE] [l.initialization.ZWaveNodeSerializer] - Initializi
This file has been truncated, but you can view the full file.
2016-09-27 22:28:26.624 [TRACE] [WaveSerialHandler$ZWaveReceiveThread] - Received SOF
2016-09-27 22:28:26.625 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 15 00 49 84 0A 0F 04 20 01 30 84 85 80 8F 56 72 86 70 8E 31 9C C8
2016-09-27 22:28:26.625 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Creating new SerialMessage from buffer = 01 15 00 49 84 0A 0F 04 20 01 30 84 85 80 8F 56 72 86 70 8E 31 9C C8
2016-09-27 22:28:26.625 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0xC8
2016-09-27 22:28:26.625 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Checksum matched
2016-09-27 22:28:26.626 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Message payload = 84 0A 0F 04 20 01 30 84 85 80 8F 56 72 86 70 8E 31 9C
2016-09-27 22:28:26.626 [TRACE] [WaveSerialHandler$ZWaveReceiveThread] - Message is valid, sending ACK
2016-09-27 22:28:26.626 [TRACE] [WaveSerialHandler$ZWaveReceiveThread] - Response SENT
2016-09-27 22:28:26.626 [DEBUG] [ve.i
@BenWoodford
BenWoodford / elixir-sizes-gulpfile.js
Last active December 16, 2016 17:36
Calculates the size of each file provided to it, and outputs the size of the compiled file.
var elixir = require('laravel-elixir');
var fs = require('fs');
const prettyBytes = require('pretty-bytes');
elixir.extend('sizes', function(files, outputFile) {
var sortFunc = function(a, b) {
return fs.statSync(b).size - fs.statSync(a).size;
}
new Task('sizes', function() {
@BenWoodford
BenWoodford / .htaccess
Created February 28, 2017 08:45 — forked from donnykurnia/.htaccess
.htaccess for 503 maintenance page
ErrorDocument 503 /maintenance.html
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /maintenance.html [R=503,L]