Skip to content

Instantly share code, notes, and snippets.

View herpiko's full-sized avatar
:octocat:
Typing...

Herpiko Dwi Aguno herpiko

:octocat:
Typing...
View GitHub Profile
@herpiko
herpiko / vortextab75.md
Last active April 28, 2024 06:07
Vortex Tab 75 Programming

Programming

  • Plug in the cable, you need the LED to guide you
  • Pn + Left Ctrl to enter programming mode
  • Press the key that want to be programmed
  • Press the target key
  • Pn to apply
  • Pn + Left Ctrl to exit

It's possible to lose a key. Sometimes you need to backup it first.

@herpiko
herpiko / lb.md
Last active November 7, 2023 18:19
BlankOn live-build reboot 2023

Install live-build

sudo apt install debootstrap make git apt-utils
git clone https://salsa.debian.org/live-team/live-build.git debian-live-build
cd debian-live-build
sudo make install
sudo lb --version
@herpiko
herpiko / kubedingdong.md
Last active March 7, 2023 19:10
Kubernetes notes for CKA exam preparation 💪

This notes applied to Kubernetes version 1.9.1-00 on Ubuntu Xenial.

Basic concept

TO BE WRITTEN

Installation and starting up 🏁

Installation

  • Swap should be disabled (see /etc/fstab)
@herpiko
herpiko / Token.sol
Created December 9, 2021 08:32 — forked from alfaben12/Token.sol
pragma solidity ^0.8.2;
contract Token {
mapping(address => uint) public balances;
mapping(address => mapping(address => uint)) public allowance;
uint public totalSupply = 1000000 * 10 ** 18;
string public name = "INDOG"; // name your token
string public symbol = "INDG"; // code your token
uint public decimals = 18;
@herpiko
herpiko / building-gnome-native-app.md
Created December 11, 2020 10:55
video building gnome native app

Introduction

  • Proses belajar
  • Sumbernya dari gnome asia
  • Gnome/gtk app
    • Kelebihan
    • Kekurangan
  • Yang mau dibikin
    • Figmanya seperti apa

Building

  • Gnome builder
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF+n8+QBEACy5Ji5LTM3m8QsY35IzOXjAevQq09SfGO8OADsXS/qtP74wGMp
y69abidi2R0SlXfD3vSSLjQUcp3C+WXW4QbGGBojvxZ7HDB3sU8LoPy03h46rLvs
1cgc+6yy3J7qS+QnHlblG+O9jgD0Gj5ncj5FL0vkDYt1iezlhxmgGBn4bqtrK8II
NLKHBbcwwwpndaMbo4470fwJBamt7hfdCBgrkVC++NZ8c4q4PX4A1q+iRilUQTgl
dNQjDbkvkrvz7JM2BchgFxq6KBb4ITEVNqtYcDQtorJBja5AfYvZi9U8fDo5TZzu
kD/GPyX5fzf4LnIG3t60dzPyi3o+Ihsq2bw91KPF6R2eHoucCG5vLg2wu/nQ9Iyd
ffJ0P35nLmt0S6FJGWM0xaFaCC0u2NKv5e8vCbwL055En/Te1A1WOYNrQ1ysRtqc
ef0xc+sT5I14FmgVBPMWQ0J3AOgKIi9wwYkHFtmeEs3zTt44fcZhcNB98bK/8Po6
@herpiko
herpiko / pki-draft-for-masceng.md
Last active September 26, 2020 10:05
pki-masceng

Membuat sertifikat self-signed

openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out cert.pem

Melihat isi sertifikat

openssl x509 -in cert.pem -text

PEM dan DER

@herpiko
herpiko / pki.md
Last active September 22, 2020 16:27
pki-draft-for-masceng

Membuat sertifikat self-signed

openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out cert.pem

Melihat isi sertifikat

openssl x509 -in cert.pem -text

PEM dan DER

@herpiko
herpiko / openssl.cnf
Last active May 8, 2020 12:35
Intermediate configuration
# OpenSSL intermediate CA configuration file.
# Copy to `/tmp/ca/intermediate/openssl.cnf`.
[ ca ]
# `man ca`
default_ca = CA_default
[ CA_default ]
# Directory and file locations.
dir = /tmp/ca/intermediate