Posts

qshape command not found - Postfix

To use qshape you need to install postfix-perl-scripts below are the commands for the major distros Fedora/Centos/Redhat yum install postfix-perl-scripts Debian, Ubuntu apt-get install postfix-perl-scripts Mandriva urpmi postfix-perl-scripts Suse yast -i  postfix-perl-scripts If this won install or wont run once installed then you may need to install perl, use the commands above but replace postfix-perl-scripts with perl Original Source: http://jerrylparker.com/?p=56

System.Runtime.InteropServices.COMException (0x800A03EC)

System.Runtime.InteropServices.COMException (0x800A03EC) Top answer solved this for me.

System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Spent ages trying to work out what was causing this error, eventually found the link below.  http://blkarwasara.blogspot.co.uk/2012/02/exception-details-systemsecuritypolicyp.html

Network settings config file locations

For some reason webmin can no longer update network configuration changes correctly. So for instructions on how to change them manually follow the link below. Network settings config file locations: http://fedoraproject.org/wiki/Anaconda/Network#Editing_configuration_files

PHP and MySQL Pagination

PHP/MySQL select data and split on pages Found this useful article on howto split MySQL records onto pages. So if you want to show only 20 records per page then follow the link.

Datasource Control Timeout (ASP.NET WebForms)

Below is a useful snipit of code, it sets the timeout for DataSource controls. Replace SqlDataSource with the ID of the datasource. Protected Sub SqlDataSource_Selecting(sender As Object, e As System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) Handles SqlDataSource.Selecting e.Command.CommandTimeout = 1000 End Sub

CSV Splitter

Found this very useful CSV file splitter for files over 65536 rows (excel before 2007) or 1048576 rows (excel 2007+). See the original forum thread here or download here