Skip to content

Instantly share code, notes, and snippets.

View llbbl's full-sized avatar

Logan Lindquist llbbl

View GitHub Profile
@llbbl
llbbl / copy_db.sh
Last active August 29, 2015 14:19 — forked from CatEntangler/copy_db.sh
#!/bin/bash
# Simple script to copy a MySQL to another
# Parent backup directory
backup_parent_dir="/path/to/tmp/backup/dir" #notice no ending slash
# MySQL settings
mysql_user="elevateduser"
mysql_password="elevateduserpassword"
@llbbl
llbbl / remove_footer_genesis.php
Created May 10, 2015 22:14
remove footer from genesis child theme
@llbbl
llbbl / update.sh
Created June 30, 2015 02:55
update all the things
#!/bin/sh
echo 'updating composer'
composer selfupdate
echo 'updating home brew'
brew update
hello world
@llbbl
llbbl / readme.md
Created January 13, 2012 04:04
AustinPHP - Learning PHP Resources For Beginners

LEARNING PHP FOR BEGINNERS

Josh Butts, one of the organizers of the Austin PHP Meetup teaches classes on PHP. Here is the git repository to his code for his beginning PHP course.

https://github.com/jimbojsb/beginning-php

@llbbl
llbbl / gist:2254050
Created March 30, 2012 18:59
mike_html
<style type="text/css">
.warn {
color: #9f6000;
background-colorL #FEEFB3;
}
</style>
<table>
<tr>
<td><div class="warn">Warning condition</div></td>

Breaking into Web Development

I work as an analyst contractor, these days my roles are often a mixture of development and management. I have been asked by a countless number of people what they need to do to get the jobs I’m offered – and it’s simpler than most expect. The market for talented developers in the United Kingdom (and in many talent-lite communities around the world) is such that anyone who merely knows what they are doing has a very good chance of getting a job. Even a job contracting (which ordinarily has senior-level requirements).

To become a web developer with a good salary and employment expectations you need skills. Below I’ll provide a plan to get you towards the top of the largest market: PHP Web Development. Advanced knowledge of everything on this list would immediately make you one of the best, so just strive to have an exposure if not a comprehensive understanding (though the *starred points are essential).

When you have completed projects, you can upload them to github (or anot

https://www.evernote.com/l/AAoEOtFGgThO94zN6ia6mpGHd_0fxzhrwtk
@llbbl
llbbl / compare.sh
Created November 26, 2015 18:39
Compare two files and if they are different overwrite the second one with the first one.
#!/bin/bash
filePath1="$1"
filePath2="$2"
if cmp -s "$1" "$2"
then
echo "match"
else
echo "different"
@llbbl
llbbl / Vagrantfile
Created June 25, 2013 22:02
puppet-vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end