Skip to content

Instantly share code, notes, and snippets.

View Fechin's full-sized avatar
🎯
Focusing

Fechin Fechin

🎯
Focusing
View GitHub Profile
{
"title":"A test for load data from remote",
"intro": "A test for load data from remoteA test for load data from remoteA test for load data from remoteA test for load data from remoteA test for load data from remote",
"data":[["id","name","age","gender"],["1","Roberta","39","M"],["2","Oliver","25","M"],["3","Shayna","18","F"],["4","Fechin","18","M"]]
}
@Fechin
Fechin / breast-cancer-wisconsin-dataset.csv
Created May 24, 2019 08:54
breast cancer wisconsin dataset csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 33 columns, instead of 32. in line 1.
"id","diagnosis","radius_mean","texture_mean","perimeter_mean","area_mean","smoothness_mean","compactness_mean","concavity_mean","concave points_mean","symmetry_mean","fractal_dimension_mean","radius_se","texture_se","perimeter_se","area_se","smoothness_se","compactness_se","concavity_se","concave points_se","symmetry_se","fractal_dimension_se","radius_worst","texture_worst","perimeter_worst","area_worst","smoothness_worst","compactness_worst","concavity_worst","concave points_worst","symmetry_worst","fractal_dimension_worst",
842302,M,17.99,10.38,122.8,1001,0.1184,0.2776,0.3001,0.1471,0.2419,0.07871,1.095,0.9053,8.589,153.4,0.006399,0.04904,0.05373,0.01587,0.03003,0.006193,25.38,17.33,184.6,2019,0.1622,0.6656,0.7119,0.2654,0.4601,0.1189
842517,M,20.57,17.77,132.9,1326,0.08474,0.07864,0.0869,0.07017,0.1812,0.05667,0.5435,0.7339,3.398,74.08,0.005225,0.01308,0.0186,0.0134,0.01389,0.003532,24.99,23.41,158.8,1956,0.1238,0.1866,0.2416,0.186,0.275,0.08902
84300903,M,19.69,21.25,130,1203,0.1096,0.1599,0.1974,0.1279,
@Fechin
Fechin / The Iris Dataset json version
Last active May 5, 2019 10:30
The Iris Dataset json version
[
{"sepal_length": "5.1", "sepal_width": "3.5", "petal_length": "1.4", "petal_width": "0.2", "species": "setosa"},
{"sepal_length": "4.9", "sepal_width": "3.0", "petal_length": "1.4", "petal_width": "0.2", "species": "setosa"},
{"sepal_length": "4.7", "sepal_width": "3.2", "petal_length": "1.3", "petal_width": "0.2", "species": "setosa"},
{"sepal_length": "4.6", "sepal_width": "3.1", "petal_length": "1.5", "petal_width": "0.2", "species": "setosa"},
{"sepal_length": "5.0", "sepal_width": "3.6", "petal_length": "1.4", "petal_width": "0.2", "species": "setosa"},
{"sepal_length": "5.4", "sepal_width": "3.9", "petal_length": "1.7", "petal_width": "0.4", "species": "setosa"},
{"sepal_length": "4.6", "sepal_width": "3.4", "petal_length": "1.4", "petal_width": "0.3", "species": "setosa"},
{"sepal_length": "5.0", "sepal_width": "3.4", "petal_length": "1.5", "petal_width": "0.2", "species": "setosa"},
{"sepal_length": "4.4", "sepal_width": "2.9", "petal_length": "1.4", "petal_width"
@Fechin
Fechin / latex-markdown-table-editor.md
Last active March 4, 2019 09:51
LaTex / Markdown table editor

JSONpath Online Evaluator

An online playground for JSONPath,You can input JSONPath expressions and extract elements from JSON. It is a good online JSONPath test tool.

@Fechin
Fechin / tool-tableconvert.md
Last active July 1, 2023 13:01
https://tableconvert.com : A powerful online table editor that converts between CSV, HTML and Markdown. Easy to convert html tables to SQL, JSON, XML and Text, Makes it easier to work with tables.

TableConvert is a powerful online table editor that converts between CSV, HTML and Markdown. Easy to convert html tables to SQL, JSON, XML and Text, Makes it easier to work with tables.

Function list:

  • Convert csv to html
  • Convert csv to json
  • Convert csv to markdown
  • Convert csv to sql
  • Convert csv to xml
  • Convert html table to csv
  • Convert html table to json
@Fechin
Fechin / backup.sh
Created August 20, 2018 05:04
Backup file or directory
#!/bin/bash
####################################
# An backup script.
# example:
# > sh backup.sh /var/www/hexo
# > _var_www_hexo-20180813102904.tgz
####################################
# What to backup.
backup_dir=${1:-licensez}
@Fechin
Fechin / FB Locale List
Created August 11, 2018 10:22 — forked from mechastorm/FB Locale List
List of locales supported by Facebook. These are the same supported locales that you can only call when loading the FB JS SDK
<?php
/**
* List of locales supported by Facebook.
*
* These are the same supported locales that you can only call when loading the FB JS SDK at
* //connect.facebook.net/{LOCALE_ID}/all.js
*
* Locales taken from http://www.facebook.com/translations/FacebookLocales.xml
*
* Last Updated: 04/09/2012
@Fechin
Fechin / boston.csv
Created July 3, 2018 02:08
boston housing dataset source file
crim zn indus chas nox rm age dis rad tax ptratio b lstat medv
0.00632 18 2.31 0 0.538 6.575 65.2 4.09 1 296 15.3 396.9 4.98 24
0.02731 0 7.07 0 0.469 6.421 78.9 4.9671 2 242 17.8 396.9 9.14 21.6
0.02729 0 7.07 0 0.469 7.185 61.1 4.9671 2 242 17.8 392.83 4.03 34.7
0.03237 0 2.18 0 0.458 6.998 45.8 6.0622 3 222 18.7 394.63 2.94 33.4
0.06905 0 2.18 0 0.458 7.147 54.2 6.0622 3 222 18.7 396.9 5.33 36.2
0.02985 0 2.18 0 0.458 6.43 58.7 6.0622 3 222 18.7 394.12 5.21 28.7
0.08829 12.5 7.87 0 0.524 6.012 66.6 5.5605 5 311 15.2 395.6 12.43 22.9
0.14455 12.5 7.87 0 0.524 6.172 96.1 5.9505 5 311 15.2 396.9 19.15 27.1
0.21124 12.5 7.87 0 0.524 5.631 100 6.0821 5 311 15.2 386.63 29.93 16.5