solution: make sure to have attachments enabled in gitea’s app.ini and if you have nginx reverse proxy infront of your gitea, bump client_max_body_size in your server directive. profit!
random android dev/debug notes
filtering logcat with grep handy aliases to filter out some of the logspam on sony/samsung devices: https://gist.github.com/frals/f9dc3a70628fbdbc6a82 function for aliasing adb -s if you have more than one android device hooked up and get tired of typing adb -s/aliasing adb in every shell: https://gist.github.com/frals/111fda81ff8e08b3f8ed usage: android_device 1 changes adb to adb -s DEVICEID, then use…(Continue Reading)
Chasing demons on Android
This was originally posted over at sinch.com, however I’m reposting it here since I wrote it So, debugging native code on Android… not the most pleasant experience I’ve had. As you may know, Sinch has this neat Android and iOS SDK for doing VOIP (voice over IP) and IM (instant messaging). To reduce the amount…(Continue Reading)
Building and running valgrind on Android
Note to self post for when the next time I need it, or: how to build and run your application under valgrind on Android (tested on 4.4). Preqres: Patience, Android NDK, rooted device, linux host (VM, or whatever). Step 1: Make sure you are running `dalvik` as your runtime. `art` might be new and flashy,…(Continue Reading)