This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:6.11.3 | |
ENV HOME=/home/app | |
RUN mkdir $HOME | |
WORKDIR $HOME | |
RUN npm install --global @angular/cli | |
---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "centos/7" | |
config.vbguest.iso_path = "C:/Program\ Files/Oracle/VirtualBox/VBoxGuestAdditions.iso" | |
config.vm.synced_folder "../projects", "/home/vagrant/projects", type: "virtualbox" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo yum update | |
sudo yum install -y wget | |
echo "Installing git" | |
sudo yum install -y git | |
echo "Installing vim" | |
sudo yum install -y vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kernelver=$(uname -r | sed -r 's/-[a-z]+//') | |
dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve $kernelver | |
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
import glob | |
import zipfile | |
import shutil | |
os.system("endpointscfg.py get_client_lib java -bs gradle projectname.ProjectApi") |