Thursday, December 24, 2009

MySQL kao Windows servis

MySQL obezbeđuje jednostavan način za podešavanje pokretanja MySQL servera kao Windows servisa.

  1. Raspakovati MySQL arhivu u c:\mysql
  2. Pokrenuti komandu c:\mysql\bin\mysqld --install

SVN kao Windows Service

  1. Raspakovati ZIP arhivu u direktorijum c:\svn
  2. Napraviti direktorijum gde će se nalaziti SVN repositorijum, npr. c:\svnrepo
  3. Pokrenuti sc komandu za kreiranje servisa
sc create svnservice binpath= "c:\svn\bin\svnserve.exe --service --root c:\svnrepo" displayname= "Subversion" depend= Tcpip


Dodatno, da bi se servis pokretao automatski, pokrenuti komandu services.msc, pronaći servis "Subversion" i podesiti da se podiže automatski,

Friday, November 27, 2009

log4php

Nakon Logger-a za Javu i .NET, pojavio se i Logger za PHP od strane Apache Foundation.
Konfiguriše se isto kao i ostali - properties datoteka ili XML.
http://logging.apache.org/log4php/

Friday, November 06, 2009

GMail Drive shell extension

GMail Drive shell extension je program kojim se GMail pretvara u lokalni hard disk. Na taj način sve Vaše datoteke mogu biti dostupne na jednom mestu. Sve što Vam treba je internet!
http://www.viksoe.dk/code/gmail.htm

Monday, October 19, 2009

Kettle-Spoon

Kettle-Spoon (ili kako se zvanično zove "Pentaho Data Integration") je fenomenalan alat napisan na Java programskom jeziku koji se koristi za najrazličitije transformacije podataka.
Pripada grupi alata poznatijih kao ETL - Extraction, Transformation and Loading.
Kettle je ovo proširio na ETTL - Extraction, Transformation, Transfer and Loading
Source je dostupan na javnom SVN serveru, te se može preuzeti i dalje kodirati. Takođe, implemetacijom interfejsa se mogu napraviti novi plugin-ovi.

 


Više o alatu na http://www.pentaho.com/products/data_integration/

Wednesday, October 14, 2009

MoWeS Portable

MoWeS je skup alata potrebnih za web programiranje. Njegovu osnovu čine Apache, PHP i MySQL. Dodatno uključuje ImageMagick, Joomla, Typo3, OS Commerce, MediaWiki, SugarCRM i drugi.

MoWeS se raspakuje i instalira u lokalnom direktorijumu. Njegovim pokretanjem se pokreću potrebni programi za razvoj web aplikacija. Može se instalirati na USB drive-u i pokrenuti sa njega, što ga čini prenosivim na druge lokacije.

Više o MoWeS-u se može naći na http://www.chsoftware.net/en/useware/mowes/.

Monday, October 12, 2009

Delay Windows Service Start

[English]

If you need to delay a service's startup, you can manually add a dependency to the service. The service need not actually be dependent on the specified second service - the dependency simply causes the service to wait until the other has started, effectively delaying startup.

To configure service dependency, open the Registry Editor (regedit) and open the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(Service name)

where (Service name) is the service you want to delay. Add a REG_MULTI_SZ value named DependOnService to the key, then edit the value of DependOnService to add the service name of the service you want started before the selected service.

Thursday, August 27, 2009

Još malo o identifikaciji hardvera - DriverMax

[English]

DriverMax is a new tool that allows you to download the latest driver updates for your computer. No more searching for rare drivers on discs or on the web or inserting one installation CD after the other. Just create a free account, log in, and start downloading the updates that you need.

You can also export all your current drivers (or just the ones that work ok) to a folder or a compressed file. After reinstalling Windows you will have everything in one place!

Most of the situations when Windows is running slower are caused by faulty driver installations. Windows stores all versions of older drivers just in case you want to go back; sometimes it messes up older versions with more recent ones. The Export Wizard will only export the drivers you select by copying the needed files to a folder or a compressed ZIP file.

After reinstalling Windows all drivers will be back in place in less than 5 minutes - sparing you of searching, inserting disc after disk and losing precious time. The Import Drivers wizard allows you to install all the drivers that you exported earlier. The entire operation might take up to 5-10 minutes.

Just one single computer restart will be required after all drivers are reinstalled!

DriverMax is able to display a complete report of all drivers (versions, release dates) installed on your system. This feature can also be very useful when you want to analyze the differences between the drivers installed on different machines.

Note: DriverMax only works on Windows 7, Windows Vista, Windows XP and Windows 2003 (all service packs, both 32 bit and 64 bit versions). Driver downloads are *only* available for Windows 7, Windows Vista and Windows XP users.

Identifikacija nepoznatog hardvera

[English]

If you failed to find the correct device drivers using the first two methods, then only use this a bit tedious method, learn it from Instant Fundas. For your information, every hardware device has a Vendor and Device id associated with it. If you can find this ID, you can find the manufacturer or vendor of the corresponding device. In Windows, it’s easy to find the vendor and device id.
  1. Open Device Manager (Right-click My Computer>Properties>Hardware>Device Manager)
  2. The hardware whose drivers are missing will appear as Unknown device, so it’s easier to locate the device.
  3. Right click on the unknown device and click on Properties.
  4. Under the Properties window click on Details tab and select Device Instance Id from the drop down box.
You should see a code similar to this:
PCI\VEN_8086&DEV_27DC&SUBSYS_30868086&REV_01\4&1E46F438&0&40F0

The portion of the code highlighted in RED is the Vendor ID and the portion highlighted in GREEN is the Device ID. In this example:
Vendor ID = 8086
Device ID = 27DC

Once you have obtained both the IDs, proceed to PCI Database http://www.pcidatabase.com.

There you can either search for the vendor from the vendor ID or directly get information about the device along with the vendor name by searching with the device ID.
After you find out the information about the device and the manufacturer of the device, you can visit the manufacturer’s website and download the corresponding device drivers.