The following is a non-exhaustive compendium of HTML5 related scripts, frameworks and templates/boilerplates alongside suggested best practices to be used for any HTML5-type project.
Feel free to add to the list and edit as you see fit.
The following is a non-exhaustive compendium of HTML5 related scripts, frameworks and templates/boilerplates alongside suggested best practices to be used for any HTML5-type project.
Feel free to add to the list and edit as you see fit.
This is for Mac OS X and requires npm.
bitly http://www.somewebsite.com/needs/to/be/shortened/
The shortened link is now in your clipboard. Paste the shortened link wherever you need to!
Installation:
diff --git a/example/server.js b/example/server.js | |
index 167fc43..db758a2 100644 | |
--- a/example/server.js | |
+++ b/example/server.js | |
@@ -61,4 +61,16 @@ io.on('connection', function(client){ | |
client.on('disconnect', function(){ | |
client.broadcast({ announcement: client.sessionId + ' disconnected' }); | |
}); | |
-}); | |
\ No newline at end of file |
In this gist we will first show that we can beat the arc challenge | |
(http://www.paulgraham.com/arcchallenge.html), and then build the library that | |
shows how we did it. This gist is Literate Haskell and is of course executable. The packages needed are happstack-server and applicative-extras, installable using cabal. | |
Let's start with some imports (for now, you can ignore these) | |
> {-# LANGUAGE GADTs, TypeSynonymInstances #-} | |
> module ArcChallenge where | |
> | |
> import Control.Applicative |