This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from py2.6 distr | |
# -*- coding: utf-8 -*- | |
""" | |
ast | |
~~~ | |
The `ast` module helps Python applications to process trees of the Python | |
abstract syntax grammar. The abstract syntax itself might change with | |
each Python release; this module helps to find out programmatically what |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://example.com/api/book?key=ImhDM1Y0WGZUU2JlNmFSZVYuaGFuZHJ5bGFnaS5pMnNHMTFseWFUMEUxcnNhIg.K2JCKMF1gbBMrkr-viW8TY7dv0U | |
http://example.com/api/book?page=2&<key> (untuk mendapatkan list buku perhalaman) | |
http://example.com/api/book?limit=30&<key> (untuk mendapatkan list buku dengan jumlah limit tertentu) | |
http://example.com/api/book?page=2&limit=30&<key> (untuk mendapatkan list buku keduanya) | |
[ | |
[ | |
{ | |
"code": 200, | |
"msg": "success", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WARNING: Requires C99 compatible compiler | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include "heap.h" | |
#define CMP(a, b) ((a) >= (b)) | |
static const unsigned int base_size = 4; |