Passa ai contenuti principali

Post

Visualizzazione dei post da 2011

Finalmente Lion OS

A tutti coloro che hanno problemi nell'installazione di Lion OS: il problema principale risiede nel fatto che si fa l'upgrade da Snow Leopard a Lion. Facendo l'upgrade, infatti, ho notato che molte funzionalità di Lion non funzionano. Ad esempio Lion fornisce la Shell a tutto schermo, ma facendo l'upgrade da Snow Leopard non funziona. Inoltre il wireless da problemi di connettività e ogni tanto il mac si blocca. La soluzione al problema consiste nel formattare il pc e installare Lion da zero. Su questo sito si trova una splendida guida che permette di fare ciò. Buon divertimento con il nuovo Lion OS, che è molto più avanti rispetto a Snow Leopard!

Microsoft Activesync su WM 6.5

Finalmente i nodi sono arrivati al pettine...erano mesi che avevo problemi a sincronizzare il calendario di Google con il mio smartphone. Oggi finalmente la svolta. Il problema era nel fatto che activesync non supporta la sincronizzazione della posta e dei contatti, ma solo del calendario, quindi va eliminato il segno di spunta su tutte le impostazioni che non riguardano il calendario....

Excel 2007: Histograms with different textures

Select the series in the histogram Open Visual Basic terminal by typing ALT + F11 Open the Visual Basic editor by typing CTRL + G In the Immediate Window, type the following and press enter: selection.fill.patterned (4) I would like to thank Diego M. Oppenheimer who wrote this wonderful guide .

Install Ubuntu on a USB Pen Drive

Thanks to this site I understood a method to install Ubuntu on a USB Pen Drive. However, I have not tested it yet. I made cut and paste from that site: A couple of assumptions to take into account when going through this manual: My computer (Dell D820 laptop) has 1 internal disk, devided into 3 partitions (dell utility - windows - Ubuntu 8.04) Just one USB device (in my case a 250GB harddisk BIOS configured to enable boot from internal HDD, CD/DVD and USB Storage device (I didn’t take screenshots, so I will be explaining a lot about the screens… It looks like a lot of work, but trust me: it is not, and it really is easy:-) Insert the LiveCD into your computer; Connect your USB device; Boot your computer from the liveCD; Once Ubuntu is started, go to System - Administration - Partition Manager This will open the Partion Editor. Select your USB device and delete all partitions on it. Click Apply and exit Partition Editor; Double Click the Install Icon. This will start the Installe...

Come unire piu' file pdf usando MAC OS

To join two or more pdf files together using Preview (the standard pdf viewer in OS X) simply open a pdf in preview, open the thumbnail view (Shift-⌘-D), and then drag a second pdf file ON TOP OF an existing page thumbnail. The two documents will merge into one. Then save the new combined file. Read on for step-by-step instructions. Combining pdf documents in OSX is easy. Leopard and Snow Leopard have the ability to move pdf pages around and even merge two pdf documents together. It’s built right in to OS X – you don’t need a third party program to do it! SUMMARY: To merge the two PDF files you need to drag the new pdf ON TOP OF an existing thumbnail. If you drag it into the sidebar but not on top of an existing page the new file will be added as an external link – not merged into the original pdf document. See these two pictures below to visualise the difference. Questo articolo e' stato copiato dal sito: http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in...

Come unire piu' file pdf usando MAC OS

To join two or more pdf files together using Preview (the standard pdf viewer in OS X) simply open a pdf in preview, open the thumbnail view (Shift-⌘-D), and then drag a second pdf file ON TOP OF an existing page thumbnail. The two documents will merge into one. Then save the new combined file. Read on for step-by-step instructions. Combining pdf documents in OSX is easy. Leopard and Snow Leopard have the ability to move pdf pages around and even merge two pdf documents together. It’s built right in to OS X – you don’t need a third party program to do it! SUMMARY: To merge the two PDF files you need to drag the new pdf ON TOP OF an existing thumbnail. If you drag it into the sidebar but not on top of an existing page the new file will be added as an external link – not merged into the original pdf document. See these two pictures below to visualise the difference. Questo articolo e' stato copiato dal sito: http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in...

C++ chiusura improvvisa connessione TCP

Puo' capitare che bruscamente, dopo che la connessione sia stata stabilita, uno dei due peer vada giu'. In questo caso, l'altro peer non si comporta correttamente. Di default, la receive ritorna 0 come numero di bytes ricevuti, per cui il peer non si accorge che l'altro peer non e' attivo, mentre la send ritorna -1, setta la variabile errno al valore EPIPE e lancia il segnale SIGPIPE, che normalmente fa uscire il processo. Per evitare che il processo termini in seguito al segnale SIGPIPE si puo' settare l'opzione MSG_NOSIGNAL nella send in modo che il segnale SIGPIPE venga ingnorato. In particolare: iNumBytes = send(iSocket, _vMessage, _iMessageSize, MSG_NOSIGNAL); if(iNumBytes == -1) { if(errno == EPIPE) { // gestisco l'errore return 0; } } Nel caso della receive, invece posso semplicemente gestire il caso in cui il numero di bytes ritornati e' 0.

Uso del repository MERCURIAL

hg clone path_to_repository - scarica il repository in locale hg pull - aggiorna il repository all'ultima versione hg commit -m "messaggio" - applica le modifiche al repository locale hg push - applica le modifiche al repository remoto hg branches - elenca i branches esistenti hg branch nome_branch - crea un nuovo branch di nome nome_branch hg update nome_branch - carica il branch nome_branch in locale hg log - per vedere tutti i messaggi di log del sistema

How to embed fonts into a pdf file

IEEE requires that your PDF files embed all fonts. Earlier, I told you how to get pdflatex LaTeX to embed all its fonts, but what if you are including figures that have hanging fonts and you are getting desperate? Luke Fletcher gives us the solution. 1. convert to ps: pdftops ICRA05.pdf 2. convert back to pdf using prepress settings: ps2pdf14 -dPDFSETTINGS=/prepress ICRA05.ps 3. check new ICRA05.pdf for horrendous formatting errors due to double conversion. source from http://www.daniel-lemire.com/blog/archives/2006/08/18/embedding-fonts-for-ieee/