Jun
15
Google Web Toolkit (GWT) Creating a hyperlink for a button
Filed Under Developers, Google Web Toolkit | 2 Comments
Should be simpler, but GWT requires you to do an onclick event for the buttons. Then you can use the Javascript Window location to go to the new URL.
Toolbar toolbar = new Toolbar();
ToolbarButton button = new ToolbarButton(”Click to New URL”, new ButtonListenerAdapter()
[...]
Apr
29
This example will guide you through a simple IP based load balancing solution that handles ssl traffic.
The Configuration =
Load Balancer: // will be our haproxy server
Web Server 1: // web application server 1
Web Server 2: // web application server 2
Admin Panel Port 8080: // Statistics Panel [...]
Apr
28
Syntax Highlighter and Code Colorizer for Mediawiki
Filed Under Developers, mediawiki, plugin | Leave a Comment
I’ve created a new extension for mediawiki to color code / syntax highlight using SyntaxHighlighter.
Uses the latest 2.0 SyntaxHighlighter by Alex Gorbatchev. It supports Bash/shell, C#, C++, CSS, Delphi, Diff, Groovy, JavaScript, Java, Perl, PHP, Plain Text, Python, Ruby, Scala, SQL, Visual Basic and XML!
Read More and Download : http://www.lastengine.com/syntax-highlighter-code-colorizer-mediawiki/
Media Wiki Extension Home Page: http://www.mediawiki.org/wiki/Extension:SyntaxHighlighterAndCodeColorizer
Example:
public [...]
Apr
27
Syntax Highlighter and Code Prettifier Plugin for Wordpress
Filed Under Developers, Wordpress, plugin | 1 Comment
I’ve created a wordpress plugin to highlight syntax using the latest 2.0 SyntaxHighlighter by Alex Gorbatchev. It supports Bash/shell, C#, C++, CSS, Delphi, Diff, Groovy, JavaScript, Java, Perl, PHP, Plain Text, Python, Ruby, Scala, SQL, Visual Basic and XML!
You can Do things like this:
Easily highlight syntax!
Get more information about SyntaxHiglighter.
See More about the Syntax Higlighter [...]
Apr
23
Google Maps Error: is null or not an object
Filed Under Developers | 4 Comments
If you get one of the following in IE or Firefox:
a is null or not an object
oa is null or not an object
‘J’ is null or not an object
The error is exactly what it says – you are probably adding or removing a null overlay.
The Fix for this is to do an [...]
Apr
14
Overview:
Do an SVN hotcopy so you get all your stuff
tar up the entire directory
split and bzip the files using p7zip so they can fit on hosted drives ( 2 Gb files )
copy them to S3 or any online service
Commands:
/usr/bin/svnadmin hotcopy /path/to/svn/repository /path/to/destination
tar cvf /path/to/backup/svnbackup-`date +%Y-%m-%d`.tar /path/to/destination/*
/usr/local/bin/7z a -tbzip2 -v2g svnbackup-`date +%Y-%m-%d`.tar.bz2 /path/to/backup/svnbackup-`date +%Y-%m-%d`.tar
Copy them over [...]
Apr
14
my mac pro
Filed Under Developers | 1 Comment
I have been the happy user of this Mac Pro for the last month.
Without any hesitation, this thing has been churning through some serious lines of codes and application servers running in debug mode.
Sep
26
SugarCRM 5.1 has some pretty ridiculous documentation. So for those of you interested in adding a contact via the soap api, look at the code sample.
Prerequisites
1) NuSoap Libraries: http://sourceforge.net/projects/nusoap/
Sample Code
<?php
// add nusoap library
require_once(’lib/nusoap.php’);
// create a soap client
$client = new [...]
Sep
17
I own an iPhone and I am pretty happy with it, but something is starting to change about how I perceive Apple; It reminds me of Microsoft a few years back. I was happy with Dos, Windows 95 and Windows XP too. There was a time when Microsoft was great, they had the best gaming, [...]
Jul
1
Telecom Services for Developers
Filed Under Cloud Telephony, Developers, Voice 2.0 | Leave a Comment
Callfires’ core services are Voice Broadcast, Virtual Call Center and VoiceXML.
I’ve been working on the API documentation for many of the services but here are a few that can be usefull: Click-To-Call API, Dialer API, Phone call API, Telephone API, Call center API and Voice broadcast API.
