Skip to content

Instantly share code, notes, and snippets.

@siagung
siagung / Crack Sublime Text.md
Created May 20, 2025 04:44 — forked from Fadi002/Crack Sublime Text.md
Crack Sublime Text 4.1.9.2 Build 4192 [latest version]
import sys
import os

NOP = 0x90
offsets_and_values = {
    0x000035FE: 0x01,
    0x0000361D: 0x95,
    0x0000361E: 0x9E,
    0x0000361F: 0x57,
@siagung
siagung / README.md
Created April 26, 2025 00:26 — forked from setdjod/README.md
Cara Mengaktifkan SSL di XAMMP Windows 10 64bit

Cara Mengaktifkan SSL di XAMPP

Persiapan

  1. Download cert-template.conf
  2. Download make-cert.bat
  3. Buka folder "C:/xampp/apache/" lalu buat folder cert
  4. Copy 2 file yang sudah didownload pada folder cert
  5. Buka make-cert.bat dan ikuti instruksinya

Konfigurasi

  1. Buka file "C:/xampp/apache/conf/extra/httpd-vhosts.conf" dan lihat contoh berikut ini
@siagung
siagung / vcredistr.md
Created February 25, 2025 08:45 — forked from ChuckMichael/vcredistr.md
Visual C++ Redistributable Packages
@siagung
siagung / LaporanTagihan.txt
Created August 12, 2024 16:34 — forked from endymuhardin/LaporanTagihan.txt
Contoh Direct Print dengan Java
LAPORAN DAFTAR PELUNASAN KOLETKOR
AGEN PT. ARTIVISI INTERMEDIA
=====================================================================================================================
KODE KOLEKTOR : 0001
NAMA KOLEKTOR : JOJO
+------+--------------+---------------------------+---------+-------------+-------------+-------------+-------------+
@siagung
siagung / sha256-hmac.md
Created November 8, 2023 10:04 — forked from jasny/sha256-hmac.md
Hashing examples in different languages

Example inputs:

Variable Value
key the shared secret key here
message the message to hash here

Reference outputs for example inputs above:

| Type | Hash |

@siagung
siagung / telegram_bot.md
Created September 7, 2023 04:31 — forked from zapisnicar/telegram_bot.md
How to create Telegram bot and send messages to group

How to create Telegram Bot and send messages to your group

  1. Create Telegram bot:

    Search for user @BotFather in Telegram app. Type /help in BotFather chat and wait for the reply. Type in the chat:

    /newbot

or select /newbot command from Help text. Answer few setup questions:

@siagung
siagung / msys2-visual-studio-code.md
Created March 24, 2023 07:23 — forked from dhkatz/msys2-visual-studio-code.md
Using MSYS2 with Visual Studio Code

Using MSYS2 with Visual Studio Code is extremely easy now thanks to the Shell Launcher extension by Tyriar.

First, install the extension and reload Visual Studio Code.

Then, open the settings.json to edit your settings.

Add the field shellLauncher.shells.windows. I recommend using autocompletion here so that all the default shells are added.

You should having something like this now:

@siagung
siagung / go-env-with-msys2.md
Created March 24, 2023 07:22 — forked from voidexp/go-env-with-msys2.md
Go development environment on Windows with MSYS2

Go development environment on Windows with MSYS2

Normally, it is sufficient to grab the Go MSI installer from the website in order to set up the toolchain. However, some packages that provide Go wrappers for C libraries rely on cgo tool, which in turn, needs the GCC toolchain in order to build the glue code. Also, 3rd-party dependencies are usually hosted on services like GitHub, thus Git is also needed. This mini-guide illustrates how to setup a convenient development environment on Windows using MSYS2.

@siagung
siagung / go-env-with-msys2.md
Created March 24, 2023 07:22 — forked from glycerine/go-env-with-msys2.md
Go development environment on Windows with MSYS2

Go development environment on Windows with MSYS2

Normally, it is sufficient to grab the Go MSI installer from the website in order to set up the toolchain. However, some packages that provide Go wrappers for C libraries rely on cgo tool, which in turn, needs the GCC toolchain in order to build the glue code. Also, 3rd-party dependencies are usually hosted on services like GitHub, thus Git is also needed. This mini-guide illustrates how to setup a convenient development environment on Windows using MSYS2.

@siagung
siagung / my.ini
Created October 16, 2022 08:08 — forked from martinguenster/my.ini
my.ini
[client]
# TCP/IP port number to use for connection
port = 3306
[mysql]
# This option is on by default, which enables database, table, and column name completion.
no_auto_rehash
# The maximum size of the buffer for client/server communication. The default is 16MB, the maximum is 1GB.
max_allowed_packet = 16M
# Set the prompt to the specified format