Skip to content

Instantly share code, notes, and snippets.

View smozely's full-sized avatar

Steve Mosley smozely

  • Starter4Ten
  • New Zealand
View GitHub Profile
#!/bin/bash
touch pom.xml
# Setup basic .gitignore
touch .gitignore
echo .idea/ >> .gitignore
echo *.iml >> .gitignore
echo target >> .gitignore
# Setup Source Folders
@smozely
smozely / Gruntfile.coffee
Last active December 20, 2015 07:19 — forked from tbranyen/Gruntfile.coffee
Really Basic Gruntfile in Coffee Script
# Grunt configuration updated to latest Grunt.
module.exports = (grunt) ->
# Initialize the configuration.
grunt.initConfig
clean:
main:
src: ['target/main']
@smozely
smozely / createvm.sh
Created January 27, 2012 05:00
Create a new boot-from-network server with a 5gig drive in virtualbox
# This script creates a VM for Ubuntu with 256mb RAM and 5gig hard drive.
VBoxManage createvm --name "$1" --register
VBoxManage modifyvm "$1" --ostype Ubuntu
VBoxManage modifyvm "$1" --memory 256
# Networking setup
VBoxManage modifyvm "$1" --nic1 bridged --bridgeadapter1 eth0
VBoxManage modifyvm "$1" --boot4 net