Skip to content

Instantly share code, notes, and snippets.

Kyle Barrow kylebarrow

  • Tokyo, Japan
Block or report user

Report or block kylebarrow

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
View keybase.md

Keybase proof

I hereby claim:

  • I am kylebarrow on github.
  • I am kylebarrow (https://keybase.io/kylebarrow) on keybase.
  • I have a public key whose fingerprint is 1A5B EE59 5B28 DEB2 BB8C 4E29 5607 1FBF BC0B 0C56

To claim this, I am signing this object:

@kylebarrow
kylebarrow / evol
Last active Dec 15, 2015
Makes all DOM nodes comical.
View evol
(function() {
var nodes = document.querySelectorAll('*');
for (var i=0; i < nodes.length; i++)
{
nodes[i].style.fontFamily = "Comic Sans MS";
}
}());
@kylebarrow
kylebarrow / bb10viewport.html
Created Jun 19, 2012
BB10 Alpha viewport test
View bb10viewport.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Screen Test</title>
<meta charset="utf-8">
<!--
Default device width vieport:
BB10 Alpha viewport width = 768px
-->
<!-- <meta name="viewport" content="width=device-width"> -->
@kylebarrow
kylebarrow / perf.js
Created Dec 26, 2011
JavaScript perf testing loop
View perf.js
var start = new Date();
var count = 1000000;
while(count > 0)
{
// JS to perf test here
count--;
}
@kylebarrow
kylebarrow / example.html
Created Jun 23, 2011
Prevent links in standalone web apps opening Mobile Safari
View example.html
<!DOCTYPE html>
<head>
<title>Stay Standalone</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script src="stay_standalone.js" type="text/javascript"></script>
</head>
<body>
<ul>
<li><a href="http://google.com/">Remote Link (Google)</a></li>
You can’t perform that action at this time.