% Algoritme ... Paralel (dengan Skema Partisi ...)
% Nama, Anggota, Kelompok
% 2015
# Pendahuluan
- sekilas tentang algoritme
- manfaat algoritme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 | |
--------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
CREATE TABLE bukutamu ( | |
id SERIAL PRIMARY KEY, | |
nama VARCHAR(50) NOT NULL, | |
email VARCHAR(50) NOT NULL, | |
pesan TEXT NOT NULL | |
); | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <unistd.h> | |
#include <omp.h> | |
int main() { | |
int i, j; | |
int n = 5; | |
// for --> imbalance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: ------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
OlderNewer