Skip to content

Instantly share code, notes, and snippets.

View taeguk's full-sized avatar
๐Ÿ˜ˆ
BAAAD

taeguk | thai taeguk

๐Ÿ˜ˆ
BAAAD
View GitHub Profile
@maratori
maratori / .golangci.yml
Last active April 19, 2025 21:15
Golden config for golangci-lint
# This file is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021-2025 Marat Reymers
## Golden config for golangci-lint v2.1.2
#
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt it to suit your needs.
# If this config helps you, please consider keeping a link to this file (see the next comment).
@premek
premek / mv.sh
Last active March 5, 2024 17:43
Rename files in linux / bash using mv command without typing the full name two times
# Put this function to your .bashrc file.
# Usage: mv oldfilename
# If you call mv without the second parameter it will prompt you to edit the filename on command line.
# Original mv is called when it's called with more than one argument.
# It's useful when you want to change just a few letters in a long name.
#
# Also see:
# - imv from renameutils
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste)
@patriknw
patriknw / AtLeastOnceExample.scala
Created September 11, 2019 06:52
AtLeastOnceDelivery in Akka Typed
package docs.akka.persistence.typed
import scala.concurrent.duration.FiniteDuration
import akka.actor.typed.ActorRef
import akka.actor.typed.Behavior
import akka.actor.typed.scaladsl.Behaviors
import akka.actor.typed.scaladsl.LoggerOps
import akka.persistence.typed.PersistenceId
import akka.persistence.typed.RecoveryCompleted
@minhoryang
minhoryang / Working_from_Airbase.png
Last active May 9, 2019 23:00
Now working from Airbase
Working_from_Airbase.png
@channprj
channprj / I_HATE_SHINHAN_MARKANY.md
Created January 23, 2019 08:01
์‹ ํ•œ์นด๋“œ๋ž‘ ๋งˆํฌ์• ๋‹ˆ ๋‘˜ ์ค‘ ๋ˆ„๊ตฌ๋ฅผ ์š•ํ•ด์•ผ ํ•˜๋Š”๊ฐ€

์‹ ํ•œ์นด๋“œ๋ž‘ ๋งˆํฌ์• ๋‹ˆ ๋‘˜ ์ค‘ ๋ˆ„๊ตฌ๋ฅผ ์š•ํ•ด์•ผ ํ•˜๋Š”๊ฐ€

์—ฐ๋ง์ •์‚ฐ ๋•Œ๋ฌธ์— ์‹ ์šฉ์นด๋“œ ์‚ฌ์šฉ๋‚ด์—ญ์„œ๋ฅผ ๋ฝ‘์œผ๋ ค๋Š”๋ฐ ์‹ ํ•œ์นด๋“œ๊ฐ€ ๋‚˜์—๊ฒŒ MarkAny ๋ผ๋Š” ๋˜ฅ์„ ์คฌ๋‹ค.

๋˜ฅ์„ ํ”ผํ•˜๋ ค๊ณ  VMWare ๋ฅผ ์ผฐ์ง€๋งŒ, ๊ฐ€์ƒ๋จธ์‹  ํ™˜๊ฒฝใ„ดใ„ด ๋ผ๋ฉด์„œ ์ž๊พธ ๋น ๊พธ๋ฅผ ๋‹นํ•ด์„œ ๊ทธ๋ƒฅ ๋งฅ์œผ๋กœ ์‹œ๋„๋ฅผ ํ•ด๋ดค๋‹ค.

๊ทธ๋Ÿฌ์ž ๋ฌผ์†Œ๋˜ฅ ๊ฐ™์€ pkg ํŒŒ์ผ์„ ์ฃผ๋ฉด์„œ root ๊ถŒํ•œ์œผ๋กœ ์„ค์น˜๋ฅผ ๊ฐ•์š”ํ–ˆ๋‹ค. ๋งํ• ๋†ˆ๋“ค...

ํ•˜์ง€๋งŒ root ๊ถŒํ•œ๊นŒ์ง€ ๋‹ค ์ค˜ ๊ฐ€๋ฉด์„œ ๊นŒ๋ผ๋Š” ๋Œ€๋กœ ๊น ์œผ๋‚˜ ๋‚ด ์†์— ์†Œ๋“๊ณต์ œ ์ฆ๋น™์ž๋ฃŒ๋ฅผ ์ฅ˜ ์ˆ˜๋Š” ์—†์—ˆ๋‹ค.

๋งค์šฐ ์—ด๋ฐ›๋Š” ์ผ์ด์ง€๋งŒ ์–ด์จŒ๊ฑด ๋”๋Ÿฌ์šด ๋งˆํฌ์• ๋‹ˆ ๋†ˆ๋“ค ๋•Œ๋ฌธ์— ์„ค์น˜(๋‹น)ํ•œ ํŒจํ‚ค์ง€๋“ค์„ ์ƒ‰์ถœํ•ด์„œ ์กฐ์ ธ์•ผ ํ–ˆ๋‹ค.

Thread Pools

Thread pools on the JVM should usually be divided into the following three categories:

  1. CPU-bound
  2. Blocking IO
  3. Non-blocking IO polling

Each of these categories has a different optimal configuration and usage pattern.

@taeseunglee
taeseunglee / README.md
Last active November 15, 2016 13:58 — forked from minhoryang/install_git_cspro.sh
RELEASE Tiny Lecture: INSTALL GIT BINARY WITHOUT ROOT/SUDOER @ UBUNTU
  • Description
    If you execute "install_git_cspro.sh" script and set the environment variables, git would be installed on a shared host and we finally use Git. "cspro" is the name of Sogang Univ.'s linux server computer.
    (Why we download curl)We need to use curl for https, so we also install curl.

  • How to execute shell script
    $ source install_git_cspro.sh

@nobitagit
nobitagit / iterm2.md
Last active July 30, 2024 01:01
iterm2 cheatsheet

This gist has been moved to its own Github repo, so it's easier to contribute with additions and corrections. Please open a PR there if you see any mistake, I don't track comments on here as there's no notification system for gists AFAIK. Thanks.

Tabs and Windows

Function Shortcut
Previous Tab โŒ˜+ Left Arrow
Next Tab โŒ˜+ Right Arrow
Go to Tab โŒ˜ + Number
@j-min
j-min / RNN_hunkim's_tutorial_BasicRNNCell.ipynb
Last active December 11, 2018 02:06
TensorFlow 0.9 implementation of BasicRNNCell based on hunkim's tutorial
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.