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!
![Page Visibility API]()
One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?
![Create a CSS Cube]()
CSS cubes really showcase what CSS has become over the years, evolving from simple color and dimension directives to a language capable of creating deep, creative visuals. Add animation and you've got something really neat. Unfortunately each CSS cube tutorial I've read is a bit...
![CSS Rounded Corners]()
The ability to create rounded corners with CSS opens the possibility of subtle design improvements without the need to include images. CSS rounded corners thus save us time in creating images and requests to the server. Today, rounded corners with CSS are supported by all of...
![Prevent Page Zooming in Mobile Browsers]()
Ever since I got my iPhone, I've been more agreeable in going places that my fiancee wants to go. It's not because I have any interest in checking out women's shoes, looking at flowers, or that type of stuff -- it's because my iPhone lets...
Woah awesome idea. I will also go for it. Keep sharing such ideas to bring some awareness in users. Thank you