Skip to content

Instantly share code, notes, and snippets.

View bluekyu's full-sized avatar
☄️
I may be slow to respond.

Younguk Kim bluekyu

☄️
I may be slow to respond.
View GitHub Profile
@bluekyu
bluekyu / image.mjs
Created February 16, 2023 14:44
Useful zx one-line commands
// NOTE: Use with "zx --eval [COMMAND]"
// Convert all PNG files to WebP file in current directory.
await Promise.all((await glob("./*.png")).map(v => $`ffmpeg -i ${v} -c:v libwebp ${v.replace(".png", ".webp")}`))
@bluekyu
bluekyu / vscode-react-settings.js
Created July 11, 2022 13:01
VSCode React 설정 파일
{
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?",
"editor.tabSize": 2
}
@bluekyu
bluekyu / zshrc
Last active February 18, 2022 02:35
# macOS with Apple Architecture
export PATH=/opt/homebrew/bin:"/Applications/CMake.app/Contents/bin":"$PATH"
# Android
export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
@bluekyu
bluekyu / build_render_pipeline_cpp.bat
Created October 26, 2017 00:33
Build Script for Render Pipeline C++ on Windows
@echo off
REM ROOT
REM ├ _cache
REM │ ├ yaml-cpp
REM │ ├ spdlog
REM │ └ flatbuffers
REM ├ _install
REM │ ├ boost
REM │ └ panda3d-thirdparty
@bluekyu
bluekyu / build_panda3d.bat
Last active October 26, 2017 00:33
Build Script for Panda3D on Windows
@echo off
REM ROOT
REM ├ _install
REM │ └ panda3d-thirdparty
REM │ └ win-libs-vc14-x64
REM └ panda3d
set "CMAKE_GENERATOR=Visual Studio 12 2013 Win64"
set "MAKEPANDA_THIRDPARTY=%~dp0_install\panda3d-thirdparty"
"""
MIT License
Copyright (c) 2017 Younguk Kim
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@bluekyu
bluekyu / boost-install.bat
Last active September 22, 2017 17:33
boost installation script
@echo off
@REM First, run bootstrap.bat
@REM runtime-link: Multithreaded (static) OR Multithreaded DLL (shared)
SET INSTALL_PREFIX=C:\boost
SET THREADS=8
SET TOOLSET=msvc-14.1
SET ADDRESS_MODEL=64
@bluekyu
bluekyu / vimrc
Last active August 29, 2015 14:17
bluekyu's .vimrc
"Author : Younguk Kim (bluekyu)
"Date : 2015-03-19
"The order of file encodings
if has("multi_byte_encoding")
set encoding=utf-8
endif
set fileencodings=ucs-bom,utf-8,euc-kr,latin1
"Show line number