Skip to content

Instantly share code, notes, and snippets.

Avatar

Logan Lindquist llbbl

View GitHub Profile
@llbbl
llbbl / readme.md
Created Jan 13, 2012
AustinPHP - Learning PHP Resources For Beginners
View readme.md

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

View gist:2254050
<style type="text/css">
.warn {
color: #9f6000;
background-colorL #FEEFB3;
}
</style>
<table>
<tr>
<td><div class="warn">Warning condition</div></td>
View BreakingIntoWebDev.markdown

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 Jun 25, 2013
puppet-vagrantfile
View 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
View latency.txt
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 Dec 20, 2015
Tools of the Trade
View tools-of-the-trade.md

Version Control

  • GIT
  • SVN

Editors

  • PHPStorm
  • Zend Studio
  • Sublime
  • VIM
  • NotePad++
View .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
View array_splice.php
<?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 Dec 19, 2020 — forked from ziadoz/awesome-php.md
Awesome PHP Libraries and Resources
View awesome-php.md

Awesome PHP

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

Categories

  • Composer
  • Composer Related
  • Frameworks
  • Micro Frameworks
You can’t perform that action at this time.