I hereby claim:
- I am bdesham on github.
- I am bdesham (https://keybase.io/bdesham) on keybase.
- I have a public key whose fingerprint is E663 1535 1E9B 2ACF 357F 5C34 F533 D909 7997 4D79
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>MathJax and Bigfoot test</title> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
<link rel="stylesheet" href="bigfoot-default.css"/> | |
<script src="https://raw.githubusercontent.com/lemonmade/bigfoot/master/dist/bigfoot.js"></script> |
{- | |
Replaces each character with an HTML (or XML) escape code like " ". This is | |
useful as lightweight protection against email-address harvesting. | |
Example: | |
ghci> obfuscate "a@example.co" | |
"a@example.co" | |
Compare to the Clojure version: https://gist.github.com/bdesham/3327022 | |
-} |
title | date | layout |
---|---|---|
Test post |
2015-03-10 11:32:13 -0400 |
standard |
This is one paragraph.
{% myblock %} This paragraph is in a custom block. {% endmyblock %}
// <iostream> and <fstream> have been included | |
void lines() { | |
ifstream in_file; | |
in_file.open("input.txt"); | |
string line; | |
while (in_file.getline(line, 256)) { | |
cout << "line: \"" << line << "\"\n"; | |
} |
(defn modify-vals | |
[f m] | |
(zipmap | |
(keys m) | |
(for [item (vals m)] (f item)))) |
(defn square-matrix? | |
[mat] | |
(apply = | |
(count mat) | |
(for [r mat] (count r)))) | |
(defn transpose | |
[mat] | |
{:pre [(square-matrix? mat)]} | |
(loop [res [], |
;; Utility functions that will be used later | |
(def naturals (iterate inc 1)) | |
(defn all-factors | |
[n] | |
(filter #(= (mod n %) 0) | |
(take-while #(<= % (sqrt n)) | |
(rest naturals)))) |
ul.slideshow { | |
list-style: none; | |
width: 294px; | |
height: 286px; | |
float: right; | |
overflow: hidden; | |
position: relative; | |
margin: 0; | |
padding: 0; | |
padding-left: 0.5em; |
// return the version of OS X in an array, e.g. a[0] = 10, a[1] = 2, a[2] = 2 | |
function get_macosx_version() | |
{ | |
var re = new RegExp(".+Mac OS X (\\d+)_(\\d+)_(\\d+)\\).+"); | |
var match = re.exec(navigator.appVersion); | |
return [parseInt(match[1]), parseInt(match[2]), parseInt(match[3])]; | |
} |