Archive

Posts Tagged ‘Linux’

Speed up your work in Vim

May 9th, 2008

If you don’t know what’s , then:

  1. You’re IDE’s fan
  2. You’ve never used

An option “you’re using Emacs” is not included - you would have definetely known . You’d hate for the sake of “holly wars”.

I’m not an Emacs lover, neither those huge IDE’s with bunch of boxes, bookmarks, you name . Most of these things are useless when you need to code something fast, so I just stuck with : simple, light, fast, and have a lot of functionality. Here are just few of speeding up coding process I’ve been using lately:

If you got some repetitive function calls or anything you’re not bothered to print just fire up:

Comments:
:ab #cb /********************************
:ab #ce /*******************************/

Printing

#cb

or

#ce

will paste initial comment pattern.

:ab #r require_once();
:ab #i  include_once();

Minus another dozen of lines to be typed.

Text search:

You can

:set incsearch

which will enable incremental search for you, or use regexp, like:

:/\<agent\>/

will find you “agent” in current file.

Using ftp:

cmap ,r :Nread ftp://ftpdomain/public_html/index.html
cmap ,w :Nwrite ftp://ftpdomain/public_html/index.html

These are just basics, Bram Moolenaar, the developer of , got a good article on how to optimize your work with Vim, and David Rayner with his page of Vim tips. Compulsory to learn for beginners!

Linux , ,

KDE on Windows

January 27th, 2008

KDE on Windows XP

Good , team started migration of original applications for platform. Concerning windows.kde.org, users of XP/2000/2003 can easily install famous apps like Konqueror, Kate and others on their machines, via KDE-installer.

If some of the applications don’t work from the beginning, just add KDEDIRS and Path in your Control Panel, as ’s described in the manual.

So far, I found only one minor thing: I couldn’t manage applications via Konqueror, however needs some googling.

In general, lots of positive feelings for this great move of , because some of the apps in can’t be compared with scanty alternatives.

Blogging, Links , , , ,

Linux Antivirus

January 17th, 2008

Here is a Virus scanner for you:

!# /bin/bash
echo virus scanner
sleep(1)
echo Scanning now…
sleep(10)
echo Still scanning…
sleep(10)
echo Almost done…
sleep(5)
echo Drum roll…
sleep(3)
echo No viruses found!!!
sleep(1)
echo Done

References go to Ubuntuforums

Updates: First add-on for Antivirus released, just add few lines at the bottom of the code:

eject
play tada.wav

Blogging , ,

7.04 to 7.10 Ubuntu desktop

October 22nd, 2007

Heck! I was expecting some power consumption improvements, but still 4 hours XP vs. 2 hours Gusty.

Trying to make this post useful, follow these lines:

sudo aptitude update
sudo aptitude upgrade
sudo aptitude dist-upgrade

And remember: the more you misspell these three lines the longer upgrade will be! Be aware of grammar mistakes, folks!

Links , ,

Licenses, patents and ideas

October 17th, 2007

I’ll try to make things short by quoting Richard Stallman:

Control over the use of one’s ideas really constitutes control over other people’s lives; and is usually used to make their lives more difficult.

Watching these patent wars between Novell, Red Hat versus IP Innovation just makes me wondering: how hard will be to distribute ideas in the world where everything is patented?

Links , ,

ROS: Russian Operating System

September 20th, 2007

’s been a while since these talks started. There have been a lot of “for” and “against” opinions concerning the creation of a particular operating system which can be called Russian.

On the 15th of September, in Sochi, the Academy of Information Technologies and Federal Bureau of Technical and Export Control authorized Mandriva Linux distro as a stable version for corporate use.

As the result, Mandriva now can become a “standard” version of Operating System for governmental sectors in Russia.

Personally, I’ve never used and can’t compare its functionality with other ’es, but the worst nightmares of ROS didn’t appear to be true, like:

  • Creating a brand new from scratch
  • Upgrade MSVS distro of

Will Mandriva be an only version of distro used in government sector or not - that’s the question, but a good thing is that is acknowledged as alternatives on government levels.

Measuring the level of integration, a good example is a massive integration of in China - project Red Flag Linux. Hopefully, this first step in Russia will make Open Source systems more popular then now.

Blogging , , , ,