NANY 2011 Release: Bard - Organise your audio library
Sorry, I have not yet made a proper webpage for this, so please revisit: NANY 2011 Release: Bard - Organise your audio library - DonationCoder.com.
Sorry, I have not yet made a proper webpage for this, so please revisit: NANY 2011 Release: Bard - Organise your audio library - DonationCoder.com.
Our php.log was nearing 550MB so I was investigating how to rotate the logs. The easiest solution seems to be using logrotate (ubuntu linux) with a script like follows.
sudo nano /etc/logrotate.d/php5
/var/log/php5/*.log {
#rotate daily
daily
#keep 14 days
rotate 14
missingok
nocompress
sharedscripts
postrotate
apache2ctl graceful
endscript
}
You can check the configuration by running logrotate --force /etc/logrotate.d/php5
How do you know you need more RAM?
Take a look at your Buffer Cache Hit Ratio, ideally you want to be at 95% plus.
via Less Than Dot - Blog - The SQL Server Memory Leak Confusion.
Do not use capitals for repository names! Because when checking out a working copy you will have to specify the respository url case sensitive. Failing to provide the correct case sensitive name result in things might appear to work but you might get access forbidden messages for certain users in some point, and other mysterious errors, such as the svn commit error below:
access to '/svn/project/!svn/act/c50e0f11-eec3-154a-9695-20ec222ad7f3' forbidden
As a hobbyist music producer, I have a lot of samples of sounds. As I have decided to start organising these, I needed a quick way to fire off samples in wav and mp3 format through Windows Explorer.
So I created InstaPlay. This is a simple sound player. To install it simply unzip it in a directory that's in the path, and then associate wav and mp3 files (and whatever else you want to use) with it. It also has a few features:
This program will help you categorize more efficiently as you can move the sound that's being played without pesky 'file in use' prompts.
Download Info Download the latest version (v1.0 - updated 14/oct/2010)
I'd post the other two examples, but I wouldn't want to take all the fun out of reading the manual.
Source: stackoverflow.com
I noticed a backup of ours did not finish and that the temporary file rsync uses was still listed. A quick google search indicated that rsync had lost its connection. Thanks to Ian Young's article on the subject rsync now resumes when cut off and hopefully the backup will complete now.
Lesson of life: Instead of wishing you were at a certain point with your life, think about something manageable today that you can do towards that goal.
This is a problem I have been trying to solve for some time on and off. Under Windows/IIS I need to periodically run a webpage that uses Windows Integrated Authentication. This rules out most of the VBS scripts and WGet solutions. I got it to work today using a batch file like below. Just add it as a scheduled task.
start /min "C:\Program Files\Internet Explorer\iexplore.exe" <a href="http://domain.com/webpage" target="_blank">http://domain.com/webpage</a><br></br>PING 1.1.1.1 -n 60 -w 60000 > NUL<br></br>taskkill /F /IM iexplore.exe
The two most important parts is starting the application with the 'start' command (windows 2003 server in this case) so that the batch file will continue while the program is running. We then use a trick by pinging every second for 60 seconds (1 minutes) to wait for the webpage to finish what it's doing. Finally we kill off the original program.

Update: This plugin is no longer available.
We’re using a customized version of WordPress as an electronic portfolio for students and we are using WP List Files to make documents available on the ePortfolio. Unfortunately the WordPress support forums seem to hide my topic (possibly because it's an older version) and the author is no longer supporting the plugin.
Due to time constraints, these plugins are no longer supported and will not be updated, ever! Unless you know what you’re doing, I strongly discourage using these on a production blog since they have not been tested since WordPress 2.5.
The plugin didn't work in version 2.0.3 that we are using because the wp_enqueue_script function does not exist in this version (the codex page does not say when this function was added). Anyway after manually adding the JavaScript to the theme's head element the plugin almost worked fine - links didn't take our folder structure into account.
works: joeblogs.com</dir specified in post or page>
doesn't work: allblogs.com/blogs/joebloggs</dir specified in post of page>
Fix it by replacing line 231 to read:
$files .= '
- wpurl').$item['link'].'">'.$itemName.''.
The hyperlink created for the item didn’t have the complete blog URL in it. It assumed the blog was installed in the root of the domain. After this fix the plugin works fine.