Not My Idea — Snippets

Some code snippets about Linux / Php and Python

Category: Non classé

Use CLI to traduct you sentencies !

In a tweet, I was asking if any tools exists to traduct sentencies directly from the command line. And « tw » (for translate word) is one ! (thanks @gabouel)
Install and use it :
cd /tmp
sudo apt-get install elinks curl gawk
wget http://mirror.cinquix.com/pub/savannah/twandgtw/tw-0.1.3.tar.bz2
tar -xvf tw-0.1.3.tar.bz2
cd tw-0.1.3
./configure
sudo make && sudo make install
Now, you can translate directly from the command line [...]

My vimrc profile

For some weeks, I’m now using vim to code, and to redact articles and documentation.

You can check out my currently used .vimrc, and follow it’s modifications on it’s hg repository.

Select All text in VIM

To select All text in visual mode in VIM, try ggVG in normal mode
ggVG

from daily VIM

.NET related Feeds

Here is a list of interesting feeds about .Net (in OPML format):
It’ll be useful at least for Heaven
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
    <head>
        <title>About .NET</title>
    </head>
    <body>
        <outline title=".Net" text=".Net">
            <outline text="Blog de Julien Dollon"
          [...]