View app_with_sqlalchemy.py
# coding=utf-8
import logging
from logging.handlers import RotatingFileHandler
from flask import Flask, request, jsonify
from flask_sqlalchemy import get_debug_queries
from ext import db
from users import User
View __init__.py
# coding=utf-8
"""
desc..
:copyright: (c) 2016 by fangpeng(@beginman.cn).
:license: MIT, see LICENSE for more details.
"""
import hmac
import hashlib
import base64
import redis
View auth-token-api.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:Author: beginman.cn
:Mail: pythonsuper@gmail.com
:Created Time: 2017-02-07 16:16:36
:Last modified: 2017-02-07 16:16:36
:Copyright: (c) 2016 by beginman.
:License: MIT, see LICENSE for more details.
"""
View 二叉树链式存储与遍历.c
//
// Created by 方朋 on 2017/1/4.
//
#include <stdio.h>
#include <stdlib.h>
#define OK 1
#define ERROR 0
View 二叉树之顺序存储.c
//
// Created by 方朋 on 2017/1/6.
//
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define OK 1
#define ERROR 0
#define TRUE 1
View string.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define OK 1
#define ERROR 0
#define TRUE 1
#define FALSE 0
#define MAXSIZE 40 /* 存储空间初始分配量 */
View huiwen.py
# coding=utf-8
n = int(raw_input().strip())
item = [int(x) for x in raw_input().strip().split()]
def huiwen(item, head, tail):
times=0
left = item[head]
right = item[tail]
while (head < tail):
View gen_avatar.py
# coding=utf-8
__author__ = 'fang'
import os
import uuid
import time
from common.qn import qiNiu
import urllib2
import cStringIO
from PIL import Image
from settings import image_collections
View 链队列.c
//
// Created by 方朋 on 16/12/20.
//
#include <stdio.h>
#include <stdlib.h>
#include "global.h"
/*
View 顺序队列.c
//
// Created by 方朋 on 16/12/20.
//
#include <stdio.h>
#include <stdlib.h>
#include "global.h"
/*