Skip to content

Instantly share code, notes, and snippets.

View sinuheshinbr's full-sized avatar

Sinuhe Shin sinuheshinbr

View GitHub Profile
@sinuheshinbr
sinuheshinbr / clean-up-arch-linux.md
Created November 21, 2023 16:35 — forked from rumansaleem/clean-up-arch-linux.md
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@sinuheshinbr
sinuheshinbr / createZip.ts
Created April 12, 2023 12:58
Create zip from S3 files
import Ajv from 'ajv';
import addFormats from 'ajv-formats';
import archiver from 'archiver';
import {ObjectId} from 'mongodb';
import schema from './schema';
import type {ValidatedEventAPIGatewayProxyEvent} from '@libs/api-gateway';
import {
formatJSONResponse,
badRequestResponse,
@sinuheshinbr
sinuheshinbr / estados-cidades.json
Created September 3, 2021 20:20 — forked from letanure/estados-cidades.json
JSON estados cidades do brasil, dividido por estados. segunda lista atualizada em 2020, dados do IBGE
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@sinuheshinbr
sinuheshinbr / .eslintrc.json
Created September 22, 2020 18:32
Eslint config for Next.js projects
{
"extends": [
"prettier",
"prettier/standard",
"prettier/react",
"plugin:react/recommended"
],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",