Skip to content

Instantly share code, notes, and snippets.

View harplife's full-sized avatar
🎯
Focusing

Ben harplife

🎯
Focusing
View GitHub Profile
@harplife
harplife / my.cnf
Created October 12, 2021 08:30
mysql 이모티콘 호환 전용 my.cnf
# MariaDB database server configuration file.
#
# You can copy this file to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
FROM ubuntu:20.04
#SHELL ["/bin/bash", "-c"] ##this is for when using source
ARG DEBIAN_FRONTEND=noninteractive
ARG TZ=Asia/Seoul
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt update && apt -y install\
fonts-nanum software-properties-common build-essential locales vim\
git curl fonts-powerline zsh tmux wget\
&& fc-cache –fv
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/root/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
[
{
"emoji": "😀",
"name": "grinning face",
"mod": null
},
{
"emoji": "😃",
"name": "grinning face with big eyes",
"mod": null
{
"data": [
{
"branchvalues": "total",
"domain": {
"x": [
0.0,
1.0
],
"y": [
@harplife
harplife / unicode_emojis.json
Created March 25, 2021 07:49
A look up table for emoji-name.
{
"©️": "Copyright Sign",
"®️": "Registered Sign",
"‼️": "Double Exclamation Mark",
"⁉️": "Exclamation Question Mark",
"™️": "Trade Mark Sign",
"ℹ️": "Information Source",
"↔️": "Left Right Arrow",
"↕️": "Up Down Arrow",
"↖️": "North West Arrow",
@harplife
harplife / weather_20131226_20210109_all_daily.csv
Created February 18, 2021 05:52
중기예보 전국 시간별 최저/최고 온도 평균
date temp_lowest temp_highest
2013-12-26 0.675925925925926 5.305555555555555
2013-12-27 -4.027777777777778 1.8703703703703702
2013-12-28 -5.601851851851852 1.175925925925926
2013-12-29 -5.203703703703705 3.3240740740740744
2013-12-30 -1.5277777777777777 7.027777777777778
2013-12-31 -0.9814814814814814 7.75
2014-01-01 -0.9629629629629629 6.824074074074074
2014-01-02 -2.0833333333333335 6.064814814814814
2014-01-03 -0.3148148148148149 10.111111111111109
@harplife
harplife / 중기예보_20131226_20210109.csv
Created February 18, 2021 05:32
중기예보 (날씨, 온도) 2013년 12월 26일 ~ 2021년 1월 9일
We can't make this file beautiful and searchable because it's too large.
area,date,noon,weekday,cloud,weather,temp_lowest,temp_highest,prior_temp_lowest_avg,prior_temp_highest_avg,after_temp_lowest_avg,after_temp_highest_avg
강원도,2013-12-26,오전,목,3,n,-1.3333333333333333,3.3333333333333335,-1.3333333333333333,3.3333333333333335,-4.642857142857143,3.5476190476190474
강원도,2013-12-26,오후,목,3,n,-1.3333333333333333,3.3333333333333335,-1.3333333333333333,3.3333333333333335,-4.642857142857143,3.5476190476190474
광주.전라남도,2013-12-26,오전,목,3,n,1.6666666666666667,6.333333333333333,1.6666666666666667,6.333333333333333,-0.5952380952380952,6.238095238095236
광주.전라남도,2013-12-26,오후,목,3,m,1.6666666666666667,6.333333333333333,1.6666666666666667,6.333333333333333,-0.5952380952380952,6.238095238095236
대구.경상북도,2013-12-26,오전,목,4,n,0.3333333333333333,5.666666666666667,0.3333333333333333,5.666666666666667,-2.4285714285714284,6.214285714285715
대구.경상북도,2013-12-26,오후,목,3,n,0.3333333333333333,5.666666666666667,0.3333333333333333,5.666666666666667,-2.4285714285714284,6.214285714285715
대전.세종.충청남도,2013-12-26,오전,목,4,m,-
@harplife
harplife / vimrc
Created January 11, 2021 06:14
Basic Vim Setting for Python
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()