Skip to content

Instantly share code, notes, and snippets.

View aroxu's full-sized avatar

aroxu aroxu

View GitHub Profile
@aroxu
aroxu / kotlin_ojdk16_arm64.dockerfile
Last active August 23, 2021 10:43
Kotlin + OpenJDK 16 for ARM64
FROM arm64v8/adoptopenjdk:16
RUN apt update -y && apt install bash -y && \
apt install build-essential wget zip unzip -y && \
cd /usr/lib && \
wget -q https://github.com/JetBrains/kotlin/releases/download/v1.5.21/kotlin-compiler-1.5.21.zip && \
unzip kotlin-compiler-*.zip && \
rm kotlin-compiler-*.zip && \
rm -f kotlinc/bin/*.bat && \
apt purge build-essential -y
ENV PATH $PATH:/usr/lib/kotlinc/bin
@aroxu
aroxu / ip_updater.sh
Last active November 9, 2021 01:36
Afraid ORG FreeDDNS IP Updater
#!/bin/sh
#freedns.afraid.org updater script
# Get your update url at http://freedns.afraid.org/api/ and click XML
UPDATEURL="http://freedns.afraid.org/dynamic/update.php?"
DOMAIN="aaaa.mooo.com"
DDNS=$(nslookup $DOMAIN|tail -n2|grep A|sed s/[^0-9.]//g)
MYIP=$(curl -s "http://api.ip.pe.kr/")
echo "DDNS IP: $DDNS"
@aroxu
aroxu / server-optimization-guide-ko.md
Last active March 16, 2025 08:49
Minecraft Server Optimization Guide (Korean)

시작 하기 앞서, 이 가이드는 이 Spigot MC 최적화 가이드를 보기 쉽게 한글화 한것임을 알립니다.

bukkit.yml

  • spawn-limits
    기본값: monsters:70, animals:10, water-animals:15, water-ambient:20, ambient:15
    최적화 값: monsters:50, animals:8, water-animals:7, water-ambient:10, ambient:1
    성능에 미치는 영향: 높음

    ➫ "플레이어 당 몹"(플레이어 한명당 비례하게 생기는 몹의 양) 값이 낮을수록 몹이 적다는 것을 의미합니다. 너무 낮게 설정하는 것을 피하세요. 그렇지 않으면 눈에 띄게 몹이 부족할 수 있습니다.

@aroxu
aroxu / activity box
Last active October 5, 2020 16:43
activity box
💪 Opened PR #1 in DevCrafters/RoleBot
🗣 Commented on #797 in ritiek/spotify-downloader
🗣 Commented on #1 in B1ackAnge1/Basic-Tools
❗️ Opened issue #10 in qogusdn1017/BaeHyeonWooPL
❗️ Opened issue #1 in chamwhy/soccer_table
🌞 Morning 95 commits ████████▎░░░░░░░░░░░░ 39.4%
🌆 Daytime 109 commits █████████▍░░░░░░░░░░░ 45.2%
🌃 Evening 3 commits ▎░░░░░░░░░░░░░░░░░░░░ 1.2%
🌙 Night 34 commits ██▉░░░░░░░░░░░░░░░░░░ 14.1%
@aroxu
aroxu / main.scpt
Created April 2, 2020 05:34
조선식 촬영판독기 제어 프로그람 소스
display dialog "조선식 촬영판독기 제어 프로그람
개편번호 1.0
이 조작을 사용하기 전에 열려있는 응용 프로그람들은 작업 종료후에 재작업 하라우" buttons {"영상촬영기 작동", "영상촬영기 비작동"} with icon caution
set userChoice to button returned of result
set osVersion to do shell script "sw_vers | grep ProductVersion | cut -f 2"