
HAH ( HAH Ain’t HAML ) is a HAML-like template language specifically for PHP with some added features and a focus on development speed. This is my first official beta release of this engine. You can check out examples, documentation and download it at http://hah.bluelinecity.com/.
Its goal is to make HTML/XML authoring in a PHP Template environment as simple and painless as possible.
No Comments »
If you have very little cash flow and your place sorta resembles a clean room in a secret government lab, then this might be exactly what you need. With very little investment you can create some neat, super cheap pieces to hang on your walls.
I’ve been playing with some interesting Minecraft challenges and came up with this fun little diddy. No land anywhere. Once you die you respawn over the void and become stuck in an infinite loop of death. You have the absolute bare minimum. Yet you have just enough to create plenty. Every block placement must be planned. Every block preserved. And you’re racing against hunger.
Simply unzip into your Minecraft saves folder and start Minecraft.
No Comments »
Finally got the site back up after a nasty battle with some malware and an out-of-date wordpress installation.
No Comments »I just posted a section for Minno, a super small PHP CMS that started out as just a silly experiment.
Later I realized I actually had a need for a simple CMS that didn’t require a database, had a web editing interface and gave complete control over raw HTML/CSS/JS code. I plugged some holes in the original code and added some extra abilities to it.
I’m releasing it under the MIT license so people can do whatever with it.
No Comments »Finally got around to updating my WordPress installation.
I’ve also have had time to start working on some past projects that are laying around. One of my most recent projects is a php CMS that’s less than 4kB. It started out as just a silly self-satisfying POC but It turned out I actually had a need for it.
I also discovered an interesting paradigm in programming called HAXE. It’s a platform that lets you deploy apps to different platforms and easily trade data structures from one language to another. I have a project picked out that I’d like to try with Haxe and see how practical it really is.
No Comments »Just noticed I haven’t posted anything since November last year so here’s a quick and dirty way to dynamically include other jscript files in Windows. Include the following function at the top of your jscript file.
function uate(s){return WScript.CreateObject("Scripting.FileSystemObject").OpenTextFile(s).ReadAll();}
To inlcude jscript files call eval() along with uate().
eval(uate("someotherfile.js"));
No Comments » I’ve always been really bugged that Excel and OpenOffice Calc both don’t have an easy way to filter out unique values in columns. Sure I can do an auto-filter to see the unique values but that’s useless when I want to actually have a list of unique items.
So today I said enough is enough. I created a Runny command to take data from Excel / Calc ( that has been copied into the clipboard ) and filter out all the unique rows and place the results back into the clipboard. Here’s the command to create “unique” in runny.
new script unique if((t=Runny.getClipboard(0))){u={};r=[];t=t.split(/(\r\n)|\n|\r/g);for(c=0;c<t.length;c++)u[t[c]]=1;for(k in u)r.push(k);Runny.putClipboard(r.join('\r\n'));}
Now all I have to do is copy my excel data, run “unique” then paste the data back into excel where i need it.
Enjoy!
No Comments »A new version of Runny works in Windows 7 and has some new nifty features.
I cleaned up command creation so there’s no need to prepend scripts and macros with a protocol-like keyword. Now to create a macro you can simply type:
new macro [macroname] [commands]
The same goes for script. Making “macro” and “script” sub-commands of new seemed like the most natural way to think of it.
I also added cascading parameters so a command can fall back on multiple forms of input when one doesn’t exist. For example:
new g http://www.google.com/search?q={$0|clip|prompt}
This will first look for a additional parameters after typing “g” and if none are found will check the clipboard for text data before straight out prompting for a search term. Using the pipe “|” you can string together these keywords in any order.
Lastly I added a special cliptext command ” {SLEEP n}” to pause the sending of keys for a set amount of milliseconds.
On the list so far for 0.4 is multi-tweeting, regular expression search & replacing, simple reminders & timers and extra help/command reference screens.
No Comments »