The Official Blog of Richard Ricketts

my personal knowledge base

Blog

DigitalOcean NYC2 SLA Credit and Outage Explanation on July 21, 2014

Posted by on 8:39 am in Domaining | 0 comments

Hi, I would like to take a moment to apologize for the problems you may have experienced accessing your droplets in the NYC2 region July 21st, starting around 6PM Eastern time. Providing a stable infrastructure for all customers is our number one priority, and whenever we fall short we work to understand the problem and take steps to reduce the chance of it happening again. In this case, we’ve determined what were a few related events which contributed to the outage: First, we had a problematic optical module in one of our switches that was...

read more

IPTABLES, how to block ALL traffic to a server EXCEPT from one IP address

Posted by on 9:00 am in Tutorials | 0 comments

Just like the title says, these three rules will block all traffic to the given server EXCEPT from the specified IP address: # Allow traffic locally on the server iptables -I INPUT -s 127.0.0.1 -j ACCEPT # Allow traffic from given IP address iptables -I INPUT -s 192.168.0.1 -j ACCEPT # Block all OTHER traffic that does not meet the two conditions above iptables -P INPUT DROP

read more

The snobs of dashes aka the dash nazi’s

Posted by on 9:00 am in Internet Favorites | 0 comments

An em-dash is typically used to act as a comma or parenthesis to separate out phrases—or even just a word—in a sentence for various reasons (i.e. an appositive). Examples where an em-dash should be used: School is based on the three R’s—reading, writing, and ’rithemtic. Against all odds, Pete—the unluckiest man alive—won the lottery. I sense something; a presence I’ve not felt since— An en-dash is used to connect values in a range or that are related. A good rule is to use it when you’re expressing a “to” relationship....

read more