Here is an easy solution to install a new repository into /etc/apt/sources.list.d (e.g. ubuntu) without using the python-software-properties package. I found this in the relateiq/oracle-java8 Dockerfile . This example installs the Oracle JDK via the webupd8 java ppa.

Spring Boot 1.0.1 is released. I wanted to find the fastest way to get a spring boot app running. The usual “Hello world” was created and running in around 2 minutes. For the creation of the initial project files I used lazybones. The project template uses gradle as build tool. So I had to install gradle too. And the easiest way to install lazybones and gradle is gvm.

Install gvm:

curl -s get.gvmtool.net | bash
source "//.gvm/bin/gvm-init.sh"

Install gradle and lazybones:

gvm install gradle
gvm install lazybones

Create a project with the name “mycrm” with the template “spring-boot-actuator”:

I got interested in JavaScript via the book “Seven Languages in Seven Weeks” by Bruce Tate. I read it one year ago. The chapter about the prototyping nature of the language “Io” was an eye opener. The book itself is worth to write about – but not today.

As every developer I used JavaScript a little bit. But really understanding whats going on is definitely another thing. The last weeks I wrote a little shopping list as a client for my vert.x experiments. It is a single page app and uses knockout.js, jquery and bootstrap for the UI. I use Java as my general purpose programming language since 1997 and I think I know Java quite well. So, I was a little bit frustrated that I don’t understand every construct in JavaScript. After playing with some frameworks and CoffeeScript I decided to build up a comparable Test Driven Environment as I use when I developing in Java. I wanted to use a xUnit like test framework. But there are so many test frameworks that it was difficult to decide which one to use. After looking at several post and at stackoverflow I got the feeling that js-test-driver or QUnit are good candidates.

Then I found this really good book: “Test-Driven JavaScript Development” by Christian Johansen. Christian uses js-test-driver in his book. The main goal for js-test-driver is to be the runner for the tests. It has also assertions but I wanted to have more readable tests. I heard about Jasmine and a friend (thanks to Patric) also mentioned it. The integration was done in 10 minutes and the tests are better to read now. I really like this BDD style.

After a while I thought about a better way to connect a browser to the driver. I didn’t want to start a browser every time and press the connect link because I’m writing “Understand Tests” mostly. Robert C. Martin describes this kind of tests in his book “Clean Code“. These tests are very handy to understand a framework, a library or as in my case also language features. I wanted to start the js-test-driver together with something like a headless browser. PhantomJS is such a thing. js-test-driver-phantomjs starts the driver and the headless browser with one simple command. This setup is also very useful for Continuous Integration! Intellij IDEA has also a nice plugin for js-test-driver.

Of course, I can write a test in the console of some browser, but if I close the browser the tests are gone. The tests are inside my project now and I can look at the tests as often as I like. And testing the JavaScript-part of my application works the same way as I know it from the Java-World.

This is a very short description how I upgraded my ASUS RT-N66U router. My router had a CFE bootloader version 1.0.1.2. This version only supports 32K NVRAM, which was not enough for my DD-WRT configuration.

Disclaimer: Following this steps can brick your router. If you are unsure, don’t use this description!

Hard Reset

Hard Reset will clear out the NVRAM. For this router use the WPS button, not the reset button.

Result

References:

Some people are complaining about the absence of information on my blog. So, a few lines:

As I wrote in my last post, I went to NYC to improve my English a little bit. Writing is still hard for me, but understanding and speaking is better as before. The first picture is a little restaurant at the 8th Avenue / West 38th Street in NYC where I was quite often at lunch time. They have a nice salad bar and the food was always fresh and delicious.

I visited a lot of places, especially museums but I loved to walk through the Prospect Park and to see the skaters in the Central Park too. I visited the Guggenheim Museum. It saw Rineke Dijkstras Retrospective there and Ghost in the Machine in the New Museum.

I found the High Line by accident. I saw a documentary about this place in Switzerland, but I forgot it entirely. But one day I walked the 14th Street from east to west, looked up and thought “Oliver, you know this old rail bridge.”

Oh, New York City. It was such a great experience! Greetings to all there, which I met. Special thanks to Heather and Nick. It was fun to stay at your home! On 10 August, I flew back.

One week later our family and friends of us went to the dOCUMENTA(13) in Kassel (Germany). After three weeks without my family it was nice to be reunited.

And the last two weeks? Now I’m a tenant in the gleis70 – Mixwerk here in Zurich. I have a table, a chair, power, internet and my computer.

I program, I watch the episodes of CleanCoders and I read a lot. I still try to help vert.x a little bit. But it is more difficult as expected. My first github pull request was rejected, because of to much structural changes.

Okay, I,m already staying for one week in New York City. And I want to write a few sentences about my impressions. First of all, it is saver as I know it from the movies. I run every morning and everybody says “Hi” or “How are you?”. I like that. I go every working day to school to improve my English. The teacher there is just amazing. We have so much fun with this guy. He was traveling a lot and he lived in Prag for 7 years. Btw the name of the school is New York Language Center and I can recommend it.

My favorite place is the subway. The reason is: It is cold and I can read a lot. It is not so warm here in New York but the humility is quite high compared to Zurich.

Last Tuesday I joint Brooklyn Code. There was a great table with a lot of laptops on top of it and the coders sitting in front of it. It was a nice experience to see and here how there are working in Brooklyn – very kindA evening later I listened to a presentation of Jason van Zyl in one of this big hotels here in New York. He introduced the new product of sonatype called “Insight”. A lot of people know Jason because he is the inventor of Apache Maven and btw he is a good speaker too.people and good talks. I walked over the Brooklyn Bridge to come to the meeting.

On Wednesday evening I was at the Rooftop BBQ Summer Tech Mixer at one of the New York City’s best roof top bars, as they describe this place beside the Williamsburg Bridge. A lot of entrepreneurs, software engineers, foreigners ( I was not alone ) and students eating, drinking and talking together. The funny

thing about this bar is: It’s on the second floor.

I visited the Time Square of course and walked along the 5, 6 and 7 Avenue. On last Saturday I was in the Central Park. There are so many things to look to. I was sitting on a bench for more then two hours only watching Beach-Volleyball. These guys are very good in this.

The Friday before I was in the MoMA (Museum of Modern Art). A very friendly woman invited me to come with her into the museum, so I saved the 25 Dollars. Yesterday I visited the Met (Metropolian Museum of Art). They have very nice pictures from the 20. Century. I was very impressed. And I found one of my favorite pictures “Two Men Contemplating the Moon” from Caspar David Friedrich too. I didn’t know about the existence of three versions of this picture.

I was in the American Museum of Natural History too. (Uhhh… I did a lot in the last week.) I like the exhibition about the dinosaurs. There are nice exhibits in full size.

So, I have to finish now. It is more a list of what I did as a description of my impressions. But I’m writing this story in English and I’m still slow with typing.