Skip to content

Instantly share code, notes, and snippets.

View phamhuy361995's full-sized avatar
🎯
Focusing

Pham Huy phamhuy361995

🎯
Focusing
View GitHub Profile
@phamhuy361995
phamhuy361995 / sheet2json.gs
Created June 3, 2024 08:33 — forked from NoCtrlZ1110/sheet2json.gs
Convert a google sheet to json
const toJson = (values = []) => {
if (!values || values.length <= 1) return [];
const [keys, ...data] = values;
const result = data.map(
(row) => {
const object = {};
keys.forEach((key, index) => object[key] = row[index]);
return object;
}
);
@phamhuy361995
phamhuy361995 / settings.json
Last active March 13, 2023 15:17
VS code customize setting
{
"editor.tabSize": 2,
"editor.rulers": [100],
"eslint.options": {
"extensions": [".html", ".js", ".vue", ".jsx"]
},
"eslint.validate": ["html", "vue", "javascript", "javascriptreact"],
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.organizeImports": false,
@phamhuy361995
phamhuy361995 / keybase.md
Created September 11, 2019 11:00
Keybase

Keybase proof

I hereby claim:

  • I am phamhuy361995 on github.
  • I am phamhuy995 (https://keybase.io/phamhuy995) on keybase.
  • I have a public key ASAyqAivuvlwtrv7kAd5iNkT0PJPK96aFgOs1l6JmVBBhQo

To claim this, I am signing this object: