Skip to content

Instantly share code, notes, and snippets.

View soediro's full-sized avatar
🎯
Focusing

Sudiro soediro

🎯
Focusing
View GitHub Profile
# 1️⃣ Generate key (ed25519, 100 KDF rounds)
ssh-keygen -t ed25519 -a 100 -C "your-email@example.com"

# 2️⃣ Ensure ssh-agent is running and add the key
systemctl --user enable --now ssh-agent.service
ssh-add ~/.ssh/id_ed25519

# 3️⃣ Copy public key to a remote host (replace user@host)
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@host
@soediro
soediro / dukas.md
Created May 20, 2026 20:34
download dukascopy tick-data
cd ~/nautilus/data/dukascopy

npx --yes dukascopy-node@latest \
  -i eurusd \
  -from 2025-01-01 \
  -to 2025-04-01 \
  -t tick \
  -f csv \
 -v \

🔹 1. Check Network Interfaces

Run:

ifconfig

This lists all network interfaces (e.g., em0, re0, wlan0).

#!/bin/bash
#
# ./makeitrain.sh bitcoin-qt.crashdump.core
# __ _ _ __ ___ __ ____ ____
# / ( \/ )/ _\ / __)/ _\/ ___(_ )
# ( O ) (/ ( (_ / \___ \ )(
# \__(_/\_\_/\_/\___\_/\_(____/(__)
#
# Donations:
# btc: 34fDhMUkvGVr1s2jQvhwmBfw1xqjstrLed
@soediro
soediro / doc.md
Created May 15, 2024 16:01
Dokumen instalasi dan deployment

Install Nginx

Untuk menginstal Nginx di Debian, Anda dapat mengikuti langkah-langkah berikut:

  1. Update Paket Informasi: Sebelum menginstal Nginx, pastikan paket informasi pada sistem Debian Anda diperbarui dengan menjalankan perintah:

    sudo apt update
    
@soediro
soediro / service_report.sql
Created April 19, 2024 06:30
Service Report DB
/* ---------------------------------------------------- */
/* Generated by Enterprise Architect Version 13.5 */
/* Created On : 19-Apr-2024 1:28:50 PM */
/* DBMS : MySql */
/* ---------------------------------------------------- */
SET FOREIGN_KEY_CHECKS=0
;
/* Drop Tables */
@soediro
soediro / id_rsa.pub
Created February 20, 2024 06:35
Sudiro RSA (2048) Public Key.
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZoDUyzckHMIrcgyw5qUi+wmctVQqrLohE/EMA05Yx6CP26GqrdH2bGqJUyWSE2QGwoNMVIWFgvteUzqXBLTc7Ca9F8uL3b4uAeyuaS6wtXmsTGekwa4JRdZ2GMWX0bJr4iDQDPrrIFTpMyQD+/rtIZ2zn5I0qbn3OIpqu6tXIva/aQJBkAWAzru6yN/X6/xq0Pg2rpD5x7GnlDjafrSdpFOYvt+uHww3Td5MZ6sTQxO2Aya4iRCh9VXvRczbERMUGseQ0+BDUOxgCd9OAUkBLMP9Qb8sAsAilMohMTBlvjkxXl1xRHjWYCnTqdgzrup1cyrErhTI6s720j6OoP5Qz rsa-key-20240126
@soediro
soediro / readme.md
Last active January 28, 2022 12:39
Radeon™ Software for Linux® 18.40 Highlights readme
@soediro
soediro / client.conf
Created August 25, 2021 12:54
Wireguard on FreeBSD with pf
[Interface]
PrivateKey = ***********************
Address = 192.168.10.2/32, fc::2/128
DNS = 1.1.1.1, 2606:4700:4700::1111
[Peer]
PublicKey = ***********************
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = endpoint.domain.tld:51820
#!/usr/bin/bash
./xmrig -o sg.minexmr.com:443 -u 4BHytE2pne21jymvfuFYi8Z6SBNZWEMAXRK7aGWiTjy1BzgBUNufzAULoi18SL6braSRS2W17dHZL9cpFWte76WcTHhDX2P -k --tls --rig-id wedus2