This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding=utf-8 | |
import os | |
#import sys | |
#import string | |
#import urllib | |
import urllib2 | |
import re | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"4180": { | |
"0": { | |
"url": "/b/4809410846", | |
"imageurl": "http://ecx.images-amazon.com/images/I/514Cl5AlxLL._SL150_.jpg", | |
"isbn": { | |
"10": "4809410846", | |
"13": "978-4809410840" | |
}, | |
"author_name": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import json | |
import collections | |
from pprint import * | |
from peewee import * | |
# DB init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import json | |
import collections | |
from pprint import * | |
from peewee import * | |
# DB init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding=utf-8 | |
#import os | |
import sys | |
#import string | |
#import urllib | |
import urllib2 | |
import re | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
void fun(FILE *stdin) { | |
char str[20], tmp[20]; | |
int sum, len, i, idx, cnt; | |
int a1[10], num1 = 0, num2 = 0, ans1 = 0; | |
double a2[10], ans2 = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Source a global configuration file if available | |
"if filereadable("/etc/vim/vimrc.local") | |
" source /etc/vim/vimrc.local | |
"endif | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Vundle | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Source a global configuration file if available | |
"if filereadable("/etc/vim/vimrc.local") | |
" source /etc/vim/vimrc.local | |
"endif | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Vundle | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Source a global configuration file if available | |
"if filereadable("/etc/vim/vimrc.local") | |
" source /etc/vim/vimrc.local | |
"endif | |
"""""""""""""""""""""""""""""""""""""Ace""""""""""""""""""""""""""""""""""""" | |
" 一般设定 | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
runtime! debian.vim | |
"set compatible |
OlderNewer