Skip to content

Instantly share code, notes, and snippets.

View tigorlazuardi's full-sized avatar
🇮🇩
Working From Home

Tigor tigorlazuardi

🇮🇩
Working From Home
View GitHub Profile
import { createConnection, Connection } from 'typeorm'
import User from 'some-folder'
import { Request, Response, NextFunction } from 'express'
// Infrastructure Codes
let readConn: Connection
let writeConn: Connection
// Contoh misal user repo
@tigorlazuardi
tigorlazuardi / opd.md
Created September 1, 2020 07:27
One Page Design

A Girl's Farm Life

Game Identity / Mantra

"A girl whose parents had ran on vacation, now had a massive debt left by the parents. Now she had to pay those bills by making her family's farm prosperous. How to make it prosperous can be left to her imaginations."

Design Pillars

@tigorlazuardi
tigorlazuardi / .gitignore
Created November 13, 2020 13:27
Git Ignore your way through problems as painless as possible
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@tigorlazuardi
tigorlazuardi / read-clock.ps1
Created March 16, 2021 15:41
Read current time outloud (Windows Powershell Script)
Add-Type -AssemblyName System.Speech;
$read = [string]::Format("It's {0}", $(Get-Date -Format "hh tt"));
(New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak($read);
@tigorlazuardi
tigorlazuardi / wezterm.lua
Created March 12, 2022 07:55
Personal Wezterm Configuration
local wezterm = require("wezterm")
return {
font = wezterm.font("JetBrainsMono Nerd Font Mono"),
default_prog = { "wsl.exe", "-d", "Arch", "tmux", "attach", "||", "tmux" },
hide_tab_bar_if_only_one_tab = true,
window_close_confirmation = "NeverPrompt",
}
; extends
; put this file at ~/.config/nvim/after/queries/go/injections.scm
; preview: https://github.com/user-attachments/assets/4cb70b78-8861-4a72-a330-40065b6fccb2
; This injection provide syntax highlighting for variable declaration and arguments by
; using the comment before the target string as the language.
;
; The dot after @injection.language ensures only comment text left to the target string will
; trigger injection.