Category Archives: Web

Perl One Liners

Overview Perl has a reputation as a write-only language and one that is difficult to use. While you can write unreadable code in any language, aspects of Perl make it difficult for novices to read and encourage poor readability. There is one area where Perl remains the unquestioned champion: one-liners. One Liner Perl was originally

Read More

My Favorite Tools for Web Development

SSH Connection My workstation runs Windows 7 x64 and while I have tried PuTTy and Cygwin, for stability and ease-of-user I’ve settled on using NetSarang’s XShell as my favorite SSH tool. PuTTy worked well for me until I started using Windows 7. With the advent of Windows 7, PuTTy began to drop connections intermittently. I

Read More

Updating PHP on CentOS 6.3

Despite the fact that this references i386 when installing the repository, the subsequent package updates work for x86_64. [bash] rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum –enablerepo=remi,remi-test install httpd php php-common yum –enablerepo=remi,remi-test install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml service httpd restart [/bash]

Setting Up EC2 Web Server

Getting X11 Forwarding Working It can be confusing to see the report {code}WARNING! The remote SSH server rejected X11 forwarding request.{/code}. You’ve made sure that {bash}/etc/ssh/sshd_config{/bash} has X11 forwarding enabled and that a local X Server is running. The problem is that many servers do not have {bash}xauth{/bash} installed by default. Adding this enables X11

Read More