Archivi per l' Authore Luigi
Recently I got surprised by following case.
In Java you can declare an array in following valid ways:
String[] strings = new String[] { "foo", "bar" };
// the above is equivalent to the following:
String[] strings = { "foo", "bar" };
So following Java code is perfectly valid:
public class Foo {
public void doSomething(String[] arg) {}
[...]
3G USB Stick on Ubuntu
0 Commenti Pubblicato da Luigi il 8 Gennaio 2010 in Internet, Linux, HardwareI am in London for work, and my hotel wants me to pay £ 17 per day for accessing internet. But I found an internet café which is offering Internet connection on a 3G USB stick for £ 19.99 per week ( reload.com 197 Praed Street, Paddington ). The USB stick is from Three, like [...]
Yesterday night I tried to connect the iPod to Linux. I tried some programs but none was working decently; but the good news is that you don't really need any special program "made for iPod" to do this.
For the guys who do not know about iTunes and iPod/iPhone foolishnesses, the problem is that when [...]
Karmic and Luks: USB drive encryption made (almost) easy
0 Commenti Pubblicato da Luigi il 26 Novembre 2009 in LinuxI discovered today that in Karmic there is an option to format encrypted usb disks.
But first of all you need to install the support for this feature; from the terminal:
$ sudo apt-get install cryptsetup
When you plug in your USB disk, and mount it, you'll see an icon on your desktop. Right-clicking on it and selecting [...]
Suspend/Resume in Karmic /2
7 Commenti Pubblicato da Luigi il 25 Novembre 2009 in Linux, Hardware, MacPreviously I wrote that suspend/resume was not working in Karmic on my MacBook Pro 5.1, and I posted a solution. Now I found a better solution from the Apple Users forum on Ubuntu. The advantage is that with this fix, the suspend/resume is much faster.
First you need to revert the change I suggested previously.
Then... (copied [...]
Suspend/Resume problem in Ubuntu Karmic 9.10 running on MacBook Pro 5.1
8 Commenti Pubblicato da Luigi il 20 Novembre 2009 in Linux, Hardware, Mac, ErrorsI updated today from Jaunty to Karmic and, as effect, I had Suspend/Resume/Hibernate broken. But reboot and shutdown works; before with Jaunty the reboot was frequently crashing.
To fix the Suspend/Resume, I modified /boot/grub/menu.lst to add the kernel option acpi=noirq
Example:
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 5daec709-2655-4d7c-9968-969143e31fbd
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=5daec709-2655-4d7c-9968-969143e31fbd ro quiet splash acpi=noirq
initrd /boot/initrd.img-2.6.31-14-generic
quiet
Other problem I found during the distro upgrade:
sound is [...]
MacBook International Keyboard and Linux
0 Commenti Pubblicato da Luigi il 3 Settembre 2009 in Linux, Hardware, MacI bought my Mac with the "International Keyboard". Which layout should you use on Linux?
The keyboard layout looks like this one:
As far as I know the "USA Macintosh" is the one that fits better, but still you have the §± and `~ keys inverted. To fix this I've added to Gnome Session Startup this [...]
Mighty Mouse: reverse horizontal scrolling workaround on Ubuntu Linux 9.04
0 Commenti Pubblicato da Luigi il 1 Settembre 2009 in Linux, MacThe reverse horizontal scrolling problem is due to some old compatibility quirk on Apple's mouse that was using reversed scroll, and the problematic code is still there in newer kernels. See the bug: 291408.
If your mighty mouse scroll ball is horizontally reversed, it can be solved in this way:
- open file /var/lib/bluetooth/xx:xx:xx:xx:xx:xx/did
- change yy:yy:yy:yy::yy:yy 0002 [...]
Skype 2.1.0.47 beta released, and amd64 packages available!
0 Commenti Pubblicato da Luigi il 31 Agosto 2009 in Linux, Software, MacSince the 24th of August a new beta of Skype is available.
Some little look and feel changes, contact groups support, nothing really new, except for the native 64bit support. And I hope it will be more stable.
Download it from here: http://www.skype.com/download/skype/linux/
I updated it because the old 32bit version recently is very unstable on my system. [...]
Ram disks are virtual disks that use RAM as super fast storage, with the "side effect" that they are not reboot persistent. Modern computers have a lot of RAM, and sometime one may need a super fast disk storage of a limited size to speed up some disk intensive tasks. On Linux you can mount [...]
Cerca
Info
Archivi per l'autore Luigi.
Gli articoli lunghi sono troncati. Clicca sul titolo dell'articolo per leggerlo interamente.Calendario
| L | M | M | G | V | S | D |
|---|---|---|---|---|---|---|
| « Gen | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
Archivi
- Gennaio 2010 (2)
- Dicembre 2009 (1)
- Novembre 2009 (3)
- Settembre 2009 (2)
- Agosto 2009 (4)
- Luglio 2009 (1)
- Giugno 2009 (2)
- Maggio 2009 (4)
- Aprile 2009 (2)
- Marzo 2009 (7)
- Febbraio 2009 (5)
- Gennaio 2009 (2)
- Dicembre 2008 (1)
- Novembre 2008 (8)
- Ottobre 2008 (12)
- Settembre 2008 (3)
- Agosto 2008 (2)
- Luglio 2008 (6)
- Giugno 2008 (16)
- Maggio 2008 (2)
- Aprile 2008 (3)
- Marzo 2008 (6)
- Ottobre 2007 (1)
- Settembre 2007 (1)
- Agosto 2007 (5)
- Luglio 2007 (6)
- Giugno 2007 (6)
- Maggio 2007 (1)
- Marzo 2007 (1)
- Febbraio 2007 (2)
- Gennaio 2007 (1)
- Dicembre 2006 (2)
- Novembre 2006 (4)
- Ottobre 2006 (7)
- Settembre 2006 (1)
- Agosto 2006 (2)
- Luglio 2006 (6)
- Giugno 2006 (3)
- Febbraio 2006 (1)
- Gennaio 2006 (1)
- Dicembre 2005 (5)
- Novembre 2005 (2)
- Ottobre 2005 (2)
- Settembre 2005 (7)
- Agosto 2005 (2)
- Luglio 2005 (8)
- Giugno 2005 (12)
Categorie
- Books (7)
- Eclipse (10)
- Errors (2)
- Firefox (7)
- Hardware (14)
- Horror Code (8)
- Internet (17)
- Java (85)
- JavaScript (8)
- Life, universe and everything (29)
- Linux (44)
- Mac (18)
- Software (25)
- Speeches and Conferences (8)
- Web (19)
- Windows (16)
