Skip to content

Instantly share code, notes, and snippets.

View emptymalei's full-sized avatar
📡
sending EM waves to Mars

LM emptymalei

📡
sending EM waves to Mars
View GitHub Profile
{"_id":"lagou-shenzhen-datascientist","startUrl":["https://www.lagou.com/jobs/list_%E6%95%B0%E6%8D%AE%E7%A7%91%E5%AD%A6%E5%AE%B6?px=default&city=%E6%B7%B1%E5%9C%B3#filterBox"],"selectors":[{"id":"card","type":"SelectorElement","selector":"li.con_list_item","parentSelectors":["_root"],"multiple":true,"delay":""},{"id":"position","type":"SelectorText","selector":"h3","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"location","type":"SelectorText","selector":"span.add em","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"company","type":"SelectorText","selector":"div.company_name a","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"salary","type":"SelectorText","selector":"span.money","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"companystat","type":"SelectorText","selector":"div.industry","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"requirement","type":"SelectorText","selector":"div.p_bot
@emptymalei
emptymalei / sql-mongo_comparison.md
Created March 13, 2018 02:00 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@emptymalei
emptymalei / index.html
Created February 24, 2018 23:45
nodejs + mongodb: fight the promise
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BiliSpider</title>
<link rel="stylesheet" href="assets/css/bulma.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
@emptymalei
emptymalei / Python3 Code
Last active January 20, 2018 03:25
Infinite Queen Problem
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import rcParams
rcParams['figure.figsize'] = 10, 10
dim=100;
coor_list = [[0,0]]
@emptymalei
emptymalei / vimium-options.json
Created December 10, 2017 19:51
Vimium Config Backup
{
"settingsVersion": "1.62",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
},
{
"pattern": "https://cloud.digitalocean.com/droplets/2887073/console",
"passKeys": ""
@emptymalei
emptymalei / default.custom.yaml
Created July 1, 2017 17:12 — forked from lotem/default.custom.yaml
在Rime輸入方案選單中添加五筆、雙拼、粵拼、注音,保留你需要的
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
schema_list:
- schema: luna_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 朙月拼音 简化字模式
编号 代码 命令分解 命令
//switchtabpos switch tab pos 更改底部功能按钮位置的命令
//multiwebview multi web view 微信多窗口显示命令
//opentrace open trace 打开跟踪
//getfpkey get fp key 得到手机基本信息
//pickpoi pick poi 定位当前位置
//fullexit full exit 完全退出微信
//testwaitsms test wait sms 测试验证手机号码
//sightinfo sight info 打开查看小视频参数
//testsetpageowner test set page owner 检测你是否拥有页面的所有权
@emptymalei
emptymalei / css files
Last active November 27, 2016 15:29
cVim Options
#cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results,
.cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left,
.cVim-completion-item .cVim-right {
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, monospace, Arial;
font-size: 10pt !important;
-webkit-font-smoothing: antialiased !important;
}
#cVim-command-bar {
position: fixed;
@emptymalei
emptymalei / CSS
Created October 30, 2016 20:34
Jekyll Table of Content Adjust
#markdown-toc {
border-width: thin;
border-color: #9C9C9C;
padding: 1em 1em 1em 2em;
white-space: nowrap;
display: inline-block;
float: right;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
<div id="float-bot-div">
<button id="toc-button-side">ToC</button>
<button id="back-to-top-button">Top</button>
</div>
<script type="text/javascript">
if ($('#markdown-toc').length){