Tuesday, May 28, 2013

Google App Engine - Picasa-Gallery installation & upload

My Picasa Gallery - http://picasa.kennymoody.net

by using : https://github.com/angryziber/picasa-gallery


installation:

0. download the picasa-gallery , unzip & config

1a. download JAVA SDK and install ( I am using SDK 1.6 )
1b.  Remeber to uninstall ALL JAVA JRE if you installed before

2. download GAE SDK and unzip ( Latest Version )

3. download Apache ANT and unzip to c:/ANT ( Latest Version )

4. in CMD ,
    type " set ANT_HOME=c:\ant "
             " set PATH=PATH;%ANT_HOME%\bin "
             " set JAVA_HOME=***path to JAVA SDK folder*** "

5. compile the file in CMD
    type " ant -Dsdk.dir =***path to GAE SDK folder*** compile "

6. in CMD , go to GAE SDK folder \ bin
    type " appcfg update ***path to picasa-gallery WAR folder*** "
   

all the files should be uploaded to GAE server now ...


   

Monday, May 20, 2013

Control USB Drive letter

The USBDLM is a freeware for personal use Windows service that gives control over Window's drive letter assignment for USB drives. Running as service makes it independent of the logged on user's privileges, so there is no need to give the users the privilege to change drive letters.It automatically solves conflicts between USB drives and network drives of the currently logged on user. Furthermore you can define new default letters for USB drives and much more.


USB drive letter manager - USBDLM http://www.uwe-sieber.de/usbdlm_e.html


What can USBDLM do for newly attached USB drives?
Check if the letter is used by a network share of the currently logged on user and assign the next letter that is really available
Reserve letters, so they are not used for local drives
Assign a letter from a list of new default letters, also dependent on many different criteria as the active user, drive type, connection (USB, FireWire), USB port, volume label, size and others
Assign letters for a specific USB drive by putting an INI file on the drive
Remove the drive letters of card readers until a card is inserted
Show a balloon tip with the assigned drive letter(s)
Define autorun events depending on many different criteria
Many other things, see help file, available online as HTML version too


All functions are applied to USB drives at the moment they are being attached, when the USBDLM service starts up and when a user logs on.
Usage


Instructions can be found on the author's site, so you'd better read them from there.


Running without a configuration USBDLM only prevents that an USB drive gets the letter of a network share drive of the currently logged on user. It remounts then to the next letter that is really available.


However it is worth noting that USBDLM is configured thru a text file, the USBDLM.INI. The USBDLM.INI is read from the folder of the USBDLM.EXE.


New default letters for new USB drives (flash or hard drive)
[DriveLetters] Letter1=U Letter2=Y Letter3=Z



USBDLM can have up to 9 'LetterX' entries in each section. They don't have to be continuous.


For Card readers, the typical 20-in-1 card reader eats one drive letter for each of its slots - if we have a card for or not. USBDLM can remove the reader's drive letter until a media is inserted.
[Settings] NoMediaNoLetter=1



USBDLM assings then a drive letter as configured. If you need different drive letters for a multislot cardreader, then use the criterion 'DeviceType' in a DriveLetters section (MSCR is short for MultiSlotCardReaders which can be used too):
[DriveLetters1] DeviceType=MSCR Letter1=R Letter2=W Letter3=



You can prevent Windows mounting to certain letters by putting them into section ExcludedLetters. This is especially useful for letters of network shares which Windows may assign to USB drives while booting.[ExcludedLetters] Letter1=F Letter2= Letter3=



USBDLM can show a balloon tip with information about the drive letter(s) or mount points used for a just attached drive:
[BalloonTips] Enabled=1



I hope you found this article useful, and that it saves you time on the job!