Skip to content

Instantly share code, notes, and snippets.

View auriza's full-sized avatar

Auriza Akbar auriza

View GitHub Profile
@auriza
auriza / utbk.sh
Last active April 28, 2019 09:15
# DOWNLOAD VDI: ----------------------------------------------------------------
wget -c 'http://172.18.16.251/~adminlab/UTBK.vdi.gz'
gunzip 'UTBK.vdi.gz'
md5sum 'UTBK.vdi'
chmod o+rw 'UTBK.vdi'
# CREATE USER: -----------------------------------------------------------------
sudo adduser --add_extra_groups utbk
# CREATE VM: -------------------------------------------------------------------
@auriza
auriza / 1-volume.asm
Last active March 15, 2021 08:48
OAK -- Latihan UTSP
global main
extern scanf, printf
section .data
fmt_in db "%d %d %d", 0
fmt_out db "%d", 10, 0
section .bss
p resd 1
l resd 1

Cek Spesifikasi Cache CPU

Gunakan perintah lscpu untuk melihat info tentang CPU.

$ lscpu

Model name:   Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz
L1d cache:    32K
L1i cache: 32K
@auriza
auriza / pyrfc-win10-64.md
Last active December 11, 2023 16:43
SAP PyRFC
#!/bin/bash
# Xubuntu 18.04 Lab Install
# <https://gist.github.com/auriza/9c11147b86c0a146b1e4c72bd822481f>
{ # BASE INSTALL ======================================================
# - Welcome : [Install Xubuntu]
# - Keyboard: [Continue]
# - Updates : uncheck any option, [Continue]
@auriza
auriza / gpg.sh
Last active August 28, 2023 12:57
# GnuPG: an implementation of OpenPGP standard (RFC 4880)
# ==============================================================================
# Configuration
# ------------------------------------------------------------------------------
mkdir --parents ~/.gnupg
cat > ~/.gnupg/gpg.conf << EOF
no-greeting
#include <stdio.h>
#include <unistd.h>
#include <omp.h>
int main() {
int i, j;
int n = 5;
// for --> imbalance
@auriza
auriza / filetypes.asm
Last active September 2, 2021 10:01
Assembly (x86) config for Geany
# For complete documentation of this file, please see Geany's main documentation
[styling]
# Edit these in the colorscheme .conf file instead
default=default
comment=comment_line
commentblock=comment
commentdirective=comment
number=number_1
string=string_1
operator=operator
@auriza
auriza / bukutamu-pgsql.php
Last active March 14, 2018 04:53
Contoh aplikasi web PHP dengan PostgreSQL dan SQLite3
<?php
/*
CREATE TABLE bukutamu (
id SERIAL PRIMARY KEY,
nama VARCHAR(50) NOT NULL,
email VARCHAR(50) NOT NULL,
pesan TEXT NOT NULL
);
*/
@auriza
auriza / templat-laporan.md
Created September 27, 2017 07:51
Templat Laporan Radig
title author date
Nama Rangkaian
Nama1
Nama2
26 Sep 2017

Pendahuluan