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 01:35 PM by xri
Updated 10-27-2010 at 01: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 1022 Comments 0 xri is offline
Old

Embracing distro diversity

Posted 10-27-2010 at 01: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 529 Comments 0 xri is offline
Old

Android Phone Application

Posted 10-26-2010 at 10:35 AM by radiodee1

I have a game on android market that I wrote as an open source project. It's still under production, but there's a barcode on the site below that will allow one to download the app if you have an android phone.

http://android-awesomeguy.blogspot.com/
Member
Posted in Uncategorized
Views 471 Comments 0 radiodee1 is offline
Old

Possibilities:

Posted 10-26-2010 at 10:12 AM by peonuser
Updated 10-26-2010 at 10:13 AM by peonuser

At first I was not a fan of the "pads/touch tablets" then I started to think about it and using a web server I came up with lots of ideas.

I am retired, but I am so close to getting a touchpad and starting a business doing turnkey projects. I see all kinds of things you can use it for. i.e. kitchen computer for getting recipes.,we have a web page for doing measurement conversions and a web based recipe data base. Garage computers for access diy project instructables and...
Member
Posted in Uncategorized
Views 6743 Comments 2 peonuser is offline
Old

Um goodie goodies.

Posted 10-26-2010 at 09:39 AM by peonuser
Updated 10-26-2010 at 09:40 AM by peonuser

Finally acquired some parts such as a pir sensor to update my instructables for doing security with a computers. More on that later.

Thinking about getting a touch pad/tablet. so I can get more into home automation. Now I just use an old celeron based laptop with eop (ethernet over power lines) that I drag around the house to access the web server. Writing code in php and using mysql more and more. Nice not to have to load applications on every machine. Just fire up the web browser...
Member
Posted in Uncategorized
Views 302 Comments 0 peonuser is offline

  



All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement

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