Skip to content

Instantly share code, notes, and snippets.

View taeguk's full-sized avatar
❄️
asdf

Taeguk Kwon taeguk

❄️
asdf
View GitHub Profile
@maratori
maratori / .golangci.yml
Last active April 22, 2024 15:47
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.57.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 and change it for your needs.
run:
@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 August 24, 2023 12:16
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.