Skip to content

Instantly share code, notes, and snippets.

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

Anone anonemae

🏠
Working from home
View GitHub Profile
-- Dump of table buku
-- ------------------------------------------------------------
DROP TABLE IF EXISTS `buku`;
CREATE TABLE `buku` (
`id_buku` INT(11) NOT NULL AUTO_INCREMENT,
`kode_buku` VARCHAR(10) NOT NULL,
`nama_buku` VARCHAR(50) NOT NULL,
`qty` INT(11) NOT NULL,
PRIMARY KEY (`id_buku`)
@anonemae
anonemae / semantic-commit-messages.md
Created September 4, 2023 01:12 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@anonemae
anonemae / lihat.java
Created February 9, 2023 00:12
Syntax Lihat Semua
public static void lihat() {
String sql = "SELECT * FROM user";
try {
rs = stm.executeQuery(sql);
// ambil MetaData
ResultSetMetaData metaData = rs.getMetaData();
@anonemae
anonemae / UAP_PSD_NO_2.pas
Last active November 26, 2022 02:57
UAP PSD NO 2
program upm_no_2;
uses crt;
const
n = 8;
var
X: array[1..n] of integer;
i: integer;
@anonemae
anonemae / upm_psd_no_1.pas
Last active November 27, 2022 01:30
UPM PSD
program uap_robiirhamni_psd_no_1;
uses crt;
const
maks_data = 5;
type rec_pembeli = record
nama: string;
jml_kaos: integer;
@anonemae
anonemae / no_4_sd.pas
Created November 12, 2022 10:25
Jawaban No 4 SD Tugas 5
Program no4;
uses crt;
const
maks = 10;
type
Larik = array[1..maks] of integer;
var
@anonemae
anonemae / Tugas_4_psd.pas
Created October 26, 2022 10:11
Tugas 4 PSD
Program StackArray;
Uses crt;
Const maks = 3;
Type
Tstack = Record
elemen : Array [1..maks] of integer;
Top : integer;
@anonemae
anonemae / single-linkedlist.pas
Created October 3, 2022 04:02
Tugas PSD Single linkedlist
Program hapusSimpul;
uses crt;
Type
simpul = ^data;
data = Record
nik : string;
namaKaryawan : string;
divisi : string;
alamat : string;
@anonemae
anonemae / bab_2_latihan_1.pas
Last active September 28, 2022 08:25
Tugas Praktikum Struktur Data BAB 2 latihan 1
program bab_2_latihan_1;
uses crt;
type
rec_mhs =
record
nama, npm: string;
tugas, uts, uas: real;
end;
@anonemae
anonemae / bubble_sort_desc.pas
Created April 30, 2022 05:05
tugas_10_pascal
program tugas_10;
uses crt ;
var urutan : array[1..6] of string;
xurutan : string;
n,j,i : byte;
procedure mountArray;
begin