Installing loopback in a c9.io workspace
As a prerequisite to loopbackjs 3.x.x make sure the version of nodejs is updated to >= 4.x.
node -v # check current node version
npm -v # check current node package manager version
/** # hzrule.js | |
/^[v^~=*+]/ match any of these characters | |
at begining of msg for the ruler | |
Return the match multiplied by the length of | |
the input string x 5. If no match return the | |
original msg string. | |
Usage: |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Jasmine SpecRunner</title> | |
<!-- https://jasmine.github.io/ --> | |
<meta charset="utf-8"> | |
<!-- cdnjs.cloudflare.com --> | |
<!-- Jasmine --> | |
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jasmine/3.1.0/jasmine.min.css"/> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jasmine/3.1.0/jasmine.min.js"></script> |
#!/bin/bash | |
# File: Install-NodeJS.sh | |
# Desc: A script to install NodeJS in a subdirectory named node_v | |
# on a server. | |
# License: [MIT](https://mit-license.org/) | |
# Usage: |
#!/bin/bash | |
# ##################################### | |
# filename: enable_drupal_modules.sh | |
# Enable Drupal 7 modules and themes with | |
# http://www.drushcommands.com/drush-7x/pm/pm-enable | |
# Before enabling the modules, the drupal installation | |
# and setup must be done for example with my script |
function extend(destination, source) { | |
for (var property in source) destination[property] = source[property]; | |
return destination; | |
} |
As a prerequisite to loopbackjs 3.x.x make sure the version of nodejs is updated to >= 4.x.
node -v # check current node version
npm -v # check current node package manager version
#!/bin/bash | |
# Installation of Drupal, modules and themes with drush commands | |
# from http://www.drushcommands.com/drush-7x/pm/pm-download | |
# Specific revisions of each module are installed. Research each | |
# module to confirm that you are installing the lastest revision. | |
# Instructions for installation | |
# SFTP this file into your installation directory |
#!/bin/bash | |
# THIS VERSION PERMANENTLY CRASHES WEBSITE! | |
# EXPERIMENTAL ONLY - USE AT YOUR OWN RISK. | |
# ##################################### | |
# filename: enable_drupal_modules.sh | |
# Enable Drupal 8 modules and themes with | |
# https://drushcommands.com/drush-9x/pm/pm:enable/ |
#!/bin/bash | |
# filename: install_concrete5.sh | |
# License: https://mit-license.org/ | |
# For installing CMS [concrete5](https://www.concrete5.org/) from | |
# the command line. | |
# Usage: | |
# ------ |
#!/bin/bash | |
# filename: check-directory.sh | |
clear | |
# - - - - - - - - - - - - - - - - - - | |
function dirInPATH () { | |
# Inputs: expect a single directory | |
# Output: true if in the PATH | |
# false if not in the PATH |