Skip to content

Instantly share code, notes, and snippets.

@wayn
wayn / tpad_daily_report_script.py
Last active March 8, 2018 08:43
tpad_daily_report_script.py
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
import requests
import datetime
import copy
from openpyxl import Workbook
from openpyxl import load_workbook
from openpyxl.utils import get_column_letter
@wayn
wayn / background.m
Last active June 13, 2017 06:42
iOS background task
- (void)dealloc
{
[self clearLifeCycleNotification];
}
#pragma mark -
#pragma mark - Function
- (void)addLifeCycleNotification
{
@wayn
wayn / app.js
Created November 10, 2013 10:54 — forked from pixelhandler/app.js
var application_root = __dirname,
express = require("express"),
path = require("path"),
mongoose = require('mongoose');
var app = express.createServer();
// database
mongoose.connect('mongodb://localhost/ecomm_database');