Skip to content

Instantly share code, notes, and snippets.

View lannex's full-sized avatar
🎯
"An investment in knowledge always pays the best interest" - Benjamin Franklin

Shin, SJ lannex

🎯
"An investment in knowledge always pays the best interest" - Benjamin Franklin
View GitHub Profile
@lannex
lannex / keybase.md
Created August 12, 2020 02:12
keybase

Keybase proof

I hereby claim:

  • I am lannex on github.
  • I am lannex (https://keybase.io/lannex) on keybase.
  • I have a public key ASBGdzfRqxRNcA-4ghcLq7oiMJQGeXE9ljRZszGNpJZW8wo

To claim this, I am signing this object:

@lannex
lannex / launch.json
Created August 5, 2020 05:39
Rust Debug for VSCode
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Rust",
"program": "${workspaceRoot}/target/debug/${workspaceRootFolderName}",
"args": [],
"cwd": "${workspaceFolder}",
@lannex
lannex / postcss.config.js
Last active March 27, 2020 11:40
postcss.config.js
const tailwindcss = require('tailwindcss');
const postcssPresetEnv = require('postcss-preset-env');
const cssnano = require('cssnano');
module.exports = {
plugins: [
tailwindcss('./tailwind.config.js'),
postcssPresetEnv({ stage: 0 }),
cssnano({
preset: `default`,
@lannex
lannex / .prettierrc
Created January 29, 2020 03:37
.prettierrc
{
"trailingComma": "all",
"singleQuote": true
}
@lannex
lannex / devDependencies
Last active August 18, 2021 12:55
eslint for typescript
@types/eslint
@types/eslint-plugin-prettier
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint
eslint-config-airbnb
eslint-config-prettier
eslint-plugin-import
eslint-plugin-jsx-a11y
eslint-plugin-prettier
@lannex
lannex / parallel.js
Last active September 27, 2019 08:34
Async loops
async function parallel(array) {
const promises = array.map(item => delay(item));
await Promise.all(promises);
}
@lannex
lannex / tsconfig.json
Last active September 2, 2019 15:24
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "ES2015",
"jsx": "react", // or "react-native"
"moduleResolution": "node",
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"noUnusedLocals": true,
"noUnusedParameters": true,