Skip to content

Instantly share code, notes, and snippets.

Auriza Akbar auriza

Block or report user

Report or block auriza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View auto-stitch.md
title author date
Penyambungan Otomatis Citra Mikroskop
Auriza Akbar
2019

Penyambungan Otomatis Citra Mikroskop

Algoritme

View kura.py
from turtle import *
def segi(n, s):
for i in range(n):
forward(s)
left(360/n)
def star(s):
for i in range(12):
forward(s)
View utbk.sh
# 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 Mar 9, 2019
OAK -- Latihan UTSP
View 1-volume.asm
global main
extern scanf, printf, fflush
section .data
fmt_in db "%d %d %d", 0
fmt_out db "%d", 10, 0
section .bss
p resd 1
l resd 1
View cache.md

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
View pyrfc-win10-64.md
View xubuntu-lab-2019.sh
#!/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]
View gpg.sh
# GnuPG: an implementation of OpenPGP standard (RFC 4880)
# ==============================================================================
# Configuration
# ------------------------------------------------------------------------------
mkdir --parents ~/.gnupg
cat > ~/.gnupg/gpg.conf << EOF
no-greeting
View omp-task.c
#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 Feb 16, 2018
Assembly (x86) config for Geany
View filetypes.asm
# 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
You can’t perform that action at this time.