Skip to content

Instantly share code, notes, and snippets.

View simnalamburt's full-sized avatar
:shipit:
Natural Born Developer

Hyeon Kim (김지현) simnalamburt

:shipit:
Natural Born Developer
View GitHub Profile

깃 커밋 서명하는법

A. PGP key pair 등록

기존에 원래 사용하던 PGP key pair가 없을경우 새로 만들어야한다. 이미 key pair가 있을경우, 비밀키를 컴퓨터에 다운로드 해줘야한다.

A.1. 새 키 만드는법[^1]

$ gpg --generate-key
@damhiya
damhiya / configuration.nix
Last active April 4, 2021 10:06
kime for nix
let
kime = import ./pkgs/kime.nix;
gtk3_cache = pkgs.runCommand "gtk3-immodule.cache"
{ preferLocalBuild = true;
allowSubstitutes = false;
buildInputs = [ pkgs.gtk3 kime ];
}
''
mkdir -p $out/etc/gtk-3.0/
GTK_PATH=${kime}/lib/gtk-3.0/ gtk-query-immodules-3.0 > $out/etc/gtk-3.0/immodules.cache

Meltdown fix impact on Redis performances in virtualized environments

UPDATE: apparently kernel difference may have a serious impact, so I'll redo the test from scratch.

Test performed with AOF enabled, fsync policy 1 second, allowing the rewrites to be triggered.

Command lines used:

@mujjingun
mujjingun / PCP.cpp
Last active April 29, 2020 14:50
Undecidable C++ Grammar Example
#include <algorithm>
#include <type_traits>
template <int... Ints>
struct Row {
constexpr static bool empty = (sizeof...(Ints) == 0);
};
template <typename Upper, typename Lower>
struct Domino {
@tirr-c
tirr-c / no-std.rs
Last active January 6, 2020 14:14
Minimal Hello World in Rust
#![feature(asm, panic_implementation)]
#![no_std]
#![no_main]
///! With nightly compiler, run:
///! ```sh
///! rustc -O -C panic=abort -Z pre-link-arg=-nostartfiles no-std.rs
///! ```
#[panic_implementation]
#[no_mangle]
@xnuk
xnuk / 아희.md
Last active September 5, 2019 22:42

아희 유형 A 프로그래밍 언어 설명 문서 - draft 버전 1.2.0

한국어

한국어는 애매합니다. 정확히는 명료한 언어 설명 문서를 적기에는 부족한 점이 좀 있습니다. 따라서, 본론에 들어가기 전 몇 가지 표현을 미리 명료히 하겠습니다.

  • A에서 B까지 / A부터 B까지: A와 B 사이에 있는 구간에서 A와 B를 포함한 구간을 칭합니다.
  • (U+AC00) 이상 (U+D7A3) 이하: 유니코드의 문자 번호가 십육진수 표기로 AC00 이상 D7A3 이하에 속하는 모든 유니코드 문자를 칭합니다.
  • 이 문서에서의 숫자 표기는 별도로 정의하지 않는 이상 십진수 표기를 사용합니다.
    • U+AC00U+ 뒤에 바로 따라 나오는 네 자리 문자는 십육진수 표기를 사용합니다.
  • 받침종성은 동의어로 봅니다.
@lifthrasiir
lifthrasiir / inquiry.md
Last active July 30, 2019 13:15
"구글, 'https' 채택 안한 누리집에 안전하지 않은 곳 '낙인'" 기사에 대한 의견

아래 메일은 2017-02-12 21:43(이하 한국 표준시)에 한겨레 기사에 대한 의견으로서 기사에 제시된 김재섭 기자의 메일로 보낸 내용이다. 메일에서 사실 관계 등의 오류가 있다면 모두 나의 실수이다.

2017-02-13 14:53에 덧붙임: 더 이상 gist를 비공개로 할 이유가 없어졌으므로 공개로 전환. 이 메일에 대한 답변은 받았으나 공개할 만큼 중요한 반론이 들어 있진 않으며 공개 여부도 묻지 않았으므로 공개하지 않는다. 아래 글 자체에도 다양한 비문과 오자가 있으나 본래 보낸 내용을 살리기 위해 전혀 수정을 하지 않기로 했음을 양해 바람.

2017-02-13 19:00에 덧붙임: 이 기사의 후속으로 구글코리아 측의 기자간담회가 올라갔다. 새 기사에 대해서는 특이한 게 없으므로 노코멘트. 또한 위의 기사 링크를 미디어다음에서 한겨레 웹사이트로 가도록 수정.

원문

안녕하십니까, 귀하께서 작성하신 (물론 저는 그 진위를 알 수 없습니다만, 적어도 그렇게 나와 있는) 기사에 대한 의견을 제기하고자 메일을 씁니다. 이 메일은 저의 개인 의견이며 저를 고용하고 있는 회사나 단체 등의 의견을 전혀 대변하지 않음을 혹시나 싶지만 미리 밝혀 둡니다.

% Original: https://git.io/vQwmS
% convert -delay 4 -loop 0 -density 400 -alpha remove joi-style-mag.pdf joi-style-mag.gif
% !TeX program = lualatex
\RequirePackage{luatex85}
\documentclass[multi=my]{standalone}
\usepackage{tikz}
\usepackage{luacode}
\usepackage{graphicx}
\definecolor{joired}{RGB}{218,11,49}
\definecolor{joigreen}{RGB}{18,136,104}
@if1live
if1live / Twitter Cramming.user.js
Last active November 10, 2017 17:19 — forked from Prof9/Readme.md
Force enable cramming (280 character tweets) on Twitter. NOTE: Stops working when you switch pages, refresh to fix. https://twitter.com/Prof9/status/912859110776950784
// ==UserScript==
// @name Twitter Cramming
// @description Force enable cramming (280 character tweets) on Twitter
// @author Prof. 9
// @version 0.2
// @match https://twitter.com/*
// @run-at document-idle
// @namespace prof9.twittercramming
// ==/UserScript==
@sokcuri
sokcuri / DogBlocker_Filter_1.06.txt
Last active April 14, 2017 14:52
dogblocker v1.06
! Title: DogBlocker by 소쿠릿
! Version: 1.06
! Homepage: https://gist.github.com/sokcuri/2409dab915498993a3a155e45d6a48f1
dcinside.com###tit_no_adblock,.adblock-inner