Skip to content

Instantly share code, notes, and snippets.

View Lowmana69's full-sized avatar

Pongnatee Wongthaweesap Lowmana69

View GitHub Profile
@Lowmana69
Lowmana69 / h2.sh
Created July 13, 2020 14:21 — forked from ohneda/h2.sh
h2 database init script ( based on Jenkins init script )
# /etc/default/h2
# defaults for h2 database server
# pulled in from the init script; makes things easier.
NAME=h2
# location of java
JAVA=/usr/bin/java
# arguments to pass to java
@Lowmana69
Lowmana69 / sql-mongo_comparison.md
Created August 8, 2019 17:37 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@Lowmana69
Lowmana69 / npmcrashcourse.txt
Created July 14, 2019 22:27 — forked from bradtraversy/npmcrashcourse.txt
NPM Crash Course Commands
# GET VERSION
npm -v (or --version)
# GET HELP
npm help
npm
# CREATE PACKAGE.JSON
npm init
npm init -y (or --yes)
@Lowmana69
Lowmana69 / nodejs-cheatsheet.js
Created July 9, 2019 20:14 — forked from LeCoupa/nodejs-cheatsheet.js
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor
@Lowmana69
Lowmana69 / Contract Killer 3.md
Created May 23, 2019 23:40
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@Lowmana69
Lowmana69 / Dockerfile
Created May 2, 2019 21:05 — forked from ju2wheels/Dockerfile
Docker Dockerfile reference template
# Last updated: 08/24/2916
#
# Total instructions available: 18
#
# https://docs.docker.com/engine/reference/builder/
#
# You can use a .dockerignore file in the same context directory as
# your Dockerfile to ignore files in the context before sending them
# to the Docker daemon for building to speed up building.
@Lowmana69
Lowmana69 / Creating_the_Shakespeare_Graph.adoc
Created April 22, 2019 20:36 — forked from peterneubauer/Creating_the_Shakespeare_Graph.adoc
This is part of a series of graphgists, taking the examples in the GraphDatabases book and making them available for playing with Neo4j 2.0 updates.

GraphDatabases Neoj4 2.0 examples

cropped graphdatabases cover390x5121

This graphgist is an attempt to give some live datasets for the Graphdatabases book by Ian Robinson and Jim Webber, based on the work and blog of Joerg Baach in his blog post

The Shakespeare setup