Category Archives: tech
Inner vs Outer Joins on a Many-To-Many Relationship
Continue reading
Simple Regular Expressions by Example
As with most things, it’s pretty easy when you know how, so here’s my one-step-at-a-time approach to regex (stolen from my ZCE preparation tutorial slides). Let’s begin at the very beginning: regular expressions have delimiters, usually a slash character, and these contain a pattern that describes a string.
pattern | notes |
---|---|
/b[aeiou]t/ |
Matches “bat”, “bet”, “bit”, “bot” and “but” Also matches “cricket bat”, “bitter lemon” |
Importing and Exporting MongoDB Databases
mysqldump
for mongodb?
It should have come as no surprise that the command I wanted was called mongodump
, really! Continue reading
Do-it-Yourself Peer Review
Explaining MySQL’s EXPLAIN
Simple CRUD with MongoDB
Continue reading
Missing Kernel Source when Installing VirtualBox
API Serving JSONP
Early in the development of the new Joind.In API, someone else started consuming the service to populate the javascript widgets they were making*. Since these scripts are intended to be used on many external pages, and they retrieve data from the joind.in API, cross-domain issues were a problem. Continue reading