How to setup a Node.js + MongoDB environment with PM2 and Let's Encrypt
ssh root@your_server_ip
This is a slightly modified update to Daniel Kornev's excellent post which goes into more detail about why building from source is necessary on 18.04. His post was missing a few dependencies that I didn't have installed namely cmake
, opencv
and pkg-config
. The following steps should get you a working build of openalpr
on a fresh install of Ubuntu 18.04.
$ sudo apt update #fetch list of available updates
$ sudo apt upgrade #install updates – does not remove packages
Instructions to install the NeoSec 3.5" TinyLCD drivers on a Raspberry PI:
Enable SPI – comment out the spi blacklist line
sudo nano /etc/modprobe.d/raspi-blacklist.conf
Install FBTFT drivers as loadable modules
sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update
# Bash script to nuke unwanted files from the history of a git repository | |
# Modification of David Underhill's script http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ | |
# http://stackoverflow.com/questions/2100907/how-do-i-purge-a-huge-file-from-commits-in-git-history | |
# usage : execute from repository root ./git-purge.sh "path to unwanted files" | |
#!/bin/bash | |
set -o errexit | |
if [ $# -eq 0 ]; then |
/* | |
Simple Event Dispatcher | |
Author : Stephen Braitsch | |
------------------------------------------------------------------ | |
Example Usage : | |
var MY_CUSTOM_EVENT = 'my-custom-event'; | |
var myObj = { name : 'stephen'}; |