Blog

Mac Installer adding app to the dock

Installing applications on Mac is a very simple task, all you have to do is drag and drop your application in a special folder named “Applications”, this tutorial will help you to create an installer for your application and the automation of adding to the dock. Adding to the dock is a post install process and requires you running a special script which adds your program to the dock.

Read More (External)

Stand-alone Django script

Sometimes we need run a stand alone python script which uses the models of the Django project, let’s assume we want to run a python script in a cron job which uses our Django’s models and the setup is all within confide environment created with virtualenv. In order to achieve this the script needs to know several things. The first step is to add Django settings module to the environment inside the stand-alone script, this indicates the path to the Django projects and it’s ‘settings’. Then we need to activate the virtual environment within the script.

Read More (External)

How to handle a file open event with QT in Mac OSX

By assigning the file type to a specific file we can determine what kind of information and data we expect to find inside that particular file. There are a lot of applications that handle multiple file types, so we want to use specific one that can be reserved only for the given application. By double clicking on the file the default app will be launched and the file loaded into it.

Read More (External)

Signed URls – Query string authentication

Signed URL’s contain query string parameters that allow access to protected data without requiring any credentials from the end user. Furthermore, you can restrict access to the particular file by providing a timestamp, so that after a particular date the URL will be invalidated automatically.

Here we will see how to use it on AWS and Gcloud to access files from private buckets.

Read More (External)