Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mioe's full-sized avatar
🐣
top secret

Misha Gezha mioe

🐣
top secret
View GitHub Profile
/* good default vite styles */
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
color-scheme: dark;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
@mioe
mioe / deno.jsonc
Last active May 6, 2023 11:40
my config for fmt deno
{
"tasks": {
"dev": "deno run --watch main.ts"
},
"fmt": {
"semiColons": false,
"singleQuote": true,
"useTabs": true
}
}
@mioe
mioe / .editorconfig
Last active May 6, 2023 11:36
my editorconfig properties
root = true
# set default settings
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true
@mioe
mioe / parseCsv.ts
Created January 30, 2023 19:35
simple parse csv via Deno 🦕
import { parse as parseCsv } from 'https://deno.land/std@0.82.0/encoding/csv.ts'
const data = await parseCsv(await Deno.readTextFile('data.csv'))
const query = await parseCsv(await Deno.readTextFile('query.csv'))
if (import.meta.main) {
const Q = query.flatMap((row) => row)
const INDEX = {
name: 1,
@mioe
mioe / _reset.sass
Last active August 29, 2022 18:23
sass - reset styles 🐣️
/* box sizing rules */
*,
*::before,
*::after
box-sizing: border-box
/* remove default padding */
ul,
ol
padding: 0
@mioe
mioe / example.sass
Last active August 6, 2022 10:22
example css features 🎸
@import '_reset'
a
text-decoration: none
.dont-touch-me
user-select: none
[class*=view-]
position: relative