bluelinecity.com

4kB CMS – Minno

August 31st, 2010

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.

WP Update

August 29th, 2010

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.

Quick and dirty runtime ‘include’ function for windows scripting (jscript)

January 17th, 2010

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"));

Where’s UNIQUE in spreadsheet programs?

November 5th, 2009

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!

Runny 0.3 Released

November 3rd, 2009

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.

Cheatsheets for everything!

October 20th, 2009
cheatsheetheap.com

cheatsheetheap.com

Another exciting development from the basement at PivotLabs! Cheatsheets, cheatsheets, cheatsheets. Boy I love cheatsheets. Now I can finally free up my brain and flush out all my rote learning!

One thing that has bugged me are that cheatsheets are commonly created with no easy way to update them and redistribute them. Most authors keep the source files and release only a fixed bitmap or postscript file along with a restrictive license. I wanted to change this.

Cheatsheetheap.com is a project I started to provide a central place to share and encourage user edits to cheatsheets. It’s a repository of cheatsheets built using open source tools such as Gimp, Inkscape and Open Office.

Runny Update Already!?

October 1st, 2009

How cool would it be to call multiple custom runny commands with just one command? Cool enough to warrant an update to Runny that’s for sure!

Runny 0.2 adds a new custom command type “macro” that lets you string together multiple runny commands with or without parameters into one single command. Why you could even string together macros! And then string those to macros and on and on ad infinitum!

Check out the new download at the labs site… http://pivotlabs.com/opensource/runny

Runny – Smallest Footprint Launcher Ever!

September 17th, 2009

Runny is a project of mine which is similar to the quick launch command programs such as Launchy and Gnome Do but uses the built in capabilities of windows instead of running background processes.

For about six years now I’ve used a kind of poor-man’s unix by running commands straight from my Window’s Run box. I would make shortcuts to commonly used programs rename them to something small and simple and put them into a directory that’s referenced in my environment PATH. It worked really well and I never really thought much about it.

It wasn’t until Launchy and Gnome Do (both are amazing) and others started getting big that I thought this might be a “thing”. So I cleaned up my scripts, added supporting functions for clipboard management, twitter posting and text clips and packaged them into an easy installer.

It’s definitely limited but gives complete control over what the commands are and what they do and can even be run side-by-side with other launchers.

Check it out at my labs site!

112 is Official!

June 11th, 2009

Element 112 is being added to the Periodic Chart. Awesome! Now lets get to work on that “Island of Stability” guys!

Trailer for the new Team Ico game

May 21st, 2009

Being a relatively new fan to Ico and Shadow of the Colossus, I’m happy to find a trailer for their newest game. It looks interesting but I’m not sure about the whole Falcor thing. Chances are I’ll still buy it and love it though.