Change Python Version
Python plays a major role at Mozilla; much of our website backends and tooling are written in the powerful language. Want to build Firefox? You'll need to make sure you have the proper Python version, which I recently found out had been upgraded.
Despite installing and verifying I had the version of python I needed, the default version was still an older version and the build was failing. I know that there are python version managers and symlinking tricks, but I wanted the easiest and most explicit possible way to set a default python version, and I did it with an entry to ~/.bash_profile
:
alias python='python3'
The directive above sends python
calls to python3
and thus I can specify the python version with this entry. There are many ways to accomplish this goal but this one works great for me!
![Regular Expressions for the Rest of Us]()
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
![Send Text Messages with PHP]()
Kids these days, I tell ya. All they care about is the technology. The video games. The bottled water. Oh, and the texting, always the texting. Back in my day, all we had was...OK, I had all of these things too. But I still don't get...
![jQuery Wookmark]()
The first thing that hits you when you visit Pinterest is "Whoa, the columns are the same width and the photos are cut to fit just the way they should." Basic web users probably think nothing of it but as a developer, I can appreciate the...
![Create a Simple News Scroller Using MooTools, Part I: The Basics]()
News scroller have been around forever on the internet. Why? Because they're usually classy and effective. Over the next few weeks, we'll be taking a simple scroller and making it into a flexible, portable class. We have to crawl before we...
Woah awesome idea. I will also go for it. Keep sharing such ideas to bring some awareness in users. Thank you