Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

purwandi purwandi

🏠
Working from home
View GitHub Profile
View ubuntu.md

Instalasi docker di ubuntu

apt-get -y update

apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -

add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
View inteface kosong
package main
import (
"fmt"
)
type Mamalia interface {
}
type Animal struct {
@purwandi
purwandi / docker-compose.yml
Created Jul 21, 2019 — forked from danmrichards/docker-compose.yml
CockroachDB - Docker Compose Manifest. Spins up a simple 3 node CockroachDB cluster.
View docker-compose.yml
version: "3"
services:
roach1:
container_name: roach1
image: cockroachdb/cockroach:v1.1.3
command: start --insecure
ports:
- "26257:26257"
- "8080:8080"
volumes:
@purwandi
purwandi / Install.txt
Created May 25, 2019 — forked from soderlind/Install.txt
macOS DoH! (DNS over HTTPS) using cloudflared
View Install.txt
1) Install cloudflared using homebrew:
brew install cloudflare/cloudflare/cloudflared
2) Create /usr/local/etc/cloudflared/config.yaml, with the following content
proxy-dns: true
proxy-dns-upstream:
- https://1.1.1.1/dns-query
- https://1.0.0.1/dns-query
@purwandi
purwandi / dnsovertls.md
Created May 25, 2019 — forked from uraimo/dnsovertls.md
Configure your Mac to use DNS over TLS
View dnsovertls.md
View my custom style gitlab
.container-fluid {
max-width: 980px !important;
}
.right-sidebar-expanded .container-limited {
max-width: 800px !important;
}
.file-holder .file-content.wiki {
padding: 45px;
View script.vbs
On Error Resume Next
strComputer = "."
strMainNIC = "Wired"
strMainNICDevice = "Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\Root\CIMV2" )
View Processing Object.md

Aplikasi Entry Nilai

Andri adalah seorang pegawai Tata Usaha sekolah di salah satu Sekolah Menengah Kejuruan (SMK) di daerah BSD Tangerang. Setiap hari dia melakukan input data nilai siswa yang ia peroleh dari masing-masing guru kelas. Begitu data banyak data yang ia input maka ia akhirnya minta bantuan ke salah satu perusahaan swasta untuk membuat aplikasi input data nilai siswa sehingga output yang di hasilkan dapat dikeluarkan secara otomatis. Data yang diinput oleh andri sebagai berikut:

NAMA                    | Nilai Bahasa  | Nilai Matematik   | Nilai  Komputer |
------------------------------------------------------------------------------|
View domain.conf
server {
listen 80;
listen 443 ssl;
server_name _hostname_;
root _path_;
index index.html index.htm index.php;
charset utf-8;
You can’t perform that action at this time.