How To Modify the Maximum Allowed Attachment Size in Postfix

Author: , April 22nd, 2015

By default, Postfix restricts attachment size to about 10MB (10240000 bytes). You can check the current value by running the following command: postconf | grep message_size_limit To change the attachment size limit to say 50 MB, run a command like: postconf -e message_size_limit=52428800 You may find that the maximum mailbox size is lower than the […]

How To Disable the Built-in iSight Camera

Author: , October 12th, 2013

I am tired of various programs taking control of my webcam, i.e. Skype, GoToMeeting and others… After searching for a while I found the following website with two awesome Applescripts, one for Snow Leopard and one for Lion. Open the script in the Applescript Editor, and do a Save As. Choose Application and save someplace […]

How To Increase the Open Files ulimit on Ubuntu

Author: , April 29th, 2013

Add the following four lines to the bottom of /etc/security/limits.conf: root soft nofile 65535 root hard nofile 65535 * soft nofile 65535 * hard nofile 65535 NOTE: All whitespace MUST be a single tab! Also edit these three files: /etc/pam.d/su /etc/pam.d/common-session /etc/pam.d/common-session-noninteractive and add the following one line: session    required   pam_limits.so

How To Turn Off Apple iOS6 IDFA Tracking

Author: , October 16th, 2012

On your device, navigate to the following location and change the setting: Settings » General » About » Advertising » Limit Ad Tracking » ON http://apsalar.com/blog/2012/06/apples-new-advertising-id/ http://www.businessinsider.com/ifa-apples-iphone-tracking-in-ios-6-2012-10

How To Increase WordPress Upload Limits Per Site

Author: , December 17th, 2011

Add the following lines to .htaccess in the root directory of your WordPress installation:

How To Select Random Records Using MySQL

Author: , September 28th, 2011