SASS Mixins with Default Parameters Using Maps

Creating mixins with default parameters is very easy in SASS using maps. Let's say we have a mixin called button size that takes a configuration map »

Hello World Mocha

Install Mocha globally: npm install –g mocha Then create the package.json file in your project directory: npm init And install should. Should is an assertion »

CSS Rant

My Rant on Writing CSS for large scale applications A note on descendent selectors: You should not totally avoid them. It would be a little bit »

Handling errors when working with SASS, Watch, Plumber and Gulp

When working with Gulp, you need to return streams as one of the days to set up task dependencies. Something like this: gulp.task('sass', function( »

Enable gzip on Apache

Make sure the deflate module is enabled: sudo a2enmod deflate then add the following to your vhoste file: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html »

Hello World Desktop App with Node.js

Hello node-webkit With node-webkit, you can create desktop applications with CSS/HTML/JS and more importantly take advantage of node modules directly inside the html. In »

Using Q and Promises to read from file with Node

Project Files Click here to download the project files. ... Also be sure to check out my latest course on Angular 2 using this coupon link: http: »

Build a simple command line application with Nodejs

Building command line applications is very fun and useful. You can learn a lot by making your own application. But make sure you pick the right »

Useful Git Snippets

Useful snippets rename branch git branch -m oldname newname deleting remote branch git push origin :newfeature Get all the branches git branch -a Push up everything »

A Git Workflow

getting started Follow the instructions at bitbucket and install all the necessary things. Then clone the repo: git clone [link to the repo] Then you can »