eAccelerator It is a wonderful mechanism to speed up a slow php. Basically, the idea is a simple 😆 in the execution of php scripts that fooled 'em up opcode level and the next call if there is no change in low script used copy opcode. The result is faster performance at lower server load, less waste of resources. Overall this is.

Now I share simplicity which I could have formed. Before a little less than a week on a single server update php version that uses because of fatal CVE-2010-4645 bug. I have renewed version to 5.2.17 where I saw, it is repaired. I do not risked with 5.3.5 version, the differences and do not know what how it works , and most importantly it was late. said done. The update went more than smoothly, but after I finished I noticed that the site fell agility quite. But one of the developers had warned me, that will test new scripts and did not pay much attention. Yesterday I had to tune some cron-s new php and when I dropped them saw a rather unpleasant label, compilation that my eAccelerator-a is for older versions of php-it my new does not work ;). Clearly it's all clear. Quickly recompile eAccelerator-a and everything fell into place roughly observations loading pages fell by double liberated precious megabytes of RAM. Overall now at least I did the test and certainly benefit especially when over 200 User online things are quite eloquent and at 400 😉 There are other mechanisms but according to tests eAccelerator-a is the savvy choice. I don't have time to test so I trust people 😀

http://www.youtube.com/watch?v=eJarZiMQaKA

Malmo It is a very interesting new project – as a whole is designed to protect the server hosting malware on it, created by my friend and linux guru ShadowX. To clarify what exactly has in mind – nothing prevents to throw on what hosting a nice c99 shelche say and if not dostachno well tuned filesystem nothing prevents evil hahor to get hold of shell access. In general the idea of ​​malmon is right to monitor uploading a pleasant misery and them moved to a quarantine directory other than the document root-a. The principle on which it works is pretty nice – monitor the creation of new downloads on folder that is set to see the software in the presence of a file some Cotto coincides with certain signatures it refers to the eternal hunting grounds. Something like antivirus software 😉 script is written in python which makes it light, fast and flexible. To monitor the new files created using the relatively new mechanism core inotify. Although still not officially script stable version 3 days I have not had problems of a properly loaded server – One of the sites there is in the top 100 the tyxo 😉

I can continue to pour dry statistics and explanations of how deeply the code works, but will not do. I'd rather call you to download it and test if you have suggestions write to the author to 😉 if you see bugs again write people are wrong and it is good to stick together. Cheers!

Because I'm unique jerk and write horribly half-baked and m″rliv code, I was able to leave without access to hosting my machine all night. The problem turned out to be retarded trivial but any thoughts of a time.

#!/bin/bash -x
wget http://checkip.dyndns.org/ -O /tmp/ipaddr
IPADDR=$(cat /tmp/ipaddr | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>')
IPADDROLD=$(cat /tmp/ipaddr_old | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>')

if [ "$IPADDR" != "$IPADDROLD"  -a "$IPADDR" != "" ]
then
 sed -i "s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/$IPADDR/" /etc/bind/neo2shyalien.eu
 /etc/init.d/bind9 restart
 echo "server localhost" > /tmp/nsupdate
 echo "zone neo2shyalien.eu" >> /tmp/nsupdate
 echo "update delete ns.neo2shyalien.eu. A" >> /tmp/nsupdate
 echo "update delete ns.neo2shyalien.eu. CNAME" >> /tmp/nsupdate
 echo "update add ns.neo2shyalien.eu. 38400 A $IPADDR" >> /tmp/nsupdate
 echo "update add *.neo2shyalien.eu. 38400 CNAME ns.neo2shyalien.eu." >> /tmp/nsupdate
 echo "show" >> /tmp/nsupdate
 echo "send" >> /tmp/nsupdate
 echo "" >> /tmp/nsupdate
 /usr/bin/nsupdate -k /etc/Kns.neo2shyalien.eu.+157+59417.private -d /tmp/nsupdate
 mv /tmp/ipaddr /tmp/ipaddr_old
fi

This is a revised script that will not allow the error. After a bit I will explain where she was part problemata now to explain what makes the script. At least I'm a dynamic public ip. I posted the above script to check for a change in my address if you change to change the settings of the machine and sends the information for my domain, that there is a change. Generally trivial script but it was made a terribly retarded pass. In the part where it is checked for change of address

if [ "$IPADDR" != "$IPADDROLD"  -a "$IPADDR" != "" ]

Before it was

if [ "$IPADDR" != "$IPADDROLD"]

So does the following line itself gets 2 IP address and compares them if they have the same pass if they are different, it only. In the previous version I had missed a very important mistake for some reason the script it was decided that I have IP = “” (нищо) и пренаписало конфигурацията на bind-а ми с празно поле и при следващата смяна вече не може да пренапише правилно конфигурацията което води липса на връзка с nameservr-a. Малоумно нали 😉

Because I had a lot of controversy until I got to the optimal Variant – for Android on my HTC I decided to start a save a detailed explanation about the things. In the case of installation on offered, indicating what is NAND-on the phone, haret boot options I'm not going to rehash, Although things with him must be identical.

1. Preparation – before we begin we need to start with the core flašnem chip and NAND will make possible direct boot-vane on Androida. If you are running Linux or Mac OS you recommend Atools-and if you're using Windows options NBH Editor-a е вашата панацея. След това смъквате последното ядротo от GIT-a I personally recommend the latest version of version 2.6.25. Working on the sound of 2.6.32 and saves more current, the drawback is the low transfer wifi adapter, what works for me. Then open the nbh file and apply settings for your phone and version of droid . Then save the new revised kernel for your phone. And paste on your SD carats. Must be URkaisimg.nbh format so we can if we're right to SPL-phone preflašenm from SD us k. For these things has quite anywhere so I'm not going to discuss them. After flašvane with the core you can now say goodbye to Windows Mobile 😉

2. Android – After we were done with the top phone will start charging in the TTY and invited us to hold d-pad or the middle button on the front panel. With him we enter the boot menu from which we can install our Androida etc resetvame ″pdejtvame us. We can install the andboot folder must have the SD carats it must have a file with the name URandroidinstall.tar.gz or URandroidinstall.tgz. After I tried almost all Froyo versions I think most fast and stable is the Fat Free Froyo. Personally, I use it and I haven't had almost any bugs, hope and its developer to try so much. It is reasonable to install before you begin to make at least one 512 or ext2 partition on your SD card where it will sit or URdata.img part of droid Viv that will have installed programs. The installation is trivial, you select your system on NAND-and-date on ext2 partitions. Waiting 2-3 minutes until everything is set and you will return to the original menu. Choose Quit and will begin to start your freshly installed Android. From now on, good cheer and have fun.

3. Some words about the other things – First of all I recommend Radio ROM to version 1.65. XX version. Version 1.7 XXXX don't work so well. There is some trouble around them with a scope reading contacts from SIM card etc.. If you still want to test 2.6.32 your kernel to Android does not start because of the different parameters that submits to the new kernel init system. In such a case, the updejtvate system as arhivčeto put it here в adboot папката и после от boot менюте се избира да се ъпдейтне системата. Хубавото при него че прави системата една идея по бърза wifi адаптера смучи с по голяма скорост но не е толкова стабилен като 2.6.25 което не е малък минус 😉 отделно че с него Fat Free Froyo-то не може да запаметява контактите от SIM-a.