Skip to content

Instantly share code, notes, and snippets.

David Neal davidsneal

Block or report user

Report or block davidsneal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
davidsneal /
Last active Sep 20, 2016
Bash script for updating a laravel project - Run using ./
cd /project/root
git pull
composer install
php artisan migrate
gulp --production
chown www-data:www-data storage/ bootstrap/cache -R
php artisan queue:restart
View .editorconfig
root = true
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
View gist:d578d6f9ae023f04039e

The Laracasts PHPStorm theme - modified.

This is a slightly modified version of the great Laracasts PHPStorm theme. I've added some styles for Verions Control (add, modified, deleted line...) and fixed some missing things like warnings.



Mac: Add to ~/Library/Preferences/WebIde80/colors

View gist:2ff58d4df8480ce18c5c
<script src=""></script>
jQuery(document).ready(function($) {
jQuery('#share-buttons a').on('click', function(){
var width = 575,
height = 520,
left = (jQuery(window).width() - width) / 2,
top = (jQuery(window).height() - height) / 2,
opts = 'status=1' +
',width=' + width +
View html-share-buttons.html
<!-- I got these buttons from -->
<div id="share-buttons">
<!-- Buffer -->
<a href=";text=Simple Share Buttons" target="_blank">
<img src="" alt="Buffer" />
<!-- Digg -->
<a href="" target="_blank">
View share-buttons.css
<style type="text/css">
#share-buttons img {
width: 35px;
padding: 5px;
border: 0;
box-shadow: 0;
display: inline;
You can’t perform that action at this time.