background preloader


Facebook Twitter

Linux: What are some time-saving tips that every Linux user should know. Vim tips: Folding fun. The problem with writing and editing on a computer, versus having words on paper, is that it's usually hard to compare text from different sections of a document when they don't fit on the screen together.

Vim tips: Folding fun

One way to do it is to use Vim's viewports feature. Another is to "fold" the text. Using Vim's folding features, you can tuck away portions of a file's text so that they're out of sight until you want to work with them again. Here's how. Vim's folding commands begin with z -- which, as the Vim docs point out, sort of looks like a folded piece of paper. Creating folds Let's start with some simple folding actions. Folding also works in visual mode. Another option is to specify a range in command mode. Vim can also make some smart text selections. As an added bonus, Vim also recognizes nested blocks, so it will create the fold based on matching delimiters, and not the first closing bracket it comes across.

Finally, you can create a fold from the cursor position to a search result. Bash Guide for Beginners. Getting Started with TeX, LaTeX, and Friends - TeX Users Group. This page is for the benefit of new TeX system users.

Getting Started with TeX, LaTeX, and Friends - TeX Users Group

As such, it tries to be short and simple. (An even shorter getting-started document is available.) What's going on here? TeX is a typesetting language. Instead of visually formatting your text, you enter your manuscript text intertwined with TeX commands in a plain text file. Here are some links with further background: The Pointers to Frequently Asked Questions document provides a short overview of the TeX world. Installing TeX and LaTeX If you are looking to install a complete system, we recommend TeX Live for Unix/GNU/Linux, MacTeX for MacOSX, and proTeXt for Windows. There are many other TeX implementations, some free software, some shareware, some proprietary/commercial.

Online (La)TeX documentation Here is just a little of the principal TeX documentation available on the web. LaTeX: LaTeX Documentation Pointers has references to documentation for many common LaTeX tasks (by Jim Hefferon). Books to buy The TeXbook, by Donald E. 100 Vim commands every programmer should know. Linux Free Software Catalog and Packages Search - How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux. Q.

How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux

Can you explain UUID concept related to Linux ext3 partitions and storage devices? How do I update /etc/fstab using UUID under Ubuntu Linux or any other Linux distro? A. A Universally Unique Identifier (UUID) is an identifier standard used in software construction, standardized by the Open Software Foundation (OSF) as part of the Distributed Computing Environment (DCE). The intent of UUIDs is to enable distributed systems to uniquely identify information without significant central coordination. UUID and Partitions Linux's ext2/ext3 filesystem uses UUID to identify partitions. UUID benefits As a sesonded UNIX admin I have to deal with various data storage technologies such as SAN, iSCSI, DAS, scsi disks volumes.

However, UUID may be not very useful for single desktop computer at home as you do not have enterprise grade storage and requirements. How do I find out UUID for /dev/sdb2? 41c22818-fbad-4da6-8196-c816df0b7aa8 List all UUIDs How do I use UUID to update /etc/fstab file?