For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| import pandas as pd | |
| from geopandas import GeoDataFrame | |
| from shapely.geometry import Point | |
| import fiona | |
| df = pd.read_csv('data.csv') | |
| geometry = [Point(xy) for xy in zip(df.x, df.y)] | |
| crs = {'init': 'epsg:2263'} #http://www.spatialreference.org/ref/epsg/2263/ | |
| geo_df = GeoDataFrame(df, crs=crs, geometry=geometry) |
| ##### 使用说明 ##### | |
| # 1. 请填写 proxy-providers - subscribe - url 为订阅链接 | |
| # 2. 下载 https://github.com/Loyalsoldier/clash-rules/archive/refs/heads/release.zip 并解压至 ./profiles/ruleset 文件夹下 | |
| # 3. 若需要自动更新 ruleset, 请编辑 rule-providers 下各项 type 为 http | |
| ##### 参考链接 ##### | |
| # 1. clash 样例配置文件 | |
| # https://lancellc.gitbook.io/clash/clash-config-file/an-example-configuration-file | |
| # 2. clash 规则集 | |
| # https://github.com/Loyalsoldier/clash-rules |
| from email.mime.text import MIMEText | |
| from email.header import Header | |
| from smtplib import SMTP_SSL | |
| # qq mail sending server | |
| host_server = 'smtp.qq.com' | |
| sender_mail = 'SENDER_MAIL' | |
| sender_passcode = 'PASS_CODE' | |
| # receiver mail |
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |
| " (N)Vim Configuration File | |
| " vim : place in $HOME/.vimrc | |
| " nvim : place in $HOME/.config/nvim/init.vim | |
| " $ ln -s $HOME/.config/nvim/init.vim $HOME/.vimrc | |
| " General settings | |
| " https://learnvimscriptthehardway.stevelosh.com/ | |
| " --------------------------------------------------------------------------- | |
| " drop vi support - kept for vim compatibility but not needed for nvim | |
| " Probably not needed with Vim 8+ | |
| "set nocompatible |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Demo</title> | |
| <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
| <!--Add mapbox.js --> |
| echo "Working directory: $PWD"; | |
| echo "List files in a given directory" | |
| for file in C:/GISData/*; do | |
| echo $file; | |
| done | |
| echo "Get basic info about all shapefiles in a given folder" | |
| for file in C:/GISData/*; do | |
| if [[ ${file: -4} == ".shp" ]] |
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |