A refactoring of my simple portfolio at http://steren.fr was a perfect candidate as a simple project to learn this framework. You can check the code on github.
I started with Angular’s great getting started tutorial and was then able to start working using the official Documentation and the rest of the interweb.
The app is very simple :
- It contains two Views (described in partials), that are using the same Controller
- The data comes from a JSON file and accessible from a Service.
- I had to write a custom Filter to filter works based the checked checkboxes.
What is interesting is that I didn’t needed to code any data-binding or manual refresh, Angular is handling this for me since everything is properly wired. For example: clicking on the sort radio-button changes the ‘sort’ variable that are linked to the works filters.
Read and fork the portfolio code on github.
My parents are regularly playing poker with friends. They keep track of every game in a spreadsheet but had issues determining the overall winners and see who has the best score across games. They were either doing it by hand or using ugly Excel macros that nobody could understand.
I quickly helped them and wrote a Google Spreadsheet custom function that does the job. They now just have to fill in the position of every participant for each game, the final scores and stats are automatically generated.
Get the code on this gist. To use it, you have to copy paste it in a new script linked to your spreadsheet.
My old website “Cadeaux entre nous” is seeing a large traffic during the christmass season:
- around 2000 events were created during the last 2 months
- between 500 and 1000 people visit the site each day.
This naturally lead to a mailing issue: I was previously using gmail to automatically send emails, I guess I reached the limit since it constantly required me to change the password.
I recently heard about MailJet, a French company that raised quite a lot of money last week. I knew Sendgrid but was willing to try something fresh.
Mailjet has a nice UI, clear instructions and allows you to setup your SMTP server in a few clicks. The real-time dashboard with analytics is a real plus to see if everything goes well.
I quickly reached the free plans limit (which is 200 mails per day), but thanks to a few donations from my users, I could upgrade a Bronze plan and since then, all is runnign smoothly. I guess I will downgrade when the holiday season is over.
Phonegap for Android had serious issues with inline videos: HTML <video> tag was not supported at all on Android inferior to 4. (On Android 4.X, they require the View to be hardware accelerated)
On behalf of Joshfire, I worked on the main cordova Android source code by adding elements from the original Android browser. In the end, clicking on a video on a Phonegap application starts a fullscreen video player view. Hitting the “back” button goes back to the app. This is far from perfect, but better than nothing.
After submitting my pull request, I had warm and polite feedback from Simon Mc Donald of the Phonegap team, he helped to test my work and added the final touches before accepting the code into his branch.
Today the feature has been shipped into Phonegap 2.2.0. I had great feedback from both Phonegap creators and users. That’s something very motivating.
See the final commit in Phonegap’s source code.
Two years ago I built a simple website to organize online what is called a “Secret Santa”: you enter a list of participants, and everyone has to offer a present to someone else. the draw is done online and the mails are sent by the server. Since then, the service has been used moderately : more than 1300 events have been created.
Last year, I added an organizer dashboard, to track who opened the mail. This was a important feature in order to make sure that everything goes well. This year, following tens of user complaints, I added a way to change the email of a participant and resend him the drawing email.
The organizer dashboard, with the new edit and resend email feature
If like me you are fed up with the cluttered interface of the main French train ticket website voyages-sncf.com, I advise you to try Capitaine Train, a startup that sells tickets too but re-invented the interface and is doing it right.
However, if you still want to use voyages-sncf.com for whatever reason, you can install this little hack I made by removing everything not necessary to me:
voyages-sncf.com left before, right after
How to use it:
Install the Stylish add-on for Firefox or Chrome, then install my style from this page. Enjoy.
The simple “source code” is available on this gist, feel free to make it better.
This could be a message to SNCF: Keep It Simple Stupid, please.
A friend of mine is working on two or three documentaries about marine life. He is a very passionate diver and really loves to share his passion. You can watch his previous videos on his Dailymotion Channel.
His first trip is to the Maldives, where he will be filming Manta Rays. I worked using Blender on a shot that explains the travel and the location.
You can see on the following video, various iterations of this shot: