Upgrading from MySQL 5.5 to MySQL 5.6 on Ubuntu 14.04

Published on

Make a backup of the data in your existing database. mysqldump –lock-all-tables -u root -p –all-databases > dump.sql Update, upgrade and install MySql 5.6. sudo apt-get update sudo apt-get upgrade sudo apt-get install mysql-server-5.6 If you get a message like the following: The following packages have unmet dependencies: mysql-server-5.6 : Depends: mysql-client-5.6 (>= 5.6.31-0ubuntu0.14.04.2) but … Continue reading Upgrading from MySQL 5.5 to MySQL 5.6 on Ubuntu 14.04

Creating a Laravel 5 Package

Published on

For this example we will use the vendor craigzearfoss and the package bullets. In your project folder create the package folder packages/VENDOR_NAME/PACKAGE_NAME. Inside of the package folder create a directory named src. Use artisan to create a service provider. php artisan make:provider BulletsServiceProvider The service provider will be in the app/Providers directory. Move it to … Continue reading Creating a Laravel 5 Package

vi Cheat Sheet

Published on

Modes vi has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC] returns the editor to command mode (where you can quit, for example by typing :q!). Most commands execute … Continue reading vi Cheat Sheet

Useful Firefox Add-Ons

Published on

Recommended Firebug Essential developer tool Live HTTP Headers View HTTP headers of a page and while browsing. PageSpeed No longer available on Firefox. Chrome only. User Agent Switcher Adds a menu and a toolbar button to switch the user agent of a browser. User-Agent JS Fixer Extends the functionality of other User-Agent addons, allowing them … Continue reading Useful Firefox Add-Ons