Laur IVAN

Change a django password manually

Posted by in Software

The other day I’ve been confronted with a strange situation: I forgot the admin password for a django application. I was playing with installing my own pypi repository, I’ve configured and deployed a test application and, after a couple of weeks, I forgot the password. I tried several times bu I knew that I used something silly and… unfortunate. Even worse, the user name I thought I used was not the one I had set up for the test. Oops :) After looking online for options I’ve found the following:…read more

Fix “Damaged app” Message

Posted by in IT

TL;DR: Use xattr -rc /location/MyApplication.app (see here). I use to save all my apps on my NAS. The other day I wanted to use an old app for colour palette. I’ve downloaded it from my NAS and…: “MyApplication” is damaged and can’t be opened. Delete “MyApplication” and download it again from the App Store! What? It’s my app! So, apparently, Yosemite checks new apps (the same old “Your app was downloaded from http://www.example.com” message) but the apps are also verified against the store. It may or may not have something to do…read more

Picking Colours for Your Application

Posted by in 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 your app look light or dark… Then, you can use the combinations to get the colours together. A little experiment: If you find this post and ad below useful, please check the ad out :-)

Easy django applications with cookiecutter

Posted by in Software

Now I’m trying to create a bunch of django applications and I’ve got tired of creating everything from scratch. So, here are the steps I’m using to easy create a new django app: Create a new virtual environment. This is vital. It allows you to set up your own versions, not pollute the default installation (removing packages is tricky IMO). If you don’t know what I’m talking about, spend a few minutes to find out. Install cookiecutter (pip install cookiecutter). This is according to some the best thing that happened…read more