http://www.perkin.org.uk/posts/automated-virtualbox-smartos-installs.html
save the following as setup.sh and run it:
#!/bin/sh
#
# Configurables:
var ChildProcess = require('child_process'); | |
setInterval(function () { | |
ChildProcess.exec('echo', function () { | |
console.log(Math.round(process.memoryUsage().rss / (1024 * 1024)) + 'M used'); | |
}); | |
}, 100); |
http://www.perkin.org.uk/posts/automated-virtualbox-smartos-installs.html
save the following as setup.sh and run it:
#!/bin/sh
#
# Configurables:
export PATH="$HOME/bin:$PATH" | |
##### NPM STUFF | |
# Checks that the child directory is a subdirectory of the parent | |
is_subdirectory() { | |
local child="$1" | |
local parent="$2" | |
if [[ "${child##${parent}}" != "$child" ]]; then | |
return 0 |
~/.xprofile | |
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
xrandr --addmode Virtual1 1920x1080_60.00 | |
xrandr --output Virtual1 --mode 1920x1080_60.00 |
set nocompatible | |
filetype off " required! | |
set rtp+=~/.vim/vundle.git/ | |
call vundle#rc() | |
" My Bundles here: | |
" | |
" original repos on github | |
Bundle 'tpope/vim-fugitive' |