ssh student@192.168.30.10
sudo apt update
sudo apt install docker docker-compose -y
sudo su
usermod -aG docker student
reboot
This file contains hidden or 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 | |
| # --- PRE-SETUP --- | |
| echo "Membersihkan konfigurasi lama..." | |
| docker-compose down 2>/dev/null | |
| # Menghapus database lama agar fresh install | |
| sudo rm -rf ./zabbix/db_data | |
| # 1. Buat struktur folder yang dibutuhkan | |
| echo "Membuat folder project..." |
This file contains hidden or 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
| version: '3.3' | |
| services: | |
| # --- DNS Server --- | |
| technitium: | |
| image: technitium/dns-server:latest | |
| container_name: technitium-dns | |
| hostname: technitium-dns | |
| ports: | |
| - "53:53/udp" |
This file contains hidden or 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> | |
| int main(void) | |
| { | |
| printf("## Program Bahasa C Persegi Angka ## \n"); | |
| printf("====================================== \n\n"); | |
| int besar_persegi,baris,kolom, i,j; | |
| printf("Input besar persegi: "); |
This file contains hidden or 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
| node { | |
| env.WORKSPACE = pwd() | |
| def now = new Date() | |
| def major = "1" | |
| def month = now.format("M", TimeZone.getTimeZone('UTC')) | |
| def day = now.format("d", TimeZone.getTimeZone('UTC')) | |
| def week = (int)((Integer.parseInt(day,10) - 1) / 7 + 1) | |
| def version = "v"+major+"."+month+"."+week | |
| def name = "microservice-transaksi" | |
| def branch = "master" |
FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
This file contains hidden or 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 <iostream> | |
| #include <string> | |
| using namespace std; | |
| // Base Class | |
| class Kendaraan { | |
| private: | |
| // Private attribute | |
| string nama; | |
| int jumlahRoda; |
This file contains hidden or 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 alpine:latest | |
| MAINTAINER Ainun Abdullah <abdullah.ainun4@gmail.com> | |
| RUN apk add --update --upgrade bash git curl openssl | |
| RUN apk add php7 \ | |
| #REQUIRED BY COMPOSER | |
| php7-json \ | |
| #REQUIRED BY COMPOSER |
This file contains hidden or 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
| <pmapper> | |
| <ini> | |
| <pmapper> | |
| <pmTitle>p.mapper - A MapServer PHP/MapScript Framework</pmTitle> | |
| <debugLevel>3</debugLevel> | |
| <plugins>export</plugins> | |
| <plugins>scalebar</plugins> | |
| <plugins>transparency</plugins> | |
| </pmapper> | |
| <config> |
This file contains hidden or 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
| # Adapt settings in map file <tt>pmapper_demo.map</tt> for the following tags to match settings | |
| # on your machine (see additionally MapServer documentation for detailed information): | |
| # MAP | |
| # SHAPEPATH | |
| # FONTSET | |
| # SYMBOLSET | |
| # WEB | |
| # IMAGEPATH |
NewerOlder