Trying to view recorded CCTV footage, I had to find a player for playing the .dav format that the CCTV DVR system was recording to. I found 2, the first one was able to open the file but did not properly display the video while the second one actually was able to play it. If you are trying to open a .dvr file, you can also try using any of these 2 and see if it works for you.
Tuesday, July 05, 2011
Wednesday, June 29, 2011
Stop Simplenews from sending out a newsletter ( Drupal )
This tip is for people using Drupal and a module called Simplenews for maintaining and sending out newsletters to an email list.
There might come a time when you need to stop simplenews from sending newsletters - maybe because of issues with the module or the Drupal site, or you accidentally sent the wrong newsletter to a certain list of users. Whatever the reason, below is a quick way of stopping Simplenews.
Backup your database first. You can use a module called Backup and Migrate to do so.
- Open phpMyAdmin, and look for under your Drupal site's database the simplenews_newsletter table.
Determine the node id of the newsletter you are sending ( going into the edit page would show you the node id on the url ). Look for that node id on the simplenews_newsletter table, and click on the edit button on the left of the row ( pencil icon ).
Change the s_status from 1 ( which means sending ) to either 0 ( unsent ) or 2 ( sent ).
Empty the simplenews_mail_spool table ( this is where all the email addresses and status per message is stored ).
You can use TRUNCATE to do this, as in the code below:
TRUNCATE TABLE simplenews_mail_spool
Friday, June 24, 2011
WinFF - Open Source Video Conversion Tool
WinFF is an open source GUI for the swiss army knife of video conversion - ffmpeg. Supports most of the codecs supported by ffmpeg including flv, avi, asf and wmv. Features a simple and easy to use interface, and can do multiple conversions at the same time.
Platforms
WinFF runs on Windows ( Windows 95, 98, NT, 2000, XP, Vista and 7 ) and Linux ( Ubuntu, Debian, Redhat and Suse ). There is also a portable version for Windows.
Resources
Monday, May 30, 2011
Creating a database in iWeb's PanelBox
iWeb is a Canadian web hosting company that offers shared hosting, managed and unmanaged dedicated servers and colocation.
What is PanelBox?
PanelBox is custom cPanel interface used by iWeb for its hosting accounts.
Creating a database
-
To create a database in PanelBox, first login to your account. The default url would be
/cpanel. -
Under General Options, click on Database.
-
Select whatever Database you want to setup > either MySQL or PostgreSQL. For this guide, we'll be using MySQL.
-
Name your database and click on "Create Database".
-
Now you need to create a user for the database you just created. Hover again over MySQL, and select "Add new user".
-
Name the user, and give a strong password. Click "Create User" to proceed creating a new database user.
-
Next step is to add the user you created to the database, hover over MySQL and select "Add User To Database".
-
On the Add User To Database page, select the user and database you created and hit "Submit".
-
Manage User Privileges page should appear next, check "All Privileges" and then click on "Make Changes".
Now that you have setup the database, you should be able see it under MySQL > Current Databases.
Saturday, May 14, 2011
Random Image Banners in Wordpress
There are lots of different ways to get this done, either by using one of many Wordpress plugins, or just writing custom code. But for this tutorial, we'll be using a Wordpress plugin called WP Bannerize.
-
Download the plugin from this page. Extract and upload to your server, location should be your_wordpress_directory_root/wp-content/plugins.
-
Login to your blog, and on your left sidebar, click on Plugins. Look for WP Bannerize, and click Activate to enable the use of the plugin.
-
Once the plugin is activated, you should be able to see on your admin sidebar the WP Bannerize controls. You can now start adding banners by clicking on "Add new".
-
Browse for the image, and fill out other attributes like destination URL, etc.
-
Now that you have your banners ready, you need to insert into your theme the following:
<?php if(function_exists( 'wp_bannerize' )) wp_bannerize('limit=1&random=1'); ?>
Note:
The default code would just be:
<?php if(function_exists( 'wp_bannerize' )) wp_bannerize(); ?>
but adding limit and random makes your banners appear in random order.
Sunday, March 13, 2011
Help Japan
Last March 11, 2011, an 8.9 earthquake hit near the east coast of Honshu, Japan. The strong quake also caused tsunamis that caused more damage to residential areas, farms and vital infrastructures like the Sendai Airport and the Fukushima Nuclear Power Plant. Thousands have been confirmed dead, and thousands more are missing.
You can get more information and extend help through any of the following ways:
Google Crisis Response page (2011 Japanese Earthquake and Tsunami) - Has a donate button whose proceeds will go the Red Cross Japan. Also on the webpage are other resources like Person Finder,Maps and Latest News.
CNN | Tsunami aid and relief: How you can help - Has links to different organizations that are currently accepting donations and help for the people who have been affected by the quake and tsunami.
Yahoo 7 news | DONATE FOR JAPAN - Links to different charitable organizations where people can channel through their support.
Unplgged | The Japan Earthquake: How to Help - Links to sites, and mentions other ways to donate like via text and iTunes.
Tuesday, March 08, 2011
Lightroom automatically opens when USB drive / Memory Card is inserted
Just a quick tip to stop Lightroom ( in this case 3.2 ) from automatically opening when inserting a USB drive / Memory Card.
- Open Lightroom, from the main top menu, select Edit > Preferences.
- Under the General Tab, look for Import Options.
- Uncheck "Show import dialog when a memory card is detected". Click OK to save the setting change.
Search
Recent Entries
Categories
Archive
- June 2026 (2)
- July 2024 (1)
- February 2016 (1)
- December 2014 (1)
- April 2014 (1)
- August 2012 (2)
- June 2012 (1)
- May 2012 (2)
- March 2012 (1)
- February 2012 (3)
- October 2011 (1)
- July 2011 (2)
- June 2011 (2)
- May 2011 (2)
- March 2011 (2)
- October 2009 (2)
- July 2009 (1)
- May 2009 (1)
- April 2009 (1)
- October 2008 (1)
- June 2008 (3)
- November 2007 (7)
- October 2006 (1)
- September 2006 (4)
- June 2006 (1)
- May 2006 (1)
- April 2006 (1)
- March 2006 (4)
- February 2006 (5)
- January 2006 (8)
- December 2005 (4)
- November 2005 (3)