Skip to content

Instantly share code, notes, and snippets.

View auriza's full-sized avatar

Auriza Akbar auriza

View GitHub Profile
@auriza
auriza / pthread_matrix_add.c
Last active November 24, 2020 13:52
Matrix addition using multithreading.
#include <stdio.h>
#include <pthread.h>
#define T 2
#define N 4
int A[N][N] = {{1,0,1,0},{0,1,1,0},{1,0,1,0},{0,1,1,0}};
int B[N][N] = {{0,2,2,0},{2,0,2,0},{0,2,2,0},{2,0,2,0}};
int C[N][N] = {{0}};
@auriza
auriza / templat_laporan.md
Last active August 29, 2015 14:12
Templat laporan akhir Pemrosesan Paralel
% Algoritme ... Paralel (dengan Skema Partisi ...)
% Nama, Anggota, Kelompok
% 2015

# Pendahuluan

- sekilas tentang algoritme
- manfaat algoritme
@auriza
auriza / xubuntu-lab-2016.sh
Last active May 23, 2018 01:36
Xubuntu 2016 lab installation
#!/bin/bash
# Xubuntu 16.04 Lab Install
# <https://gist.github.com/auriza/e45690fc728a3e98b7d936c12bd2906a>
# INSTALL BASE SYSTEM (MANUAL ONE BY ONE) --------------------------------------
## Fresh install
# - Welcome : [Install Xubuntu]
# - Prepare : uncheck all options, [Continue]
# - Install : (*) Erase disk and install Xubuntu, [Install Now], [Continue]
title author date
First-Order Predicate Logic
Auriza Akbar
2017

Formulasikan kalimat berikut dalam FOPL!

  • Semua siswa pintar.
  • Ada seorang siswa.
/*
Shell
=====
Shell adalah program yang membuat proses child untuk menjalankan string perintah yang diberikan.
Shell berupa infinite looping yang berisi siklus fork--exec--wait.
Lengkapilah kode berikut ini untuk membuat program shell sederhana!
Contoh masukan dan keluaran
---------------------------
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="id-ID">
<info>
<title>Institut Pertanian Bogor: Pedoman Penulisan Karya Ilmiah Edisi ke-4 (Indonesian)</title>
<id>http://www.zotero.org/styles/institut-pertanian-bogor</id>
<link href="http://www.zotero.org/styles/institut-pertanian-bogor" rel="self"/>
<link href="http://www.zotero.org/styles/apa" rel="template"/>
<link href="http://ppki.staff.ipb.ac.id/unduhan/" rel="documentation"/>
<link href="https://drive.google.com/file/d/0B0YEuQotqd_BQVpkR0lHNHctSHM/view" rel="documentation"/>
<author>
@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

@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 / 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
#include <stdio.h>
#include <unistd.h>
#include <omp.h>
int main() {
int i, j;
int n = 5;
// for --> imbalance