Skip to content

Instantly share code, notes, and snippets.

View llbbl's full-sized avatar

Logan Lindquist llbbl

View GitHub Profile
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

@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
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms
@llbbl
llbbl / tools-of-the-trade.md
Last active December 20, 2015 20:18
Tools of the Trade

Version Control

  • GIT
  • SVN

Editors

  • PHPStorm
  • Zend Studio
  • Sublime
  • VIM
  • NotePad++
@llbbl
llbbl / .screenrc
Created August 15, 2013 06:43
.screenrc
caption always '%{= kG}[ %{G}%H::%t %{g}][%= %{= kw}%?%-Lw%?%{r} (%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
autodetach on # Autodetach session on hangup instead of terminating screen completely
vbell off
term xterm-color
bind = resize =
bind + resize +1
bind - resize -5
<?php
function array_splice_preserve ($input, $offset, $length, $replacement) {
$keys = array_keys($input);
$values = array_values($input);
array_splice($keys, $offset, $length, array_keys($replacement));
array_splice($values, $offset, $length, array_values($replacement));
return array_combine($keys, $values);
};
@llbbl
llbbl / awesome-php.md
Last active April 5, 2024 09:51 — forked from ziadoz/awesome-php.md
Awesome PHP Libraries and Resources

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Categories

  • Composer
  • Composer Related
  • Frameworks
  • Micro Frameworks