Nicholas Cloud's Blog, page 5

November 10, 2014

Modern Web Practices ebook launched!

Today is a big day for me. Today I become (dramatic pause)… a published author!

I am excited to announce the launch of the Modern Web Practices ebook, a collection of six chapters on web development forged in the fiery crucibles at appendTo!

Preface by Michael Hostetler Chapter 1: Automate Your Workflow with Grunt by Aaron Bushnell Chapter 2: Offline Web Applications by Nicholas Cloud Chapter 3: Data Binding by Ryan Conaway Chapter 4: Making Things Move with CSS3 Transitions and Animations b...
 •  0 comments  •  flag
Share on Twitter
Published on November 10, 2014 06:50

November 6, 2014

git-root

I wrote a little bash alias a while ago to help me instantly to the root directory of a git project from any directory beneath it.

.gist table { margin-bottom: 0; }

It’s pretty simple. Assume /projects/foo is the root of a project under git. Assume your pwd is /projects/foo/bar/baz. At the prompt, typing git-root will return you to /projects/foo.

This works by changing pwd to be the actual .git directory under the project root, and then backing out of it one level up (to ..).

 •  0 comments  •  flag
Share on Twitter
Published on November 06, 2014 12:20

l33teral

This is a brief tutorial on l33teral I recorded for appendTo’s standards and practices documentation.

 •  0 comments  •  flag
Share on Twitter
Published on November 06, 2014 07:11

Using moment.js

This is a brief tutorial on usingmoment.jsthat I recorded for appendTo’s standards and practices documentation.

 •  0 comments  •  flag
Share on Twitter
Published on November 06, 2014 07:10

October 29, 2014

An addendum to my so-called expertise

In August I delivered a presentation called “Mastering Asynchronous Flow Control in JavaScript” at devLink 2014. To illustratehow tricky mixing asynchronous and synchronous code in JavaScript can be, I gave the following example:

bad, bad example

I claimed, incorrectly, that the error thrown in the callback would cause unintendedconsequences when it re-entered the catch block (well, beyond just crashing the program).

I have since had a chance to re-visit this code and realized that this example isnotrepresen...

 •  0 comments  •  flag
Share on Twitter
Published on October 29, 2014 11:31

Nicholas Cloud's Blog

Nicholas Cloud
Nicholas Cloud isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Nicholas Cloud's blog with rss.