Skip to content

Instantly share code, notes, and snippets.

View posquit0's full-sized avatar
๐ŸŽฏ
Focusing

Byungjin Park (Claud) posquit0

๐ŸŽฏ
Focusing
View GitHub Profile
@ghoranyi
ghoranyi / AWS Swarm cluster.md
Last active May 31, 2021 05:28
Create a Docker 1.12 Swarm cluster on AWS

This gist will drive you through creating a Docker 1.12 Swarm cluster (with Swarm mode) on AWS infrastructure.

Prerequisites

You need a few things already prepared in order to get started. You need at least Docker 1.12 set up. I was using the stable version of Docker for mac for preparing this guide.

$ docker --version
Docker version 1.12.0, build 8eab29e

You also need Docker machine installed.

@leonardofed
leonardofed / README.md
Last active April 19, 2025 04:38
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@jesstelford
jesstelford / event-loop.md
Last active December 5, 2024 02:05
What is the JS Event Loop and Call Stack?

Regular Event Loop

This shows the execution order given JavaScript's Call Stack, Event Loop, and any asynchronous APIs provided in the JS execution environment (in this example; Web APIs in a Browser environment)


Given the code

@alopresto
alopresto / gpg_git_signing.md
Last active December 8, 2024 15:44
Steps to enable GPG signing of git commits.

If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:

  1. Generate and add your key to GitHub
  2. $ git config --global commit.gpgsign true ([OPTIONAL] every commit will now be signed)
  3. $ git config --global user.signingkey ABCDEF01 (where ABCDEF01 is the fingerprint of the key to use)
  4. $ git config --global alias.logs "log --show-signature" (now available as $ git logs)
  5. $ git config --global alias.cis "commit -S" (optional if global signing is false)
  6. $ echo "Some content" >> example.txt
  7. $ git add example.txt
  8. $ git cis -m "This commit is signed by a GPG key." (regular commit will work if global signing is enabled)
@devodo
devodo / gist:8b39748d65e8185fbd89
Created March 16, 2016 11:43
PostgreSQL create UUID max aggregate function
CREATE OR REPLACE FUNCTION max (uuid, uuid)
RETURNS uuid AS $$
BEGIN
IF $1 IS NULL OR $1 < $2 THEN
RETURN $2;
END IF;
RETURN $1;
END;
$$ LANGUAGE plpgsql;
@lukas-h
lukas-h / license-badges.md
Last active April 19, 2025 20:45
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@ihoneymon
ihoneymon / use-git-and-git-flow.adoc
Last active November 8, 2023 22:45
git ์„ ๊ธฐ๋ฐ˜์œผ๋กœ git-flow๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฐฐํฌ๋ฒ„์ „์„ ๊ด€๋ฆฌํ•˜์ž.

GIT์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•œ ํ”„๋กœ์ ํŠธ ๊ฐœ๋ฐœํ”„๋กœ์„ธ์Šค

๊นƒ์„ ์‚ฌ์šฉํ•ฉ์‹œ๋‹ค. ๊นƒ์„ ์“ฐ์ž. ๊นƒ์„ ์“ฐ๋ž€ ๋ง์•ผ!!

  • SVN์€ ๋ณ€๊ฒฝ์ด๋ ฅ์ด ๋งŽ์•„์งˆ์ˆ˜๋ก ์†๋„๊ฐ€ ๋А๋ฆฌ์ง€.

    • ์ปค๋ฐ‹ ๋ฐ ์ฒ˜๋ฆฌ์†๋„๊ฐ€ ๋น ๋ฅด๋‹ค. ๋ณ€๊ฒฝ์ด๋ ฅ์ด ๋งŽ์ด ์ถ•์ ๋˜์–ด ์žˆ์–ด๋„ ์†๋„์ €ํ•˜๊ฐ€ ๊ฑฐ์˜ ์—†๋‹ค.

  • ์ปค๋ฐ‹์ฐ๊ธฐ๊ฐ€ ์–ด๋ ต๋‹ค.

codecov:
token: uuid # Your private repository token
url: "http" # for Codecov Enterprise customers
slug: "owner/repo" # for Codecov Enterprise customers
branch: master # override the default branch
bot: username # set user whom will be the consumer of oauth requests
ci: # Custom CI domains if Codecov does not identify them automatically
- ci.domain.com
- !provider # ignore these providers when checking if CI passed
# ex. You may test on Travis, Circle, and AppVeyor, but only need
@posquit0
posquit0 / chat.py
Created October 19, 2015 10:55
Simple Chat Server with Python (Not needed Client Interface)
#!/usr/bin/env python
# encoding: utf-8
from Queue import Queue
from SocketServer import BaseRequestHandler, ThreadingTCPServer
from datetime import datetime
import threading
ThreadingTCPServer.allow_reuse_address = True
@jamtur01
jamtur01 / ladder.md
Last active February 17, 2025 09:09
Kickstarter Engineering Ladder