A list of helpful and often used commands of the npm package directory
The following list contains npm commands that I use practically every day while working with npm packages in my node.js projects:
Read the complete articleThe following list contains npm commands that I use practically every day while working with npm packages in my node.js projects:
Read the complete articleIt is a common practice that the text of the options of a select drop-down box is a combination of a shortcut and it’s full text label.
For example consider the following array of JSON objects that a server might return:
var countries = [
{"shortcut": "DE", "label": "Germany"},
{"shortcut": "GB", "label": "Great Britain"}
];
When you want to highlight ruby-code snippets you will deal with the problem that the code, even when it is wrapped inside the {% highlight ruby %}…{% endhighlight %} tags, it gets executed and you do not see the code snippet itself.
Read the complete articleFor my personal blog, which is based on Jekyll, I created a tag-area on the top of the homepage so that the visitors are able to navigate through the different articles in a tag-page by clicking on the tag that they are interested in. With this article I would like to present you the code of the tag-area:
Read the complete articleWith this article I would like to present you six useful features of the 6.0 version of C#.
Removes the need for checking for null values and thus we avoid the tedious if(... != null && ... != null ...) if conditions.
if (myDog?.Mouth?.TeethsInMouth[0]?.ScientificName == "default tooth name") ...