Skip to content

Instantly share code, notes, and snippets.

越来越多政府部门开始创新地用微信来提升民生服务。

在西安, 西安国税 联合第三方开发者, 启动了“扫发票开奖领红包”的项目。配合微信 企业红包 能力,西安国税成为国内首家把有奖发票“搬到”互联网上的税务机构。

20150624113122727896

当地的消费者,只要用微信扫一扫发票左上角的二维码,即可在线获得发票信息,以及开奖结果。

为什么写这篇文章呢? 一方面因为看到很多商家已经把微信卡券玩的很好,另一方面发现传统团购网站的优惠券体验不是很好。 团购网站的使用体验 首先值得肯定的是,百度糯米有钱就是任性。

今年我参加了百度糯米的两次线上摇一摇活动,运气还都不错。

在3.7女生节活动中摇到2张200的代金券,在糯米5周年活动中摇到1张500的代金券,这运气我自己也被感动了。

import os
import sys
from sqlalchemy import Column, ForeignKey, Integer, String
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship
from sqlalchemy import create_engine
Base = declarative_base()
class Person(Base):
@lazybios
lazybios / t.md
Last active August 29, 2015 14:23

对造势者而言,全民狂欢是最好的结果。今年京东的618Party On,无论是天猫的“年中大促”,还是苏宁、国美等一干电商参与,都给其增添了人气。甚至连中信银行、中国移动、恒大地产、永乐影业、乐视云计算、果壳网等也加入其中,借微信、报纸等多种渠道发声,让618变成了一场覆盖金融、电讯、房产、娱乐、科技等多个行业的“年中狂欢”。

这样的影响力,或将使京东618和双11共同构成年中年末“一Party一节”的格局。未来二者之于各行各业,犹如当年五一、十一两大黄金周的价值。

天猫双11在先,且有光棍节概念可借势。而京东618是如何“凭空”立势的?

百度百科资料显示,京东从2010年就开始运作618活动,并且每年的规模与投入都在逐步加大。不难看出,2015年“618 Party On”能在众多电商节中如此亮眼,与京东多年的耕耘是分不开的。

@lazybios
lazybios / 0_reuse_code.js
Last active August 29, 2015 14:23
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
pip install virtualenv
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib
UIImageView *dot =[[UIImageView alloc] initWithFrame:CGRectMake(50,50,20,20)];
dot.image=[UIImage imageNamed:@"draw.png"];
[self.view addSubview:dot];
}
@lazybios
lazybios / button.m
Created June 10, 2015 03:45
pramgramaticly create a button
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[button addTarget:self
action:@selector(aMethod:)
forControlEvents:UIControlEventTouchUpInside];
[button setTitle:@"Show View" forState:UIControlStateNormal];
button.frame = CGRectMake(80.0, 210.0, 160.0, 40.0);
[view addSubview:button]
sudo apt-get install python-pip
suvipip install virtualenv
virtualenv gollum
cd gollum && mkdir dev && source bin/activate
pip install flask ipython
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.