
For my personal note :p
drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
To free pagecache:
echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches
Source : http://www.linuxinsight.com/proc_sys_vm_drop_caches.html
I just try new version of yahoo messenger, after couple minute try, I feel not comfortable with it, the response very rather my old version. Then I decide to uninstall it and re-install my old version.
After the old install, I lost my yahoo preference. My favourite silly preference is display yahoo messenger name every time I did enter/send message. The default preference only display my Yahoo ID on first message.
I have search on Yahoo Messenger setting and found nothing. Then after couple minute browsing, I found way to change the setting. I use CTRL+SHIFT+ 0 / 1 / 2
Finally my favourite silly setting is back hahahhahah
Recently I need dump some data from my database, since I am not the developer of the application I have to study first about data structure. I found the application use “view” , actually I have no experience with view
I did export using phpMyAdmin as usual, I did export view as regular table, and export it to SQL file. After review the SQL file result, I found the SQL file was not as I expected
Finally I found the way how to export data, I change the export output to “CSV” not SQL and the method work fine
hahahhaha
Recently, I build hotspot system with single Freeradius server on Linux. the NAS is 3 mikrotik Access Point and 1 Mikrotik Ethernet. I followed step mentioned on the net, I am storing user session on MySQL table, uncomment for simultaneous SQL query check. I think I have fulfill all requirement, but I am still not get single simultaneous user work.
I tried login on different NAS / AP with same username and password and system still allow it. That make me frustrated for couple day. When I saw on radius log file, it always display :
Error: [sql] Failed to check the terminal server for user ‘xxxxxxx’
I am googling about above error and still not get solution. They say just check ‘client.conf’
Yesterday, I am review my configuration, especially on client.conf. Here sample part of my client conf
client 192.168.x.x {
secret = xxxxxx
shortname = hs-d
nastype = Mikrotik
}
I think, the nastype caused the ” Failed to check the terminal server for user” then I comment the nastype
client 192.168.x.x {
secret = xxxxxx
shortname = hs-d
#nastype = Mikrotik
}
I restart the freeradius server, and try login on different NAS with same username, now it’s work
the system now allow only single simultaneous user. I am happy with it
When T13 printer is turned on, the printer will do a track test, card ridge will move to the right and left. At that time, when card ridge can not reach the maximum point in the right or the left it will be considered as “general error”. Make sure no objects are blocking when card ridge track test.
If you have problem with uploading rar file using codeigniter upload class it because on mime file there’s no definition for rar file.
Open system/application/config/mime.php file and add RAR definition
‘rar’ => ‘application/rar’
(Note: I use Firefox 4, that config may not work on other browser because other browser may define MIME for rar fire differently.
It’s long time for me to not back up data on my laptop to DVD, this afternoon I decide to backup my data on DVD. When I complete do compilation with nero and start burning the data, a annoying happen, It’s need more than 30 minute to pass burning 700Mb file on 8X speed what a very-very slow burning speed. T,T
I though my DVD writer on my laptop is bad or damage since it’s has 3 year server me, then I decide to find out on google. I found information that the DVD drive randomly change the data transfer mode to PIO only.
I check my “device manage” on my XP, go to IDE ATA /ATAPI Controller I double click Primary IDE controller , Advance Setting and found the transfer mode now is PIO only T,T that the source of my burning trouble T,T woooaahh ….
I change the transfer mode to DMA if available and click okay … woallah my burning process speed increase dramatically …..
Recently I want to increase my maximum file size, I develop my own Codeigniter application, I am using file upload class. Far as I know I just need increase “file_uploads” to desired value I want.
I increase the “file_uploads” to 150MB. When I try upload 18MB file use my application it’s just show me a blank page without any error, then I look error log file and found something
POST Content-Length of 18248964 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
I found that I also need increase the ‘post_max_size’ to 150MB on php.ini. Yup my application work fine now, glad to see this
Recently I use bxSlider on my web project, it’s nice and cool jQuery content slider with many option, I like it so much
When I implement it on my web, a silly problem happen, at first the first slide is always cut off on the right side and pieces of content appear in the left.

The solution for that silly thing is add some CSS code, I found this on bxSlider example page, and implement it on my CSS code.
* {
margin:0;
padding:0;
outline: 0;
}
Recent Comments
- envio in Epson T13 General Error
- bratz in Epson T13 General Error
- Wade in Silly first slide on bxSlider
- Jesus in Epson T13 General Error
- pranay in readfile() disabled, alternative so…
- envio in Mail sent by user nobody being disc…
- 1mr3yn in Mail sent by user nobody being disc…
- pardss in Epson T13 General Error
- envio in Codeigniter RAR file Upload
- P.Ashokkumar in Codeigniter RAR file Upload