Skip to content

Instantly share code, notes, and snippets.

View ubunteroz's full-sized avatar
🏠
Working from home

Surya Handika ubunteroz

🏠
Working from home
  • Kota Bima, Nusa Tenggara Barat, Indonesia
  • 14:14 (UTC +08:00)
  • X @ubunteroz
View GitHub Profile
@ubunteroz
ubunteroz / Dockerfile
Created March 22, 2022 17:22
Akash SDL for Deploying monero-pool
# BASE IMAGE
FROM ubuntu:20.04 AS base
ARG monero_version=0.17
ENV DEBIAN_FRONTEND=noninteractive
# Environment variables
ENV MONERO_ARGS="--testnet"
ENV MONERO_WALLET_ARGS="--testnet"
ENV MONERO_POOL_WALLET="9tRe6v9cHkX7LZTS4hampTAai5kT1rLzddNkKKAiTAg1cg3GHB8zVkv8pBjQ9uzWpwQMZgxn99BDtR3Fy5HRGKURJ3AxUNH"
ENV MONERO_POOL_WALLET_SEED="swept upper silk slackens oval nostril narrate dude match pledge inwardly cuisine point soothe excess drunk mouth upgrade zero friendly catch alkaline sapling simplest upper"
@ubunteroz
ubunteroz / Dockerfile
Last active March 18, 2022 03:43
Akash SDL for Deploying Dash Masternode
FROM debian:bullseye AS base
RUN apt update && apt install wget tini -y && apt clean
FROM base AS download
ENV version=0.17.0
ENV version_rev=0.17.0.3
WORKDIR /app
RUN wget https://github.com/dashpay/dash/releases/download/v${version_rev}/dashcore-${version_rev}-x86_64-linux-gnu.tar.gz
RUN tar xvf dashcore-${version_rev}-x86_64-linux-gnu.tar.gz
RUN mv dashcore-${version}/bin/dashd ./
@ubunteroz
ubunteroz / Dockerfile
Last active March 18, 2022 07:10
Akash SDL for Chia's Bladebit Plotter
FROM ubuntu:20.04 AS base
RUN apt update && apt install wget libnuma-dev -y && apt clean
FROM base AS download
ENV version=1.2.4
WORKDIR /app
RUN wget https://github.com/Chia-Network/bladebit/releases/download/v${version}/bladebit-v${version}-ubuntu-x86-64.tar.gz
RUN tar xvf bladebit-v${version}-ubuntu-x86-64.tar.gz
FROM base
@ubunteroz
ubunteroz / Dockerfile
Last active March 15, 2022 07:46
Akash SDL for Deploying Terra bombay-12 Node
FROM debian:bullseye AS base
RUN apt update && apt install wget -y && apt clean
FROM base AS download
ENV version=0.5.17
WORKDIR /app
RUN wget https://github.com/terra-money/core/releases/download/v${version}/terra_${version}_Linux_x86_64.tar.gz
RUN tar xvf terra_${version}_Linux_x86_64.tar.gz
RUN mkdir bin && mv ./terrad ./bin/
@ubunteroz
ubunteroz / Dockerfile
Last active March 15, 2022 07:45
Akash SDL for Deploying Avalanche Fuji Testnet Node
FROM debian:bullseye AS base
RUN apt update && apt install wget tini -y && apt clean
FROM base AS download
ENV version=1.7.7
WORKDIR /app
RUN wget https://github.com/ava-labs/avalanchego/releases/download/v${version}/avalanchego-linux-amd64-v${version}.tar.gz
RUN tar xvf avalanchego-linux-amd64-v${version}.tar.gz
RUN mv avalanchego-v${version} bin
@ubunteroz
ubunteroz / mariadb.yaml
Last active March 18, 2022 06:41
Akash SDL for Deploying MariaDB
---
version: "2.0"
services:
db:
image: mariadb:10.6
expose:
- port: 3306
as: 3306
to:
@ubunteroz
ubunteroz / Leaderboard.ipynb
Created November 13, 2021 05:32
cBridge v2 Testnet Leaderboard Calculation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am ubunteroz on github.
  • I am lelaki (https://keybase.io/lelaki) on keybase.
  • I have a public key ASAEdkSVjXyyB1Evk61Mc5ncNhmhBp4RXq-WuaHmnMt1vwo To claim this, I am signing this object:
{
"body": {
"key": {
@ubunteroz
ubunteroz / pngcrush.desktop
Created January 20, 2019 22:17
KDE5 service menu for crushing PNG file to save space
[Desktop Entry]
Type=Service
Icon=image-png
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=image/png;
Actions=pngcrush;
Encoding=UTF-8
[Desktop Action pngcrush]
Name=Crush PNG
@ubunteroz
ubunteroz / terbilang.js
Created January 14, 2018 06:38
terbilang.js
module.exports = function(number) {
if (!number) {
number = 0;
}
const angka = ['satu', 'dua', 'tiga', 'empat', 'lima', 'enam', 'tujuh', 'delapan', 'sembilan'];
const base1000 = ['ribu', 'juta', 'miliar', 'triliun'];
let spelled = [];
let result = undefined;