I hereby claim:
- I am jeffstephens on github.
- I am jeffstephens (https://keybase.io/jeffstephens) on keybase.
- I have a public key ASCmHPnKQNWtiazjmGHObNyI71sBdI8pu_PBsYvljGvrOgo
To claim this, I am signing this object:
// HTML structure | |
<html> | |
<body> | |
<table id="transactions"> | |
<tr><td>Nov 8 2014</td><td>Chipotle</td><td>6.83</td></tr> | |
<tr><td>Nov 9 2014</td><td>Wok Eat</td><td>9.13</td></tr> | |
<tr><td>Nov 10 2014</td><td>Hazel's Beverage World</td><td>321.54</td></tr> | |
</table> | |
</body> | |
</html> |
// add or update a GET variable in a URL | |
function setURIParameter(uri, key, value) { | |
if (uri.indexOf("&") >= 0) { | |
console.log("Warning: setURIParameter expects an unencoded URI. This looks like an encoded URI (found &)."); | |
} | |
// just append the key-value pair to the end of the URI if this parameter isn't present | |
if (uri.indexOf("?" + key) === -1 && uri.indexOf("&" + key) === -1) { | |
// support key deletion via a recursive call (so don't add it back) | |
if (value.length === 0) { |
/* Great fixed layout! It looks pixel-perfect | |
* anywhere but doesn't scale well. | |
*/ | |
#topbar{ | |
width: 785px; | |
padding: 5px; | |
text-align: right; | |
} |
/* A responsive layout that should | |
* adjust nicely to any screen size! | |
*/ | |
#topbar{ | |
width: 80%; | |
margin: auto; | |
padding: 1%; | |
text-align: right; | |
} |
<!doctype html> | |
<head> | |
<title>Textarea Default Values</title> | |
<link type="text/css" rel="stylesheet" href="bootstrap/css/bootstrap.css" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | |
<script src="bootstrap/js/bootstrap.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
function setDynamic(id){ | |
var text = prompt("Enter your desired text."); | |
$('#' + id).html(text); |
<?php | |
class MachineDescription { | |
public $name, $type; | |
public function __construct($name, $type) { | |
$this->name = $name; | |
$this->type = $type; | |
} | |
} |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Welcome to my sweet page!</title> | |
<link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body { | |
text-align: center; | |
background: #333; | |
color: #CCC; |
/** | |
* Tumblr Welcome Page | |
* | |
* This JS snippet should be installed in your Tumblr theme. | |
* Every new browser session, this will hide the custom interstitial | |
* if the user has already seen it once. | |
*/ | |
$(document).ready( function() { | |
<!-- paste this code into the <head> section of your blog | |
the !important means it will override any other settings --> | |
<style type="text/css"> | |
/* page title ("Sam Herschel Wein") */ | |
.cover-title { | |
font-family: 'Dancing Script' !important; | |
} | |
/* page description ("Poet. Loudmouth. Hugger.") */ | |
.cover-desc { |
I hereby claim:
To claim this, I am signing this object: