Use the following configuration in Apache's httpd.conf file or within a virtual host configuration. Note that you should set DocumentRoot
and ServerName
fit to your environment:
This file contains 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
# Begin HackRepair.com Blacklist | |
RewriteEngine on | |
# Abuse Agent Blocking | |
RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^$ [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^Acunetix [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^binlar [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^Bolt\ 0 [NC,OR] | |
RewriteCond %{HTTP_USER_AGENT} ^BOT\ for\ JCE [NC,OR] |
This file contains 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: | |
traefik: | |
image: "traefik:v2.0.0" | |
command: | |
- --entrypoints.web.address=:80 | |
- --entrypoints.websecure.address=:443 | |
- --providers.docker | |
- --api |
This file contains 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
[Unit] | |
Description=Generate email log pekerjaan | |
[Service] | |
User=sumarsono | |
Group=sumarsono | |
Type=simple | |
ExecStart=/home/sumarsono/Sumarsono/sumar-bash/generateMail.sh | |
[Install] |
This file contains 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
# ----------------------------------------------------------------------------------------------------------------------------- | |
# --------------------- General Settings -------------------------------------------------------------------------------------- | |
# ----------------------------------------------------------------------------------------------------------------------------- | |
HOSTNAME=vps | |
DOMAINNAME=sumarsono.com | |
CONTAINER_NAME=mailserver | |
# empty => uses the `hostname` command to get the mail server's canonical hostname |
This file contains 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
Sep 27 09:45:11 Sailfish systemd[1]: Starting Myriad Alien Dalvik... | |
Sep 27 09:45:11 Sailfish apkd[4319]: Alien Dalvik is activating (start-pre) | |
Sep 27 09:45:11 Sailfish apkd[4319]: Alien Dalvik is activating (start) | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: ln: creating symbolic link `/data/misc/camera/camera': File exists | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: /data exists already | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: /data/dalvik-cache exists already | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: /data/app-private exists already | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: /data/app exists already | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: /data/data exists already | |
Sep 27 09:45:11 Sailfish start_alien.sh[6006]: /data/misc exists already |
This file contains 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
server { | |
listen 80; | |
server_name yourdomain.com; | |
root /etc/tomcat7/webapps/apple; | |
proxy_cache one; | |
location / { | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; |
This file contains 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
# /etc/nginx/conf.d/blog.sumarsono.com.conf | |
server { | |
server_name blog.sumarsono.com; | |
root /var/www/html/blog; | |
index index.php index.html index.htm; | |
client_max_body_size 100M; | |
include /etc/nginx/default.d/global_wordpress.conf; |
This file contains 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
import machine | |
import usocket as socket | |
import ure | |
import utime as time | |
from network import WLAN, STA_IF | |
led = machine.Pin(2, machine.Pin.OUT) | |
lamp = machine.Pin(12, machine.Pin.OUT) | |
fan = machine.Pin(13, machine.Pin.OUT) |
In the end of setup():
pinMode(D5, INPUT_PULLUP); // enable button pin
pinMode(D4, OUTPUT); // enable LED pin
In the beginning of loop():
if(digitalRead(D5)){
if(!attack.isRunning()){