Skip to content

Instantly share code, notes, and snippets.

View hondajojo's full-sized avatar
🏠
Working from home

maijver hondajojo

🏠
Working from home
View GitHub Profile
@hondajojo
hondajojo / pan.baidu.com.py
Created November 22, 2016 08:50 — forked from PeterDing/pan.baidu.com.py
百度云、百度网盘,递归下载自己的文件或分享的文件 -- keywords: pan.baidu.com, login, recursively, download -- # 移到仓库 https://github.com/PeterDing/iScript
#!/usr/bin/env python2
# vim: set fileencoding=utf8
import os
import sys
import requests
import urllib
import json
import re
import time
@hondajojo
hondajojo / flask-rest-server.py
Last active September 21, 2016 08:59 — forked from ethan-funny/flask-rest-server.py
flask restful api with flask_sqlalchemy
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Created on 2016-09-21 11:21:24
from flask import Flask, jsonify, abort, make_response
from flask import request
from flask_sqlalchemy import SQLAlchemy
import json
@hondajojo
hondajojo / example.html
Created March 21, 2016 02:16 — forked from doobeh/example.html
Simple example of using a RadioField in Flask-WTForms to generate a form.
<form method="post">
{{ form.hidden_tag() }}
{{ form.example }}
<input type="submit">
</form>
@hondajojo
hondajojo / python_resources.md
Last active August 29, 2015 14:21 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@hondajojo
hondajojo / 0_reuse_code.js
Last active August 29, 2015 14:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console