Projects


language
October 19, 2006: 12:48 pm: LokkjuProjects

This is a modification of the standard UltraVNC SC server, that allows the helpdesk.txt to be embeded inside the executable itself, and so gets rid of the need for the 7zip self extracting wrapper. I’ve also added support for a RANDOMCODEWITHPREFIX setting, which will generate a random 4 digit number, and then prefix it with a static code set in the helpdesk file.

To use, all you need to do is get a copy of my modified binary (winvnc_sc_sa.exe), then download the php script used to embed the helpdesk.txt file (apply_helpdesk.php.txt)

run the script using a cli php, providing it with the binary to modify, and the helpdesk.txt file.

Also, you can use this script multiple times on the same file – it will just overwrite the settings area with the new data each time.

Once you have embeded the file, you can use upx to compress the file even smaller (from 260kb to ~120kb).

source is available, as usual, through SVN here

Some ideas I am considering:

  • Having a timer in the tooltip showing how long you have been connected
  • reporting that back to a server somehow
  • allowing embeded logos and icons
  • any other ideas suggested to me…

marketing
September 28, 2006: 12:31 pm: LokkjuProjects, cakephp

I’ve managed to put together a Lighttpd+PHP+CakePHP environment neutral package for windows.

It is actually very simple, my package has a control script, a couple batch files, and some template configuration files. When you start Pocky, it will look in the “sites” directory for cakephp directories (each directory in the sites directory should contain a complete cakephp package), and ask you to choose which one to run. You pick the correct one, and it will take the template config files, spit them out into the lighttpd and php directories with the correct absolute paths for where the files currently are, and then start lighttpd.

You can unzip it anywhere, and run – it does not affect your current windows environment, and is entirely self-contained. (I specifically use it for running my dev environment from a usb stick, since the usb stick never has the same drive letter, and I needed something that didn’t care if it was in a specific directory).
I would love some of the people who need something like CupCake, but for windows, to try it out and give me feedback.

There are two packages, the basic and the complete.

Basic is just the control scripts and directory structure, you have to drop the Lighttpd and PHP binaries into the lighttpd and php subfolders, respectively (see the README.TXT in the requirements folder).

Complete has everything basic has, but already has the lighttpd and php binaries in the right folders, and is 100% ready to run. Complete currently uses Kevin Worthington’s Lighttpd 1.4.11 binaries, and the binary zip package of PHP 5.1.6

Have fun, and comments are always welcome

search
content
July 6, 2006: 11:03 pmprivacy: LokkjuJavascript, Projects, Widgets

Screenshot

This is a very alpha release of a new widget I have been trying to get out for a while now.

Download Link: myBalance_0.01_Alpha.wdgt.zip

This widget will periodically check a bank account you have configured it for, and display the current balance. In this release, only US Bank is supported, however the code for Washington Mutual and for Wells Fargo is complete, just not included. You can configure the title of the widget, to reflect the account, and if you have multiple accounts, you specify the last 4 numbers of the account you want to monitor. The background changes color based on the amount in your account *grin*.

All communications are done directly with the banks, through HTTPS in javascript – none of your information ever goes anywhere else.

Issues that will be resolved in future releases:

  • More banks
  • Better error handling
  • Some sort of automatic update feature
  • Storage of access credentials within Keychain

Have fun!

As a side note, part of the reason for my lack of updates lately is that my development speed has been drastically hindered – my only Mac decided to bust both hinges (Powerbook Titanium 550Mhz) – so I am having to develop with it plugged into an external keyboard, mouse, and monitor – not the most conducive to relaxing and programming… but the new GMaps WILL be coming.

store
June 18, 2006: 12:02 pm
address
: Lokkju
Projects

As the title says, this is just a quick update to let people know that the dnsEditor SVN repo now includes a docs directory that has a schema.sql file, with the DB schema I use, and a named.conf.local. Any improvements to wither are welcome of course, just as any improvements to the base code are welcome.

language
May 31, 2006: 10:51 am: LokkjuProjects

I’ve released the source for SQL_CLI under the GPL. SQL_CLI is a simple program that allows you to run a set of SQL commands against a given DSN (or DSN-less connection string) using either OLE or ODBC.

It is written in C#, and the code should be easy enough for someone to understand.

It takes three arguments:

  • [ole|odbc] – The type of connection to make
  • [DSN] – The name of a DSN, or else a DSN-less connection string
  • [filename] – A SQL command file – essentially, a file with one SQL command per line

Hopefully some of you should find this useful – I use it for mass imports of data into all sorts of databases.

Source is here:
https://svn.lokkju.com/svn/SQL_CLI/trunk/

marketing
May 30, 2006: 3:40 pm: LokkjuJavascript, Projects

The source code for the dnsEditor:Ajaxified is now available. you can get it anonymously at:

https://svn.lokkju.com/svn/dnsEditor/trunk

Yes, it is ugly, but it *does* work.
All of the code is released under GPL, and other licenses are open to negotiation.
I will be commenting more code and cleaning it up as time goes by, and patches are always welcome – if you really want to help, I can also give you subversion access.

And donations are always welcome as well (see that little button on the side? it is there for a purpose…) *grin*.

Have fun…

search
content
April 28, 2006: 2:34 pmprivacy: LokkjuGoogle Maps, Javascript, Projects, Widgets

Just a quick note, I have started back in on the gmaps widget, using the GMap2 structure, and basing it on the API code to prevent future breakage.

Hopefully it should be released in a couple weeks!

store
April 13, 2006: 9:28 pm
address
: Lokkju
Projects

I needed a lits of all the asterisk functions, in a html list format, so I whipped up this:

CODE:
  1.  
  2. sudo -u www-data asterisk -rx 'show functions'|grep \(|awk '{print $1}'|while read line; do sudo -u www-data asterisk -r -n -q -x 'show function '$line''|perl -0777 -ne "\$f = \$_;\$f = s/\033\[(?:\d+(?:;\d+)*)*m//go;if (/function\s'(.*?)'.*?\[Syntax\]\n(.*?)\n.*?\[Synopsis\]\n(.*?)\n.*?\[Description\]\n(.*?)\n/sg) {print '<li>' . \$1 . '<span class="informal"><span class="syntax">' . \$2 . '</span><span class="synopsis">' . \$3 . '</span><span class="description">' . \$4 . '</span></span></li>' . \"\\n\";}" ; done
  3.  

and for all applications, xml format:

CODE:
  1. sudo -u www-data asterisk -rx 'show applications'|grep :| awk -F : '{gsub( /^ +| +$/, "", $1 ) ; print $1}'|sort|while read line; do sudo -u www-data asterisk -r -n -q -x 'show application '$line''|perl -0777 -ne "\$f = \$_;\$f = s/\033\[(?:\d+(?:;\d+)*)*m//go;\$f = s/\</&lt;/go;\$f = s/\>/&gt;/go;if (/application\s'(.*?)'.*?\[Synopsis\]\n(.*?)\n.*?\[Description\]\n(.*?)\n(.*?)\n\n/sg) {print '<application><name>' . \$1 . '</name><synopsis>' . \$2 . '</synopsis><usage>' . \$3 . '</usage><description>' . \$4 . '</description></application>' . \"\\n\";}"  ; done

Obviously, replace the www-data username with your asterisk username. Also, if you want to change the output details, just change the last bit, where perl outputs the results of the regex.

Have fun.

language
March 27, 2006: 7:16 pm: LokkjuProjects

Check out the new project at GMPrice.com

Well, I'm still doing more work on the GMaps Widget (I wish they would stop changing their code), and on the dnsEditor, but in the meantime I have a some project I recently put into alpha phase.

Please, don't pass this new service around too much - still in very alpha, and I would prefer to keep it light on the bandwidth.

At any rate, GMPrice (Grey Market Price) is a simple little tool for finding the average sold price of an item on ebay - this is very specifically just a "search proxy" - you type the query, it does the search, calculates some results, and returns them to you.

Next steps:

  • Right now it only looks at sold items with at least one bid - soon it will count "buy it now" sold items as well.
  • It will also eventually display a sold/unsold ratio

Oh yeah, I do need a logo for the Grey Market Price project, so... ideas/submissions are welcome

marketing
February 8, 2006: 8:13 pm: LokkjuJavascript, Projects

UPDATE:Source is now available!

So I finally found some more time to work on the dnsEditor interface - and I think I've done most of what was needed for now.
Demo: http://www.lokkju.com/projects/dnsEditor2/dnsEditor.php

Screenshot:
dnsEditor2: Ajaxified

Fixes/Additions:

  • Replaced all the +/- links to add/delete items with image buttons
  • Implemented Add/Delete Zones
  • Added a Refresh Zone List button
  • Added a hover tip box
  • Implemented multi-server update (through mysql) of modified records. (disabled in demo)
  • Automatically update the SOA serial with epoch time on changes

Still to possibly do:

  • Add TXT (and perhaps CNAME) abilities, this is actually very quick to do.
  • Add SPF generator to TXT records editor.
  • Add as you edit help - for instance, describe what the rules are for the feild you are currently in.
  • Add a verification function, to verify either a specific zone, or all zones in your DB, and generate a report (similar to dnsreports.com).
  • Add authentication, on a per zone, and possibly fine grained control of which records in a zone are allowed to be updated. Would most likely require seperate permissions table.
  • Add a database abstration layer for both different RDBMS and different table layout - I would love some suggestions on this. (MAJOR)

More suggestions are always welcome.

Original Post Here

search

« Previous PageNext Page »

content
Make payments with PayPal - it's fast, free and secure!

store