Skip to content

Instantly share code, notes, and snippets.

View Mineru98's full-sized avatar
๐Ÿ’ญ
๐Ÿ˜™ To Be Better

iamiks Mineru98

๐Ÿ’ญ
๐Ÿ˜™ To Be Better
View GitHub Profile
@b1tk3y
b1tk3y / init-letsencrypt.sh
Created August 22, 2022 11:01
letsencrypt ์ธ์ฆ์„œ ๋ฐœ๊ธ‰ ์Šคํฌ๋ฆฝํŠธ. domains, data_path, email ๋“ฑ์€ ๋ณธ์ธ์—๊ฒŒ ๋งž๊ฒŒ ์ˆ˜์ •ํ•œ๋‹ค.
#!/bin/bash
if ! [ -x "$(command -v docker-compose)" ]; then
echo 'Error: docker-compose is not installed.' >&2
exit 1
fi
domains=(example.com www.example.com mirror.example.com blog.example.com)
rsa_key_size=4096
data_path="foo/bar/์ธ์ฆ์„œ๊ฒฝ๋กœ"
@korakot
korakot / neo4j.py
Last active February 2, 2025 14:30
Using Neo4j in Colab
# download 3.5.8 or neo4j-enterprise-4.0.0-alpha09mr02-unix
!curl https://neo4j.com/artifact.php?name=neo4j-community-3.5.8-unix.tar.gz -o neo4j.tar.gz
# decompress and rename
!tar -xf neo4j.tar.gz # or --strip-components=1
!mv neo4j-community-3.5.8 nj
# disable password, and start server
!sed -i '/#dbms.security.auth_enabled/s/^#//g' nj/conf/neo4j.conf
!nj/bin/neo4j start
@asukakenji
asukakenji / 0-go-os-arch.md
Last active August 5, 2025 19:35
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix โœ…
android โœ…
// ์†Œ์Šค์ถœ์ฒ˜ : http://www.kma.go.kr/weather/forecast/digital_forecast.jsp ๋‚ด๋ถ€์— ์žˆ์Œ
// ๊ธฐ์ƒ์ฒญ์—์„œ ์ด๊ฑธ ์™œ ๊ณต์‹์ ์œผ๋กœ ๊ณต๊ฐœํ•˜์ง€ ์•Š์„๊นŒ?
//
// (์‚ฌ์šฉ ์˜ˆ)
// var rs = dfs_xy_conv("toLL","60","127");
// console.log(rs.lat, rs.lng);
//
<script language="javascript">
//<!--