Amazon IAM Policies: Granting one user access to a S3 bucket
It may be easy to use the same master Access Key and Secret Access Key for all your apps using Amazon AWS, but it's definitely not secure and recommended against. That said, I h...
It may be easy to use the same master Access Key and Secret Access Key for all your apps using Amazon AWS, but it's definitely not secure and recommended against. That said, I h...
Too long? tl;dr. Situation : You're migrating a big site to WordPress. You don't want to make 1,000+ posts manually, do you? Meet Ruby/WordPress. I've made a quick little Ruby g...
Want to mix LocationMatch and ProxyPass ? Not so fast. Don't forget to use ProxyPassReverse if you need it (it shouldn't be inside the LocationMatch directive, though). Referenc...
In Ruby 2.0.0 patchlevel 195, you can no longer mix old- and new-style hash syntaxes in method arguments. For example: Wrong Right or Apparently this has been fixed in another p...
Rubinius is an implementation of the Ruby language spec. I've been using it recently for a project, and I've been liking it so far. Here's a few thoughts I've been having while...
A week ago, I posted Automate your Workflow: Local WordPress Install with a script that helps you install new WordPress installations. I've been using it regularly, and have mad...
Lately, I've been pretty obsessed with streamlining my workflow, which means writing scripts (read: building tools to do stuff for me). They say that the best programmers are th...
In the past few weeks, I've found myself demonstrating how to do things on my computer for other people. You know, screenshots, screencasts, the like. I ran into a small problem...
If you haven't noticed, you can't use anchor links: Inside Facebook Apps (Page tab, Canvas app, etc). So I wrote a little snippet that emulates this behaviour by using FB.Canvas...
There's a Japanese word I like, "謎" - the dictionary defines it as "a mystery", "riddle", or "enigma" - I like to define it as "something that makes no logical sense whatever"....
I've been making a Facebook iframe app recently, and I found that this little code » just doesn't work on Everyone's Favorite Browser™ (Internet Explorer 8). always returned "0"...
is NOT correct!!! (This only applies if you're outside of UTC. What's that, like 99% of the world?)
Now, back to real work.
The origins of Twitter. 1. Here you go, free service! 1. Wow, thanks for all those users! 1. Look, you were great, but we don't (really...) need you anymore. 1. Fuck you. In rel...
I'm sure you have heard of App.net by now. The paid, non-advertisement-supported "live social stream" (read: Twitter). They set a $500,000 goal, and raised more than $800,000 -...
There's no denying that PHP is not the optimal language. But at least code in good PHP. Here's my pet peeve for the day: Relative paths in include( once)? or require( once)? sta...
Basically, do not use text-rendering: optimizeLegibility; with Japanese. At least, not yet. Why not? Here are some examples. The top line has text-rendering: optimizeLegibility;...
This is what text (more or less) looks like in Windows! Just do: \ \ \ css \\ { -webkit-font-smoothing: none; } \ \ \ To enable Windows Emulation mode. Great stuff. There's a fe...
A few days ago, I posted a small JavaScript snippet. Retina, Please! is that JavaScript snippet on steroids. It is a combination of JavaScript and PHP to allow your Retina users...
Today, we just released the Varnish-ed site I posted about a few days ago. A few things to be careful about in your Varnish deployment (that I had originally overlooked): - Make...