LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

How to replace letters with carriage returns on VIM

Posted 10-27-2010 at 12:35 PM by xri
Updated 10-27-2010 at 12:38 PM by xri (To add categories)

Problem:
A text file coms with a list comes with the items separated by commas, like:
Quote:
a,b,c....
We need them in column form, like:
Quote:
a
b
c
Solution:
:%s/,/{[Ctrl+v], then [Enter]}/g

Notes:
  1. The % before s, indicates that the range where the replacement is to take place is the whole document.
  2. Ctrl and v are pressed simultaneously, and then the character we mean vim to use (in this case Return).
  3. The g at the end of the
...
xri
Member
Posted in Software
Views 963 Comments 0 xri is offline
Old

Embracing distro diversity

Posted 10-27-2010 at 12:29 AM by xri

When using a particular distro, I've tried to stick to it, under the belief that my learning process would be easier without different directions to solve one problem. Therefore, my distro of choice (and that has been changing over time) has usually been the "best distro" at the time.
However, much later than other users (apparently), I've come to the realization that there seems to be a certan set of distros better suited for a particular job, and with some basic knowledge of Linux...
xri
Member
Posted in General Issues
Views 496 Comments 0 xri is offline
Old

Mounting truecrypt volumes on an sshfs mount

Posted 02-16-2010 at 09:53 PM by xri
Updated 02-16-2010 at 09:54 PM by xri

The task:
To mount a remote truecrypt volume locally, using sshfs.

The problem:
truecrypt /home/xri/sshfs-mounted-remote-directory/remote-truecrypt-vol /media/truecrypt1
gives an error message with "permission denied"

The solution:
a) Edit /etc/fuse.conf (or create it), and make sure it has this line:
user_allow_other
b) When mounting the sshfs remote directory, use this option
-o allow_other

...
xri
Member
Posted in Software
Views 2764 Comments 0 xri is offline
Old

My new Linux-frienly online backup service

Posted 08-02-2009 at 09:53 AM by xri
Tags backup, online

I've been looking for a simple and secure ('relatively secure', I should say) online service.

So far, I have my mind set on Amazon S3 for business purposes. A number of experts recommend it.
Another one I can say that drew my attention was rsync.net.


However, for personal purposes, I have settled on this one: SpiderOak. I like it for the following reasons:
  1. Automatic backup
  2. Privacy guaranteed (I'm not going to store unencrypted crucial data
...
xri
Member
Posted in Uncategorized
Views 1729 Comments 0 xri is offline
Old

Careful with tor and Konqueror

Posted 04-11-2009 at 04:43 PM by xri

After playing with tor + privoxy + tork with Konqueror, y finally decided to remove all three privacy programs and go back to regular use of Konqueror.

Prior to uninstall tork, I reconfigured Konqueror for use without tor.

However, after removing the programs I found that accessing some SSL sites was not possible. Finding information about that was not easy this time.

The browsing settings on Kcontrol had cookies, cache and java disabled. The privacy...
xri
Member
Posted in Software
Views 3012 Comments 0 xri is offline

  



All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration