Skip to content

Instantly share code, notes, and snippets.

View zetaraku's full-sized avatar
🙃
(: uʍop ǝpᴉs dn

Raku Zeta zetaraku

🙃
(: uʍop ǝpᴉs dn
  • Taiwan
  • 15:55 (UTC +08:00)
View GitHub Profile
@zetaraku
zetaraku / .gitconfig
Last active March 12, 2023 08:05
my .gitconfig file
[user]
name = Raku Zeta
email = zetaraku@gmail.com
[core]
editor = code --wait
pager = delta
[alias]
# stage
ad = add
ada = add --all
CC = gcc
RM = rm -f
CFLAGS = -Wall -I /path/to/include
LDFLAGS = -L /path/to/lib
LIBS = -lm
OBJECTS = hello_world.o
TARGETS = a.out
main: $(TARGETS)
$(TARGETS): $(OBJECTS)
@zetaraku
zetaraku / .vimrc
Last active February 3, 2021 18:17
my .vimrc file
" vim: set ft=vim:
" Encoding / Language
set encoding=utf-8 nobomb
language en_US
set spell spelllang=en
" Color / Syntax Highlight
color default
set background=dark
@zetaraku
zetaraku / .perltidyrc
Last active December 22, 2020 04:38
my .perltidyrc file
--converge
--maximum-line-length=100
--character-encoding=utf8
--preserve-line-endings
--indent-columns=2
--continuation-indentation=2
--extended-continuation-indentation
--minimum-space-to-comment=2
@zetaraku
zetaraku / .editorconfig
Last active June 14, 2024 12:36
my .editorconfig file
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
Markdown 12 hrs 59 mins █████████████░░░░░░░ 64.1%
Vue.js 3 hrs 18 mins ███░░░░░░░░░░░░░░░░░ 16.3%
TypeScript 3 hrs 4 mins ███░░░░░░░░░░░░░░░░░ 15.2%
JSON 41 mins █░░░░░░░░░░░░░░░░░░░ 3.4%
Other 5 mins ░░░░░░░░░░░░░░░░░░░░ 0.5%
// elementary row operations
function interchange(A: number[][], i1: number, i2: number) {
[A[i1], A[i2]] = [A[i2], A[i1]];
}
function scaling(A: number[][], i: number, f: number = 1) {
const n = A[0].length;
for (let j = 0; j < n; j++) {
@zetaraku
zetaraku / .npmrc
Last active October 11, 2022 14:49
my .npmrc file
init-version=0.0.0
init-author-name=Raku Zeta
init-author-email=zetaraku@gmail.com
init-license=MIT
script-shell=bash
// ==UserScript==
// @name chuni-tools
// @match https://chunithm-net-eng.com/*
// @require https://dogeon188.github.io/chuni-tools/scripts/chuni-tools.js
// ==/UserScript==