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
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ] | |
make: Entering directory `/var/www/api/node_modules/hiredis/build' | |
make: Warning: File `hiredis.target.mk' has modification time 1.3e+03 s in the future | |
cc '-DNODE_GYP_MODULE_NAME=hiredis-c' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/home/vagrant/.node-gyp/8.0.0/include/node -I/home/vagrant/.node-gyp/8.0.0/src -I/home/vagrant/.node-gyp/8.0.0/deps/uv/include -I/home/vagrant/.node-gyp/8.0.0/deps/v8/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/hiredis-c/deps/hiredis/sds.o.d.raw -c -o Release/obj.target/hiredis-c/deps/hiredis/sds.o ../deps/hiredis/sds.c | |
cc '-DNODE_GYP_MODULE_NAME=hiredis-c' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/home/vagrant/.node-gyp/8.0.0/include/node -I/home/vagrant/.n |
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
// VAGRANT UP | |
Vagrant was unable to mount VirtualBox shared folders. This is usually | |
because the filesystem "vboxsf" is not available. This filesystem is | |
made available via the VirtualBox Guest Additions and kernel module. | |
Please verify that these guest additions are properly installed in the | |
guest. This is not a bug in Vagrant and is usually caused by a faulty | |
Vagrant box. For context, the command attempted was: | |
mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant |
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
vagrant@vagrant-ubuntu-trusty-64:~/api$ sails lift | |
module.js:487 | |
throw err; | |
^ | |
Error: Cannot find module '@sailshq/lodash' | |
at Function.Module._resolveFilename (module.js:485:15) | |
at Function.Module._load (module.js:437:25) | |
at Module.require (module.js:513:17) | |
at require (internal/module.js:11:18) |
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
//vagrant up | |
Bringing machine 'web' up with 'virtualbox' provider... | |
==> web: Checking if box 'joomlatools/box' is up to date... | |
==> web: Clearing any previously set network interfaces... | |
==> web: Preparing network interfaces based on configuration... | |
web: Adapter 1: nat | |
web: Adapter 2: hostonly | |
==> web: Forwarding ports... | |
web: 3306 (guest) => 3307 (host) (adapter 1) |
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
MacBook-Pro:techstack deanclarke$ vagrant up | |
Bringing machine 'web' up with 'virtualbox' provider... | |
Bringing machine 'api' up with 'virtualbox' provider... | |
==> web: Importing base box 'joomlatools/box'... | |
==> web: Matching MAC address for NAT networking... | |
==> web: Checking if box 'joomlatools/box' is up to date... | |
==> web: Setting the name of the VM: techstack_web_1497247379834_70806 | |
==> web: Clearing any previously set network interfaces... | |
==> web: Preparing network interfaces based on configuration... | |
web: Adapter 1: nat |
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
$ create-react-app com_oauthmanager | |
Creating a new React app in /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager. | |
Installing packages. This might take a couple minutes. | |
Installing react, react-dom, and react-scripts... | |
[ ...............] \ fetchMetadata: sill resolveWithNewModule [email protected] ch | |
> [email protected] install /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/node_modules/fsevents | |
> node-pre-gyp install --fallback-to-build |
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 rm -rf node_modules && npm install --no-optional | |
> [email protected] install /home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/node_modules/fsevents | |
> node-pre-gyp install --fallback-to-build | |
node-pre-gyp info it worked if it ends with ok | |
node-pre-gyp verb cli [ '/usr/local/bin/node', | |
node-pre-gyp verb cli '/home/vagrant/Projects/com_oauth_manager/media/com_oauth_manager/js/com_oauthmanager/node_modules/fsevents/node_modules/.bin/node-pre-gyp', | |
node-pre-gyp verb cli 'install', | |
node-pre-gyp verb cli '--fallback-to-build' ] |
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
abstract class HistoryPageTextHelper | |
{ | |
const SERVICETIMEENTRY = array('ADD' => "{$user} logged {$prod_hour} hour and {$prod_minutes} minutes of Production Management Time and {$technical_hour} and {$technical_minutes} minutes of Technical Time for {$t_user} on the {$service}", | |
'DELETE' => "{$user} deleted {$prod_hour} hour and {prod_minutes} minutes of Production Management Time for {$t_user} on the {$service}"); | |
} |
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
$this->app->bind('FooBar', function($app) | |
{ | |
return new FooBar($app['SomethingElse']); | |
}); |
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
Table Employee Table Department | |
id, name department id, alias | |
1, Anh Hoang 1 1, Accounts | |
2, Anh Hoang 1 | |
3, Dean Clarke |