Author Archives: admin - Page 2

JS includes with AngularJS

http://blog.carbonfive.com/2014/05/05/roll-your-own-asset-pipeline-with-gulp/

Laravel 5 + AngularJS csrf token rename

It appears that laravel 5 no longer users the token name csrf_token, this has been abbreviated to _token.

Laravel 5 – Environment gotcha

Out of the box, laravel 5 is set to production environment.

If you use homestead for your development, you are going to have a lot of headache unless you set the environment to local.

The documentation is not clear on how to do this.

In the root folder, create a file within bootstrap/

environment.php

This is the correct way to set your environment to local, and will allow you to process your migrations as you would expect them.

The VDI is still in use. Control Domain

Find the offending VDI

xe vdi-list

Find the VBD

xe vbd-list vdi-uuid=

unplug the vbd

xe vbd-unplug uuid=

destroy the VBD

xe vbd-destroy uuid=

 

 

chnage ipsec site-to-site peer address

VMWare install MLX drives

remove existing mlx drivers

esxcli software vib remove -n net-mlx4-en
esxcli software vib remove -n net-mlx4-core

install new ones.
esxcli software vib install -d /path/to/zip/file

set memory dom0

/opt/xensource/libexec/xen-cmdline –set-xen dom0_mem=4096M,max:4096M

Rename ZPOOL

# zpool export tank

Then, import using desired name:

# zpool import tank tank2

Import tank / lun’s

zpool import -f tank

sbdadm import-lu /dev/zvol/rdsk/[Volumename]/[sharename]

That will import your lun. Then run:

sbdadm list-lu

This will list your luns. The number you will need is the GUID so copy it and get ready to paste.
Run this command:

write cache enable ZFS COMSTAR

stmfadm modify-lu -p wcd=false LU