Tip Cache
Your source for tech tips
TipCache is a service that stores tips, process, hacks, HOWTOs, anything related to technology and computers. Tips are categorized by tag words so they're easy to find.
The goal of TipCache is to ease the life of anybody who has spent countless hours googling for that one magical page that finally has the information you were looking for. There are many pieces of software out there, and there are many ways to bend each piece of software. Wouldn't it be nice if there was a single community-driven site that indexed all these tips and tricks in one place?
Welcome to TipCache.
› Recent Tips
Fixed stalled network transfers over scp/rsync and others
Fixed stalled network transfers over scp/rsync and others
Run a simple file-sharing web server
How to quickly share files via HTTP using only Python
Create a self-signed SSL certificate with OpenSSL
A few quick commands that will create a self-signed SSL certificate.
Create a super "catch-all" email address in Postfix
This mini-HOWTO shows you how to setup a virtual alias map that can redirect mail to any address into a remote catch-all address.
Build PHP as a static binary
How to build PHP (from source) as a static binary.
Regular Expression to Validate an Email Address
This regular expression can validate most email addresses.
Regular Expression to Validate a URL
This regular expression can validate most HTTP/FTP URLs
Convert a static library (.a) to a shared object (.so)
A quick recipe on how to convert a static library (archive) to a dynamic one (shared object) in Linux.
Setup your own Certificate Authority (CA)
A quick rundown on how you can create a basic CA to self-sign your own certificates.
Protect a web area with Basic HTTP Authentication
Outlines the basic steps involved in protecting a web directory with basic HTTP authentication in Apache.
Reuse an existing ssh connection
Speed up additional SSH connections to the same server
Setup SMTP AUTH and TLS with Exim
This mini HOWTO shows you how to enable TLS and SMTP Authentication for your Exim 4.x server.
How to avoid ISP blocks on port 25 (SMTP)
Some ISPs will block outgoing connections to port 25 (SMTP) in attempt to curb spam delivery. Nowadays, unprotected Windows machines can quickly become part of spam-delivering botnets, and blocking access to third-party SMTP servers can curtail this.
How to Balance Database Load Across Multiple MySQL Servers
This is a poor man's method of using multiple MySQL servers (all replicating off a single master) to balance database load.
Manipulate the Return-Path of outgoing emails in Exim
Some MTAs require a valid email address in the Return-Path header. Here's how to set it explicitly.
› Most Viewed Tips
Setup SMTP AUTH and TLS with Exim
This mini HOWTO shows you how to enable TLS and SMTP Authentication for your Exim 4.x server.
Convert a static library (.a) to a shared object (.so)
A quick recipe on how to convert a static library (archive) to a dynamic one (shared object) in Linux.
Build PHP as a static binary
How to build PHP (from source) as a static binary.
How to Balance Database Load Across Multiple MySQL Servers
This is a poor man's method of using multiple MySQL servers (all replicating off a single master) to balance database load.
Regular Expression to Validate a URL
This regular expression can validate most HTTP/FTP URLs
Create a super "catch-all" email address in Postfix
This mini-HOWTO shows you how to setup a virtual alias map that can redirect mail to any address into a remote catch-all address.
Reuse an existing ssh connection
Speed up additional SSH connections to the same server
Prevent Exim from adding a Sender header to outgoing mails
Exim likes to add a "Sender" header to outgoing emails. If this differs from the "From" header you set, some email clients will note this.
Fixed stalled network transfers over scp/rsync and others
Fixed stalled network transfers over scp/rsync and others
How to avoid ISP blocks on port 25 (SMTP)
Some ISPs will block outgoing connections to port 25 (SMTP) in attempt to curb spam delivery. Nowadays, unprotected Windows machines can quickly become part of spam-delivering botnets, and blocking access to third-party SMTP servers can curtail this.
Setup your own Certificate Authority (CA)
A quick rundown on how you can create a basic CA to self-sign your own certificates.
Convert an if/elseif/else statement into a switch/case
Sometimes a switch statement can be neater than a bunch of if/elseif/else lines. Here's a simple way to do it.
Protect a web area with Basic HTTP Authentication
Outlines the basic steps involved in protecting a web directory with basic HTTP authentication in Apache.
Regular Expression to Validate an Email Address
This regular expression can validate most email addresses.
Manipulate the Return-Path of outgoing emails in Exim
Some MTAs require a valid email address in the Return-Path header. Here's how to set it explicitly.
