Laur's blog
Sign in Subscribe

custom

A collection of 4 posts
Change Packages Paths in NodeJS
custom

Change Packages Paths in NodeJS

TL;DR: Edit %appdata%\npm\etc\npmrc and add prefix and cache entries to specify the locations where node puts packages. Every time I install a new framework/dev environment I have to look where they put files. Having a roaming profile is a pain and I need to make
Nov 25, 2016 1 min read
Android: Notifications with Custom Layout
android

Android: Notifications with Custom Layout

In the previous entries, I have managed to display a notification and make it sticky. Now, since the app I'm developing is supposed to be visible mainly through this notification, I wanted to see if I can customise the actual content. Yes, I know there are options by
Oct 14, 2014 3 min read
Formless Step in FormWizard
context

Formless Step in FormWizard

Sometimes you'd need to show a purely informational page as part of a FormWizard. As far as I could see, there are two solutions to the problem: 1. If the info is something like a summary, you have it available in the "success" page (the one
May 7, 2014 2 min read
Custom saving path for FileField
custom

Custom saving path for FileField

Saving FileFields is pretty annoying anyway (all the manual stuff, saving chunks by hand...). The top bother is actually the limited way of creating paths: In MEDIA_ROOT, only with strftime arguments. While this does limit the number of files in a directory, it's not as customisable as
Aug 30, 2010 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost