Obtain Multiaddress IP with java

If you have many address, you can obtain all :
[java]
InetAddress[] e = InetAddress.getAllByName(InetAddress.getLocalHost().getCanonicalHostName());
[/java]

Posted by in Notes

Tags:

Permalink

ZF : Redirector Helper

Se volete facilitarvi la vita con gli helper di ZF, nel caso di Redirector (Zend_Controller_Action_Helper_Redirector) , ricordatevi che i parametri sono nell’ordine inverso di analisi

[sourcecode language="php"]
$this->_helper->redirector($action, $controller, $module, $params)
[/sourcecode]

di cui solo il primo obbligatorio.

Posted by in Notes, Software

Tags: , , ,

Permalink

Gentoo 2008.0

Era ora visto che ormai siamo a metà 2008 che vedesse la luce.
Novita

  • Updated installer
  • Improved hardware support
  • Xfce instead of GNOME on the LiveCD
  • Portage 2.1.4.4, a 2.6.24 kernel, Xfce 4.4.2, gcc 4.1.2 and glibc 2.6.1.

Per scaricare : qui.

Posted by in Notes

Tags: ,

Permalink

MacOsX Leopard

Se avete dei programmi/demoni che partono all’avvio dove si trovano ?

nel caso di Mysql (installato da dmg) si trova in /Library/StartupItems/

altrimenti potreste trovare il file di lancio qui : /Library/LaunchDaemons dentro un file .plist

per lanciare o fermare un demone

sudo launchctl unload/load -w /Library/LaunchDaemons/…..

per approfondire clicca qui

Posted by in Notes

Tags: ,

Permalink