Skip to content

Instantly share code, notes, and snippets.

View quangIO's full-sized avatar
🥷

Quang Luong quangIO

🥷
View GitHub Profile
@quangIO
quangIO / .ideavimrc
Created August 17, 2023 08:20
ideavimrc with doom-like keybindings
" Do incremental searching.
set incsearch
let mapleader = " "
set clipboard+=unnamed
set ideastatusicon=gray
set commentary
set history
set ignorecase
@quangIO
quangIO / wezterm.lua
Created March 15, 2022 15:08
My wezterm config with tmux-like bindings
local wezterm = require 'wezterm';
return {
color_scheme = "Dracula",
-- colors = {
-- background = "#0c0e14",
-- },
window_decorations = "NONE",
font = wezterm.font("Iosevka"),
font_size = 10.0,
-- dpi = 192.0,
const {
aceVimMap,
mapkey,
imap,
iunmap,
imapkey,
getClickableElements,
vmapkey,
map,
@quangIO
quangIO / diagram.rkt
Last active September 20, 2021 11:35
#lang racket
;; brew install --cask racket
;; brew install graphviz
;; raco pkg install --auto git://github.com/quangio/racket-graphviz pict
;; racket diagram.rkt (this file)
(require graphviz)
(require pict/shadow)
(require pict)
@quangIO
quangIO / quang_public.asc
Created July 10, 2020 01:46
Quang Luong's public key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEXwfHHRYJKwYBBAHaRw8BAQdAw+K17+flrOxRj4g/UeYM55gm7q+fUi908PQN
+FTa0aq0OFF1YW5nIEx1b25nIChGb3IgZW1haWwgY29tbXVuaWNhdGlvbikgPGx1
Y2lAZGV2ZWwuZmFpdGg+iJYEExYIAD4WIQRW5IUm3qKD6qAAVDhRPVrjiPrMnQUC
XwfHHQIbAwUJAeEzgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBRPVrjiPrM
ne0hAQCG1kM+1Lb2ciHm0PrmVA2fdbkDW+o+qT8zoQkPY9jZIAEA4wCmOlUwa+Cy
koGZlVD4iqTXnvTN5wAsHsV2dzK0rgS4OARfB8cdEgorBgEEAZdVAQUBAQdArg7I
Jh1mqoXTfRgYT5ByqJgSB54oa6l/Ic9aqvpIyhsDAQgHiH4EGBYIACYWIQRW5IUm
3qKD6qAAVDhRPVrjiPrMnQUCXwfHHQIbDAUJAeEzgAAKCRBRPVrjiPrMnbdzAPsH
#!/usr/bin/env bash
echo "Setting up mirrorlist and base-devel"
sudo echo -e "Server = http://mirror.es.its.nyu.edu/archlinux/$repo/os/\$arch\n$(cat /etc/pacman.d/mirrorlist)" > /etc/pacman.d/mirrorlist
sudo pacman -Syu --noconfirm base-devel git emacs cmake fish sd fd lsd tmux
curl https://gist.githubusercontent.com/quangIO/raw/extra.sh -o install_extra.sh
chmod +x install_extra.sh
#begin yay
if ! command -v yay >/dev/null; then

Keybase proof

I hereby claim:

  • I am quangio on github.
  • I am quang (https://keybase.io/quang) on keybase.
  • I have a public key ASCYuNscWYA7YWT1iELE9SJQEIQAX8rScBVUoI5eOd97ugo

To claim this, I am signing this object:

#!/usr/bin/env bash
current_path=$(pwd)
echo ${current_path}
DATA_PATH="/home/quangio/dev/hackathon/nn/viton-gan/viton_gan/data/test"
HUMAN_PARSING_PATH="/home/quangio/dev/hackathon/nn/viton_orig/viton-gan/human_parsing"
cd /home/quangio/dev/hackathon/nn/viton_orig/viton-gan/human_parsing
import dom
import html5_canvas
import colors
import math
proc requestAnimationFrame(function: proc()) {.inline.} =
{.emit: ["requestAnimationFrame(", function, ");"].}
type
Vec2d = ref object
#=
main:
- Julia version:
- Author: quangio
- Date: 2019-05-06
=#
using JuMP