Create a new Virtual Machine in VirtualBox with the following settings:
- Name: my-vagrant-box
- Type: Linux
# oh-my-zsh config | |
export ZSH=$HOME/.oh-my-zsh | |
export UPDATE_ZSH_DAYS=13 | |
COMPLETION_WAITING_DOTS="true" | |
HIST_STAMPS="dd.mm.yyyy" | |
plugins=(git emoji-clock nvm) | |
# paths | |
export PATH=$HOME/.bin:/usr/local/bin:$PATH | |
export MANPATH="/usr/local/man:$MANPATH" |
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_extra_width": 1, | |
"caret_style": "smooth", | |
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme", | |
"font_face": "Menlo", | |
"font_size": 17, |
{ | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Alignment", | |
"All Autocomplete", | |
"ApacheConf.tmLanguage", | |
"AutoFileName", |
var childProcess = require('child_process'); | |
var cwd = process.cwd(); | |
var childProcessOptions = { | |
stdio: 'inherit', | |
cwd: cwd | |
}; | |
childProcess.spawnSync('my-super-commandline-command', ['param1', 'param2'], childProcessOptions); |
'use strict'; | |
var autoPlug = require('auto-plug'), | |
glob = require('glob'), | |
path = require('path'); | |
function Plug() { | |
this.dir = path.join(path.dirname(module.parent.filename), '.gulpplug'); | |
this.tasksDir = path.join(this.dir, 'tasks'); | |
this.taskGlob = '**/*.js'; |
Create an empty branch for your github page:
git checkout --orphan gh-pages
Commit at least one file to this branch and push it to GitHub.
Switch to your master branch.
'use strict'; | |
var values = ['A', 'B', 'C', 'D']; | |
function getCombinations(parts) { | |
var mix = function(rest) { | |
return rest.length === 0 ? '' : rest.join(''); | |
}; | |
var combine = function(combinations, firstPart, i, _parts) { | |
var rest = _parts.filter(function(part) { |