Search results for chrome killed the terminal star Scripts fewliveasync.js

Chrome Killed the Terminal Star

by Brian Rinaldi

…By Krasimir Tsonev I’m not using the terminal anymore. It used to be open all the time, especially when working with Node.js. Nowadays, instead I’m just using Chrome. Yes,…

Roll Your Own Asset Pipeline with Gulp

by Brian Rinaldi

…Then add this script task to your gulpfile.js: var gulp = require(‘gulp’); var less = require(‘gulp-less’); var concat = require(‘gulp-concat’); gulp.task(‘less’, function() { return gulp.src(‘css/app.less’) .pipe(less()) .pipe(gulp.dest(‘dist’)); }); gulp.task(‘scripts‘, function()…

ECMAScript 6: Jump in, the water is warm!

by Mark Volkmann

…It places them in the same directory as generated ES5 files. The browser will look for them there. To use sourcemaps in Chrome, open Developer Tools click the gear icon…

A JavaScript Build System Shootout: Grunt vs. Gulp vs. NPM

by Nicolas Bevacqua

…the results to your terminal. All of what I’ve just described results in the Gulpfile presented below. var gulp = require(‘gulp’); var jshint = require(‘gulp-jshint’); gulp.task(‘test’, function () { return…

CSS Alignment and Sizing Snippets

by Brian Rinaldi

…position: absolute; left: 50%; top: 50% -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } Chrome Firefox Internet Explorer Opera Safari 4.0 3.6…

Writing a Command Line Utility using Node

by Brian Rinaldi

…a directory for the new project and use the Terminal to navigate to it. Next, we will initialize our project using the following command: grunt-init node When run, grunt-init will…

Building a Parallax Scrolling Game with Pixi.js – Part 2

by Brian Rinaldi

…are now safely hidden away within our Far class. Make sure both index.html and Far.js are saved then test the latest version of your code in Chrome. Doing the Same…

Introduction to Animating in HTML

by Krasimir Tsonev

…background color at specified points in the animation: @keyframes ‘bg-animation’ { 0% { background: #C9C9C9; } 50% { background: #61BE50; } 100% { background: #C9C9C9; } } .star:hover { animation-name:…

Getting a Head Start with Front End Generators

by Brian Rinaldi

…Yeoman (www.yeoman.io) Yeoman includes a set of tools that allows you to generate the starting points of projects. It allows developers to generate projects directly from the terminal using predefined…

5 Things You Should Stop Doing With jQuery

by Burke Holland

…id=”zack”>This element is on the page <strong>BEFORE</strong> all the scripts. No document ready needed.</p> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js”></script> <script type=”text/javascript” charset=”utf-8″> // if you include your scripts at the very bottom, you…