The other thing is that when you update the .deb files go in /var/cache/apt/archive. To clean it up use: Code: apt-get clean or Code: apt-get autoclean from the man page: Quote: clean clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When APT …
Monthly Archives: June 2009
mysql: “not cleanly closed and upgrade needing tables” problem
I have used mysql server on my laptop with gutsy on xfs file system. I have tested on hardy version and have same output as following Quote: sudo /etc/init.d/mysql start * Starting MySQL database server mysqld [ OK ] * Checking for corrupt, not cleanly closed and upgrade needing tables. I google and couldn’t find …
Continue reading “mysql: “not cleanly closed and upgrade needing tables” problem”
Job control
bg – Resume the suspended job jobspec in the background cron – Daemon to execute scheduled commands fg – Resume the suspended job jobspec in the foreground jobs – list the active jobs disown – Remove job from the table of active jobs suspend – Suspend the execution of this shell wait – Wait until the child …
Redirect iframe to top target with php
Redirect iframe to top target with php <script>window.top.location.href=”<?php echo “index.php/final?code=1”; ?>”</script>
CSS tips , bg iamge position, DIV hover
Css bg image position stylesheet .seabox { background-image: url(images/seascape.gif); background-repeat: no-repeat; background-position: 0 0; /* remark: nothing between 0 and 0 */ } html <div>…</div> http://home.tiscali.nl/developerscorner/port-hole/porthole.htm CSS DIV HOVER .home_tab { (I’d call this #nav a) width: 75px; height: 26px; background: url(images/home.jpg) top left no-repeat; margin-left: 265px; } .home_tab:focus, .home_tab:hover, .home_tab:active { (I’d call this …
Install Zend Optimizer
Overview: The Zend Optimizer is a free application that runs the files encoded by the Zend Encoder and Zend SafeGuard Suite, while enhancing the running speed of PHP applications. Many scripts require that you have Zend Optimizer installed so you are able to run them on your server while decrypting and running them on the …