This Gulp task will resolve JavaScript dependencies and build individual bundles.
npm i --save-dev gulp gulp-resolve-dependencies gulp-uglify gulp-if gulp-foreach
# PostgreSQL can be on a remote server but you'll need root privileges in Linux and superuser in PostgreSQL. | |
# First install build tools | |
sudo su | |
aptitude install build-essential | |
aptitude install postgresql-server-dev-9.4 | |
# Clone and build the PL/pgSQL server-side debugger |
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
# Solution 1 | |
# Use only codes greater than 418, do not use common status codes 404, 402, 403, etc | |
location /location1 { | |
error_page 463 = @app; return 463; | |
} | |
# Solution 2 (drawbacks unknown) | |
location /location2 { | |
try_files /dev/null @app; | |
} |
/** | |
* Parent | |
*/ | |
function Shape(x, y) { | |
this.x = x; | |
this.y = y; | |
} | |
Shape.prototype.constructor = Shape; | |
Shape.prototype.pos = function() { | |
return [this.x, this.y]; |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
#/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
shopt -s nullglob | |
INSTALL_PATH="$HOME/Telegram" | |
TEMP_PATH="$HOME/.tmp" | |
sudo apt-get install xz-utils |
#/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
NODE_VERSION="v9" | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash | |
. $HOME/.nvm/nvm.sh |