Skip to content

Instantly share code, notes, and snippets.

View schan90's full-sized avatar

SCHAN90 schan90

View GitHub Profile
@schan90
schan90 / homework2.py
Created January 21, 2017 14:45
파이썬 업무 자동화 과제 rev.2
#-*- encoding=utf-8 -*-
import pandas as pd
import random
from faker import Faker
faker = Faker('ko_KR')
df =pd.DataFrame(columns=[
"Name",
@schan90
schan90 / 20150916_tdd_agenda.md
Created February 5, 2017 11:00 — forked from ihoneymon/20150916_tdd_agenda.md
TDD(Test Driven Development): 테스트주도 개발을 이야기하다

TDD(Test Driven Development): 테스트주도 개발을 이야기하다

TDD란 무엇인가?

TDD와 단위테스트는 같은 것이 아니다.

TDD 작성 패턴

  • 프로그램을 작성하기 전에 테스트 먼저하라.
  • 잘 동작하는 깔끔한 코드
  • 질문 -> 응답 -> 정제 -> 반복
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->

AWS 학습 링크집 시리즈

AWS 보안 관련 컨텐츠 모음집

이 문서는 AWS 공식문서 중 보안에 관련된 자료들을 한글 자료 중심으로 정리해 놓은 것 입니다.

단축URL: http://bit.ly/seccontents

서울대 경영대, 2016 벤처창업웹프로그래밍1 (이하 벤1), 파이썬 기말고사 시험문제입니다. 각자 한 번 풀어보세요.

이와 관련해서 질문이 있으신 분은 댓글 혹은 AskDjango 페이스북 그룹 에 질문을 남겨주세요.

벤1 은 파이썬 강의이며, 벤처창업웹프로그래밍2 (이하 벤2) 의 선수과목입니다. 벤2 에서는 Django 웹프레임워크를 1학기 동안 다룹니다.

문제풀이도 공개했습니다. : https://github.com/askdjango/snu-web-2016-09/tree/master/finals

AskDjango 이진석

@schan90
schan90 / iTerm2Triggers.md
Created March 4, 2017 17:14 — forked from axani/iTerm2Triggers.md
iTerm2 Triggers for Python

About

You can colorize Python messages in iTerm by adding triggers to your profile.

Go to

iTerm > Settings > Profiles > Triggers > Edit

Triggers

Highlight Text - Traceback calls:
Traceback([\s\S]*)

@schan90
schan90 / tmux command basic.md
Created April 8, 2017 18:14 — forked from LeoHeo/tmux command basic.md
기본적인 tmux 사용법

Tmux Command

mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1 Tmux-Part2

Install

@schan90
schan90 / Adding tmux
Created April 10, 2017 13:36 — forked from sshadmand/Adding tmux
The best and greatest tmux.conf ever
Create a tmux conf file
#> touch ~/.tmux.conf
Install TMP
#> git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
[Copy and paste tmux.conf below into local file.]
Load tmux configurations
#> tmux source-file ~/.tmux.conf
@schan90
schan90 / tmux-cheatsheet.markdown
Created April 10, 2017 14:08 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@schan90
schan90 / _readme.md
Created April 11, 2017 04:20 — forked from mislav/_readme.md
tmux-vim integration to transparently switch between tmux panes and vim split windows

I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).

In Vim I have key bindings C-h/j/k/l set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W.) I'd like to use the same keystrokes for switching tmux panes.

An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\.

Here's how it should work: