Joined August 2012
·
Posted to
One line browser notepad
over 1 year
ago
@jasecoop I actually use http://a5.gg/ every day for taking quick notes and keeping track of my timesheet. Thanks!
Posted to
PHP count() is very slow.
over 1 year
ago
This site http://m.metamorphosite.com/php-benchmarks-loops-arrays would suggest that foreach loops are actually very fast most of the time. However, I think they naturally take up more memory when you're using them. But using references can fix that:
foreach($myarray as &$ref){ ... }
Posted to
Getting weather via your command line
over 1 year
ago
@bashir Very cool, didn't know wunderground had a telnet server setup.
Achievements
891 Karma
205,478 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Forked
Have a project valued enough to be forked by someone else
Cub
Have at least one original jQuery or Prototype open source repo
Nephila Komaci
Have at least one original repos where PHP is the dominant language
We have adopted BEM where I work, and it's pretty nice: http://coding.smashingmagazine.com/2012/04/16/a-new-front-end-methodology-bem/