Ormai non riesco più a programmare se non utilizzo il mio font ProggySquare e su Ubuntu non ero ancora riuscito ad installarlo: spulciando però il forum ho finalmente trovato una procedura semplice e veloce per aggiungere nuovi font:
Per prima cosa bisogna preparare una cartella con i font che si vuole installare: ho creato quindi la cartella fonts sul desktop.
Poi si apre il terminale, ci si posiziona nella home e si crea la cartella .fonts.
cd /home/nome_utente
mkdir .fonts
A questo punto non resta che copiare i font nella cartella appena creata:
cd Desktop/cartella_fonts
cp nome_font.ttf /home/nome_utente/.fonts/
Ovviamente questo procedimento installa i font solo per l’utente corrente.
Nella maggioranza dei siti web con layout fisso il contenuto della pagina è allineato al centro, con i margini destro e sinistro che si adattano automaticamente alle dimensioni della finestra del browser.
La tecnica per ottenere questo risultato è molto semplice e compatibile con tutti (o quasi) i browser.
Leggi il seguito »
Prima di iniziare questo tutorial vorrei fare una piccola premessa: ho iniziato da poco ad utilizzare Linux, quindi questo articolo potrebbe risultare abbastanza grossolano per gli utenti più smaliziati.
Spero comunque di non scrivere troppe inesattezze e che il tutorial possa tornare utile a chi vuole provare a sostituire Windows con Ubuntu.
Bene, il primo passo è ottenere l’archivio con i file di installazione di Notes e copiarlo nella cartella /root/ e decomprimerlo. Ricordate di utilizzare il comando sudo, altrimenti vi verrà negato il permesso di scrivere nella cartella.
Articolo aggiornato il 27.05.2008 grazie alle segnalazioni di Zimo
Leggi il seguito »
I’ve upgraded to Wordpress 2.5. No problem so far, and the one-click plugin upgrade is sooo useful!
Ho appena aggiornato a Wordpress 2.5 rc2 e fino ad ora è andato tutto bene.
Ho avuto solo un problema con il plugin Simple Tags al momento dell’attivazione e non riuscivo ad accedere né al sito né all’area di amministrazione: per ripristinare la situazione ho dovuto rimuovere fisicamente il plugin dalla cartella wp-plugin.
I have a Flickr account, like many of you and I found that flickRSS plugin is the best solution for displaying your photos in your Wordpress powered web site.
The only thing that I was missing was the option to display the photo title, so I’ve modified the plugin file to display the title below the photo. You can see the result at the top of the home page.
The plugin mod is quite simple, so if you want do to this just open the flickrRSS.php file inside your wp-plugin folder (backup it first!) and go to line 100.
Leggi il seguito »
Gravatar has been completely rewritten in php bringing more speed and bigger avatars.
I’ve just released a small update to the JTextFileParser package. The change list list isn’t too long but I hope you’ll find useful additions:
- Added the option to ignore the first line of the file.
Now you can create a TextFile object specifing the hasHeader parameter (true|false). If you set hasHeader to true you’ll be able to access the header row using the method getHeaderRow() and the first row returned by the method getRows() will be the second row of the file.
- Added the method
replaceRows(ArrayList rows) in the TextFile class. This method will replace all rows in the TextFile object
- Deprecated the method
getSimpleRow in the Row class. From now on you should use the method getStringRow
The update is avalable form the project page or the google code project page.