https://github.com/charliekassel/vuejs-datepicker
<Datepicker
id="deadlineDate"
placeholder="Select date"
:mondayFirst="true"
:format="format"
| #Example moving the DPSG Global Library | |
| # 1 Checkout the Beanstalk Repo | |
| git clone --bare [email protected]:/dpsg-global-library.git | |
| # 2 Push into your desired GitHub repo. (Please note that you must create the github repo prior to this step) | |
| git push --mirror [email protected]:codeandtheory/dpsg-global-library.git |
| export const POST = (auth) => ({ | |
| method: "POST", // *GET, POST, PUT, DELETE, etc. | |
| mode: "cors", // no-cors, cors, *same-origin | |
| headers: { | |
| "Content-Type": "application/json", | |
| ...(auth ? { "Authorization": auth } : {}) | |
| }, | |
| }) |
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |
| function convertMS(ms) { | |
| var d, h, m, s; | |
| s = Math.floor(ms / 1000); | |
| m = Math.floor(s / 60); | |
| s = s % 60; | |
| h = Math.floor(m / 60); | |
| m = m % 60; | |
| d = Math.floor(h / 24); | |
| h = h % 24; | |
| return { d: d, h: h, m: m, s: s }; |
| // check version | |
| node -v || node --version | |
| // list installed versions of node (via nvm) | |
| nvm ls | |
| // install specific version of node | |
| nvm install 6.9.2 | |
| // set default version of node |
https://github.com/charliekassel/vuejs-datepicker
<Datepicker
id="deadlineDate"
placeholder="Select date"
:mondayFirst="true"
:format="format"
| sudo add-apt-repository ppa:openjdk-r/ppa | |
| sudo apt-get update | |
| sudo apt-get install openjdk-7-jre | |
| # install openjdk | |
| sudo apt-get install openjdk-7-jdk | |
| # download android sdk | |
| wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz |
| #Update your apps by below command and install | |
| $ sudo apt-get update | |
| $ sudo apt-get install postgresql postgresql-contrib | |
| #Connect to PostgreSQL | |
| $ sudo su - postgres | |
| $ psql | |
| #Checking connection with user information |
Delete the most recent commit:
git reset --hard HEAD~1
Delete the most recent commit, without destroying the work you've done:
git reset --soft HEAD~1
| // Initial "Hello world" app using NodeJS | |
| var http = require('http'); | |
| http.createServer(function(req, res){ | |
| res.writeHead(200, {'Content-Type': 'text/plain'}); | |
| res.end('Hello World\n'); | |
| }).listen(8080, 'localhost'); | |
| // Initial "Hello world" app using express.js | |
| var express = require('express') |