$ npm install --save babel-cli babel-preset-es2015
$ npm install --save-dev jasmine.babelrc:
{
"presets": ["es2015"]| // Installs NPM packages from a generated list | |
| // 1. Generate the list with ls node_modules > modules.txt | |
| // 2. Run node npm-one-by-one.js | |
| // This is primarily useful for populating a Nexus proxy when npm install sometimes fails | |
| const fs = require('fs') | |
| const cp = require('child_process') | |
| // The maximum time we try to install any package before giving an error | |
| const TIMEOUT_SECONDS = 30 |
| #!/bin/bash | |
| # Additional configuration and packages that our Vagrantbox requires | |
| # We will need php7.0, so install it | |
| sudo apt-get -y update | |
| sudo add-apt-repository -y ppa:ondrej/php | |
| sudo apt-get -y install php7.0 | |
| sudo apt-get -y update | |
| # This includes the base php7.0 packages, plus a couple mbstring and dom that | |
| # some of the composer dependencies require |
| """ | |
| A simple, one step setup script for installing OctoberCMS in Vagrant. | |
| """ | |
| import argparse | |
| import os | |
| import shutil | |
| import subprocess | |
| def git(*args): |
| # This terraform configuration generates a Heroku PHP application | |
| # using the Heroku postgress database addon and creates an AWS S3 | |
| # bucket to host static files for the application. | |
| # The site is sufficiently simple that this configuation is | |
| # contained in a single file | |
| # The build creates environment variables in the Heroku application | |
| # containing the credentials for the S3 bucket. | |
| # Authentication for the AWS provider - we use this access | |
| # key in order to be able to create a new AWS user and the S3 |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| $script = <<SCRIPT | |
| sudo apt-get -y update | |
| sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| sudo apt-get -y update | |
| sudo apt-get -y install docker-ce docker-compose awscli jq pssh wkhtmltopdf |
$ npm install --save babel-cli babel-preset-es2015
$ npm install --save-dev jasmine.babelrc:
{
"presets": ["es2015"]I hereby claim:
To claim this, I am signing this object:
| <?xml version='1.0' encoding='utf-8'?> | |
| <project xmlns:ns1="http://www.plcopen.org/xml/tc6.xsd" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201"> | |
| <fileHeader companyName="Garret Fick" productName="OpenPLC" productVersion="1.0" creationDateTime="2019-03-01T09:56:49"/> | |
| <contentHeader name="HelloWorld" modificationDateTime="2019-03-01T14:00:37"> | |
| <coordinateInfo> | |
| <fbd> | |
| <scaling x="10" y="10"/> | |
| </fbd> | |
| <ld> | |
| <scaling x="0" y="0"/> |
| import argparse | |
| import glob | |
| import logging | |
| import os | |
| import sys | |
| logger = logging.getLogger(__name__) | |
| def main(argv): | |
| """The main function for the script so it can be included if desired.""" |
| eval $(ssh-agent -s) | |
| ssh-add ~/.ssh/id_rsa |