Skip to content

Instantly share code, notes, and snippets.

View partrita's full-sized avatar
🎯
Focusing on hobby

Taeyoon Kim partrita

🎯
Focusing on hobby
View GitHub Profile
@partrita
partrita / test0409.ipynb
Last active April 9, 2017 04:10
sklearn for learning
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@partrita
partrita / acentral reconstruction.ipynb
Created April 14, 2017 07:50
acentral reconstruction
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@partrita
partrita / line_plot_errorbar.ipynb
Last active June 23, 2017 23:54
line_plot_errorbar
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@partrita
partrita / pomodoro.py
Last active November 29, 2019 13:47
simple pomodoro timer for me
import sys
import time
import argparse
from tqdm import tqdm
parser = argparse.ArgumentParser(description='Set time of timer. It shoud be minute')
parser.add_argument('-t', '--time', type=int, default=25, help='Set pomodoro interval.')
parser.add_argument('-b', '--break_time', type=int, default=5, help='Set pomodoro interval.')
parser.add_argument('-r', '--repeat', type=int, default=3, help='Set round of pomodoro.')
@partrita
partrita / chrom_cal.py
Created January 30, 2020 07:43
simple python script for calculator of chromatography
import click
pi = 3.14
@click.group()
def cli():
pass
@cli.command()
@click.option(
@partrita
partrita / Mactype Noto Sans CJK.md
Last active December 10, 2020 16:01 — forked from gddabe/Mactype Noto Sans CJK for Win10.md
Mactype Noto Sans CJK for Win10
  1. Noto Sans CJK 폰트 설치
  2. mactype 다운로드후 설치
  3. 아래의 내용을 C:\Program Files\MacType\ini\NotoSansCJK.ini 에 텍스트 파일로 저장
[Preview]
Font=Noto Sans Mono CJK
Color=$000000
Text=This is Noto Sans Mono CJK 01234567890!@#$%^&*
Size=10
@partrita
partrita / 5myzsh.md
Last active March 23, 2021 11:57
personal set up of zsh.

0. pre-required

bash shell

1. install zsh

The Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements

@partrita
partrita / keymap.json
Created February 26, 2022 11:32
My keymap for sweep keyboard
{ "version": 1,
"notes": "My awesome keymap",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "ferris/0_1",
"keymap": "default",
"layout": "LAYOUT_split_3x5_2",
"layers": [
["KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T",
"KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P",
@partrita
partrita / MyVimSetup.md
Last active June 27, 2022 01:08
Vim4Python

source

Installing Vim

Linux - Open your terminal and type: (For Debian based distros)

$ apt-get remove vim-tiny
$ apt-get update
$ apt-get install vim
@partrita
partrita / timer.py
Created May 10, 2022 01:15
Simple timer by python code
import time
import sys
time_start = time.time()
seconds = 0
minutes = 0
while True:
try:
sys.stdout.write("\r{minutes} Minutes {seconds} Seconds".format(minutes=minutes, seconds=seconds))