483 reputation
2822
bio website
location
age
visits member for 2 years, 9 months
seen Jul 11 '12 at 6:35

Jul
8
comment Vim copy paste adding newlines
Yep, seems like there was some crazy characters in the file. I rewrote it and now it works fine. Thanks!
Jul
8
comment Vim copy paste adding newlines
I tried it, but it turned tabs into spaces, which I don't want. And the newlines are still there.
Jul
8
comment Vim copy paste adding newlines
@Zuul The same happens in nano.
Jul
8
comment Vim copy paste adding newlines
My gedit is not using spaces, only tabs.
Jul
8
comment Vim copy paste adding newlines
It didn't work. Now it says 'INSERT (paste)' but the pasted text looks the same. I'm copying text from gedit, then pasting into vim.
Jul
5
comment How to expand disk in a Ubuntu VM?
When I was installing Ubuntu 12 I chose 'encryped LVM'
Jul
5
comment How to expand disk in a Ubuntu VM?
Should this work fine even if the partition was encrypted? I didn't have /dev/sda, I had /dev/dm-0. I used that and everything seemed to work. But then I rebooted and got locked out, couldn't go past through the 'enter passphrase:' prompt. That was without removing the old disk in virtualbox. When I removed the old disk, I just got something like 'no bootable disk found!' (also tried moving the new one to port 0). (don't worry, it was a test vm)
Jul
4
comment Proper way for changing MAC address in a linux VM?
@Paul I'm trying to learn how different programs track your activity, how to do it, and how to avoid it. Eg: IP, cookies, browser fingerprinting, etc. Now I want to see how some programs respond to a MAC address change.
Jul
4
comment How does one change user's home directory in Ubuntu 9.04?
Worked for me in Ubuntu 12.04, thanks
Jun
24
comment Can I make a script always execute as root?
@speakr Oh I see, thanks
Jun
22
comment Can I make a script always execute as root?
I used the first solution (setuid), because I need it to be executed automatically after logging in, without asking for a password. And I don't like removing the password from sudo. Also, I might need that the script be executed by non sudoers
Jun
22
comment Can I make a script always execute as root?
@Stephanie I must be doing something wrong, because all this looks too crazy for a common task. This is what I'm trying to do: serverfault.com/questions/401405/…
Jun
22
comment Can I make a script always execute as root?
@slhck Linux, Ubuntu 12
Jun
21
comment How to enable RSS auto discovery in firefox?
The second one was buggy. The first one did the trick.
Jun
17
comment How to tunnel all traffic through Tor?
From that link: "The Flash plugin for Linux does not respect any browser’s SOCKS proxy settings"
Jun
17
comment How to tunnel all traffic through Tor?
About proxy settings, I found this, not sure if still valid: coderrr.wordpress.com/2009/07/29/…
Jun
17
comment How to tunnel all traffic through Tor?
I didn't know about the super cookies, you opened my eyes.
Jun
16
comment How to encrypt email with recipient's key?
Yes I realized I was actually using the recipient's key, didn't make sense otherwise, thanks for clarifying. The fastest solution was to copy the new recipient key, and go to OpenPGP > Key management > Edit > Import keys from clipboard.
Jun
15
comment Do all my programs have owner rights to all my files?
Yes but I'm not so worried about programs deleting my files. I'm more worried about them being able to read them.
Jun
15
comment Do all my programs have owner rights to all my files?
Perfect, thanks a lot. I'm gonna read about all those things then.