Skip to content

Instantly share code, notes, and snippets.

View b6pzeusbc54tvhw5jgpyw8pwz2x6gs's full-sized avatar

Alfred b6pzeusbc54tvhw5jgpyw8pwz2x6gs

View GitHub Profile
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t){e.exports=window.react},function(e,t,n){e.ex

Keybase proof

I hereby claim:

  • I am b6pzeusbc54tvhw5jgpyw8pwz2x6gs on github.
  • I am b6pzeusbc54tvhw5 (https://keybase.io/b6pzeusbc54tvhw5) on keybase.
  • I have a public key ASBjuG43VXp7Z7IpTG35LdYkoc8sf5gAAuPXZ7HU2Re3ywo

To claim this, I am signing this object:

@b6pzeusbc54tvhw5jgpyw8pwz2x6gs
b6pzeusbc54tvhw5jgpyw8pwz2x6gs / settings.json
Created February 22, 2019 04:31
My VS Code user setting
{
"editor.tabSize": 2,
"editor.detectIndentation": false,
"editor.autoIndent": false,
"python.linting.pylintPath": "${workspaceFolder}/packages-for-code/bin/pylint",
"python.envFile": "${workspaceFolder}/.envrc.code",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs
b6pzeusbc54tvhw5jgpyw8pwz2x6gs / hyperkey-and-alone-modified.json
Last active March 1, 2019 14:10
~/.config/karabiner/assets/complex_modifications/
{
"title": "alone modified key (@aluc)",
"rules": [
{
"description": "Change left control to esc if alone",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_control",
const prioritized = {
error: 0,
warn: 1,
info: 2,
verbose: 3,
debug: 4,
silly: 5
}
let level = 'debug'
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs
b6pzeusbc54tvhw5jgpyw8pwz2x6gs / step.yml
Last active August 15, 2020 07:29
GitHub Actions debugging with ssh
# https://dev.to/retyui/how-debugging-github-actions-with-ssh-273n?a=github_community
- name: Start SSH via Ngrok
if: ${{ failure() }}
run: curl -sL https://gist.githubusercontent.com/retyui/7115bb6acf151351a143ec8f96a7c561/raw/7099b9db76729dc5761da72aa8525f632d8875c9/debug-github-actions.sh | bash
env:
# After sign up on the https://ngrok.com/
# You can find this token here: https://dashboard.ngrok.com/get-started/setup
NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs
b6pzeusbc54tvhw5jgpyw8pwz2x6gs / gist:cf7d9bcb3b5cbf4d61bb6de0e20dd39c
Created December 30, 2020 01:35
리눅스 유저 생성 및 개발 환경 프로비저닝
$ sudo adduser newuesrname
# newuesrname으로 접속해서,
$ ssh-keygen
# ansible-playbook을 위해 admin키를 임시로 등록해둠
$ echo "<admin id_rsa.pub>" >> ~/.ssh/authorized_keys
# ansible-playbook을 위해 sudo 권한 임시로 부여
$ sudo usermod -aG sudo newuesrname
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs
b6pzeusbc54tvhw5jgpyw8pwz2x6gs / gist:fb0b45f075361fc2ef91218dc1862ee9
Last active July 17, 2021 17:59
Windows auto hot key on VS Code for Mac User
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;https://previous-on-johnpark82.tistory.com/2460791
;shift-space 한영변환. 하드웨어 키보드 레이아웃이 "한글 키보드(103/106키)" 이어야한다.
+space::Send, {vk15sc138}
; ! Alt
npx artillery quick --duration 300 --rate 2 -n 2 <url> --output output.json
npx artillery report output.json
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs
b6pzeusbc54tvhw5jgpyw8pwz2x6gs / gist:970bf5b96006303cd4795dab17bfaf10
Last active July 14, 2022 02:30
VSCode remote ssh 접속 안되는 문제 해결 방법
#!/bin/bash
# Script to update VScode
# from https://github.com/Sheridan-Tech/Update_VScode
# ssh로 붙는 target server에서 아래 실행:
#grab the current commit id
COMMIT_ID=`ls -At ~/.vscode-server/bin | head -n 1`
cd ~/.vscode-server/bin/$COMMIT_ID