Main

ktor – Server Framework

Just wanted to note ktor, a really nice kotlin framework to easily create server applications. Defining a REST API looks for example like this: install(Routing) { get("/foo") { call.respondText("bar") } route("api") { intercept(ApplicationCallPipeline.Infrastructure) { AuthCheckInterceptor.intercept(this) } route("cars") { get { Read more…

By joey, ago
Main

Dart Client Generator for swagger

I’m really proud that I successfully did my first open-source contribution to a “relevant” project. While trying to create a swagger client library for the dart language I noticed, that the generated code wasn’t working on Flutter. The reason for Read more…

By joey, ago
Main

Dart Conf 2018

Taking place NOW: https://youtu.be/Sk9ZMIQDpUg Schedule looks nice, especially “Flutter & Web – Unite your code and your teams”. Excited to watch the talk, code sharing between Frontend and Apps sounds like an interesting idea. Maybe not a good idea, but Read more…

By joey, ago
Main

My git aliases

$ alias | grep git alias delete-merged-branches='git branch --merged | grep -v '\''\*'\'' | xargs -n 1 git branch -d' alias g='git status' alias gcam='git commit -am' alias gd='git diff' alias gf='git fetch' alias git='hub' alias gl='git log --decorate=full --name-status' Read more…

By joey, ago
Main

Cloudification

After learning a lot and fiddling with Docker and AWS this blog is finally served by AWS EC2 instances: Based on docker ELB with EC2 instance(s) Cert by letsencrypt Assets are saved to S3 and served from there If you’re Read more…

By joey, ago
Main

Create an AVD from command line

Example ~/.android-sdk/tools/android create avd -n api-22 --target "Google Inc.:Google APIs:22" -b google_apis/x86_64 --force -c 512M -s 720x1280 echo "disk.dataPartition.size=1024MB" >> ~/.android/avd/api-22.avd/config.ini echo "hw.lcd.density=280" >> ~/.android/avd/api-22.avd/config.ini echo "hw.ramSize=1536" >> ~/.android/avd/api-22.avd/config.ini echo "hw.keyboard=yes" >> ~/.android/avd/api-22.avd/config.ini echo "showDeviceFrame=no" >> ~/.android/avd/api-22.avd/config.ini echo "skin.dynamic=yes" >> Read more…

By joey, ago