Tech and travel

Posts

Automating FTP

2007-07-02

Here’s how you automate FTP : ftp -v -n hostname << EOF user usuario password bin put filename bye EOF With thanks to this post.

More Google maps stuff

2007-06-26

This Google Maps API Tutorial website has some very good how-tos on Google Maps. Needless to say, I added some of those things like Fitting the map to the data and Lots of sidebar entries to my maps. Check out the New Zealand and Firenze maps.

HP Unix info

2007-06-21

This is useful on HP Unix machines. It just prints out a few pieces of data of the machine. echo "HP Unix version : " `uname -a` echo "Model : " `/usr/bin/model` echo "Number of processors : " `/usr/sbin/ioscan -kf | grep processor | wc -l` An example output would be be : HP Unix version : HP-UX machine B.11.23 U ia64 ident_nr unlimited-user license Model : ia64 hp server rx4640 Number of processors : 4

How much space does an Oracle table take up ?

2007-06-19

The following queries can be used to find out how much space a table takes up. The first query gets the block size used in this database. The second one shows how many blocks are used for a table. select value from v$parameter where name = 'db_block_size'; select blocks, last_analyzed from all_tables where owner = 'X' and table_name = 'Y'; The blocks field will have a valid value if the table has been analyzed recently, that is why the last_analyzed field is selected as well.

Creating a Google map using XML

2007-06-18

You can also create Google Maps using XML : check out this article.

Copyright (c) 2024 Michel Hollands