(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
{ | |
// Workbench | |
"workbench.startupEditor": "none", | |
"workbench.editor.tabSizing": "fit", | |
"workbench.editor.tabCloseButton": "off", | |
"workbench.activityBar.visible": true, | |
"editor.minimap.renderCharacters": false, | |
"editor.lineHeight": 33, | |
"editor.wordWrap": "wordWrapColumn", | |
"editor.wordWrapColumn": 120, |
Verifying my Blockstack ID is secured with the address 1Ddf2WkrqviNX8Ds9577TX8iFRPyAzwDCc https://explorer.blockstack.org/address/1Ddf2WkrqviNX8Ds9577TX8iFRPyAzwDCc |
<div className="todo-list"> | |
<div className="card p-2"> | |
<div className="form-group"> | |
<label className="form-switch"> | |
<input type="checkbox" /> | |
<i className="form-icon" /> | |
Task description | |
</label> | |
</div> | |
</div> |
g=git | |
ga='git add' | |
gaa='git add --all' | |
gap='git apply' | |
gapa='git add --patch' | |
gau='git add --update' | |
gav='git add --verbose' | |
gb='git branch' | |
gbD='git branch -D' | |
gba='git branch -a' |
Vue.component('increment-button', { | |
props: { | |
count: { | |
type: Number, | |
default: 0, | |
}, | |
}, | |
template: ` | |
<div> | |
<p>Count: {{ numberCount }}</p> |
# Creating a MongoDB container with the mongo latest version. | |
docker pull mongo | |
docker run --name mongo-database -d -p 27017:27017 mongo --noauth --bind_ip=0.0.0.0 | |
docker ps | |
# Creating a MySQL container with the mysql:5.7 version. | |
docker pull mysql:5.7 | |
docker run -d -p 3306:3306 --name mysql-database -e MYSQL_ROOT_PASSWORD=root mysql:5.7 |
const mysql = require('mysql') | |
const express = require('express') | |
const app = express() | |
app.use(express.json()) | |
app.use(express.urlencoded({ extended: false })) | |
// Connection database | |
const connection = mysql.createConnection({ |
/* | |
* Getting Started | |
* $ yarn add mysql faker moment | |
* $ npm i -S mysql faker moment | |
* $ node index.js | |
*/ | |
const mysql = require('mysql') | |
const faker = require('faker') | |
const moment = require('moment') |
# Start all dockers based on Id. | |
$ docker ps -a --format="{{.ID}}" | xargs docker [option](start | stop) | |
# Remove all docker containers | |
$ docker ps -a --format="{{.ID}}" | xargs docker rm -f |
(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/: