Skip to content

Content Tagged "key"

Page 1 of 1

Content Tagged "key"

DRF: What is 'source' in Fields?

September 30, 2017Categories: Software, Tutorial
For a couple of days I've been trying to de-serialise a JSON to a model. My problem is the model and the JSON have different fields, mainly to keep the model pythonic and independent of a specific JSON source. So... I've been trying to use the source parameter for each Field in my serialiser to…

Add Primary Key Column to PostgreSQL Table

March 23, 2015Category: Software
The other day I got a question: How to add a numeric PK column to an already existent table? A quick look on the net showed that it is indeed possible to add an auto-incrementing PK to an already existing table ( if you don't have already a PK that is! ). The code is quite simple too! The statement…

Multipool.us APIs

May 15, 2014Category: Software
Multipool is a multi-coin mining pool, capable of dynamically switching between currencies, to maximise the profitability. They offer an API which allows nice access to their data. Unfortunately, I've found that it's quite difficult to find what's what, so I've decided to document it. Below you'll…

Simulate INSert key on mac OSX

December 3, 2013Category: IT
Every once in a while I use MC ( Midnight Commander ) on OSX, simply because after all these years the two-pane file manager is still easier and quicker to use than the Finder. TL;DR : use <CTRL>+T to simulate INS key. Origins In my PC days, I used Norton Commander to do file operations. In my…

All tags