LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Day 2: Getting jiggy with it (VIM)

Posted 10-27-2011 at 09:38 PM by omgiamlinux
Updated 10-27-2011 at 09:40 PM by omgiamlinux

ref: http://ss64.com/vi.html



VIM CODE FOLDING http://smartic.us/2009/04/06/code-folding-in-vim/
$ vim ~/.vimrc
Code:
"folding settings
set foldmethod=indent   "fold based on indent
set foldnestmax=10      "deepest fold is 10 levels
set nofoldenable        "dont fold by default
set foldlevel=1         "this is just what i use
za - fold/unfold the entire...
LQ Newbie
Posted in VIM dedication
Views 346 Comments 0 omgiamlinux is offline
Old

Day 1: My very first (and most terrible) VI notes

Posted 10-27-2011 at 09:29 PM by omgiamlinux
Updated 10-27-2011 at 09:37 PM by omgiamlinux

Notes: VI is a very slow thing to learn, but it's well worth taking the time learning it. It makes working on code, almost like a very fun logic game. It's also the fastest way to program in any language (well... faster than 'notepad' style text editors hands down anyway). The only reason everyone doesn't use VIM and EMACS is because the software really does take quite a while to get the hang of. Anyway, each blog entry I make on VIM, you should mul over a lot and practice until you get the...
LQ Newbie
Posted in VIM dedication
Views 322 Comments 0 omgiamlinux is offline
Old

HR webserver setup for deploying rails on my shared webhost

Posted 10-27-2011 at 09:18 PM by omgiamlinux
Updated 10-27-2011 at 09:22 PM by omgiamlinux

Executive Summary:
I. To install
a) Add the line [inline]gem 'thin'[/inline] to your Gemfile
b) And setup the restart script.

II. To start (must use your real port number)
Code:
 $  bundle exec thin start -e production -p 1**** -d
III. To stop
Code:
 $  bundle exec thin stop
IV. To restart
Code:
 $  ~/./script/restart-thin.sh





1) Designate an application port
...
LQ Newbie
Views 287 Comments 0 omgiamlinux is offline
Old

installed git on webhost

Posted 10-27-2011 at 09:16 PM by omgiamlinux

I installed git on my webhost using the below suggestions.

Here's how to install git on a webhost.
LQ Newbie
Views 188 Comments 0 omgiamlinux is offline
Old

Working with debian through windows: The remote console that is SSH

Posted 10-27-2011 at 09:11 PM by omgiamlinux
Updated 10-27-2011 at 09:12 PM by omgiamlinux

If you want to be, as the kids are saying "k-rad", you'll probably learn a thing or two about linux. But if you want to be "uber k-rad", you'll figure out how to use linux from the comfort of your favorite operating system (for most of us, that's windows).

Basically, to work on a linux machine, no one uses GUI stuff unless they were born into a linux family or lured into it at a very young age. So forget about needing to see the visual stuff in linux, you just...
LQ Newbie
Posted in Linux lvl 2
Views 549 Comments 0 omgiamlinux is offline

  



All times are GMT -5. The time now is 07:55 AM.

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