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
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) |
# 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: ------------------------------------------------------------------- |
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 |
Install Python 3.7 64-bit
Install PyRFC
pip install Downloads/pyrfc-1.9.93-cp37-cp37m-win_amd64.whl
#!/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] |
# 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 |
# 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 |
<?php | |
/* | |
CREATE TABLE bukutamu ( | |
id SERIAL PRIMARY KEY, | |
nama VARCHAR(50) NOT NULL, | |
email VARCHAR(50) NOT NULL, | |
pesan TEXT NOT NULL | |
); | |
*/ |