Skip to content

Instantly share code, notes, and snippets.

View Hkaar's full-sized avatar

Shava Jaya Hkaar

View GitHub Profile
@Hkaar
Hkaar / simple-bank-schema.sql
Created February 24, 2026 16:04
Simple Bank Schema - Wildcard - Basis Data - 2501020028
-- =============================================================
-- Simple Bank Database - Complete SQL File
-- Studi Kasus: Sistem Perbankan Digital (Digital Banking System)
-- =============================================================
CREATE DATABASE IF NOT EXISTS `simple_bank`;
USE `simple_bank`;
-- =============================================================
-- USER & GRANT
@Hkaar
Hkaar / soal-1.c
Created February 23, 2026 05:39
Wildcard SDA - Semester 02 - 2501020028
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct Stack {
int top;
size_t capacity;
int *array;
};
@Hkaar
Hkaar / catrans-mini.c
Last active April 14, 2025 10:50
A minified version of Catrans, a simple POS system using C89
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
/**
* Error Codes
*
* -1 -> Memory allocation failed
* -2 -> Cart empty