Skip to content

Instantly share code, notes, and snippets.

View boylegu's full-sized avatar

Boyle Gu boylegu

  • Proletarian
  • shanghai
View GitHub Profile
import os
import requests
class FileType(object):
def __init__(self, absolute_path):
self.absolute_path = absolute_path
self.type_dir = []
def match(self, type):
@boylegu
boylegu / Makefile
Created July 30, 2016 08:34 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@boylegu
boylegu / js-datatables_for_py
Created June 2, 2016 03:05
js-datatables for py
/* ____authors:gubaoer, Customization For datatable view*/
var datatableview = {
auto_initialize: true,
defaults: {
"bServerSide": true
},
make_xeditable: function(options) {
var options = $.extend({}, options);