2008 October

WordPress SVN

New Install:

$ mkdir blog
$ cd blog
$ svn co http://core.svn.wordpress.org/tags/3.0 .

Updating to a New Stable Version:

$ cd blog
$ svn sw http://core.svn.wordpress.org/tags/3.0/ .

Relocating from the old svn.automattic.com repository

$ svn switch --relocate http://svn.automattic.com/wordpress/tags/2.7.1 http://core.svn.wordpress.org/tags/2.7.1/

Installing/Updating WordPress with Subversion « WordPress Codex

By WladyX on 25 October, 2008 | General, Wordpress | A comment?

Gnome-terminal prefs

start by gnome-terminal –geometry=137×49+307+156

By WladyX on 24 October, 2008 | General, X11 | A comment?

Delete cups queue

cancel -a

By WladyX on 23 October, 2008 | General | A comment?

Sendmail sendmail.mc file

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

SMTP AUTH – Quick Start Guide for Red Hat

By WladyX on 22 October, 2008 | General, Mail | A comment?

sendmail access & mailertable file

 [root@deep] /# makemap hash /etc/mail/access.db < /etc/mail/access
 [root@deep] /# makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
By WladyX on 20 October, 2008 | General, Mail | A comment?

How to make transparent GIF/PNG with GIMP

  1. Right click the image and go to LAYERS then ADD ALPHA CHANNEL.
    You won’t notice anything happening, but don’t be concerned. It
    basically adds a transparent layer at the bottom of your image so when
    we erase the colors…..it’s shows the transparent layer. Which of course
    would show whatever was under it on the screen.
  2. Right click on the image again and go to SELECT and then down
    to BY COLOR. A window that is all black opens up. Don’t change any of
    the settings….just use the defaults for now.
  3. Now click on the color in the image you want to be transparent. These colors will now show up outlined.
  4. Right click on the image again and go to EDIT and then down to
    CLEAR. This should now erase the outlined color you just picked from
    the image and the “transparent gimp checkerbox” should show through.
    This is the Gimps way of showing you that section is now transparent.
  5. Right click on the image and choose SAVE AS and make sure to save as a GIF file if you want the transparency to work on the web.

Source: http://aplawrence.com/Linux/crousegif.html
Also helpful: http://www.seanhower.com/TransGIF.html

evad.zone » Blog Archive » How to make transparent GIF/PNG with GIMP

By WladyX on 17 October, 2008 | General, Gimp, X11 | A comment?

Use http proxy for git client

1) Download transconnect source code from its website

2) Uncompress the .tar.gz package, to install it, simply type:

make
make install

The above is the standard installation, for others, please refer to INSTALL located within the uncompressed directory.

3) A new directory ‘.tconn’ will be created under your HOME directory by the installer and a config file ‘tconn.conf’ will be copied to that directory. Open ‘tconn.conf’, you will find two options named ‘proxyserv’ and ‘proxyport’. Replace the default value with the proxy you are in use.

And that’s all for setting!

4) It is easy to start transconnect by exporting an environment variable:

LD_PRELOAD=$HOME/.tconn/tconn.so
export LD_PRELOAD

After that, try your git client, it should work on current terminal by going through the proxy you have set.

5) It is also easy to stop transconnect. In the terminal you have exported LD_RELOAD, simply unset it.

unset LD_PRELOAD

Yes, that’s all, enjoy!

Liming’s Blog: Use http proxy for git client

By WladyX on 15 October, 2008 | General, Ubuntu | A comment?

Emerge warning

If you get this warning when using emerge

WARNING: repository at … is missing a repo_name entry

you need to create a file “repo_name” containing the overlay name into the “profiles” directory under your overlay directory. If my overlay is in /opt/my-overlay, i need this file :

# cat /opt/my-overlay/profiles/repo_name
myoverlay

By WladyX on | Gentoo | A comment?

Gnome DejaVu fonts


Details: Best shapes. 96 dpi. RGB. Medium Hint.Greyscale Smoothing.


By WladyX on 14 October, 2008 | X11 | 1 comment

Trusted and Untrusted X11 Forwarding with SSH

    $ ssh -Y chris@concord1 xwd -root >~/test.xwd

    (Success)

    $ ssh -X chris@concord1 xwd -root >~/test.xwd
    X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 3 (X_GetWindowAttributes)
    Resource id in failed request: 0×600001
    Serial number of failed request: 17
    Current serial number in output stream: 18

    (Failure)

Wednesday Why: Trusted and Untrusted X11 Forwarding with SSH – Fedora Daily Package

By WladyX on | General | A comment?