Skip to content

Instantly share code, notes, and snippets.

View Tickthokk's full-sized avatar
🏯
Focused

Nick Wright Tickthokk

🏯
Focused
View GitHub Profile
» 21 Apr 2015 15:33:25.267 0efb78637114 apache2: 10.183.253.50 - - [21/Apr/2015:19:33:25 +0000] "GET /levequests/breakdown/351 HTTP/1.1" 200 10359 "-" "Mozilla/5.0 (compatible; GoogleDocs; apps-spreadsheets; +http://docs.google.com)" OK
» 21 Apr 2015 15:33:25.549 b8fa5bbec052 apache2: 10.183.253.50 - - [21/Apr/2015:19:33:25 +0000] "GET /levequests/breakdown/12 HTTP/1.1" 200 10314 "-" "Mozilla/5.0 (compatible; GoogleDocs; apps-spreadsheets; +http://docs.google.com)" OK
» 21 Apr 2015 15:33:25.859 0efb78637114 apache2: 10.183.253.50 - - [21/Apr/2015:19:33:25 +0000] "GET /levequests/breakdown/13 HTTP/1.1" 200 10471 "-" "Mozilla/5.0 (compatible; GoogleDocs; apps-spreadsheets; +http://docs.google.com)" OK
» 21 Apr 2015 15:33:26.152 b8fa5bbec052 apache2: 10.183.253.50 - - [21/Apr/2015:19:33:26 +0000] "GET /levequests/breakdown/14 HTTP/1.1" 200 10347 "-" "Mozilla/5.0 (compatible; GoogleDocs; apps-spreadsheets; +http://docs.google.com)" OK
» 21 Apr 2015 15:33:26.474 0efb78637114 apache2: 10.183.253.50 - - [21/Apr
@Tickthokk
Tickthokk / gist:8624125ed3f3c4aac830
Last active January 4, 2017 12:26
Project Naming
@Tickthokk
Tickthokk / gist:6488224
Created September 8, 2013 20:41
FFXIV ARR - What class is interested in what skill?
// A list of all statistics, grouped by who benefits
$benefactors = array(
'CRP,BSM,ARM,GSM,LTW,WVR,ALC,CUL' => array(
'Control',
'CP',
'Craftsmanship',
),
'MIN,BTN,FSH' => array(
'Gathering',
'GP',
@Tickthokk
Tickthokk / gist:6354615
Last active December 21, 2015 19:29
Detect Page Speed with javascript
// Taken from https://github.com/guardian/frontend/blob/5f9c1dcbb2c4270fb356711b1091d3fff7844a72/common/app/assets/stylesheets/components/pasteup/js/modules/detect.js
function getPageSpeed() {
var start_time,
end_time,
total_time;
var perf = window.performance || window.msPerformance || window.webkitPerformance || window.mozPerformance;
if (perf && perf.timing) {
start_time = perf.timing.requestStart || perf.timing.fetchStart || perf.timing.navigationStart;
// Special thanks to: http://stackoverflow.com/a/11978996/286467
$('img.svg').each(function() {
var img = $(this);
if (img.hasClass('no-replace'))
return;
$.ajax({
url: img.attr('src'),
type: 'GET',
@Tickthokk
Tickthokk / Premailer.php
Created March 7, 2012 13:46 — forked from Synchro/Premailer.php
PHP interface class for the Premailer API
<?php
/**
* Premailer API PHP class
* Premailer is a library/service for making HTML more palatable for various inept email clients, in particular GMail
* Primary function is to convert style tags into equivalent inline styles so styling can survive <head> tag removal
* Premailer is owned by Dialect Communications group
* @link http://premailer.dialect.ca/api
* @author Marcus Bointon <marcus@synchromedia.co.uk>
*/