There's No Such Thing as Landscape Printing

  • Posted on: 11 October 2015
  • By: oon
no such thing as landscape printing

This article really gives me an enlightment while setting-up a cups (google cloud print) based print server.

Portrait or landscape specify the orientation for viewing.

The viewing orientation is irrelevant for printing.

For printing it only matters whether or not the content of the page fits in the printable area of the paper regardless what the orientation for viewing the printed paper is.

Django REST Framework with ForeignKey Example

  • Posted on: 10 September 2015
  • By: oon

If you are a noob in Django or Django REST Framework (DRF),
it's pretty hard to find (complete) example about providing REST API for system with (sql relationship) foreign key on its database.

this example on SO is quite straigth forward and complete, about DRF with foreignkey.

http://stackoverflow.com/a/19414405/3991504

ya, you also get django.test.Client information as a bonus. nice!

mostly my problem is about reverse relationship [1][2][3].

Happy 6th Anniversary 7Langit!

  • Posted on: 7 August 2015
  • By: oon
happy 6th anniversary 7Langit

Dear 7Langit & ALL 7Langit team,

happy anniversary for YOU!

thank you for bringing joy and happiness to us and many people. 

(also sadness too, but, you know, it's not worth to mention).

...

...

...

speechless,

my best prayer for YOU.

let's make wishes!

hopefully, we have more chance, to be more happy & useful for God, country, and people!

aamiin.

Tags: 

Pages