Musing Mick - Development junkie - JS, AngularJS, jQuery, PHP, Python, Magento, Ionic

12 Jun

JavaScript image preview snippet

Code for custom JavaScript Image Upload Preview from a file input field.

JavaScript image preview

Time for another coding snippet – this time a JavaScript image preview. Several months ago, I was working on an trivia-like web-app. I needed to allow users to create their own trivia games and share them on social networks, and challenge their friends. Unlike many other trivia website, this one allows for games to actually look like games, meaning have an image representation of the game. This lead to creating an file input field, allowing game creators to actually upload their own image. Now, since the app is actually scaling and cropping the image, I had to come up with a way for game creator to see the image preview before the upload. Obviously, I needed my very own javascript image preview script, and here’s what I came up with.

Read more

30 Aug

Firefox Flicks contest website

Firefox Flicks

In Q4 last year, Mozilla has started working on a Firefox Flicks project. Furthermore, it’s a global video contest to tell the Firefox Story. You can enter at www.firefoxflicks.org. Firefox Flicks is a contest that invites Firefox fans and filmmakers from all over the world to create short videos (or “flicks”). By doing that, you will help tell the Firefox story.

Read more

16 Nov

Firefox 8 release process

Firefox Logo

We’ve been working hard on moving localized Firefox builds out of the beta channel straight into final releases, Finally, that effort started paying off. There are several languages we keep in the focus. A few of them made significant progress in that field. Even though for some of them we have only beta localized builds, we still made it.

Read more

21 Apr

Bugzilla-C3PO – automated Bugzilla PHP filer

Bugzilla-C3PO

A few days ago I needed to file 70+ bugs. All for the same thing for each locale we support on www.mozilla.com. I then decided to make use of BZAPI(Bugzilla Web Service API), and have created a tiny PHP script to do the job for me. That’s how bugzilla-c3po was born. It worked pretty well even the first time I tried it on on http://landfill.bugzilla.org, so I could expect only better performance on bugzilla.mozilla.org.

Read more

13 Apr

Creating new wiki.mozilla.org Theme

Wikimedia logo - wiki.mozilla.org theme

An hour ago, wiki.mozilla.org got a new default template, or in media-wiki lingo – a new skin. I’ve been working on this skin whenever I had some spare time, and it finally payed off. While creating the skin, my guideline for the design was mozilla.org. Also, I did my best to make it as readable as possible, as a lot of us do a lot of wiki reading. This was the birth 0f the current wiki.mozilla.org theme.

Read more

24 Feb

News: mozilla.org and wiki.mozilla.org

During my internship at Mozilla Europe, I’ve been working on a lot of stuff. I’ve been helping with Marketing and community engagement, localization, WebDev, QA, SUMO… All in all, I had my hands always full with a bunch of adorable tasks. Due to being work-o-holic, I find this extremely thrilling and fun.

Read more