Skip to content

Instantly share code, notes, and snippets.

We can't make this file beautiful and searchable because it's too large.
geo_type,region,transportation_type,alternative_name,sub-region,country,2020-01-13,2020-01-14,2020-01-15,2020-01-16,2020-01-17,2020-01-18,2020-01-19,2020-01-20,2020-01-21,2020-01-22,2020-01-23,2020-01-24,2020-01-25,2020-01-26,2020-01-27,2020-01-28,2020-01-29,2020-01-30,2020-01-31,2020-02-01,2020-02-02,2020-02-03,2020-02-04,2020-02-05,2020-02-06,2020-02-07,2020-02-08,2020-02-09,2020-02-10,2020-02-11,2020-02-12,2020-02-13,2020-02-14,2020-02-15,2020-02-16,2020-02-17,2020-02-18,2020-02-19,2020-02-20,2020-02-21,2020-02-22,2020-02-23,2020-02-24,2020-02-25,2020-02-26,2020-02-27,2020-02-28,2020-02-29,2020-03-01,2020-03-02,2020-03-03,2020-03-04,2020-03-05,2020-03-06,2020-03-07,2020-03-08,2020-03-09,2020-03-10,2020-03-11,2020-03-12,2020-03-13,2020-03-14,2020-03-15,2020-03-16,2020-03-17,2020-03-18,2020-03-19,2020-03-20,2020-03-21,2020-03-22,2020-03-23,2020-03-24,2020-03-25,2020-03-26,2020-03-27,2020-03-28,2020-03-29,2020-03-30,2020-03-31,2020-04-01,2020-04-02,2020-04-03,2020-04-04,2020-04-05,2020-04-06,2020-04-07,2020-0
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 33 columns, instead of 10. in line 4.
FID COUNT AREA MAJORITY Country Code GJ GL-td Country Country-hpjs Country-WM Country-WHO Country 01 QHLX climate lon lat DZ01 DZ-WHO DZ-WHO-cha Continent-North America DZ02 Continent-2 总人口 人均GDP 分布 首例确诊日期 首例死亡日期 千人床位数 千人医护数 非洲五区 联合国分区 周边14中国 人口过亿
5 440 3.055556 3 ALB 阿尔巴尼亚 阿尔巴尼亚 Albania Albania Albania Albania Albania 亚热带地中海气候 Subtropics, winter rainfall 20.0684 41.1423 欧洲 EURO 欧洲 Europe 欧洲&中亚 Europe & Central Asia 2877.8 5268.848504 北半球 2020/3/7 2020/3/13 2.9 4.8 NULL 南欧
3 30746 213.513889 3 DZA 阿尔及利亚 阿尔及利亚 Algeria Algeria Algeria Algeria Algeria 亚热带地中海气候 Subtropics, winter rainfall 2.63239 28.1632 非洲 AFRO 非洲 Africa 中东&北非 Middle East & North Africa 43851.043 4114.715061 北半球 2020/2/24 2020/3/12 1.9 NULL 北部 北非
2 9005 62.534722 3 AFG 阿富汗 阿富汗 Afghanistan Afghanistan Afghanistan Afghanistan Afghanistan 亚热带地中海气候 Subtropics, winter rainfall 66.0265 33.8388 亚洲 EMRO 东地中海区 Asia 南亚 South Asia 38928.341 520.8966027 北半球 2020/2/23 2020/3/25 0.5 0.6 NULL 南亚 是
10 39995 277.743056 2 ARG 阿根廷 阿根廷 Argentina Argentina Arge
@vorbei
vorbei / toggle-sf-symbols.js
Last active November 20, 2019 04:19
Toggle Filled/Outlined SF Symbols using Figma Scripter
/*
Toggle Filled/Outlined SF Symbols via Figma Scripter:
Press Command+Enter in Figma Scripter to run.
NOTE: ONLY WORKS when text nodes with ONE SYMBOL.
It's a problem of javascript treating the UTF-8 character ranges inappropriately like emojis and SF Symbols.
*/
@vorbei
vorbei / iOS 9 system font properties.json
Created October 16, 2019 11:14 — forked from ZevEisenberg/iOS 9 system font properties.json
Result of calling CTFontCopyFeatures on the system font in iOS 9 beta 5
[
{
"CTFeatureTypeIdentifier" : 0,
"CTFeatureTypeName" : "All Typographic Features",
"CTFeatureTypeNameID" : -100,
"CTFeatureTypeSelectors" : [
{
"CTFeatureSelectorDefault" : true,
"CTFeatureSelectorName" : "On",
"CTFeatureSelectorNameID" : -101,
@vorbei
vorbei / digit_superscript.js
Created August 23, 2019 03:23
Sketch 数字上标格式
const digit_font = "DINAlternate-Bold";
const digit_re = /[\.0-9]+/g;
const digit_sup_re = /\.[0-9]+/g;
const offsetScale = 0.2;
const scale = 0.7;
function reHelper (re, text){
let buffer, ranges = [];
while ((buffer = re.exec(text)) !== null) {
@vorbei
vorbei / latin_cjk_font_mixer.js
Last active June 15, 2022 02:05
Sketch 中英文复合字体插件
const fontManager = [NSFontManager sharedFontManager];
const UI = require('sketch/ui');
//注意:更新后的插件版本,配置请填写 Font Family 名称,请不要再选择 Postscript 名称
//顺序:英文字体,中文字体,数字字体(请依照自己安装的字体和喜好配置)
const options = {
'SF, 苹方, Mono':
'SF Pro Text, PingFang SC, SF Mono',
'Arial, 微软雅黑':
'Arial, Microsoft YaHei',
'New York, 思源宋体':
@vorbei
vorbei / usb_hid_keys.h
Created April 12, 2019 10:11 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.