This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Author: Torbjorn Zetterlund
-
Convert a IPython Notebook into a Python file via command line
There are several ways to convert, start a notebook with –script flag will save .py file alongside .ipynb on every save. You can also (as ipynb is JSON), load it, loop through it and eval code cell in the current namespace. If you don’t want to output a Python script every time you save, or…
-
How to run PHP with Python using a RESTful API
During development, I set up a virtual environment, here is how I did that. virtualenv If you are on Mac OS X or Linux, chances are that one of the following two commands will work for you: $ sudo easy_install virtualenvor even better: $ sudo pip install virtualenv
-
Banana Oat Meal cookies (energy bars)
I have tried a new homemade recipe for a sports bar, that I can take with me to refuel during a training session.
-
Training – Monday to Friday – my daily routine is 50 km
During the week from Monday to Friday, I cycle a total of 50 Km daily, it is divided into sessions of 25 km. The morning session is an easy ride – mostly spinning on a low gear at 90 rpm – the evening ride is a mix of tempo one day, sprints another day high…
-
Increasing the duration of the bike rides – 94.62 Km
Start increasing the length of the long rides, took my time trial bike and went along the North Sea Canal to IJmuiden, down towards Bloemendaal – to Zandvoort, over the dunes to Keukenhof back home. IT was a warm sunny day, the cycle ride was great, felt very good with the sun and warm weather.…
-
A time trial around Hoofddorp – 61.18 Km
This was not a fun day, lots of military checks around Hoofddorp due to the visit of Obama and other dignitaries for the Nuclear Security Summit in Den Haag. I was not allowed to pass over the A4 south of Schiphol Airport – so I had to take another route that was open and let…
-
A ride around Hoofddorp – 56.69 Km
Today I had an easy ride around Hoofddorp, did it on my time trial bike, it was a windy day not much of fun.
-
Took a longer ride
Today I went for a longer ride – need to step up the distance, the ride was an easy ride.
-
I be cycling from Amsterdam to Barcelona
This year I will go on a long bike ride from Amsterdam to Barcelona, I will kick off my first leg in late May to be in Barcelona by June 8th. From my early planning, I will be cycling on an average of 250km per day, the total distance will be about 1,500 Km.