Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am webdesserts on github.
  • I am webdesserts ( on keybase.
  • I have a public key whose fingerprint is EFEF AB55 BA03 4063 BB37 6F25 BD9D 259B A9DF DEE0

To claim this, I am signing this object:

webdesserts / file1.css
Last active April 12, 2016 20:55
nesting classes from external css-modules
.code-block {
/* My special code block. Covers 90% of all use cases. */
"name": "web-app",
"scripts": {
"build": "gulp build",
"start": "gulp serve",
"test": "gulp test"
"devDependencies": {
"gulp": "~3"
webdesserts /
Last active August 29, 2015 14:15
Programming languages that should exist
webdesserts / prototype.js
Last active August 29, 2015 14:10
Prototype .create() pattern
// create a "Class-like" object
var Point = {}
// create an object like this one, but with a clean state
Point.create = function create () {
var new_shape = Object.create(this)
new_shape.init.apply(new_shape, arguments)
return new_shape
webdesserts / AlchemistAPI.js
Last active August 29, 2015 14:08
Alchemist API
* Alchemist.js - Exploring a possible API *
* Conversions *
webdesserts /
Last active August 29, 2015 13:57
Conceptual exploration of what JavaScript could be


JavaChip my attempt to make JavaScript simpler, more predictable, and provide control-flow tools to make development in an asyncronous environment more comfortable.


[] – a collection of data (arrays, lists, dicts, hashes)

webdesserts / testing_element_existence.js
Last active December 31, 2015 04:29
Testing for the presence of an item in an array with `.indexOf()` and the `~` bitwise operator
var desserts = ['gelato', 'tiramisu', 'double chocolate volcano cake']
// indexOf() is a nifty little Array method that returns the index of the element passed
desserts.indexOf('gelato') //=> 0
// One oditty of it is that it returns -1 if there is no match.
desserts.indexOf('meatloaf') //=> -1
// So the question arrises, "why -1"?
webdesserts / hand_written.svg
Created December 7, 2013 21:06
Hand written SVG by Sven_vB Original link here:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
webdesserts /
Last active December 27, 2015 10:39
A quick overview of how the website will be built


  1. Content - first, we have to have a reason to have a website. In all honesty the main purpose of this website is to host an online resume and show off my design abilities. But in reality that's a poor purpose for a site. I need content. Real content. So if I'm going to have to start a blog, let's at least make it useful to people other than me. I will write all my content first before I write a single line of code.
  2. Design - I will need mockups. Initially, this should probably be done in Photoshop. If I feel like going the extra step, I might finish the design in Adobe Reflow, just to get a feel for how the website might act. However, this site is probably small enough that I can just start prototyping in the browser.
  3. Frontend - After the design phase, I will write a static version of the frontend. Everything will be hardcoded. Nothing will be dynamic. This is just for working out the css and transitioning the site from it's wire