Skip to content

Instantly share code, notes, and snippets.

View ddok2's full-sized avatar

Sungyub NA ddok2

View GitHub Profile
@ddok2
ddok2 / 📊 Weekly development breakdown
Last active October 22, 2020 09:04
📊 Weekly development breakdown
Go 18 hrs 19 mins ██████████████████▌░░ 88.5%
Java 57 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.7%
Bash 43 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.5%
Other 18 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.5%
JavaScript 12 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0%
🌞 Morning 429 commits ███████▍░░░░░░░░░░░░░ 35.4%
🌆 Daytime 640 commits ███████████░░░░░░░░░░ 52.8%
🌃 Evening 117 commits ██░░░░░░░░░░░░░░░░░░░ 9.7%
🌙 Night 26 commits ▍░░░░░░░░░░░░░░░░░░░░ 2.1%
@ddok2
ddok2 / AWSCertifiedDeveloperUnofficialStudyGuide.md
Created March 25, 2020 08:41 — forked from serithemage/AWSCertifiedDeveloperUnofficialStudyGuide.md
AWS 공인 개발자 - 어소시에이트 수험 가이드
{"lastUpload":"2020-03-12T02:16:23.481Z","extensionVersion":"v3.4.3"}
@ddok2
ddok2 / .git-commit-template.txt
Created November 8, 2019 01:47 — forked from adeekshith/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
@ddok2
ddok2 / docker-compose-es.yml
Last active November 6, 2019 01:07
To get a three-node Elasticsearch cluster up and running in Docker
version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es02,es03
- cluster.initial_master_nodes=es01,es02,es03

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

@ddok2
ddok2 / change-ubuntu-mirror.sh
Created September 3, 2019 08:58 — forked from lesstif/change-ubuntu-mirror.sh
우분투(ubuntu)의 apt 기본 미러(mirror)를 다음 카카오(kakao), 네오위즈(neowiz), harukasan 으로 변경
#!/bin/sh
SL=/etc/apt/sources.list
PARAM="r:hm:dna"
KAKAO=mirror.kakao.com
NEOWIZ=ftp.neowiz.com
HARU=ftp.harukasan.org
@ddok2
ddok2 / web_timing.py
Created July 6, 2017 08:28 — forked from mkaz/web_timing.py
Use Selenium to Measure Web Timing
#!/usr/bin/env python
"""
Use Selenium to Measure Web Timing
Performance Timing Events flow
navigationStart -> redirectStart -> redirectEnd -> fetchStart -> domainLookupStart -> domainLookupEnd
-> connectStart -> connectEnd -> requestStart -> responseStart -> responseEnd
-> domLoading -> domInteractive -> domContentLoaded -> domComplete -> loadEventStart -> loadEventEnd
// 다음은 수정자 메소드를 이용한 방식이다.
public class UserDao {
private ConnectionMaker connectionMaker;
public void setConnectionMaker(ConnectionMaker connectionMaker) {
this.connectionMaker = connectionMaker;
}
}
@Bean
public UserDao userDao() {