As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
var gulp = require('gulp'), | |
concat = require('gulp-concat'), | |
plumber = require('gulp-plumber'), | |
server = require('tiny-lr')(), | |
refresh = require('gulp-livereload'), | |
mocha = require('gulp-mocha'), | |
stylus = require('gulp-stylus'), | |
notify = require('gulp-notify'), | |
nodemon = require('gulp-nodemon'), | |
jshint = require('gulp-jshint'), |
(wherever it says url.com, use your server's domain or IP)
Login to new server as root, then add a deploy user
sudo useradd --create-home -s /bin/bash deploy
sudo adduser deploy sudo
sudo passwd deploy
And Update the new password
Steps:
Create Digital Ocean Droplet with Dokku v0.3.16 on 14.04 image
Login into the droplet and Update local settings.
sh -c "echo 'LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8' > /etc/default/locale"
reboot
Map | Action |
---|---|
<F1> | Causes Netrw to issue help |
<cr> | Netrw will enter the directory or read the file |
<del> | Netrw will attempt to remove the file/directory |
- | Makes Netrw go up one directory |
a | Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide) |
c | Make browsing directory the current directory |
C | Setting the editing window |
d | Make a directory |
/* Comment out the last line of the analytics code that is given by Google. | |
* This code triggers on page views in angular | |
*/ | |
app.run(['$rootScope', '$location', '$window', function($rootScope, $location, $window) { | |
$rootScope.$on('$routeChangeSuccess', function() { | |
$window.ga('send', 'pageview', {page: $location.url()}); | |
}); | |
}]); |
Vim has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC]
returns the editor to command mode (where you can quit, for example by typing :q!
). Most commands execute as soon as you type them except for "colon" commands which execute when you press the ruturn key.
:x
Exit, saving changes :q
Exit as long as there have been no changes ZZ
Exit and save changes if any have been made :q!
Exit and ignore any changes/** | |
* Return, rewrite, regrade | |
* | |
* @param {number} The original grade | |
* @param {number} The re-graded assignment | |
* @param {number} The percentage of the regraded assignment to count | |
* @return The curved grade | |
* @customfunction | |
*/ | |
function REGRADEDCURVE(original, newGrade, percentage) { |
#!/usr/bin/env bash | |
# getgo helps you install any version of go, or simply upgrade | |
# to the latest. | |
# | |
# Go versions will be installed under "/usr/local/go/{VERSION}", | |
# and "/usr/local/go/latest" will always point to the latest | |
# version installed. | |
# | |
# Upgrade to the latest: |