Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block TheShrike

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
TheShrike / gist:ea9bedba847796de9457
Created Feb 18, 2016
React performance test (Mithril comparison)
View gist:ea9bedba847796de9457
<head><script src=""></script><script src=""></script></head>
<p>To run an execution time test on this page, run the profiler from your browser's developer tools and measure the running time of a page refresh. (Lower is better)</p>
<div id="container">
var items = [{name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"}, {name: "a"}, {name: "b"}, {name: "c"},
TheShrike / gist:ab1dff5446a560165073
Last active Feb 18, 2016
Php keep CPU load low in heavy script
View gist:ab1dff5446a560165073
function sleep_check_load($sleep, $load)
$done = FALSE;
while ($done == FALSE) {
$load_avg = sys_getloadavg();
TheShrike / gist:6111200
Last active Oct 15, 2018 — forked from lucasfais/gist:1207002
Sublime Text 3 - Useful Shortcuts (Windows)
View gist:6111200

Sublime Text 3 – Useful Shortcuts (Windows)


Ctrl+Alt+P switch project
Ctrl+P go to file
F12 go to definition
Ctrl+R go to methods
Ctrl+⇧R go to methods in project
Ctrl+G go to line
You can’t perform that action at this time.