Skip to content

Instantly share code, notes, and snippets.

View mingyuchoo's full-sized avatar
:octocat:
Do small, everyday

mingyuchoo mingyuchoo

:octocat:
Do small, everyday
View GitHub Profile
@mingyuchoo
mingyuchoo / .emacs
Last active March 13, 2023 05:28
My emacs configuration file(.emacs) - 이맥스 설정 파일
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(add-to-list 'exec-path "/home/mgch/.local/bin/")
(package-initialize)
(custom-set-variables
;'(cua-mode t nil (cua-base))
'(custom-enabled-themes '(wheatgrass))
'(display-battery-mode t)
@mingyuchoo
mingyuchoo / .vimrc
Last active January 20, 2023 22:33
Vim setting example
" -----------------------------------------------------------------------------
" Vundle
" -----------------------------------------------------------------------------
set nocompatible
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'airblade/vim-gitgutter'
@mingyuchoo
mingyuchoo / .gitconfig
Last active August 21, 2022 03:30
Git config
[user]
email = <my-email-address>
name = <my-name>
[color]
ui = auto
[core]
editor = vim
autocrlf = input
longpaths = true
[credential]
@mingyuchoo
mingyuchoo / 01-host-only.yaml
Created March 2, 2021 00:35
Setting up Ubuntu Server 18.04 on Virtualbox 6 with Host-only Network
# /etc/netplan/01-host-only.yaml
network:
version: 2
renderer: networkd
ethernets:
enp0s8: # this is your interface name for your NAT network
dhcp6: no
dhcp4: no
addresses: [192.168.56.101/24]
@mingyuchoo
mingyuchoo / Jenkinsfile
Created April 8, 2021 22:53
Jenkinsfile for sample project
pipeline {
agent any
stages {
stage ('clone-project-from-git - Checkout') {
steps {
checkout(
[$class: 'GitSCM', branches: [[name: '*/develop']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
@mingyuchoo
mingyuchoo / .bashrc
Last active January 20, 2023 22:31
Tmux sessions should be nested with care, unset $TMUX to force
case $- in
*i*) ;;
*) return;;
esac
EDITOR=nvim
HISTCONTROL=ignoreboth
HISTSIZE=1000
HISTFILESIZE=2000
@mingyuchoo
mingyuchoo / .tmux.conf
Last active October 4, 2021 10:44
Tmux config file
# scrollback size
set -g history-limit 10000
# change Ctrl+b to Ctrl+x
#unbind C-b
set -g prefix C-s
# set first window to index 1 (not 0)
@mingyuchoo
mingyuchoo / electron-trash-gio.sh
Created June 6, 2021 00:12
~/.config/plasma-workspace/env/electron-trash-gio.sh
export ELECTRON_TRASH=gio
@mingyuchoo
mingyuchoo / .zshrc
Last active September 1, 2022 20:12
.zshrc
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME_RANDOM_CANDIDATES=("af-magic" "afowler")
ZSH_THEME="random"
CASE_SENSITIVE="true"
HYPHEN_INSENSITIVE="true"
@mingyuchoo
mingyuchoo / config.fish
Last active June 21, 2021 05:29
$HOME/.config/fish/config.fish
mask 022
set -U EDITOR vim
set -U ARCHFLAGS "-arch x86_64"
set -gx MANPATH /usr/local/man $MANPATH
set -gx LANG en_US.UTF-8