Saya sering lupa, jadi tulis aja di gist.
telnet 192.168.1.1
login: root
pass : Zte521
You need to create a bootable live disk to clone your disk. You can not copy a partition that is mounted. If you do not have internet access, use gparted. Otherwise, it might be better to use your operating systems live installer, such as Manjaro. We can download gparted and still have things like a web browser incase we get stuck. We will be using the Manjaro live disk for this guide.
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
services: | |
pihole: | |
container_name: pihole | |
image: pihole/pihole:latest | |
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host" | |
ports: | |
- "53:53/tcp" | |
- "53:53/udp" | |
- "8080:80/tcp" |
#!/usr/bin/env bash | |
# | |
# Neofetch config file | |
# https://github.com/dylanaraps/neofetch | |
# See this wiki page for more info: | |
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info | |
print_info() { | |
prin "$(color 5)>>$(color 12) デンデイー オクタビアン $(color 5)<<" |
<?php | |
header('Content-Type: application/json'); // Jadiin html format dokumen JSON | |
// Allow from any origin | |
//CORS --first | |
if (isset($_SERVER['HTTP_ORIGIN'])) { | |
// should do a check here to match $_SERVER['HTTP_ORIGIN'] to a | |
// whitelist of safe domains | |
header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); | |
header('Access-Control-Allow-Credentials: true'); |
{ | |
"info": { | |
"_postman_id": "12267d94-9900-4bf4-a6ee-6dc6875299de", | |
"name": "Magang - 001 Copy", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Android (1) - Register", | |
"request": { |
# starting with a Ubuntu 14 box on AWS | |
# increase swap | |
# https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 | |
sudo fallocate -l 4G /swapfile | |
ls -lh /swapfile | |
sudo chmod 600 /swapfile | |
ls -lh /swapfile | |
sudo mkswap /swapfile |