Archive for the ‘ Programming ’ Category
http://en.wikipedia.org/wiki/DUAL_table http://www.oracle.com/technology/pub/articles/10gdba/week7_10gdba.html [ READ MORE ]
From http://docstore.mik.ua/orelly/unix/upt/ch08_13.htm One of the common questions about the Bourne and Korn shells is why only the second command will redirect both stdout and stderr (13.1) to a file: $ cat food 2>&1 >file cat: can't open food $ cat food >file 2>&1 $ Although lots of sh manual pages don’t mention this, the shell reads arguments from left to right. On the first command [ READ MORE ]
Very good example(s) for connecting to an Oracle DB, submitting a statement, and printing the results. http://www.java2s.com/Code/Java/Database-SQL-JDBC/DemoResultSetOracle.htm Don’t know what this next one is but it looks important http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/refcur/index.html [ READ MORE ]
www.aptana.org Visual studio 2008 Komodo jslibs [ READ MORE ]
dragstart A drag has been initiated, with the dragged element as the event target. drag The mouse has moved, with the dragged element as the event target. dragenter The dragged element has been moved into a drop listener, [ READ MORE ]
Nasty Icky code that I’ve combined from a few things I found on the web. # import MySQL module and the sendEmail class which can be found here import MySQLdb import sendEmail # connection string to connect to the mysql database, the * are the password obviously db = MySQLdb.connect( host=”localhost”, user=”db_user_name”, passwd=”****”, db=”db_name”) # create a database cursor cursor = db.cursor() # pass SQL select statement [ READ MORE ]
Soo, I managed to ‘write’ (borrow mostly), enough Python code to connect to a MySQL DB, send it a query, return the results and output it to the command line in a form that is semi-readable. I had a couple of issues with the looping system, mostly because I’ve been absent from coding lately, but [ READ MORE ]
Woohoo, after two typos and an unnecessary ticket to hostgator support I managed to make a connection to a mysql server (@hostgator) with Java. Click more to see the code. [ READ MORE ]
The text editor I’ve been using for awhile just released an update, I don’t have time to look at all the new stuff but I wanted to save the list. If you’re interested you can find it here : http://www.pnotepad.org/ [ READ MORE ]
Just in case I ever have time in the future… or a mac, this seems to be a good post to start with. http://mattgemmell.com/2009/07/14/iphone-development-emergency-guide One thing I was not aware of was “You have to use a Mac to develop iPhone apps.”, I had always assumed they’d play nice with Windows users, however I just realized, why [ READ MORE ]