CREATE USER `my_root_user`@`%` IDENTIFIED WITH mysql_native_password BY 'my_root_pwd';

GRANT Alter, Alter Routine, Create, Create Routine, Create Temporary Tables, 
      Create User, Create View, Delete, Drop, Event, Execute, File, Grant Option, 
      Index, Insert, Lock Tables, Process, References, Reload, Replication Client, 
      Replication Slave, Select, Show Databases, Show View, Shutdown, Super, Trigger, 
      Update ON *.* TO `my_root_user`@`%`;

^ = Ctrl key M = Alt key

^G      (F1)            Display this help text
^X      (F2)            Close the current file buffer / Exit from nano
^O      (F3)            Write the current file to disk
^J      (F4)            Justify the current paragraph

^R      (F5)            Insert another file into the current one
View database.module.ts
import { Module, Global, DynamicModule } from '@nestjs/common'
import { EnvModule } from './env.module'
import { EnvService } from './env.service'
import { TypeOrmModule } from '@nestjs/typeorm'
function DatabaseOrmModule (): DynamicModule {
const config = new EnvService().read()
return TypeOrmModule.forRoot({
type: config.DB_TYPE,
View mkdir_p.js
var path = require('path');
var fs = require('fs');
module.exports = function mkdirP (p, mode, f) {
var cb = f || function () {};
if (p.charAt(0) != '/') { cb('Relative path: ' + p); return }
var ps = path.normalize(p).split('/');
path.exists(p, function (exists) {
if (exists) cb(null);
set -x
## Mention your database container name
## Mention your mysql root password
DATE=`date +%F-%H-%M-%S`

Increasing the amount of inotify watchers in Arch Linux

If you are running ArchLinux, run the following command instead (see here for why):

echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system

Then paste it in your terminal and press on enter to run it.

View .htaccess
Options All -Indexes
IndexIgnore *
# Deny all php files by default
<Files ~ "\.(php)$">
Order deny,allow
Deny from all
# Allow specific php files

Verify NodeJS Async/Await support

An example only to verify from which node version Async/Await is supported without a feature flag.

Example: async_greeting.js

(async () => {
  const msg = await asyncGreeting('This is an async greeting!')
  console.dir(msg, { colors: true })
View tslint.json
"extends": "dcl-tslint-config-standard",
"rules": {
"indent": [
"space-before-function-paren": [
View .eslintignore