<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://kiwi.tourmentine.com:8080/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Da Kiwi public</title>
        <description></description>
        <link>http://kiwi.tourmentine.com:8080/</link>
        <lastBuildDate>Mon, 21 May 2012 02:37:44 +0200</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://kiwi.tourmentine.com:8080/lib/tpl/redmine-kiwi/images/favicon.ico</url>
            <title>Da Kiwi</title>
            <link>http://kiwi.tourmentine.com:8080/</link>
        </image>
        <item>
            <title>public:android_camera</title>
            <link>http://kiwi.tourmentine.com:8080/public/android_camera?rev=1333142224&amp;do=diff</link>
            <description>basically you'll have to remount the /system filesystem read-write, make the /system/media/audio/ui/camera_click.ogg unavailable (by either deleting it, renaming it, or changing its permissions), and eventually remount the /system filesystem read-only.</description>
        <category>public</category>
            <pubDate>Fri, 30 Mar 2012 23:17:04 +0200</pubDate>
        </item>
        <item>
            <title>public:backup_your_mailbox_with_gmail</title>
            <link>http://kiwi.tourmentine.com:8080/public/backup_your_mailbox_with_gmail?rev=1262643231&amp;do=diff</link>
            <description>A great tool to backup your mailbox (accessible via IMAP), is imapsync.

However, imapsync keeps eating your RAM until it has finished its job...if you have little memory, it will fail almost everytime...

The simplest solution is to run it for each of your subfolders, if you sorted your (huge) e-mail account accordingly. just crate a simple shell script like this one:</description>
        <category>public</category>
            <pubDate>Mon, 04 Jan 2010 23:13:51 +0200</pubDate>
        </item>
        <item>
            <title>public:bash_tips</title>
            <link>http://kiwi.tourmentine.com:8080/public/bash_tips?rev=1312643448&amp;do=diff</link>
            <description>*  ^D logout/exit (only if current command line is empty)

	*  ^K cut

	*  ^Y paste

	*  ^E go the the end of the line (end key)

	*  ^A go the the beginning of the line (home key)

	*  ^R bck-i-search find pattern in shell history

	*  ^T swap two letters</description>
        <category>public</category>
            <pubDate>Sat, 06 Aug 2011 17:10:48 +0200</pubDate>
        </item>
        <item>
            <title>public:dokuwiki_goes_mobile</title>
            <link>http://kiwi.tourmentine.com:8080/public/dokuwiki_goes_mobile?rev=1332586992&amp;do=diff</link>
            <description>Install some mobile template

Here are some mobile template you can download:

	*  dokumobile
	*  minimal_mobile

Fix dokuwiki

The main trick here is that dokuwiki uses a special function, ismobiledevice() to set a global environment variable called “ismobile”. This function is called in inc/common.php; unfortunatly, the templating stuff is handled by inc/init.php, which is called before. We need to fix it.</description>
        <category>public</category>
            <pubDate>Sat, 24 Mar 2012 12:03:12 +0200</pubDate>
        </item>
        <item>
            <title>public:fofox</title>
            <link>http://kiwi.tourmentine.com:8080/public/fofox?rev=1330193685&amp;do=diff</link>
            <description>*  Adblock : should I have to explain?
	*  ColorfulTabs : nice colors in your tabs
	*  Firebidule : rename your browser with a random name. Totally useless, so a must have ;-)
	*  Fission : address bar and progress bar, like Safari
	*  Flagfox : Displays a country flag depicting the location of the current website's server and provides quick access to detailed location and webserver information
	*  Flashblock : Disable/Enable automatic flash content display, which can activated on-demand
	*  For…</description>
        <category>public</category>
            <pubDate>Sat, 25 Feb 2012 19:14:45 +0200</pubDate>
        </item>
        <item>
            <title>public:ics4n1</title>
            <link>http://kiwi.tourmentine.com:8080/public/ics4n1?rev=1332630647&amp;do=diff</link>
            <description>Ice Cream Sandwich for Nexus One

Here is some notes on installing ICS on the Nexus One.

Flash ROM

Download MIUI.us port from &lt;http://forum.xda-developers.com/showthread.php?t=1479348&gt;

Camera Fix

kushdeck as released a separate ZIP which fix the camera app bugs, just flash it from recovery.</description>
        <category>public</category>
            <pubDate>Sun, 25 Mar 2012 00:10:47 +0200</pubDate>
        </item>
        <item>
            <title>public:ipsec</title>
            <link>http://kiwi.tourmentine.com:8080/public/ipsec?rev=1296394014&amp;do=diff</link>
            <description>Abstract: Here we assume we have two FreeBSD hosts, A using public IP 1.1.1.1 and internal virtual net 192.168.3.0 for jails, and B using public IP 2.2.2.2 and internal net 192.168.6.0 for jails. We need hosts and jails to communicate together, preferably in a crypted way.</description>
        <category>public</category>
            <pubDate>Sun, 30 Jan 2011 14:26:54 +0200</pubDate>
        </item>
        <item>
            <title>public:lastfm</title>
            <link>http://kiwi.tourmentine.com:8080/public/lastfm?rev=1238341276&amp;do=diff</link>
            <description></description>
        <category>public</category>
            <pubDate>Sun, 29 Mar 2009 17:41:16 +0200</pubDate>
        </item>
        <item>
            <title>public:my_own_ipv6_tips_for_servers</title>
            <link>http://kiwi.tourmentine.com:8080/public/my_own_ipv6_tips_for_servers?rev=1296929539&amp;do=diff</link>
            <description>Here you'll find configuration for both ipv4/ipv6 accesses on some servers I personally use.

SSH

add to /etc/ssh/sshd_config:


ListenAddress ::



Lighttpd

add this to your main lighttpd configuration file:


server.use-ipv6 = &quot;enable&quot;
$SERVER[&quot;socket&quot;] == &quot;0.0.0.0:80&quot; {
# listen on all ipv4 interfaces.
}</description>
        <category>public</category>
            <pubDate>Sat, 05 Feb 2011 19:12:19 +0200</pubDate>
        </item>
        <item>
            <title>public:mysql</title>
            <link>http://kiwi.tourmentine.com:8080/public/mysql?rev=1312644758&amp;do=diff</link>
            <description>set root password



shell&gt; mysql -u root
mysql&gt; SET PASSWORD FOR 'root'@'localhost' = PASSWORD('password');
mysql&gt; SET PASSWORD FOR 'root'@'host_name' = PASSWORD('password');



grant access to a remote machine



mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'user'@'client' IDENTIFIED BY 'password' WITH GRANT OPTION;</description>
        <category>public</category>
            <pubDate>Sat, 06 Aug 2011 17:32:38 +0200</pubDate>
        </item>
        <item>
            <title>public:nagios_toaster</title>
            <link>http://kiwi.tourmentine.com:8080/public/nagios_toaster?rev=1293792021&amp;do=diff</link>
            <description>a.k.a. Nagios-on-Steroids.

The goal here is to get a Nagios server monitor, with graphing capabilities and integrated configurator. We will use the following tools:

	*  Any webserver running php
	*  Nagios (obviously)
	*  Munin
	*  Nagios Administrator. Warning, this is a german product.
	*  MySQL (Nagios Adminitrator needs it)</description>
        <category>public</category>
            <pubDate>Fri, 31 Dec 2010 11:40:21 +0200</pubDate>
        </item>
        <item>
            <title>public:openvpn</title>
            <link>http://kiwi.tourmentine.com:8080/public/openvpn?rev=1267833603&amp;do=diff</link>
            <description>Install necessary packages

	*  Debian



 # apt-get install openvpn liblzo1 zip



	*  Gentoo



 # emerge -av openvpn zip



Install easy-rsa for key management



 # cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/easy-rsa



Customize scripts

	*  edit /etc/openvpn/easy-rsa/build-key and add:</description>
        <category>public</category>
            <pubDate>Sat, 06 Mar 2010 01:00:03 +0200</pubDate>
        </item>
        <item>
            <title>public:recordsreleases</title>
            <link>http://kiwi.tourmentine.com:8080/public/recordsreleases?rev=1176327208&amp;do=diff</link>
            <description>*  04/16: Nine Inch Nails - Year Zero 
	*  04/30: Tori Amos - American Doll Posse
	*  04/30: Infected Mushroom - Vicious Delicious
	*  05/07: Björk - Volta
	*  05/14: Ange - Le Tour De La Question
	*  05/22: Franck Black - Christmass</description>
        <category>public</category>
            <pubDate>Wed, 11 Apr 2007 23:33:28 +0200</pubDate>
        </item>
        <item>
            <title>public:ssh</title>
            <link>http://kiwi.tourmentine.com:8080/public/ssh?rev=1323809626&amp;do=diff</link>
            <description>by editing ~/.ssh/config, you can make SSH aliases very simply:



Host shortname
        HostName        longname.domain.tld
        Port            22
        User            username



typing “ssh shortname” will be the same as “ssh username@longname.domain.tld” (even if shortname is not defined in the DNS nor in the /etc/hosts file)</description>
        <category>public</category>
            <pubDate>Tue, 13 Dec 2011 21:53:46 +0200</pubDate>
        </item>
        <item>
            <title>public:start</title>
            <link>http://kiwi.tourmentine.com:8080/public/start?rev=1333142410&amp;do=diff</link>
            <description>Monitoring

	*  Useful *top utilities, for real-time monitoring
	*  How to quickly setup a fully functional, yet fancy, Nagios
	*  Monitoring Windows using Unix tools

Command line

	*  MySQL Hints
	*  Bash Hints
	*  ZSH Hints
	*  SSH Hints
	*  How to quickly create fully fonctionnal shell scripts using VIM</description>
        <category>public</category>
            <pubDate>Fri, 30 Mar 2012 23:20:10 +0200</pubDate>
        </item>
        <item>
            <title>public:top</title>
            <link>http://kiwi.tourmentine.com:8080/public/top?rev=1272224257&amp;do=diff</link>
            <description>the classic top util, used for real-time process list

top on steroids: color display, bar-graph per-CPU usage 

apache-top is used to parse the server-status/ apache page (usage: apache-top.py &lt;http://servername/server-status&gt;, so the server needs - obviously - mod_status)</description>
        <category>public</category>
            <pubDate>Sun, 25 Apr 2010 21:37:37 +0200</pubDate>
        </item>
        <item>
            <title>public:vimbashfactory</title>
            <link>http://kiwi.tourmentine.com:8080/public/vimbashfactory?rev=1282600534&amp;do=diff</link>
            <description>*  Download the VIM template script
	*  Install it (:source path_to_vim_script)
	*  Create the following script in .vim/templates/sh:



#!/bin/sh

VERSION=&quot;$0 v1.0&quot;

usage()
{
cat &lt;&lt; EOF

Usage: $0 [options]

OPTIONS:
  -b, --black-and-white         Suppress colored output.
  -h, --help                    Show this message.
  -V, --version                 Show Program version.
EOF
}

# don't forget to add &quot;:&quot; after an option if it needs args (they will be stored as $2, $3, etc. in the next whil…</description>
        <category>public</category>
            <pubDate>Mon, 23 Aug 2010 23:55:34 +0200</pubDate>
        </item>
        <item>
            <title>public:vpn_vs_proxies</title>
            <link>http://kiwi.tourmentine.com:8080/public/vpn_vs_proxies?rev=1329846177&amp;do=diff</link>
            <description>Introduction

In this document, you'll find the necessary stuff to bypass proxies that allow only ports 80 and 443, to go to the internet without any port-limitation or stupid filtering. Most of the “Client Part” is for an Android-based client, but should be easily adapted to other platforms.</description>
        <category>public</category>
            <pubDate>Tue, 21 Feb 2012 18:42:57 +0200</pubDate>
        </item>
        <item>
            <title>public:windows_monitoring</title>
            <link>http://kiwi.tourmentine.com:8080/public/windows_monitoring?rev=1238288095&amp;do=diff</link>
            <description>*  Download NSClient++
	*  Enable/disable plugins by editing C:\Program Files\NSClient++\NSC.ini

	*  Download Munin Node for Windows
	*  Enable/disable plugins by editing C:\Program Files\Munin for Windows\munin-node.ini</description>
        <category>public</category>
            <pubDate>Sun, 29 Mar 2009 01:54:55 +0200</pubDate>
        </item>
        <item>
            <title>public:zsh</title>
            <link>http://kiwi.tourmentine.com:8080/public/zsh?rev=1312648305&amp;do=diff</link>
            <description>History timestamps



HISTFILE=~/.history
HISTSIZE=9999
SAVEHIST=9999

setopt extendedhistory

alias history='history -i'



Prompt

A nice colorfull prompt



autoload -U colors &amp;&amp; colors
if [ $UID = 0 ]
then
        PS1=&quot;%{$terminfo[bold]$fg[red]%}%m %{$fg[blue]%}%2~ %{$reset_color%}%# &quot;
else
        PS1=&quot;%{$terminfo[bold]$fg[green]%}%n@%m %{$fg[blue]%}%2~ %{$reset_color%}%# &quot;
fi</description>
        <category>public</category>
            <pubDate>Sat, 06 Aug 2011 18:31:45 +0200</pubDate>
        </item>
    </channel>
</rss>

