mrvautin
  • Home

mrvautin

arduino

Interface with Arduino board using Node.Js

There are many cheap and solid Arduino compatible boards on the market which can be interfaced/controlled using Node.Js. Today we are going to focus on the WeMos D1

  • Mark Moffat
    Mark Moffat
Mark Moffat 14 Jan 2021 • 2 min read

La Marzocco - Machine Vector Art & logos

La Marzocco machine vector art including logos (Lion, cursive etc), La Marzocco GS3 and La Marzocco Linea Mini machines.

  • Mark Moffat
    Mark Moffat
Mark Moffat 8 Jan 2021 • 1 min read
code

Helpful Handlebars custom helpers

Handlebars has some nice built in helpers but at times you will need to add custom helpers. Here are some helpful ones which you may find useful.

  • Mark Moffat
    Mark Moffat
Mark Moffat 29 Jan 2020 • 2 min read
ghost

Ghost - You are recommended to have at least 150 MB of memory available

Sometimes running Ghost on lower powered server like a Digital Ocean $5 droplet can cause the Ghost CLI to complain about lack of memory: Message: You are recommended to have

  • Mark Moffat
    Mark Moffat
Mark Moffat 10 Jun 2019 • 1 min read

Bank Loan repayment and interest calculator

We have created a very simple and beautiful loan calculator so you can quickly and easily calculate your repayments and interest before taking the big step and applying.

  • Mark Moffat
    Mark Moffat
Mark Moffat 6 Apr 2019 • 1 min read
mongodb

Connecting to MongoDB Atlas with Robo 3T / Robomongo

Sometimes you may want to do development on your database and connect via a GUI to test results. Connecting to MongoDB Atlas is very easy with Robo 3T/Robomongo, simply follow these steps.

  • Mark Moffat
    Mark Moffat
Mark Moffat 10 Oct 2018 • 1 min read

The best free blog software

Fortunately there are a lot of options for free software to host your shiny new blog. You have definitely heard about Wordpress but is it the best option? Well in

  • Mark Moffat
    Mark Moffat
Mark Moffat 20 May 2018 • 1 min read

Screenshot to clipboard on Apple Mac OSX

To copy a portion of the screen to the clipboard, press Command-Control-Shift-4. A cross-hair cursor will appear and you can click and drag to select the area you wish to

  • Mark Moffat
    Mark Moffat
Mark Moffat 20 May 2018 • 1 min read
nodejs

Nodejs - Re-use MongoDB database connection in routes

Quite often when you are writing an application you will need access to one or more database connections. You will need to re-use that database connection throughout your application. I'm going to go through a simple way of re-using the connection in modules, Express routes etc.

  • Mark Moffat
    Mark Moffat
Mark Moffat 13 Apr 2018 • 1 min read
dokku

Dokku - Could not read from remote repository on digital ocean

Firing up a digital ocean droplet with one-click dokku should be easy right? Yeah well if you get this error it's due to your SSH keys not being added correctly

  • Mark Moffat
    Mark Moffat
Mark Moffat 17 Feb 2017 • 1 min read
facebook

Adding new lines to your IFTTT recipes

Adding breaks or new lines to your ifttt recipes can be a difficult task. Facebook seems to be particularly picky with it's new line characters where standard new lines like

  • Mark Moffat
    Mark Moffat
Mark Moffat 28 Jan 2017 • 1 min read
saas

Enabling custom domain for SaaS application on Heroku

If you are running a SaaS application on Heroku you might notice that it's difficult enabling the users of the SaaS application to bring their own custom domain using a DNS CNAME. When the request comes into Heroku the platform will return the "

  • Mark Moffat
    Mark Moffat
Mark Moffat 25 Jan 2017 • 1 min read
nodejs

Building a reliable and scalable Node.JS SaaS application

The SaaS app we built is an FAQ/Knowledge base and support ticketing platform called ezyFAQ - www.ezyfaq.com Having built many Node.Js projects, this would be our first venture into building a scalable SaaS app. After our initial investigation on where

  • Mark Moffat
    Mark Moffat
Mark Moffat 22 Jan 2017 • 2 min read
faq

ezyFAQ: An easy-to-use yet beautiful and powerful FAQ/Knowledge base

ezyFAQ is a very powerful yet affordable solution to setup a FAQ/knowledge base without all the complexities (and cost) of Zendesk and other solutions. Studies have shown that most

  • Mark Moffat
    Mark Moffat
Mark Moffat 19 Nov 2016 • 1 min read
npm

Writing your first Node.js module

This isn't meant to be an exhaustive guide on how to write an NPM module. This guide is meant to be a simple working example where you can see a basic working module and easily adapt this to create your own module. You can

  • Mark Moffat
    Mark Moffat
Mark Moffat 3 Sep 2016 • 1 min read
nodejs

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

  • Mark Moffat
    Mark Moffat
Mark Moffat 19 Jun 2016 • 1 min read
markdown

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

  • Mark Moffat
    Mark Moffat
Mark Moffat 17 May 2016 • 1 min read
nodejs

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. Installation It's best to install the package globally: npm install author-stats -g Usage authorStats <npm username> Where <

  • Mark Moffat
    Mark Moffat
Mark Moffat 6 May 2016 • 1 min read
nodejs

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 Authorise.Net built-in. expressCart uses MongoDB database backend. The application is designed to be easy to use and install and based on search for simplicity

  • Mark Moffat
    Mark Moffat
Mark Moffat 29 Apr 2016 • 1 min read
theme

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

  • Mark Moffat
    Mark Moffat
Mark Moffat 18 Apr 2016 • 1 min read
blog

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

  • Mark Moffat
    Mark Moffat
Mark Moffat 17 Apr 2016 • 2 min read
ghost

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

  • Mark Moffat
    Mark Moffat
Mark Moffat 15 Apr 2016 • 1 min read
theme

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: {{excerpt words=

  • Mark Moffat
    Mark Moffat
Mark Moffat 12 Apr 2016 • 1 min read
theme

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.hbs When opening your loop.hbs file you will see code like the this: {{! This is the post loop -

  • Mark Moffat
    Mark Moffat
Mark Moffat 12 Apr 2016 • 1 min read
nodejs

Metaget - Nodejs module to fetch remote Meta Tags (including Open Graph) from URL

A Node.js module to fetch HTML meta tags (including Open Graph) from a remote URL Installation npm install metaget --save Usage var metaget = require("metaget"); metaget.fetch('https://wordpress.com', function (err, meta_response) { if(err){ console.log(err); }else{ console.

  • Mark Moffat
    Mark Moffat
Mark Moffat 11 Apr 2016 • 1 min read
mrvautin
  • Home
mrvautin © 2021
Latest Posts Twitter Ghost