Main

git aliases

Aliases I use mostly every day: [alias] co = checkout please = push --force-with-lease amend = commit --amend --no-edit pp = pull --prune unstage = reset -

By joey, ago
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 { ListCarsHandler().doIt(this) } } } } Check the website or the 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 this is the lack of dart:mirrors support in the flutter 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 an interesting one 😉

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' alias gp='git push' alias gpoh='git push -u origin HEAD' alias 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 interested check the repo for the docker image. I wanted 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" >> ~/.android/avd/api-22.avd/config.ini echo "skin.path=_no_skin" >> ~/.android/avd/api-22.avd/config.ini echo "skin.path.backup=_no_skin" >> ~/.android/avd/api-22.avd/config.ini echo Read more…

By joey, ago