Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

class

A collection of 3 posts
Scan Decorated Classes in Typescript
class

Scan Decorated Classes in Typescript

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
Dec 21, 2016 1 min read
GoogleApiClient .connect() Interface or Class
android

GoogleApiClient .connect() Interface or Class

TL;DR: * If it's your code, check the version play services (com.google.android.gms: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
Feb 14, 2016 1 min read
Python classes to generate CSS
class

Python classes to generate CSS

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,
Feb 4, 2015 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost