Skip to content

Instantly share code, notes, and snippets.

View kudaliar032's full-sized avatar
🇮🇩

Aditya Rahman kudaliar032

🇮🇩
View GitHub Profile
@kudaliar032
kudaliar032 / blankon-wiki-deployment.md
Last active November 26, 2020 05:47
BlankOn Wiki GitHub Actions Deployment

Langkah-langkah deployment Wiki BlankOn dengan GitHub Actions

  1. Akses halaman repository Wiki pada GitHub. https://github.com/BlankOn/wiki
  2. Pilih tab Actions

  1. Pada menu Workflows, pilih Manual deploy wiki

@kudaliar032
kudaliar032 / laravelog
Created October 31, 2020 14:16
GrokPattern
\[%{TIMESTAMP_ISO8601:timestamp}\] %{DATA:env}\.%{DATA:loglevel}: %{GREEDYDATA:message}
ip simbol_at afiks usia_domain organization privasi url_long url_https alexarank js page_score status
-1 -1 2 0 -1 1 61 1 1 0 92 phising
-1 -1 1 7021 1 -1 64 -1 1 11 84 phising
-1 -1 2 2553 1 1 78 1 1 0 99 phising
-1 -1 1 4789 -1 1 54 1 1 12 76 phising
-1 -1 0 313 1 1 33 1 1 0 100 phising
-1 -1 0 8178 1 -1 71 -1 -1 4 93 non-phising
-1 -1 0 4450 1 1 41 -1 -1 113 74 non-phising
-1 -1 0 2969 1 1 35 -1 -1 23 75 non-phising
-1 -1 0 7271 1 -1 26 -1 -1 0 88 non-phising
@kudaliar032
kudaliar032 / result.csv
Created January 31, 2020 02:14
model testing result
index name oob accuracy recall precision f1 time
0 gini.100.2 0.9720588235294118 0.9720588235294118 0.9705882352941176 0.9745348113090049 0.972092174672354 0.18744227886199952
1 gini.100.3 0.9735294117647059 0.975 0.9764705882352941 0.9744949494949495 0.9752665245202559 0.19986166954040527
2 gini.100.4 0.9705882352941176 0.975 0.9764705882352941 0.9744949494949495 0.9752665245202559 0.20267894268035888
3 gini.100.5 0.9735294117647059 0.9720588235294118 0.9735294117647059 0.9716378066378066 0.9723247118445042 0.2438877582550049
4 gini.100.6 0.9735294117647059 0.9720588235294118 0.9764705882352941 0.9688428688428689 0.9723650577486115 0.2388098955154419
5 gini.100.7 0.9735294117647059 0.9735294117647059 0.9764705882352941 0.9718544518544519 0.9738959824271173 0.33119878768920896
6 gini.100.8 0.9720588235294118 0.9705882352941176 0.9735294117647059 0.9687806637806637 0.970830208078748 0.3062326669692993
7 gini.100.9 0.9735294117647059 0.9735294117647059 0.9764705882352941 0.9713203463203464 0.9736930255554526 0.
# LAB5 | Docker Compose
## Install Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose version
# LAB3 | Docker Volume
docker volume -h
docker volume ls
## Create Volume
docker volume craete test-volume1
docker volume create test-volume2
# LAB2 | Docker Image Distribution
## Build Image
docker build -t [IMAGE-NAME]:[TAG] .
```
-f, --file: Name of Dockerfile
--no-cache: Don't use cache
-t: Name and Tag docker image `name:tag` format
# LAB1 | Docker Image
## Pull Image
docker pull alpine
docker pull ubuntu:18.04
## Dockerfile
mkdir docker-image
# LAB0 | Docker Fundamental
## Installation
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce
Outlook Temp Humidity Windy Play Golf
Rainy Hot High FALSE No
Rainy Hot High TRUE No
Overcast Hot High FALSE Yes
Sunny Mild High FALSE Yes
Sunny Cool Normal FALSE Yes
Sunny Cool Normal TRUE No
Overcast Cool Normal TRUE Yes
Rainy Mild High FALSE No
Rainy Cool Normal FALSE Yes