- 金证: 国君、安信、国信等;
- 恒生: 在集中交易(也就是网上交易)上后来追上,代表券商:中信、广发、华泰、国金,以及一些小券商,技术薄弱,全套恒生系统
- 顶点: 招商、中航
- 金仕达: 东方、海通、招商等
- 根网: 中金
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
""" | |
Usage: | |
>>> class Color(SimpleEnum): | |
>>> red = KV | |
>>> green = 'green' # same as using `KV` | |
>>> grey = 'gray' | |
>>> Color.red | |
'red' | |
>>> Color.grey |
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
javascript: | |
(function(){ | |
if (f=document.querySelector('frame[name="Main"]')) { | |
window.location.href = f.src; | |
} | |
document.body.style.margin = "10%"; | |
document.body.style.lineHeight = "2em"; | |
document.body.bgColor = "#F5F5B5"; | |
document.body.text = "#000000"; |
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
// from https://github.com/suxiaogang/WeiboPicBed | |
// under its license | |
function uploadToWeibo( url , callback ) | |
{ | |
var xhr = new XMLHttpRequest(); | |
xhr.onload = function() { | |
var reader = new FileReader(); | |
reader.onloadend = function( e ) | |
{ |
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
func uploadWeibo(fn string) ([]byte, error) { | |
file, err := os.Open(fn) | |
if err != nil { | |
return nil, err | |
} | |
defer file.Close() | |
body := &bytes.Buffer{} | |
writer := multipart.NewWriter(body) |
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
sudo apt update | |
sudo apt upgrade -y | |
# Remember: install / verify additional drivers | |
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo apt update | |
# google chrome and chrome extension to use gnome extensions |
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 | |
import sys | |
from graphviz import Digraph | |
dot = Digraph(comment='alembic') | |
def split_line(line): | |
bases, _, name_and_target = line.partition('->') | |
id_and_stuff, _, desc = name_and_target.strip().partition(',') |
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
.mw, | |
.tsf{ | |
margin: 0 auto; | |
} | |
/* search tool bar */ | |
#hdtb-msb, | |
#resultStats { | |
position: relative; | |
left: calc((100vw - 950px)/2); |
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
#!/bin/sh | |
################################################################################ | |
## This UNIX Shell script will download most O'Reilly free pdf books | |
## about Programming, Security, Business, Data, Design, IoT, WebDev, and WebOps | |
## from http://www.oreilly.com/programming/free/. | |
## There are a few books that are non-free, so I don't list them here. | |
## | |
## --- How to RUN? --- | |
## $ sh -e oreilly-freebooks.sh |
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
/* MIT License | |
* | |
* Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com] | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: |
OlderNewer