If you develop with git and use multiple computers, you may find you want to keep your repos updated across these different computers. One way to do this is to use a git repo hosting provider like Github and push and fetch from remote branches.
Though there could be reasons why you might not want to ...
React, however, is an example of why this isn’t always the bes...
You may have noticed how some websites let you know how many times URLs have been tweeted. How do they do that? The twitter api will help.
The the call we need is:
This call takes a
url as a parameter. Let’s look at an example:
Many sites store the fact that a user has seen t...
If you’re trying the CSS
columns property, or its various browser prefixed variants, you may notice your bullet points disappearing. This can happen on Chrome and to a lesser extent on Opera.
Take the following HTML for a list:
To do this, we’re going to build a custom Nanoc filter. Create a
new file in
We take a look at how to add a bit of extra flourish to a pure HTML and CSS banner. We’re going to add a tail to an existing banner. You’ll need to use the code for the effect already created in part 1.
A forked tail
When using Nanoc, if you get weird characters in your HTML in place of some special characters or accented letters, you may well need to change your character encoding.
An example is ÔÇö instead of — (an em-dash).
First check your source file is in UTF-8. For example, you can use the
Encode in UTF-8 without BOM ...