Ensure Express App has started before running Mocha/Supertest tests
Seems simple enough but when running tests, I ran into a problem where Mocha/Supertest was not waiting for my Express App to fully start running tests.The relatively easy way to overcome this is to use an event emitter in your Express app and wait
Read more..markdownTables - Convert your HTML tables into Markdown syntax online
markdownTables is an online tool which enables you to paste in your HTML table code and convert it to Markdown table syntax.markdownTables
Read more..authorStats - Get your NPM package download statistics in an easy to read command line table
authorStats fetches your daily/weekly/monthly download stats for all your authored NPM packages and outputs a nice table right in your command line.InstallationIt's best to install the package globally:npm install author-stats -gUsageauthorStatsWhere
Read more..expressCart - A Nodejs Shopping Cart application
expressCart is a Shopping Cart built with Nodejs and ExpressJS. The application has PayPal Express Checkout, Stripe checkout and Authorize.Net built-in. expressCart uses MongoDB database backend.The application is designed to be easy to use and
Read more..ghostStrap - A minimalist and responsive Bootstrap theme for the Ghost blogging platform
Upon setting up my Ghost blog, I wanted a themewhich was compatible with Bootstrap as I'm familiar with the layout and it's rock solid in terms of responsive design. I was surprised to find that either the Bootstrap themes was really old and out of
Read more..How to add search functionality to your Ghost blog
Adding search to your Ghost blog is relatively simple but requires a small amount of skill to edit your theme files. You can see how search works on the homepage of this blog.First of all, you need to turn on the Ghost Public API (which by default is
Read more..How to setup HTTPS on your Ghost blog and avoid redirect loop
If you are wanting to setup your Ghost blog URL to be HTTPS (SSL), you will need to ensure your Web Server is sending the correct Headers to Ghost. Failing to do so can cause your Blog to go into a endless redirect loop and fail to work.The
Read more..How to change the post excerpt of your Ghost theme to HTML
The Casper theme by default has an excerpt with all HTML tags / formatting removed. You can change this in your theme by editing the /content/themes/mytheme/partials/loop.hbs file of your theme.In the loop.hbs file you will see:{% raw %}{{excerpt
Read more..How to change the post excerpt length in your Ghost theme
Changing the post excerpt length (teaser text) of your theme is relatively simple. You will need to edit the /content/themes/mytheme/partials/loop.hbsWhen opening your loop.hbs file you will see code like the this:You can change the default Casper
Read more..Page 4 of 6