Skip to content

Instantly share code, notes, and snippets.

@damienklinnert
damienklinnert / intro.md
Created May 31, 2016 07:27
Sydney Elm Meetup Notes

Sydney Elm Meetup Notes

Getting Started

Project Ideas And Examples

  • Build a HackerNews client (Http)
@damienklinnert
damienklinnert / HaskellTodo.hs
Created November 12, 2015 11:55
a quick example of a haskell web service
{-# LANGUAGE OverloadedStrings #-}
module HaskellTodo where
import Network.Wai
import Network.HTTP.Types.Status
import Network.Wai.Handler.Warp (run)
import System.IO
import qualified Data.ByteString.Lazy as B
import Data.ByteString.Lazy.Char8 (pack)

Keybase proof

I hereby claim:

  • I am damienklinnert on github.
  • I am damienklinnert (https://keybase.io/damienklinnert) on keybase.
  • I have a public key whose fingerprint is 4040 D59C 39C1 7589 3C90 F050 D14C 1FF8 62F1 F33E

To claim this, I am signing this object:

@damienklinnert
damienklinnert / startup_engineering_2.md
Last active December 18, 2015 18:28
Startup Engineering - II. Introduction
@damienklinnert
damienklinnert / lizard_brain.md
Created May 31, 2013 21:12
Seth Godin: Quieting the Lizard Brain

Seth Godin: Quieting the Lizard Brain

source http://vimeo.com/5895898

  • everyone can make something up, finishing is the only important thing
  • whats frightening is not the preparation, but the pushing out to public
  • 37signals -> ship as soon as there's no time or budget anymore
  • the closer you get to the deadline, the more you change and replace and trash (until you miss the deadline)
  • so you must trash in the beginning, NOT later
require.config({
baseUrl: 'lib',
paths: {
'jquery': '../components/jquery/jquery',
'underscore': '../components/underscore/underscore',
'backbone': '../components/backbone/backbone',
},
shim: {
'jquery': {
exports: '$',
@damienklinnert
damienklinnert / clean_css.css
Last active December 15, 2015 12:39
guidelines for clean css
/* the art of clean css code */
/* from http://www.adobe.com/devnet/html5/articles/css-everything-is-global-and-how-to-deal-with-it.html */
/* and http://nicolasgallagher.com/about-html-semantics-front-end-architecture */
/*
problem in css: all styles are global, so they can easily pollute the global namespace
and make all your styles look bad, this is especially true for reusable components and
frameworks. Here are some guidelines for clean css that won't interfere.
*/
/*
A small script for use with Rhetoricus.
https://rhetoricus.jit.su/
It clicks five unfollow buttons, then waits 20 seconds before clicking another five.
To use, paste it into Firefox's scratchpad whilst using Rhetoricus.
@damienklinnert
damienklinnert / index.html
Created March 26, 2013 22:56
A CodePen by damienklinnert. transition colors - using hover events and transitions to change the background color of an element - as seen on codeschool.com.
<h1>move your mouse over the words</h1>
<a href="#light">one</a>
<a href="#dark">two</a>
<div id="appname">
<h3 class="appname">rhetoricus <small>by @damienklinnert</small> <span class="label label-warning">stable</span></h3>
<p class="muted desc descm">See who's not following you back on app.net.<br /><br /><br /></p>
<br />
<p class="desc">
<i class="icon-chevron-right"></i> Screenshots
<div class="screenshots">
<a class="fancybox" rel="appname" href="https://my.doctape.com/s/fB5HfG/image.jpg" title="home screen">
<img src="https://my.doctape.com/s/fB5HfG/image.jpg" alt="" width="100px" height="auto" />
</a>