I'm loving aptana.
Its preconfigured to do everything I need it to do with html, css, and javascript. Its got an easy installation process for a radrails plugin (ruby on rails IDE).
there are a list of tutorials that they've put together on how to use their IDE
aptana.tv
Let's see about some php support..
somethings from codeland
Sunday, July 08, 2007
Saturday, July 07, 2007
ajax.asp.net videos on asp.net..
Ajax how-to's using the 1.0 release of Ajax.ASP.Net framework..
asp.net
asp.net
Friday, July 06, 2007
ruby on rails
Elegant information on the structure of ruby and rails (the web development framework for the ruby language)
betterexplained.com
betterexplained.com
Saturday, June 30, 2007
a little happier with vista
I have been unable to get all of my data off of the vista install on this laptop I work on, so I've tried to make do temporarily..
I turned off the windows search service in the services manager and I noticed an almost immediate increase in performance. I have a newer dell (a latitude d620) and I'm liking where I'm sitting now.. Might have to get the dvd burner to work, and then we'll be sitting very nice..
The next step is to get eclipse working correctly. I downloaded the callisto distro and loaded up jseclipse. I might just need to figure out how to work with eclipse more, but I am unable to get syntax completion working correctly. (the ctrl + space drop down listings...)
Yes, once this is all done, then I might be a happy man on Vista.
I turned off the windows search service in the services manager and I noticed an almost immediate increase in performance. I have a newer dell (a latitude d620) and I'm liking where I'm sitting now.. Might have to get the dvd burner to work, and then we'll be sitting very nice..
The next step is to get eclipse working correctly. I downloaded the callisto distro and loaded up jseclipse. I might just need to figure out how to work with eclipse more, but I am unable to get syntax completion working correctly. (the ctrl + space drop down listings...)
Yes, once this is all done, then I might be a happy man on Vista.
firebug console commands
command line API
The Firebug command line provides these special functions for your convenience:
$(id)
Returns a single element with the given id.
$$(selector)
Returns an array of elements that match the given CSS selector.
$x(xpath)
Returns an array of elements that match the given XPath expression.
dir(object)
Prints an interactive listing of all properties of the object. This looks identical to the view that you would see in the DOM tab.
dirxml(node)
Prints the XML source tree of an HTML or XML element. This looks identical to the view that you would see in the HTML tab. You can click on any node to inspect it in the HTML tab.
cd(window)
By default, command line expressions are relative to the top-level window of the page. cd() allows you to use the window of a frame in the page instead.
clear()
Clears the console.
inspect(object[, tabName])
Inspects an object in the most suitable tab, or the tab identified by the optional argument tabName.
The available tab names are "html", "css", "script", and "dom".
keys(object)
Returns an array containing the names of all properties of the object.
values(object)
Returns an array containing the values of all properties of the object.
debug(fn)
Adds a breakpoint on the first line of a function.
undebug(fn)
Removes the breakpoint on the first line of a function.
monitor(fn)
Turns on logging for all calls to a function.
unmonitor(fn)
Turns off logging for all calls to a function.
monitorEvents(object[, types])
Turns on logging for all events dispatched to an object. The optional argument types may specify a specific family of events to log. The most commonly used values for types are "mouse" and "key".
The full list of available types includes "composition", "contextmenu", "drag", "focus", "form", "key", "load", "mouse", "mutation", "paint", "scroll", "text", "ui", and "xul".
unmonitorEvents(object[, types])
Turns off logging for all events dispatched to an object.
profile([title])
Turns on the JavaScript profiler. The optional argument title would contain the text to be printed in the header of the profile report.
profileEnd()
Turns off the JavaScript profiler and prints its report.
The Firebug command line provides these special functions for your convenience:
$(id)
Returns a single element with the given id.
$$(selector)
Returns an array of elements that match the given CSS selector.
$x(xpath)
Returns an array of elements that match the given XPath expression.
dir(object)
Prints an interactive listing of all properties of the object. This looks identical to the view that you would see in the DOM tab.
dirxml(node)
Prints the XML source tree of an HTML or XML element. This looks identical to the view that you would see in the HTML tab. You can click on any node to inspect it in the HTML tab.
cd(window)
By default, command line expressions are relative to the top-level window of the page. cd() allows you to use the window of a frame in the page instead.
clear()
Clears the console.
inspect(object[, tabName])
Inspects an object in the most suitable tab, or the tab identified by the optional argument tabName.
The available tab names are "html", "css", "script", and "dom".
keys(object)
Returns an array containing the names of all properties of the object.
values(object)
Returns an array containing the values of all properties of the object.
debug(fn)
Adds a breakpoint on the first line of a function.
undebug(fn)
Removes the breakpoint on the first line of a function.
monitor(fn)
Turns on logging for all calls to a function.
unmonitor(fn)
Turns off logging for all calls to a function.
monitorEvents(object[, types])
Turns on logging for all events dispatched to an object. The optional argument types may specify a specific family of events to log. The most commonly used values for types are "mouse" and "key".
The full list of available types includes "composition", "contextmenu", "drag", "focus", "form", "key", "load", "mouse", "mutation", "paint", "scroll", "text", "ui", and "xul".
unmonitorEvents(object[, types])
Turns off logging for all events dispatched to an object.
profile([title])
Turns on the JavaScript profiler. The optional argument title would contain the text to be printed in the header of the profile report.
profileEnd()
Turns off the JavaScript profiler and prints its report.
Thursday, June 28, 2007
Tuesday, June 26, 2007
silverstrip
SilverStripe has a content management solution and javascript solutions galore..
http://www.silverstripe.com/home/
http://www.silverstripe.com/home/
asp.Net tree control
I need a cross browser solution for a custom tree control. Right now I've found the asp.Net web controls for IE has something, but I am not sure if this will only work in IE or if it actually generates JavaScript. I might have to just start working with some ajax on this one..
msdn ie web controls
JavaScript options:
yahoo treeview - good to base off of a standard
silverstripe - because the demo looks good..
Ext -- Another good framework
download
msdn ie web controls
JavaScript options:
yahoo treeview - good to base off of a standard
silverstripe - because the demo looks good..
Ext -- Another good framework
download
Sunday, June 24, 2007
my next monitor
A Samsung from newegg.com
I just want some more real-estate on my screen for coding..
Great resolution at 1650 x 1050, and with 5ms response times. Oh my..
I just want some more real-estate on my screen for coding..
Great resolution at 1650 x 1050, and with 5ms response times. Oh my..
Wednesday, June 20, 2007
Friday, June 15, 2007
c# browse for folder
Browse for folders using Shell32.dll's BrowseForFolder method in C#
thescarms.com
Update: Didn't realize that FolderBrowserDialog was as easy to use as it turns out to be..
thescarms.com
Update: Didn't realize that FolderBrowserDialog was as easy to use as it turns out to be..
Thursday, June 14, 2007
Virtual KVM: synergy
So no hardware required. I have a monitor with two inputs for signal (the old-school serial, and a dvi)
So basically I can set up the client on my ubuntu linux, and vista (soon to be xp again) laptop.
With this I'll be able to use the big monitor with either machine and not have to clutter the desktop with the laptop being there.. (just set it off to the side hooked up..)
Synergy KVM
I might even go and get another screen, maybe a bigger one or something..
So basically I can set up the client on my ubuntu linux, and vista (soon to be xp again) laptop.
With this I'll be able to use the big monitor with either machine and not have to clutter the desktop with the laptop being there.. (just set it off to the side hooked up..)
Synergy KVM
I might even go and get another screen, maybe a bigger one or something..
Ubuntu scripts for automatic desktop setups
Do all those illegal things, like copy protected dvd's and such..
flb.script.sh
courtesy of xsol
*I do not condone illegal activities. This is strictly for educational purposes..
flb.script.sh
courtesy of xsol
*I do not condone illegal activities. This is strictly for educational purposes..
Wednesday, June 13, 2007
Configuring MySQL remote access
Create the database and then allow a user remote access
mysql> CREATE DATABASE foo;
mysql> GRANT ALL ON foo.* TO bar@'202.54.10.20' IDENTIFIED BY 'PASSWORD';
courtesy of cyberciti
you can use wildcards in the address if you have an ip that is going to change on your accessing clients
so that second line would look a little more like this if you wanted all your machines at home to be able to connect to the mysql server you're configuring
mysql> GRANT ALL ON foo.* TO bar@'192.168.0.%' IDENTIFIED BY 'PASSWORD';
courtesy of yrhostsupport
where % is the wildcard that mysql requires in the address
mysql> CREATE DATABASE foo;
mysql> GRANT ALL ON foo.* TO bar@'202.54.10.20' IDENTIFIED BY 'PASSWORD';
courtesy of cyberciti
you can use wildcards in the address if you have an ip that is going to change on your accessing clients
so that second line would look a little more like this if you wanted all your machines at home to be able to connect to the mysql server you're configuring
mysql> GRANT ALL ON foo.* TO bar@'192.168.0.%' IDENTIFIED BY 'PASSWORD';
courtesy of yrhostsupport
where % is the wildcard that mysql requires in the address
Sunday, June 10, 2007
programming stuff: cheatsheets and such
Any api documentation on an ajax interface. Think visual studio's object browser on the web..
gotapi.com
And my source:
Essential HTML, CSS, Javascript, PHP, and miscellaneous cheatsheets
gotapi.com
And my source:
Essential HTML, CSS, Javascript, PHP, and miscellaneous cheatsheets
Friday, June 08, 2007
Ubuntu MythTV install guide
This should prove interesting. I've tried it a number of times in the past..
This guide is to install the mythtv backend, mythtv frontend, and have a regular ubuntu desktop: exactly what I'm looking for..
This guide is to install the mythtv backend, mythtv frontend, and have a regular ubuntu desktop: exactly what I'm looking for..
Google Talk though Pidgin on Ubuntu
I realized today how much I rely on gTalk to share files and otherwise talk to people at work and my side business. It will be a must if I am to switch operating systems at the house.
Google talk through pidgin
I did also find an open source magazine today through digg. It seems to be kinda neat. full circle magazine
This is one that I found long ago. Google Magazine
Google talk through pidgin
I did also find an open source magazine today through digg. It seems to be kinda neat. full circle magazine
This is one that I found long ago. Google Magazine
Thursday, June 07, 2007
Ubuntu on the nice box at the house revisted (again)
I have always at least tried it out but had to go back to xp for something. I tried out Vista because of the new media center included in Vista Ultimate, but there always seems to be a catch to get it up and running. (its a story in itself, but I buy one card and I end up needing 2 more)
Anyways, so the ubuntu is ideal because this computer is going to be a media center as well as a workstation in my bedroom.
The last excuse for going back to XP was ntfs reading/writing. This now seems to be a little more stable and only takes a few minutes to set up now..
Setup Ubuntu NTFS
Anyways, so the ubuntu is ideal because this computer is going to be a media center as well as a workstation in my bedroom.
The last excuse for going back to XP was ntfs reading/writing. This now seems to be a little more stable and only takes a few minutes to set up now..
Setup Ubuntu NTFS
Tuesday, June 05, 2007
Build your own server: Xubuntu
This article explains the ins and outs of setting up a general purpose server based from Xubuntu. This version of the debian-based Ubuntu, is built to be light-weight, so it can run on those spare parts that have been building up in that room you've been meaning to clean for how long??
This tutorial is more the gui approach to setting everything up using Syntaptic. I still prefer apt-get in the command line, but what do you do.. And without further ado:
Samba Configuration
Remote access on Xubuntu
This tutorial is more the gui approach to setting everything up using Syntaptic. I still prefer apt-get in the command line, but what do you do.. And without further ado:
Samba Configuration
Remote access on Xubuntu
Install SVN with Web Access on Ubuntu
I am configuring an svn server for the company to hold all of our code. I have that test Ubuntu up and running, so I'm going to dedicate that to our svn repository..
Install SVN with Web Access on Ubuntu
Install SVN with Web Access on Ubuntu
Monday, June 04, 2007
Ubuntu and Tomcat 6 server
I'm wanting to play with the java environment now that I've programmed in C# for as long as I have. I think it should be interesting. But I am going to need a test server to run things on once I start getting things going.
Enter the Ubuntu setup guide for Tomcat 6 -- Tomcat 6 and Apache 2 basic setting guide for Feisty
Enter the Ubuntu setup guide for Tomcat 6 -- Tomcat 6 and Apache 2 basic setting guide for Feisty
Friday, June 01, 2007
Ajax Forms
I am working on a generic client side form validation solution. I found some very interesting resources though:
FormAssembly -- tutorials
Dexagogo -- demo
This stuff is looking really good.. (better than what I might have come up with on my own..
FormAssembly -- tutorials
Dexagogo -- demo
This stuff is looking really good.. (better than what I might have come up with on my own..
Tuesday, May 29, 2007
mono = .net for linux
I'm experimenting with Mono, a cross platform alternative that allows to extend the .Net framework onto non-Windows based hosting environments. (in our case, anything that supports Apache and its mod_mono module) I have installed it and am running a custom ASP.Net app that I wrote for a client. It seems to be working smoothly.
There was a little bit of hassle getting it going though. It turns out that ASP.Net 2.0 isn't completely supported, so we had to make sure to run through the beta server of mono-apache-server2.
I'm running through Ubuntu because of its easy debian based architecture for getting everything setup really easily, and it seems to be running like a champ.
Ubuntu Setup
There was a little bit of hassle getting it going though. It turns out that ASP.Net 2.0 isn't completely supported, so we had to make sure to run through the beta server of mono-apache-server2.
I'm running through Ubuntu because of its easy debian based architecture for getting everything setup really easily, and it seems to be running like a champ.
Ubuntu Setup
Thursday, May 24, 2007
A summer photo gallery
I want to mix up these two projects
ZenPhoto - home / example
Hoverbox - home/example
I want to have the ZenPhoto as it is, but on the main category listing, I want the hover feature on mouse over of the image for that category or the title/link of the category.
Should prove interesting..
Update:
This guy got picasa to work with Gallery, an open source gallery system with its own photo upload program.
Gallery & Picasa Integration
ZenPhoto - home / example
Hoverbox - home/example
I want to have the ZenPhoto as it is, but on the main category listing, I want the hover feature on mouse over of the image for that category or the title/link of the category.
Should prove interesting..
Update:
This guy got picasa to work with Gallery, an open source gallery system with its own photo upload program.
Gallery & Picasa Integration
Wednesday, May 16, 2007
new memory for the desktop
I found this cheap memory online, turns out to be $50 cheaper than the nicer name brand memory - partriot, from newegg.com
I'm planning on buying 4gb of ram for the desktop. Sick of screwing with a slow machine.. It's a p4 box running 3.2ghz processor.. So we'll see how this fares up..
http://www.partspc.com/ProductDetails.asp?CatID=584&ProdID=3293
I'm planning on buying 4gb of ram for the desktop. Sick of screwing with a slow machine.. It's a p4 box running 3.2ghz processor.. So we'll see how this fares up..
http://www.partspc.com/ProductDetails.asp?CatID=584&ProdID=3293
Sunday, May 13, 2007
javascript onClick clear Text Area
For easier form usability, I found this article about clearing out a text input so the user does not have to delete the inputs instruction contents in order to submit without the instructions included as part of the submit..
Saturday, May 12, 2007
Thursday, May 10, 2007
Tuesday, May 08, 2007
background images from flickr
This is a good site for getting images of a certain color for background..
http://www.krazydad.com/colrpickr/
http://www.krazydad.com/colrpickr/
create sexy css buttons
sexy css buttons -- some god stuff about sliding doors technique for css buttons..
17 e-commerce site tips
17 tips from seomoz.org
Good contrast in the design on their site and some decent tips for e-commerce site usability..
Good contrast in the design on their site and some decent tips for e-commerce site usability..
Thursday, April 26, 2007
Adobe Flex: Open Source
Flex is an XML based langauge (MXML) that provides an interface to Flash on the presentation tier in the development environment. I have come to terms with Flex being Flash for web coders. It would replace a scripting language like php or jsp.
Sample app: Google Finance
Well it is now open source, providing an sdk and dev environment. I know that adobe has released a plugin for the eclipse ide, JSEcplipse, primarily for javascript coding (supports all the big ajax frameworks) but also includes support for flex constructs.
Should prove to be an interesting summer of coding..
Sample app: Google Finance
Well it is now open source, providing an sdk and dev environment. I know that adobe has released a plugin for the eclipse ide, JSEcplipse, primarily for javascript coding (supports all the big ajax frameworks) but also includes support for flex constructs.
Should prove to be an interesting summer of coding..
Monday, April 23, 2007
html back button: Simple Enough
For some reason its come up on a few projects lately that we need a back button built into the web applications navigation interface. Simple enough..
result:
<input value="Back" name="ClickBack"
onclick="(history.back())" type="button">
result:
Sunday, April 22, 2007
CakePHP
I have been looking to start back into PHP for some projects coming up here in the not so distant future. I would like to find a very comprehensive php framework to base off of but dynamic enough to expand on... Possibly incorporate small benefits from other projects into.. Anyways, I've discovered CakePHP. We'll see how this goes..
I would also like to explore zendframework a little more, as it is supposed to be the best xml framework for api integration with all the big boys out there. (google, yahoo, etc..)
I would also like to explore zendframework a little more, as it is supposed to be the best xml framework for api integration with all the big boys out there. (google, yahoo, etc..)
Wednesday, April 18, 2007
Free Ajax class
Structure of the class resembles an online college course:
http://www.javapassion.com/ajaxcodecamp/
http://www.javapassion.com/ajaxcodecamp/
Advanced syntax highlighting tool
http://dotnetslackers.com/XML/re-12541_Advanced_syntax_highlighting_tool.aspx
Monday, April 16, 2007
Windows 2003 server small business setup
I just finished setting up Windows 2003 Server: Small Business Edition, and its been working great for a few days, and then today I have a box that will auto restart on its own every hour. Apparently those extra 3 discs that came with the setup for 2003 server are not optional in the setup/installation process. You have to finish this off in order to complete the registration process with Microsoft, otherwise you are in violation of the EULA... Fun stuff
http://support.microsoft.com/kb/555087
http://support.microsoft.com/kb/555087
Wednesday, April 11, 2007
Friday, April 06, 2007
c++ boost library
Making a note to check out these libraries for c++ dev work..
http://www.boost.org/
http://www.boost.org/
Saturday, March 31, 2007
file path on upload file objects
It turns out that while firefox correctly passes the name of the file the client is trying to upload, both IE6 and IE7 pass the entire path from the clients machine to the server.
You can easily get the filename by just going through the string, using a loop, in my case a for loop.
First off this is the string that I get back from IE6 & 7:
"C:\\tempDir\\file.temp"
Here's my for loop to only grab the file name itself.
public static string getFileNameFromPath(string path)
{
string fileName= "";
for (int i = 0; i < path.Length; i++)
{
if (path[i] != '\\')
fileName += path[i];
else
fileName = "";
}
return fileName;
}
You can easily get the filename by just going through the string, using a loop, in my case a for loop.
First off this is the string that I get back from IE6 & 7:
"C:\\tempDir\\file.temp"
Here's my for loop to only grab the file name itself.
public static string getFileNameFromPath(string path)
{
string fileName= "";
for (int i = 0; i < path.Length; i++)
{
if (path[i] != '\\')
fileName += path[i];
else
fileName = "";
}
return fileName;
}
Friday, March 30, 2007
Control computer with hand motions
Interact with the desktop by hand motions, much like those on Minority Report (Tom Cruise).
http://thelastboss.com/post.phtml?pk=2531
http://thelastboss.com/post.phtml?pk=2531
Friday, March 23, 2007
ColorPic
ColorPic is an awesome tool to get the hex color of anything on screen, something you've found in the past, and I'm sure there's more.. I'm all about free software too..
How many times have you waited for photoshop to open so you could grab a color? Well no more.. Tiny install, and a small footprint on the screen.. Couldn't be happier, it works with Vista.
ColorPic
How many times have you waited for photoshop to open so you could grab a color? Well no more.. Tiny install, and a small footprint on the screen.. Couldn't be happier, it works with Vista.
ColorPic
Friday, January 05, 2007
Myth TV Revisited
I have all the goods to make this happen. I have tried in the past, but it was going to be far too difficult. Here are my objectives:
I'll be documenting what my difficulties are, and possible remedies (whatever seemed to get it working). The tutorial I will be following is from the ubuntu help forums.
Eventually I want to stream over the internet, as well as to my cell phone.
- Install Ubuntu on this old pc
- get a mythbox up and running with the pc controls
- eventually get extra remotes working (ie, the ati rc remote, and the nintendo wiimote with the available python driver
- Be able to record hdtv signal, through my cable box and over the air
- I believe I'm going to need multiple recievers
- I have a hauppage hd 5500, which up to this point has been a pain to work with (the kernel hadn't yet supported the driver naitivly.
I'll be documenting what my difficulties are, and possible remedies (whatever seemed to get it working). The tutorial I will be following is from the ubuntu help forums.
Eventually I want to stream over the internet, as well as to my cell phone.
Friday, December 15, 2006
Thursday, December 07, 2006
update: the news..
Finishing up the company's website http://appianlogistics.com/. I'm kind of excited about transitioning into the DRTrack C# code. I'm not too sure how challenging its going to be programming web forms. I'm sure there will be something of a learning curve, but its going to be a nice intro into the .Net framework.
- In other news, Ruby on Rails released a new version of their framework to base off of. Rails 1.2
- There's an Ajax Toolkit Framework out for the Eclipse IDE now.. IBM Article
- 5 books every programmer should read
- Cool CSS effect: click for dashboard like lightbox
- a bunch of programming projects
- I recently got interested in tabs with ajax for a project at work.. This should solve the problem of having to scroll to view multiple portions of a page module's logic while still maintaining a level of useability Ajax tabs with biscuit --php based, but works with any implementation using the js includes for the javascript..
- Database-enabled Ajax with PHP-- ajax calls for database pulls
Friday, November 24, 2006
making internet traffic anonymous (bittorrent)
Thursday, November 09, 2006
automatix2 for ubuntu
I'm sick of windows crashing every time I modify my setup on my download box at the house.. Going with ubuntu. Automatix2 is great though.. I haven't seen anything like this for windows, but it really is nice to have..
c sharp and opengl
I've done a few things in c sharp for work, and I have a friend into opengl. I'll probably be getting into opengl just to work with it. Apparently since directx is microsoft's alternative to opengl, there isn't a really straightforward way to do this. I will be researching this and updating..
Wednesday, November 01, 2006
Google Maps .Net control ajax woes
So my first mission is to get some logic that has already been coded, working with Ajax.Net. I have been able to "ajax" the page, breaking the map.
Here's the setup:
I have a google map with three checkboxes all in an updatepanel. Since by default every component in the updatepanel is monitored for auto refresh, I am not setting any triggers.
The problem seems to be that when I click on one of those checkboxes to modify the map output, using the WCPierce google maps API .Net control, the map completely disappears and it requires a manual refresh to bring the map back up. So a postback is required to get the map to show back up. I do not understand why this is happening..
more to follow I'm sure.
Here's the setup:
I have a google map with three checkboxes all in an updatepanel. Since by default every component in the updatepanel is monitored for auto refresh, I am not setting any triggers.
The problem seems to be that when I click on one of those checkboxes to modify the map output, using the WCPierce google maps API .Net control, the map completely disappears and it requires a manual refresh to bring the map back up. So a postback is required to get the map to show back up. I do not understand why this is happening..
more to follow I'm sure.
Friday, October 27, 2006
more on google maps
So I decided to do this instead of making a doc on my google account..
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map
more on google maps
So I decided to do this instead of making a doc on my google account..
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map.
you can add listeners (as demonstrated above) or bind them:
function MyApplication() {
this.counter = 0;
this.map = new GMap2(document.getElementById("map"));
this.map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.bind(this.map, "click", this, this.onMapClick);
}
MyApplication.prototype.onMapClick = function() {
this.counter++;
alert("You have clicked the map " + this.counter + " " +
(this.counter == 1 ?"time" : "times"));
}
var application = new MyApplication();
onMapClick is a method that is bound to the event listener for this particular map (this particular instance of GMap2)
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map.
you can add listeners (as demonstrated above) or bind them:
function MyApplication() {
this.counter = 0;
this.map = new GMap2(document.getElementById("map"));
this.map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.bind(this.map, "click", this, this.onMapClick);
}
MyApplication.prototype.onMapClick = function() {
this.counter++;
alert("You have clicked the map " + this.counter + " " +
(this.counter == 1 ?"time" : "times"));
}
var application = new MyApplication();
onMapClick is a method that is bound to the event listener for this particular map (this particular instance of GMap2)
Wednesday, October 25, 2006
Back on Blogger
So there are all these blogs out there on various topics written by people with the intention of helping others. That's not my aim. I plan to use this as an open place to think, and if you find that the links are useful, then have at them..
I did want to say that I was recently inspired by the programming “Jedi” behind AnAppaDay.com. His new dedicated website is thesoftwarejedi.com
I am starting on AJAX on .net 2.0 at work this week, so I'll be going through the books on torrent sites, and working my way through I'm sure somewhere around 20 intro apps. We're integrating with Google maps, but the guys started writing logic without following up with some AJAX to keep the map “alive” after the logic is applied. I think its mainly markers, maybe directions right now. I think eventually the plan is to display full routes with actual routes taken (recorded via GPS) overlaid. So, this should be an interesting project to work on.
So for starters, here are my links that I’m checking out right now:
ASP.Net Ajax -- Atlas
Atlas docs -- ASP.NET docs
Atlas forums --
Google maps API -- Get API key
Google maps API docs -- documentation
I did want to say that I was recently inspired by the programming “Jedi” behind AnAppaDay.com. His new dedicated website is thesoftwarejedi.com
I am starting on AJAX on .net 2.0 at work this week, so I'll be going through the books on torrent sites, and working my way through I'm sure somewhere around 20 intro apps. We're integrating with Google maps, but the guys started writing logic without following up with some AJAX to keep the map “alive” after the logic is applied. I think its mainly markers, maybe directions right now. I think eventually the plan is to display full routes with actual routes taken (recorded via GPS) overlaid. So, this should be an interesting project to work on.
So for starters, here are my links that I’m checking out right now:
ASP.Net Ajax -- Atlas
Atlas docs -- ASP.NET docs
Atlas forums --
Google maps API -- Get API key
Google maps API docs -- documentation
Wednesday, March 01, 2006
Tuesday, February 28, 2006
Monday, February 27, 2006
Oracle Java Books list
Best Practices exception handling
Building Database-driven Applications with JSF
Oracle resource list
Best Practices exception handling
Building Database-driven Applications with JSF
Oracle resource list
Saturday, February 25, 2006
Friday, February 24, 2006
Thursday, February 23, 2006
Tuesday, February 21, 2006
Monday, February 20, 2006
ZenCart not friendly with MySQL 5
Difficulties with backend database connection in ZenCart
1054 Unknown column 'p.products_id' in 'on clause'
mysql forum
apparently zencart does not play well with the syntax standards of MySQL 5. So 4.1 downgrade required. Not too bad I suppose. Just have to make sure hosting options comply with what we need...
1054 Unknown column 'p.products_id' in 'on clause'
mysql forum
apparently zencart does not play well with the syntax standards of MySQL 5. So 4.1 downgrade required. Not too bad I suppose. Just have to make sure hosting options comply with what we need...
Sunday, February 19, 2006
Sorting Algorithms
http://linux.wku.edu/~lamonml/algor/sort/sort.html
Covers:
Bubble sort
Heap sort
Insertion sort
Merge sort
Quick sort
Selection sort
Shell sort
Covers:
Bubble sort
Heap sort
Insertion sort
Merge sort
Quick sort
Selection sort
Shell sort
Thinking like a computer scientist (general programming how to)
How to think like a computer scientist. link
Saturday, February 18, 2006
Guide to Install Compiz and XGL on Ubuntu Linux
http://www.ubuntuforums.org/showthread.php?t=131267
very much in testing beta. but oh so cool
http://linuxeyecandy.blogspot.com/
This site should get more and more interesting as open source starts to close in on Microsoft's proprietary markup...
State of the linux desktop. Link
very much in testing beta. but oh so cool
http://linuxeyecandy.blogspot.com/
This site should get more and more interesting as open source starts to close in on Microsoft's proprietary markup...
State of the linux desktop. Link
Wednesday, February 15, 2006
W32 codecs for ubuntu
http://ubuntu.wordpress.com/2005/12/04/libdvdcss2-and-w32codecs-for-ubuntu/
offers the deb packages to watch any media file that you could on a win box...
offers the deb packages to watch any media file that you could on a win box...
Tuesday, February 14, 2006
Windows Defender ( Beta 2)
The ultimate for end user security. The digg crowd agrees its the best free alternative to Webroot SpySweeper, and interesting enough, the download site comes complete with a Firefox how to for windows validation. I wonder how long Bill is going to let that one slide...
http://www.microsoft.com/athome/security/spyware/software/default.mspx
http://www.microsoft.com/athome/security/spyware/software/default.mspx
Monday, February 13, 2006
Friday, February 10, 2006
Java the last perfect compiled language?
With the spectrum of computer programming quickly shifting from individual application installs to a server client orientation, do compiled languages have a place in the future? If any of them do, I think Java does. Of course there are a vast number of programmers that do not code Java, but under the new standards we are facing for optimal efficiency in both configuration/setup and running environment application, will these languages provide a feature set/ functionality to compete with the universal scripting languages of the web, or the virtual machine environment (supported on most OS's) that Java runs on. Either way the next 5 to 10 years will tell, and I expect the results to be interesting.
Wednesday, February 08, 2006
Monday, February 06, 2006
Sunday, February 05, 2006
Picasa export to G2
I am attempting to make picasa talk to Gallery, the popular backend to many online web galleries.
I have a good idea on how I need to make this work but am doing some testing...
I have a good idea on how I need to make this work but am doing some testing...
Thursday, February 02, 2006
Friday, January 27, 2006
right click menu
Install a bunch of programs that hijack the right click menu?
http://www.jfitz.com/tips/rclick_custom.html
http://www.jfitz.com/tips/rclick_custom.html
Thursday, January 26, 2006
Expose for windows:
http://www.oxygen-inc.com/premium/InsaniSoft/iEx.htm
Yeah its not as pretty, but it provides much needed functionality...
Yeah its not as pretty, but it provides much needed functionality...
Wednesday, January 25, 2006
Ubuntu configured quickly: AutoMatrix
I don't know about you guys, but I want a new ubuntu box configured and tweaked automatically...
Instructions:
http://ubuntuforums.org/showthread.php?t=66563
Instructions:
http://ubuntuforums.org/showthread.php?t=66563
Monday, January 23, 2006
Saturday, January 21, 2006
Tuesday, January 17, 2006
Subscribe to:
Posts (Atom)
Twitter Updates
About Me
- Rueben
- I have been working with computers/programming to put myself through college since I graduated high school. I am currently attending Oklahoma State University for bachelors degree in biological sciences. Along with my experience in programming, a degree in biology will allow me to pursue a career in bioinformatics research concerning genetic diseases (i.e. cancer).
Blog Archive
-
▼
2009
(14)
- ► 02/01 - 02/08 (1)
- ► 01/25 - 02/01 (1)
- ► 01/18 - 01/25 (9)
- ► 01/11 - 01/18 (2)
-
►
2008
(35)
- ► 12/28 - 01/04 (8)
- ► 12/21 - 12/28 (4)
- ► 11/30 - 12/07 (1)
- ► 11/16 - 11/23 (1)
- ► 11/09 - 11/16 (2)
- ► 11/02 - 11/09 (2)
- ► 10/26 - 11/02 (2)
- ► 10/19 - 10/26 (7)
- ► 10/12 - 10/19 (3)
- ► 10/05 - 10/12 (4)
- ► 09/28 - 10/05 (1)
-
►
2007
(119)
- ► 11/04 - 11/11 (3)
- ► 10/28 - 11/04 (7)
- ► 10/21 - 10/28 (2)
- ► 10/14 - 10/21 (3)
- ► 10/07 - 10/14 (1)
- ► 09/30 - 10/07 (6)
- ► 09/23 - 09/30 (6)
- ► 09/16 - 09/23 (8)
- ► 09/09 - 09/16 (2)
- ► 09/02 - 09/09 (3)
- ► 08/26 - 09/02 (3)
- ► 08/19 - 08/26 (3)
- ► 08/12 - 08/19 (8)
- ► 08/05 - 08/12 (6)
- ► 07/29 - 08/05 (2)
- ► 07/22 - 07/29 (2)
- ► 07/15 - 07/22 (1)
- ► 07/08 - 07/15 (1)
- ► 07/01 - 07/08 (2)
- ► 06/24 - 07/01 (8)
- ► 06/17 - 06/24 (1)
- ► 06/10 - 06/17 (9)
- ► 06/03 - 06/10 (6)
- ► 05/27 - 06/03 (3)
- ► 05/20 - 05/27 (1)
- ► 05/13 - 05/20 (2)
- ► 05/06 - 05/13 (7)
- ► 04/22 - 04/29 (3)
- ► 04/15 - 04/22 (4)
- ► 04/08 - 04/15 (1)
- ► 04/01 - 04/08 (2)
- ► 03/25 - 04/01 (2)
- ► 03/18 - 03/25 (1)
-
►
2006
(51)
- ► 12/31 - 01/07 (1)
- ► 12/10 - 12/17 (1)
- ► 12/03 - 12/10 (1)
- ► 11/19 - 11/26 (1)
- ► 11/05 - 11/12 (3)
- ► 10/29 - 11/05 (1)
- ► 10/22 - 10/29 (3)
- ► 02/26 - 03/05 (4)
- ► 02/19 - 02/26 (8)
- ► 02/12 - 02/19 (7)
- ► 02/05 - 02/12 (6)
- ► 01/29 - 02/05 (1)
- ► 01/22 - 01/29 (7)
- ► 01/15 - 01/22 (3)
- ► 01/08 - 01/15 (3)
- ► 01/01 - 01/08 (1)
-
►
2005
(100)
- ► 12/25 - 01/01 (8)
- ► 12/18 - 12/25 (11)
- ► 12/11 - 12/18 (7)
- ► 12/04 - 12/11 (5)
- ► 11/27 - 12/04 (5)
- ► 11/20 - 11/27 (6)
- ► 11/13 - 11/20 (2)
- ► 11/06 - 11/13 (3)
- ► 10/23 - 10/30 (1)
- ► 10/16 - 10/23 (1)
- ► 10/09 - 10/16 (2)
- ► 10/02 - 10/09 (1)
- ► 09/25 - 10/02 (1)
- ► 09/18 - 09/25 (1)
- ► 09/11 - 09/18 (1)
- ► 09/04 - 09/11 (1)
- ► 08/28 - 09/04 (4)
- ► 08/21 - 08/28 (3)
- ► 08/14 - 08/21 (5)
- ► 08/07 - 08/14 (10)
- ► 07/31 - 08/07 (20)
- ► 07/24 - 07/31 (2)