Skip to content

Instantly share code, notes, and snippets.

@zew13
zew13 / gist:5233954
Last active December 15, 2015 08:49
test
5233954test
#!/usr/bin/env python
# coding:utf-8
import _env
from time import time
from urllib import urlencode
from urllib2 import urlopen as urlopen2
from urlparse import parse_qsl
from hashlib import md5
from urlgrabber import urlopen
import errno
title: 博客使用说明
speaker: 张沈鹏
files: /css/ppt.css
url: https://gitee.com/xvcer/xvcer.gitee.io
theme: dark
transition: horizontal3d
[slide]
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
@zew13
zew13 / .vimrc
Created December 15, 2018 08:20
""""""""""""""""""""""""""""""""""""""
"
" bundle 插件管理
" 首先执行下面的命令安装Vundle
" git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
" 安装命令
" sudo vim +PluginInstall +qall
"""""""""""""""""""""""""""""""""""""""
set nocompatible " be iMproved, required
filetype off " required
{
"arrow_spacing": {
"level": "ignore"
},
"braces_spacing": {
"level": "ignore",
"spaces": 0,
"empty_object_spaces": 0
},
"camel_case_classes": {
{"account_id_migration_state":2,"account_info":[{"account_id":"105646727786661670665","email":"zsp042@gmail.com","full_name":"鹏","gaia":"105646727786661670665","given_name":"鹏","hd":"NO_HOSTED_DOMAIN","is_child_account":false,"is_under_advanced_protection":false,"locale":"zh-CN","picture_url":"https://lh6.googleusercontent.com/-3Maw-6peZds/AAAAAAAAAAI/AAAAAAAAAL8/bJccFrTXJMM/photo.jpg"}],"account_tracker_service_last_update":"13197434973782527","apps":{"shortcuts_version":4},"autofill":{"credit_card_enabled":true,"enabled":true,"japan_city_field_migrated_to_street_address":true,"last_version_deduped":56,"last_version_disused_addresses_deleted":70,"orphan_rows_removed":true,"profile_enabled":true},"billing_customer_number":364716067885.0,"bookmark_bar":{"show_apps_shortcut":false,"show_on_all_tabs":false},"browser":{"clear_data":{"browsing_history":true,"browsing_history_basic":true,"cache":true,"cache_basic":true,"cookies":false,"cookies_basic":false,"download_history":false,"form_data":false,"hosted_apps_dat
#!/usr/bin/env xonsh
import re
import configparser
config = configparser.ConfigParser()
config.optionxform = str # make the parser case-sensitive
from os import walk, makedirs
from os.path import dirname,abspath,join
""""""""""""""""""""""""""""""""""""""
"
" 插件管理
" neovim 首先执行下面的命令安装
" curl -fLo /usr/share/nvim/runtime/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" 安装命令
" sudo vim +PlugInstall +qall
"""""""""""""""""""""""""""""""""""""""
set nocompatible " be iMproved, required
set mouse=
CREATE TABLE IF NOT EXISTS "menu" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"name" TEXT NOT NULL,
"cn" TEXT NOT NULL
);
CREATE UNIQUE INDEX "menu.name" ON "menu" (
"name"
);
CREATE TABLE IF NOT EXISTS "kind" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,