Set Branch Alias with Git


Version control systems can be difficult to use, especially when you don’t use a UI app. Just think about main branch or revision names: svn uses “trunk”, git uses “master”, and mercurial (hg) uses “tip”. I need to switch between mercurial and...

Next Genpm


So many web projects use npm to pull in their dependencies, for both the front end and back. npm install and away it goes, pulling thousands of files into a node_modules folder in our projects to import/require anything. It's an important cog in the great machine of web development. While I don't...

Better Than Native


Andy Bell wrote up his thoughts about the whole web versus native app debate which I think is super interesting. It was hard to make it through the post because I was nodding so aggressively as I read: The whole idea of competing with native apps seems pretty daft to me, too. The web gives us...

Breaking CSS Custom Properties out of :root Might Be a Good Idea


CSS Custom Properties have been a hot topic for a while now, with tons of great articles about them, from great primers on how they work to creative tutorials to do some real magic with them. If you’ve read more than one or two articles on the topic, then I’m sure you’ve noticed that they start...

JavaScript Glossary: String lastIndexOf()


Basics The lastIndexOf() method returns the last position within a String object which an element can be found. The search starts from the last position of the String object.

JavaScript Glossary: String match()


Basics This method is a called against a regular expression and returns the matching values in the string. The return value is an array containing the matched values. If no matches are fo

JavaScript Glossary: String startsWith()


Basics The startsWith method takes a string parameter and checks if the calling string starts with the value provided. It returns a Boolean value, true

Free Programming Courses from Harvard, MIT, Microsoft and more (Sponsored)


Did you know that you can learn programming online from institutions like Harvard, MIT and Microsoft on edX.org? The nonprofit site offers 2000 online courses from 140 institutions worldwide. Courses are free to try. EdX has over 200 courses from Microsoft alone, including an 11 course program...

JavaScript Glossary: String toLowerCase()


Basics The toLowerCase() String method converts a string object to lower case. The return value of the method is the value of the calling string in lower case

JavaScript Glossary: String length


Basics The length property of the String object returns the number of code points in a string object. It indicates the length of the string

An Illustrated (and Musical) Guide to Map, Reduce, and Filter Array Methods


Map, reduce, and filter are three very useful array methods in JavaScript that give developers a ton of power in a short amount of space. Let’s jump right into how you can leverage (and remember how to use!) these super handy methods. Array.map() Array.map() updates each individual value in...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace