DOCCO

Docco is a quick-and-dirty documentation generator, written in Literate CoffeeScript. It produces an HTML document that displays your comments intermingled with your code. All prose is passed through Markdown, and code is passed through Highlight.jssyntax highlighting. This page is the result of running Docco against its own source file. http://ashkenas.com/docco/

The twelve-factor app

The twelve-factor app is a methodology for building software-as-a-service apps that: Use declarative formats for setup automation, to minimize time and cost for new developers joining the project; Have a clean contract with the underlying operating system, offering maximum portability between execution environments; Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration; Leggi tutto

NODE-CACHE

Simple and fast NodeJS internal caching. A simple caching module that has set, get and delete methods and works a little bit like memcached. Keys can have a timeout (ttl) after which they expire and are deleted from the cache. All keys are stored in a single object so the practical limit is at around Leggi tutto

How to Change Hostname on Ubuntu 18.04

https://linuxize.com/post/how-to-change-hostname-on-ubuntu-18-04/ To view the current hostname, enter the following command: $ hostnamectl 1. Change the hostname using hostnamectl $ sudo hostnamectl set-hostname linuxize 2. Edit the /etc/hosts file 127.0.0.1 localhost 127.0.0.1 linuxize # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 3. Edit the cloud.cfg file Leggi tutto