Skip to content

Content Tagged "class"

Page 1 of 1

Scan Decorated Classes in Typescript

December 21, 2016Categories: Software, Tutorial
TL;DR: Make the decorator set a property in the class and look for it. While trying my hand at writing an ORM, I had a problem of initialising the database through a dummy instantiation of some models, without running an explicit command. In java, I can use code generation to provide a list of…

GoogleApiClient .connect() Interface or Class

February 14, 2016Category: Software
TL;DR : If it's your code, check the version play services (\* ). If you're using a library, check if the library has a version using play services >= 8.1.0 . If not, you'll need to clone and upgrade it yourself. The other day I got an interesting error coming…

Python classes to generate CSS

February 4, 2015Categories: Idea, Software
A while ago I got fed up with CSS and its cumbersomeness. As my poison of choice is python , I was thinking it would be quite useful to have a bunch of classes capable of generating CSS automatically in python. One could have a base class, a set of properties, a name-value dictionary and a way to…

All tags