Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
On a long vacation, away from GitHub...

Zhongyi Tong geeeeeeeeek

🌴
On a long vacation, away from GitHub...
View GitHub Profile
@tianyuf
tianyuf / baidu-as-a-network-utility.css
Created May 14, 2016
BaaN: Baidu as a Network Utility - 百度的实用主义方法论.
View baidu-as-a-network-utility.css
@-moz-document domain("baidu.com") {
body {
display: none;
}
html {
margin: 30px;
}
html::after {
@cletusw
cletusw / .eslintrc
Last active Sep 30, 2020
ESLint Reset - A starter .eslintrc file that resets all rules to off and includes a description of what each rule does. From here, enable the rules that you care about by changing the 0 to a 1 or 2. 1 means warning (will not affect exit code) and 2 means error (will affect exit code).
View .eslintrc
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"defaultParams": false, // enable default function parameters
"forOf": false, // enable for-of loops
"generators": false, // enable generators
"objectLiteralComputedProperties": false, // enable computed object literal property names
@luw2007
luw2007 / 词性标记.md
Last active Oct 12, 2020
词性标记: 包含 ICTPOS3.0词性标记集、ICTCLAS 汉语词性标注集、jieba 字典中出现的词性、simhash 中可以忽略的部分词性
View 词性标记.md

词的分类

  • 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
  • 虚词:副词、介词、连词、助词、拟声词、叹词。

ICTPOS3.0词性标记集

n 名词
	nr 人名
@econchick
econchick / gist:4666413
Last active Sep 9, 2020
Python implementation of Dijkstra's Algorithm
View gist:4666413
class Graph:
def __init__(self):
self.nodes = set()
self.edges = defaultdict(list)
self.distances = {}
def add_node(self, value):
self.nodes.add(value)
def add_edge(self, from_node, to_node, distance):
@jromero
jromero / sybase
Created Jan 10, 2013
An init script for sybase for standard start, stop, restart, and status.
View sybase
#!/bin/sh
#
# Startup script for Sybase ASE
#
# description: Sybase Adaptive Server Enterprise
# is a SQL database server.
# processname: dataserver
SYBASE=/opt/sybase
You can’t perform that action at this time.