Skip to content
View powerball.hs
import System.Random
main = do
gen <- getStdGen
putStr $ show $ take 5 (randomRs (1,69) gen)
putStr $ show $ take 1 (randomRs (1,26) gen)
View jqh.js
// hyperscript for jQuery
// create nested HTML elements with a DSL
// used to create reusable, interactive HTML components
// based on the many implentations out there like
// and Elm
var $h = function(element, properties, content) {
var $component = $('<' + element + '>');
View stats.js
$(function() {
// functional core
// returns a specified property from a collection of objects
// in ES2015, it's even shorter: return => e[property])
function pluck(property, collection) {
return e[property];
View pluck-unique-and-compose.js
function pluck(property, collection) {
return e[property];
// return an array with unique elements
// this isn't efficient for sorted arrays, but whatevs
function unique(collection) {
// ternary operator to guard for empty collection
View sumOfSquares.js
var square = function(x) {
return x * x;
var sum = function(accumulator, x) {
return accumulator + x;
function sumOfSquares2(nums) {
return nums
View peterSimms.hs
pictureMath :: Int -> Int -> String
pictureMath x y = show minusPart ++ show plusPart
minusPart = x - y
plusPart = x + y
View gist:983b678c2c3eb50aeefa

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

View index.html
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>reveal.js – The HTML Presentation Framework</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">

This post is written by Ivan Storck, Director of Developer Relations at Aerobatic and is a cross-post from the Bitbucket Blog at

At Aerobatic, our mission is to empower front-end developers to innovate faster - less time spent thinking about infrastructure, more time spent developing amazing customer-facing experiences; less time spent building and maintaining custom toolchains, more time spent innovating with clients; less time switching contexts between disparate tools, more time spent coding in a seamless flow.

In this post, I'll show you how to build a form that posts notifications to Hipchat using the Aerobatic add-on for Bitbucket. It's simple, and no server-side code will be required.

Do You Have the Time to Be a Full-Stack Developer?

Like many of you, I moved from server generated web pages in PHP or Rails, to Single Page Apps (SPA). There is onl

View Want to Increase Gender Diversity? Encourage Flexible

Want to Increase Gender Diversity? Encourage Flexible Schedules.

In order to truly get the diverse teams we are looking for, we need to pivot on our definition of success, and value part-time work.

What if we were more creative? What if we rethought what success looks like? It's possible we could be ~even better than we are now~

— Sarah Mei (@sarahmei) October 6, 2015

Success isn't working 50 hour weeks. Success is making a meaningful contribution at work, and then coming home to dinner with the kids, grandparents, or others in your community. Also, the freedom schedule an exercise "meeting" with yourself every day (The fact that I have had to disguise healthy activity as a meeting, is in itself, ridiculous).

One of the biggest problems is that most good jobs are f

Something went wrong with that request. Please try again.