Skip to content

Instantly share code, notes, and snippets.

View udonmai's full-sized avatar
🎹

麥町 udonmai

🎹
View GitHub Profile
import requests
from bs4 import BeautifulSoup
import datetime
s = requests.Session()
# 51 56
place = '51'
timeSlotParam = 4
Advertising
11962
Apps
10976
Analytics
5474
Automotive
3244
Android
2530
@udonmai
udonmai / N-Queen
Last active August 29, 2015 14:15
#include <iostream>
#include <vector>
#include <string>
using namespace std;
class Solution {
private:
bool checkDiagonal(vector<pair<int, int> > qv, pair<int, int> current) {
int length = qv.size();
#!/usr/bin/python
# coding=utf-8
#import os
import sys
#import string
#import urllib
import urllib2
import re
import json
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import json
import collections
from pprint import *
from peewee import *
# DB init
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import json
import collections
from pprint import *
from peewee import *
# DB init
{
"4180": {
"0": {
"url": "/b/4809410846",
"imageurl": "http://ecx.images-amazon.com/images/I/514Cl5AlxLL._SL150_.jpg",
"isbn": {
"10": "4809410846",
"13": "978-4809410840"
},
"author_name": [
#!/usr/bin/python
# coding=utf-8
import os
#import sys
#import string
#import urllib
import urllib2
import re
import json
@udonmai
udonmai / gist:3892023
Created October 15, 2012 11:28
GR share
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Google 阅读器中 udonmai 的订阅</title>
</head>
<body>
<outline text="Delicious/pongba/shared-reading"
title="Delicious/pongba/shared-reading" type="rss"
xmlUrl="http://feeds.delicious.com/v2/rss/pongba/shared-reading?count=15" htmlUrl="http://www.delicious.com/pongba/shared-reading"/>
<outline text="FeedzShare" title="FeedzShare" type="rss"
@udonmai
udonmai / gist:3878765
Created October 12, 2012 11:21
biubiubiu
募集の背景
募集的背景
あまりにも男性にモテないまま歳を取ってしまい、
随着年龄的增长会越来越不受男人欢迎
結婚しないで人生終わるかも?!という危機感を感じ、
都没结婚人生就结束了吗?所以说有了危机感
人生のパートナーを募集します。m(_ _)m
在此募集人生伴侣
パートナーの条件
1.たばこを吸わない人(必須)