Skip to content

Instantly share code, notes, and snippets.

View kudaliar032's full-sized avatar
🇮🇩

Aditya Rahman kudaliar032

🇮🇩
View GitHub Profile
# LAB1 | Docker Image
## Pull Image
docker pull alpine
docker pull ubuntu:18.04
## Dockerfile
mkdir docker-image
# 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
# LAB3 | Docker Volume
docker volume -h
docker volume ls
## Create Volume
docker volume craete test-volume1
docker volume create test-volume2
# 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
@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.
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 / laravelog
Created October 31, 2020 14:16
GrokPattern
\[%{TIMESTAMP_ISO8601:timestamp}\] %{DATA:env}\.%{DATA:loglevel}: %{GREEDYDATA:message}
@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

########################################################################
########################################################################
## This is a sample configuration file for the ftpsync mirror script. ##
## Only options most users may need are included. For documentation ##
## and all available options see ftpsync.conf(5). ##
########################################################################
########################################################################
# MIRRORNAME=`hostname -f`
TO="/home/debian-mirror/data"
@kudaliar032
kudaliar032 / index.html
Created February 13, 2021 07:24
Google Maps + BigQuery
<!DOCTYPE html>
<html>
<!--
Copyright 2016 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,