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!
![Responsive Images: The Ultimate Guide]()
Chances are that any Web designers using our Ghostlab browser testing app, which allows seamless testing across all devices simultaneously, will have worked with responsive design in some shape or form. And as today's websites and devices become ever more varied, a plethora of responsive images...
![How I Stopped WordPress Comment Spam]()
I love almost every part of being a tech blogger: learning, preaching, bantering, researching. The one part about blogging that I absolutely loathe: dealing with SPAM comments. For the past two years, my blog has registered 8,000+ SPAM comments per day. PER DAY. Bloating my database...
![GitHub-Style Sliding Links]()
GitHub seems to change a lot but not really change at all, if that makes any sense; the updates come often but are always fairly small. I spotted one of the most recent updates on the pull request page. Links to long branch...
![Add Styles to Console Statements]()
I was recently checking out Google Plus because they implement some awesome effects. I opened the console and same the following message:
WARNING!
Using this console may allow attackers to impersonate you and steal your information using an attack called Self-XSS.
Do not enter or paste code that you...
Woah awesome idea. I will also go for it. Keep sharing such ideas to bring some awareness in users. Thank you