Category Archive: Technology

Mar 03

Flapjax – Functional Reactive Programming in Javascript

What if programming can be as simple as writing spreadsheet formulas? Now – there are some complex spreadsheets out there for sure, but the power of spreadsheet comes from that the values are self-updating, i.e. changing value in one cell will automatically cause all its dependent cells to reflect the change.  If spreadsheets cannot do …

Continue reading »

Share

Feb 25

Setting Up SPF DNS Records

SPF (Sender Policy Framework) is an internet standard to address SPAM by ensuring that emails are sent by only the valid senders from valid servers, so spammers cannot send fake emails for your domain (unless they have compromised your server or the DNS servers). The way SPF accomplish that is by adding special records into …

Continue reading »

Share

Feb 23

Comment Spam Filter Via reCAPTCHA

Akismet, the built-in spam filter for WordPress, appears to suffer from some reputation problems, so we’ll avoid using akismet for now, and instead, we will use reCAPTCHA. The nice thing about reCAPTCHA is that it’s got descent strength, and people are familiar with it due to the wide deployment. Using reCAPTCHA requires API keys.  A …

Continue reading »

Share

Feb 23

Enable SSL in Apache

In ubuntu, apache’s config files lie in /etc/apache2, and it uses two sub directories to determine the list of available virtual hosts: /sites-available – holds the configuration files of the defined virtual hosts /sites-enabled – holds symlinks that link back to the virtual host configuration files /sites-available.  Each symlink indicates the enabled virtual hosts The …

Continue reading »

Share

Feb 23

Determine which process binds to which port in Linux

lsof -i tcp:<port_number> http://www.terrencemiao.com/Webmail/msg00900.html

Share