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
| /** | |
| * flatten() returns a flattened array | |
| * based on the passed-in nested integer array uiarray | |
| * must preprocess (minify and uglify) with a tool like webpack to deploy in production | |
| * Tested in Chrome latest (I would do some more testing) | |
| */ | |
| const flatten = function flattenIntegersArray(uiarray) { | |
| //console.assert(Array.isArray(uiarray), 'is not an Array param uiarray'); | |
| var stack = uiarray.slice(0); |
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
| [global] | |
| workgroup = EXAMPLE | |
| security = user | |
| map to guest = Bad User | |
| [public] | |
| comment = Public Share | |
| path = /home/server/Downloads | |
| browsable = yes | |
| guest ok = yes |
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
| cheluskis@ubuntu:~/main$ sudo vagrant destroy | |
| ==> default: VM not created. Moving on... | |
| cheluskis@ubuntu:~/main$ sudo vagrant up | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| ==> default: Importing base box 'puphpet/centos65-x64'... | |
| ==> default: Matching MAC address for NAT networking... | |
| ==> default: Checking if box 'puphpet/centos65-x64' is up to date... | |
| ==> default: Setting the name of the VM: main_default_1406758727998_64665 | |
| ==> default: Clearing any previously set network interfaces... | |
| ==> default: Preparing network interfaces based on configuration... |
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
| sudo apt-get purge vagrant | |
| sudo apt-get purge virtualbox | |
| apt-get install build-essential linux-headers-3.2.0-23-generic-pae # uname -r | |
| sudo dpkg-reconfigure virtualbox-dkms | |
| sudo dpkg-reconfigure virtualbox | |
| sudo apt-get install vagrant |