Let’s start it off with a great quote: “To understand recursion, you first need to understand recursion”
Before I get to the tips, I thought I’d mention something that’s been irking me a little bit lately. Why do people minify server-side code!
I absolutely love it when people provide assistance in the form of code samples. I would urge people to keep such examples “maxified”!
Example:
$test.=’test’;
Why not
$test .= ‘test’;
Easier to read, right? Okay, enough of that – let’s see what I learned this month:
- I’ve used Amazon EC2 to setup 2 or 3 server instances this month. It’s been a positive experience, except for one really big thing:When I create a 32 GB volume, it only allocates 8GB of space for use on the drive. There’s a whole bag of tricks you can use to adjust your partitions (or whatever the actual process is) to use the full allocate space. But, I didn’t want to attempt this on a production server.
Lesson: If you go with EC2, verify that your drive actually has the full amount of space allocated to it before you go to production!
Edit: I pieced together a solution in the snippet:
Linux Resize Amazon EC2 Linux Partition (really, I just logged my keystrokes) - Get ready to grab an SSL certificate for all of your sites. It looks like HTTP/2 will be limited to secure connections only.In addition, at the end of April 2015, Mozilla announced that it is officially deprecating the HTTP protocol.
- The #CSS :only-child and :only-of-type pseudo-classes aren’t well-known. But, they can be useful to call out single list elements if needed.
- The Google search spider can now execute and index JavaScript. So say goodbye to hiding elements with JavaScript.
- MySQL is working on an HTTP API. This would allow you to query the database over HTTP/HTTPS and get a JSON-formatted response.
- Need to make sure that your white text is visible when overlayed on any image. There’s a real quick CSS solution to add a single-pixel-width “stroke” to the text:
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;