Skip to content

Instantly share code, notes, and snippets.

(defproject clojure-rest "0.1.0-SNAPSHOT"
:description "My First Clojure App"
:url "http://github.com/jhubert/clojure-app"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.6"]
[ring/ring-json "0.1.2"]
[c3p0/c3p0 "0.9.1.2"]
[org.clojure/java.jdbc "0.2.3"]
[com.h2database/h2 "1.3.168"]
[cheshire "4.0.3"]]
<!DOCTYPE html>
<html>
<head>
<title>Sir Trevor</title>
<link rel="stylesheet" type="text/css" href="sir-trevor.css">
<link rel="stylesheet" type="text/css" href="sir-trevor-icons.css">
</head>
<body>
<form>
<textarea class="js-st-instance">{
@jhubert
jhubert / Intro.coffee
Last active August 29, 2015 14:10
A quick sample of the ReactJS / pagejs combination I've been using in my apps. So far so good. Comments appreciated. :)
React = require 'react'
{div, p} = React.DOM
module.exports = React.createClass
displayName: 'IntroPage'
render: ->
div {},
p {}, 'Welcome to my ReactJS app'

First Engineer at an early-stage startup

This is a senior engineering position with growth potential as the company expands. It is based wherever you are and works directly with the CTO.

Use your extensive knowledge of web application development and infrastructure to help build a beautiful product for retail communication. Zipline is being tested by a number of awesome retail companies, like Gap, Eileen Fisher, Levi's, Ross, and Sprint. Our goal is to transform the way that the entire 4.4 trillion dollar retail industry communicates with its store employees. You will change the way that millions of people work.

The initial focus for role this will be building out Zipline's core messaging and reporting architecture. We already have a private beta that showcases the functionality, but we need it to be solid. The role will grow and change as the company does and you can expect to tackle significant challenges as we scale, including building out our API and all the million other things that go into maki

@jhubert
jhubert / demorequest.php
Created April 15, 2015 03:01
A very rough PHP script for posting form data via slack
<?php
$slack_domain = '';
$slack_token = '';
if ( isset($_POST['email']) && isset($_POST['name']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) ) {
$message = "Someone wants a demo!\n\n" .
"Name: " . $_POST['name'] . "\n" .
"Company: " . $_POST['company'] . "\n" .
"Email: " . $_POST['email'] . "\n" .

First Engineer at Early Stage Startup

This is a senior engineering position with growth potential as the company expands. It is a remote position and works directly with the CTO.

Use your extensive knowledge of web application development and infrastructure to help build beautiful products for retail communication. Zipline is being tested by a number of awesome retail companies, like Gap, Eileen Fisher, Levi's, Ross, and Sprint. Our goal is to transform the way that the entire 4.4 trillion dollar retail industry communicates with its store employees. You will improve the way that millions of people work and save them from tedious work with archaic old systems (think fax machines and voicemails).

You will be responsible for large pieces of the architecture, starting with our core messaging and reporting architecture and growing from there. We already have a private beta that showcases the functionality, but we need it to be solid. The role will grow and change as the company does and you can expect to tac

<div id="page">
Loading...
</div>
@jhubert
jhubert / Key Bindings.json
Created August 5, 2015 04:30
Sublime Text 3 Config
[
{ "keys": ["super+shift+r"], "command": "reveal_in_side_bar" },
{ "keys": ["ctrl+t", "ctrl+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"}}
]
@jhubert
jhubert / FindMusicVideoForCurrentTrack.scpt
Created March 7, 2009 21:46
An applescript for finding the music video for whatever song you're listening to in iTunes
property baseURL : "http://jeremyhubert.com/playground/mvs/?song="
tell application "iTunes"
-- get a reference to playing or selected track
if player state is not stopped then
set theTrack to current track
else if selection is not {} then
set theTrack to (item 1 of selection)
else