Other articles


  1. Building Git from scratch

    This is running on Ubuntu 12.04, using the most recent versions as of 2013-02-02.

    Install git:

    $ wget http://git-core.googlecode.com/files/git-1.8.1.2.tar.gz
    $ tar xf git-1.8.1.2.tar.gz
    $ cd git-1.8.1.2/
    $ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev
    $ make ...
    read more
  2. Double-buffered Panels in C#

    Having panels which update quickly without flickering requires double-buffering. To accomplish this in C#, you'll have to derive from the standard Panel class as shown below, and then replace the declaration and instantiation of the panel with your new class.

    using System.Windows.Forms;
    
    namespace WindowsFormsApplication1
    {
        public class DoubleBufferedPanel ...
    read more
  3. Useful One-Line PHP files

    Here are a couple useful PHP commands that you can run on your server to get useful information.

    This one gives basic information about the PHP installation, which can be used for troubleshooting or just verifying that PHP is running.

    <?php phpinfo(); ?>
    

    This one tells you the name of the ...

    read more
  4. PHP Equal-Sign Operators

    Reading some php code, you might get confused about the difference betweeen =, ==, and === (this single, double, and triple equal signs). Here's a quick summary.

    = (Assignment) Just like in (pretty much) every other programming language.

    == (Equality) Returns true if the two variables have the same value.

    === (Identity) Returns true if ...

    read more

Page 1 / 3 »

blogroll

social