Skip to content

Instantly share code, notes, and snippets.

View 5pecia1's full-sized avatar
๐Ÿ˜€
Rustaceans

sol 5pecia1

๐Ÿ˜€
Rustaceans
View GitHub Profile
@5pecia1
5pecia1 / change_go.sh
Created August 14, 2020 00:23
change default go version
sudo rm -rf /usr/local/go
sudo ln -s $PWD/$1 /usr/local/go
@5pecia1
5pecia1 / Fabric ๊ธฐ์—ฌ ๋ฐฉ๋ฒ•.md
Last active December 30, 2020 00:37
fabric ๊ธฐ์—ฌ ๋ฐฉ๋ฒ•

Hyperlegder Fabric ๊ธฐ์—ฌ ๋ฐฉ๋ฒ•

๋Œ€๋ถ€๋ถ„์˜ ๋‚ด์šฉ์€ Contributions Welcome!์— ๋‚˜์™€ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์—ฌ๊ธฐ์„œ๋Š” Contributions Welcome!์— ๋‚˜์˜ค์ง€ ์•Š๋Š” ์„ธ์„ธํ•œ ๋‚ด์šฉ์„ ๋‹ค๋ฃฌ๋‹ค.

Github

Develop

  • ๊ธฐ์—ฌํ•˜๊ณ ์ž ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ github์—์„œ forkํ•˜์—ฌ ์ง„ํ–‰ํ•จ
@5pecia1
5pecia1 / expandVars.js
Last active August 13, 2021 04:58 — forked from tohagan/expandVars.js
JavaScript - Expand variables in string
// Polyfill to expand variables in a string
// Example: expandEnv("Welcome back ${name}. Glad to see you");
// Example: expandEnv("Welcome back $name. Glad to see you");
// eslint-disable-next-line no-extend-native
function expandEnv(s: string): string {
return s.replace(/\$([\w]+|{([^{}]*)})/g, (str, varName) => {
const vName = varName.startsWith("{") ? varName.substring(1, varName.length - 1) : varName;
var value = process.env[vName];
@5pecia1
5pecia1 / Galaxy.desktop
Created January 5, 2022 05:02
์นด์นด์˜คํ†ก์„ ์œ„ํ•œ scrcpy desktop app file
[Desktop Entry]
Name=Galaxy
Comment=Android Mirror
Exec=/usr/bin/scrcpy -S -K
Terminal=false
Type=Application
Category=Network;WebBrowser;