Archive for the ‘Opensource’ Category

Sonuku Coda Theme

Wednesday, January 6th, 2010

This is tightly based off the Monokai theme, just with some slight tone changes to make it pretty to my eye. Anyone thats used textmate monokai, or e-texteditor monokai, you prettymuch dont want to ever code in another colour set again.

I could crap on a bit about the colour scheme, or just show it to you.

coda_sonuku

Currently supports AS, CSS, HTML, JAVA, JAVASCRIPT, PERL, PHP-HTML, SQL, XML
I didn’t bother with the other stuff, cause hey, I never use it ^_^, make your own! You got a good colour base to go off.

screen_cssscreen_htmlscreen_php

So
Download them, install them, love them.

Background Color: #222222
Text Color: #ffffff
Invisible Character Color: #7f7f7f
REMEMBER! Use ‘Inverted Colours’!

Download Sonuku_Coda_1.6.8
4kb zip of zipperness. Updated 19th Jan 2010.

Thanks to Monokai, ur rad.
If you’re forced to work on a mac, at least make it comfortable.

Codeigniter LiveDocx

Tuesday, April 14th, 2009

Using Nusoap, I’ve put together a simple example of how to convert a word docx to txt in codeigniter php. I’ve left error checking out etc just to keep it simple. Its once again one of those “You build on it for you own usage” snippets.

This function converts to txt then just adds a simple <p> wrapper around paragraphs. I put this into a custom file manager for TinyMCE, and it allows clean embedding of a word document to the editor.

And you can grab the Codeigniter Nusoap library from here: nusoap-codeigniter
And a zipped clean version of the PHP snippet above from here: mswordfunction

Hopefully this helps people.
Check out http://www.livedocx.com/ for information on grabbing a free user account, and to read the API.

jQuery/PHP Form Builder Sourcecode

Saturday, April 11th, 2009

Got a few queries from people wanting to grab the code for the form builder, so thought I’d share it around. Its crudely stripped out of the admin system I’m working on, but its a good stepping stone to make it better.

Screenshot

This needs an update, will work on it over the weekend. Fixed some issues with dragging and the wysiwyg editor, also cleaned up the styles.

UPDATED 9 June 2009.

  • Fixed Stylesheet
  • Fixed TinyMCE issues.
  • Cleaned up DOM Objects.

DEMO

DOWNLOAD

As all the things I share, this comes with limited support, as is, and might require you to fix things yourself with your own mental abilities. This is a stripped Controller from a custom admin system I’m working on. To put it back into a controller, just edit formbuilder.php and wrap in a CodeIgniter controller extend.

Work in progress

Tuesday, February 3rd, 2009

Just a work in progress.

Currently working for:

  • User ACL
  • Group Rights
  • Form Builder
  • User profiles
  • Multisite use
  • jQuery 1.3.1
  • Taxonomy
  • Etc etc etc…

PHP

This is kind of a side project at the moment, getting to work on it in spare time.