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.
hello world |
<style type="text/css"> | |
.warn { | |
color: #9f6000; | |
background-colorL #FEEFB3; | |
} | |
</style> | |
<table> | |
<tr> | |
<td><div class="warn">Warning condition</div></td> |
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
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 |
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); | |
}; |