Skip to content

Instantly share code, notes, and snippets.

View Waicung's full-sized avatar

willbbetter Waicung

View GitHub Profile
@alekpopovic
alekpopovic / gist:ce3635c7e29596e6f65154b1785e5ef9
Created September 24, 2016 21:05
Installing Laravel 5.2 on Ubuntu 16.04 and Apache2
Installing Laravel 5.2 on Ubuntu 16.04 and Apache2
This post will document how I installed Laravel 5.2, on Apache2 on an Ubuntu 16.04 server. Will will also install MySQL, as we will need a database, and PHP which is required by Laravel. This will be the starting point of most of my posts, so if you’re following along from scratch…this is “scratch!”
First thing you need, of course, is the Ubuntu 16.04 server, with an SSH connection. Follow these excellent instructions and get yourself sorted out with one. Make sure you also give the server a static IP address (step 8., in the linked instructions). Come back when you’re done.
Welcome back! Lets get started.
@iMazed
iMazed / contactform7-form.php
Created February 27, 2015 09:11
Great for when you want to use FontAwesome in a submit button in Contact Form 7
//add instead of [submit] in Contact Form 7
<button type="submit" class="btn btn-large btn-primary"><i class="fa fa-bed"></i></button>
<img class="ajax-loader" src="http://www.yoursite.com/wp-content/plugins/contact-form-7/images/ajax-loader.gif" alt="Sending ..." style="visibility: hidden; opacity: 1;">