Skip to content

Posts...

Page 30 of 52

Picking Colours for Your Application

November 5, 2015Category: Software
While working to get a theme for my new app Epso View (Play and Amazon ), I've identified two types of websites: Inspiration (like dribbble or materialup ) Combinations (like colourlovers or materialui ) You can use the inspiration sites to get inspired; what colours work together, would…

TIL you can mix ASC, DESC in ORDER BY (SQLite)

November 4, 2015Category: Software
TL;DR: You can use ORDER BY column1 DESC, column2 ASC ... in your code. The other day I was trying to get a custom ordering in a list for an object: order decreasing by UNREAD MESSAGES count and then order ascending by DATE Initially, I tried a GROUP BY, but I could not get it to do the ordering…

Python and Outlook - An example

October 20, 2015Category: Software
TL;DR: Install win32 extensions (e.g. using this to put it in your virtual env). Read some code below (there are folders with stuff, messages have CapitalizedPropertyNames ). Profit. The other day I needed to perform some statistics on an Outlook mailbox. In particular, use the frequency per day…

TIL: Lambda Expressions

October 19, 2015Category: Software
TL;DR: A lambda expression is a shortcut notation to anonymous inner classes containing a single method . Usually, they define implementations for functional interfaces (interfaces declaring a single method). Today I finally found out what lambda expressions are (formally) by watching…

Got an OnePlus Two - Cleaning it up

October 15, 2015Categories: Hardware, IT
Today I got a OnePlus Two without an invite, from one of the many crazy providers with European warehouses. Woo-hoo. Unfortunately, recent reports state they come with malware. Since this phone will not be used by me, I'll clean it up. Here are the steps I took: Preliminary steps First, booting up…

Addendum to Installing CyanogenMod 12.1 on a LG 802

October 13, 2015Categories: Hardware, IT
Today I got sufficiently annoyed with the stock version of Lollipop on my phone and decided to try (again) CyanogenMod (no longer alive). I've tried to follow the steps in the wiki, but got into problems, so here's my alternative experience. Preparation Make sure you install TWRP or CWM so you…

Manually Create a Retrofit/OkHttp Response for Testing

September 21, 2015Category: Software
I've got a method in an use case which requires a Retofit Response object as parameter and I need to test it. Now, I can use the Retrofit itself and build one with the network, but it would require the full android shebang. I've opted instead for building a Retrofit Response manually. My method is…

MVP in Android - A Summary

September 14, 2015Category: IT
These days I'm reading on architectures. I had a look at MVC, MVP, MVVM and how they are applied (adapted to?) to Android applications. Here are some short points about MVP. Model-View-Presenter has been adapted to Android and is advocated by more experienced people than I. It is interesting to…

Architectures in Android Applications - Quick Notes

September 14, 2015Category: IT
I'm looking at architectures MVP, MVVM, MVC ... applied to Android applications and I find the current state of things a bit of a mess. Everybody has their own preferred architecture, finds another one and claims it's better and refers to Uncle Bob . It's funny at some extent because it's like…

Real Sticky Footer with Material Angular

August 28, 2015Category: Software
I needed to set up a sticky footer as part of my Angular and Material Design experiment. You would not believe how many resource I could find (some of them listed below)! Unfortunately, most of them had a problem; blank page looked fine (header and footer in the right places), but the page…
PreviousNext

All tags