Posts Tagged ‘PHP’

Proxying with PHP in Ubuntu 14.04 (Apache 2.4, PHP 5.4+)

Saturday, January 16th, 2016

I’ve just had to evade a Russian block of one of my employer’s sites, let’s call it CasinoX. Presumably they had blocked both www.casinox.com and www.casinox.com’s IP address (which is a Cloud Flare IP btw).... Read More

Hacking Wordpress The Ugly And Quick Way

Tuesday, August 4th, 2015

Recently I’ve started a little project to see how I can do with IDN affiliate sites where there is a lot less competition than in English.... Read More

Functional HTML Rendering with PHP

Tuesday, August 4th, 2015

When you’re working with a programming language that doesn’t have templating per default and you’re not in the mood - or don’t see the need - for templating your first course of actions is to write something to obviate having to print and concatenate everything.... Read More

Fixing the 1440 problem in phpMyAdmin and getting rid of password for sudo in Ubuntu 14.04

Thursday, May 14th, 2015

Being timed out after 1440 seconds on your local dev machine is extremely annoying, here’s how to remedy that in two simple steps:... Read More

Emacs as a Multi Mode Web Dev IDE is Now Possible

Friday, October 18th, 2013

Through web-mode the possibility of using Emacs as a web dev IDE with full multi mode capabilities a la Aptana Studio or PHPStorm is finally here. But it will take some tweaking to get things perfect so read on…... Read More

Aptana Studio 3 Snippets For The Singleton Pattern

Tuesday, November 6th, 2012

So it seems my old eclipse templates won’t work anymore in Aptana Studio 3.... Read More

Eclipse PDT shortcuts

Monday, October 1st, 2012

First of all Shift + Ctrl + L will show all commands.... Read More

Xmodmap for quick PHP programming in Linux

Tuesday, September 25th, 2012

When I program Clojure and PicoLisp I use Emacs and it’s the way things are done in Emacs which inspired me to looking into making myself more productive doing PHP in Eclipse.... Read More

Mercurial revision history search with PHP

Wednesday, August 8th, 2012

Hgview is a fantastic tool but for some reason the search field refused to come up in my version no matter how much CTRL+F I tried.... Read More

JavaScript Pop-under

Monday, January 23rd, 2012

I recently had to do a pop under with JS and found the below snippet (can’t remember where anymore), I might need it again so I post it here for reference.... Read More