Skip to content

Instantly share code, notes, and snippets.

View seompark's full-sized avatar

Seongmin Park seompark

View GitHub Profile
@ihoneymon
ihoneymon / use-git-and-git-flow.adoc
Last active November 8, 2023 22:45
git 을 기반으로 git-flow를 사용하여 애플리케이션 배포버전을 관리하자.

GIT을 기반으로 한 프로젝트 개발프로세스

깃을 사용합시다. 깃을 쓰자. 깃을 쓰란 말야!!

  • SVN은 변경이력이 많아질수록 속도가 느리지.

    • 커밋 및 처리속도가 빠르다. 변경이력이 많이 축적되어 있어도 속도저하가 거의 없다.

  • 커밋찍기가 어렵다.

@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@robertpainsi
robertpainsi / README.md
Last active April 25, 2025 16:54
How to reopen a pull-request after a force-push?

How to reopen a pull-request after a force-push?

Precodinitions

  • You need the rights to reopen pull requests on the repository.
  • The pull request hasn't been merged, just closed.

Instructions

  1. Write down the current commit hash of your PR-branch git log --oneline -1 <PR-BRANCH>
  2. Write down the latest commit hash on github before the PR has been closed.
  3. git push -f origin :
@HelloWorld017
HelloWorld017 / tvple-download.md
Last active October 23, 2018 12:02
티비플을 다운로드해보자!

티비플을 다운로드 하는 방법

  1. 북마크에 아래의 url을 추가한다.
    `javascript:var href = $('#video-player video&gt;source').attr('src'); var content = $('meta[property=og\:title]').attr('content'); if(href !== undefined){ (function(src, title){ var popupContent = $(document.createElement('div')).append( $(document.createElement('h2')).text('%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C%EA%B0%80 %EC%A4%80%EB%B9%84%EB%90%90%EC%8A%B5%EB%8B%88%EB%8B%A4!') ).append( $(document.createElement('h4')).text('%EC%95%84%EB%9E%98%EC%9D%98 %EB%A7%81%ED%81%AC%EB%A5%BC %EB%88%8C%EB%9F%AC %EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C %ED%95%98%EC%8B%AD%EC%8B%9C%EC%98%A4.') ).append( $(document.createElement('a')).attr('href', src).attr('download', title).text('%EB%8F%99%EC%98%81%EC%83%81 %EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C') ); createPopup(popupContent, '%EB%8F%99%EC%98%81%EC%83%81 %EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C'); })(href, content); }else{ createPopup( $(document.createElement('h2')).html('%EC%98%A4%EB%A5%98!
    %EB%8F%99%EC%98%81%EC%83%81 %ED%94%8C%EB%A0%88%
@tzmartin
tzmartin / embedded-file-viewer.md
Last active April 16, 2025 14:36
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@HelloWorld017
HelloWorld017 / ascii-draw.js
Created December 2, 2016 15:25
A simple ascii text drawer
const draw = (width, height, text, font, fill) => {
const canvas = document.createElement('canvas');
canvas.width = width;
canvas.height = height;
const ctx = canvas.getContext('2d');
ctx.fillStyle = "#000";
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = "#fff";
@xnuk
xnuk / hyeong.md
Last active April 23, 2025 10:14
난해한 혀엉.... 언어

난해한 혀엉... 언어 v0.4.5

  • (U+2026), (U+22EF), (U+22EE)는 모두 .(U+002E)가 3번 연속으로 나열된 것과 같은 것으로 봅니다.
  • "한글 음절 문자"는 가(U+AC00) 이상 힣(U+D7A3) 이하의 유니코드 문자들을 의미합니다.

스택

@HelloWorld017
HelloWorld017 / README.md
Last active January 17, 2022 12:52
Powerline style for Atom

How to

  1. Download powerline.less into ATOM_HOME (default: ~/.atom/)
  2. Add @import './powerline.less'; into your styles.less in ATOM_HOME.
  3. Enjoy! :D

Warning

Powerline could not work on some themes.
Officially supported themes:

  • Atom Dark
  • Atom Light
@HelloWorld017
HelloWorld017 / ghost-seasons-background.js
Created February 7, 2017 10:49
Automated changing flat stripe background for ghost.
(function(){
//SVG Flat Stripe Background
//by Khinenw
//gist.github.com/HelloWorld017/6fb557767095a0e79140cb3bfbed83e7
'use strict';
if(location.pathname !== '/') return;
var themes = [[/^\d+-(02|03|04)-.+$/, ['#f8bbd0', '#f06292', '#e91e63', '#c2185b', '#880e4f']], //Haru
[/^\d+-(05|06|07)-.+$/, ['#ffeb3b', '#cddc39', '#8bc34a', '#4caf50', '#009688']], //Natsu
@robertpainsi
robertpainsi / commit-message-guidelines.md
Last active April 25, 2025 12:51
Commit message guidelines

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages