Good Medium article about advanced Python tricks. I especially like Python 3.7’s data classes, and the attr alternative.
If you use Python, I’d highly recommend joining realpython.com just for the emails. They include all sorts of tips that I personally would never uncover otherwise.
Here’s a good one from today’s email. You can force a function’s arguments (args, which can be passed without a key) to be keyword arguments […]
[OK, so rather than wait another two years before I write anything original on this blog, I’m just going to post interesting links that deal with things I’ve been thinking about. ]
So one odd programming construct that is ubiquitous, yet absent from Python, is the “switch” statement, meant to save a stream of if-else […]
So I discovered this neat JavaScript hack: what do you do if you have a string that is the name of a function, that you want to convert to the function call itself?
Pretty simple actually. It turns out that:
object[‘method’]()
…evaluates to:
object.method()
Why/when is this useful? Well, I found […]
Here’s a neat way to embed tests in a module’s file, so that when the file is run standalone, the tests are called and run by default.
The trick is the standard if __name__ == “__main__”: section that’s at the end of your Python file. If you include your test classes in your module’s file, […]
So it seems that someone took my instructions on how to install SharePoint 2013 on Windows 2012R2 from here and here and made a YouTube video showing how to do it. I’m flattered, but it sure would have been nice to be credited. 🙂
For the more visually inclined, I hope […]
EasyEngine: lickety-split installation of WordPress on a LEMP stack, with selective SSL.
So after I spent quite a large amount of time writing my last post, I was contacted in the comments by an enterprising marketing executive from
UPDATE June 25th, 2014: Screw this entire post. The guys at rtCamp (see comments) found this post and turned me on to their wonderful EasyEngine (@easyengine), which installs the entire LEMP stack and WordPress […]
I’ve just moved this blog from a hosting provider to AWS EC2, and chose to use MariaDB instead of mySQL behind WordPress.
MariaDB, a fork of mySQL itself, bills itself as completely compatible with mySQL, so any mySQL install can be upgraded to MariaDB pretty much […]
UPDATE, June 27, 2014: This post is sort of obsolete now. Use EasyEngine! I’ve posted about it in detail here.
I spent way too long trying unsuccessfully to install a LEMP stack (Linux, Nginx, mySQL, PHP) on Ubuntu on EC2. The […]
Recent Comments
- JPEREZGIL on REST calls in .NET (C#) over SSL (HTTPS)
- Reivaj810 on REST calls in .NET (C#) over SSL (HTTPS)
- Juancastein on Installing SharePoint 2013 on Windows Server 2012 R2 Preview
- Juancastein on Installing SharePoint 2013 on Windows Server 2012 R2 Preview
- Arjen Holterman on REST calls in .NET (C#) over SSL (HTTPS)
Categories