Skip to content

Instantly share code, notes, and snippets.

View sunrise2575's full-sized avatar
๐ŸŽฏ
Focusing

Heeyong Yoon sunrise2575

๐ŸŽฏ
Focusing
View GitHub Profile
// paste into Google Chrome DevTools
function simulateMouseClick(targetNode) {
function triggerMouseEvent(targetNode, eventType) {
var clickEvent = document.createEvent('MouseEvents');
clickEvent.initEvent(eventType, true, true);
targetNode.dispatchEvent(clickEvent);
}
["mouseover", "mousedown", "mouseup", "click"].forEach(function(eventType) {
triggerMouseEvent(targetNode, eventType);
@sunrise2575
sunrise2575 / iptables-reset.sh
Created November 25, 2021 15:39
iptables / ip6tables reset default state
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X
ip6tables -P INPUT ACCEPT
ip6tables -P FORWARD ACCEPT
ip6tables -P OUTPUT ACCEPT
@sunrise2575
sunrise2575 / node-exporter-install.sh
Last active November 25, 2021 16:40
Prometheus Node Exporter ์„ค์น˜ bash ํ•œ๋ฐฉ ์Šคํฌ๋ฆฝํŠธ (Ubuntu / CentOS ๊ฒธ์šฉ)
DIST=$(
. /etc/os-release
echo $ID
)
if [[ $DIST == "ubuntu" ]]; then
VERSION=$(lsb_release -r | awk '{print $2}' | awk -F . '{print $1$2}')
apt install prometheus-node-exporter -y
systemctl --now enable prometheus-node-exporter
systemctl --now start prometheus-node-exporter
@sunrise2575
sunrise2575 / main.md
Created August 4, 2021 06:12
Code snippet collection

์ฝ”๋“œ ์˜ˆ์‹œ ๋ชจ์Œ

@sunrise2575
sunrise2575 / introduction.md
Last active June 20, 2023 13:20
Graph Processing and GNN

Graph Processing

Graph Processing Platforms ๋…ผ๋ฌธ ๋ชจ์Œ

  1. Graph Processing: A Panoramic View and Some Open Problems
    • 2019๋…„ VLDB ํ‚ค๋…ธํŠธ ๋ฐœํ‘œ, Tamer Ozsu ๊ต์ˆ˜
    • Graph DBMS์™€ Graph (Analytics) system ์˜ ์—ญ์‚ฌ์— ๋Œ€ํ•ด ์ •๋ฆฌ
    • Programming model ๋ฐ computation model ๊ด€์ ์—์„œ graph system์„ ๋ถ„๋ฅ˜
    • Dynamic ๋ฐ streaming graph ์˜ ์ •์˜์™€ ์ฒ˜๋ฆฌ์— ๋Œ€ํ•ด์„œ ์„ค๋ช…
@sunrise2575
sunrise2575 / PM1725a.md
Last active September 3, 2020 01:59
How to setup multiple Samsung 1725a NVMe PCIe SSD 6.4TB on Power9 (AC922; 8335-GTH)

How to setup multiple Samsung PM1725a NVMe PCIe SSD 6.4TB on Power9 (AC922; 8335-GTH)

Environment

  • Machine: IBM AC922
  • SSD: Samsung PM1725a NVMe PCIe SSD (6.4TB), Firmware version: MN12MN12
  • OS: Ubuntu 18.04 ppc64le

Note

  • You should work on "18.04" (kernel version = 4.x)
  • Do not use "20.04" or "18.04 HWE" (kernel version >= 5.x)