Skip to content

Instantly share code, notes, and snippets.

Ertomedia ertomedia

Block or report user

Report or block ertomedia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ertomedia
ertomedia / erto-html5.code-snippets
Created Jan 12, 2020
Insert custom Bootstrap 4 HTML5 (with FontAwesome 5 + Webfontloader) code snippets to VS Code documents
View erto-html5.code-snippets
{
"Insert Bootstrap 4 HTML5 snippets": {
"scope": "html,php",
"prefix": "erto-html5",
"body": [
"<!doctype html>",
"<html lang=\"en\">",
" <head>",
" <title>Title</title>",
" $BLOCK_COMMENT_START Required meta tags $BLOCK_COMMENT_END",
View memory-used.sh
#!/bin/bash
ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -rn | head -25
View mssqld-auth.conf
# Filter fail2ban untuk unsuccesfull MSSQL authentication
[INCLUDES]
before = common.conf
[Definition]
_daemon = mssqld
failregex = Login failed for user .* \[CLIENT: <HOST>\]
ignoreregex =
@ertomedia
ertomedia / comment_box_blacklist.txt
Last active Jan 13, 2019
Database kata, IP, URL, atau keyword yang di-blacklist untuk semua instalasi WP milik klien Ertomedia
View comment_box_blacklist.txt
5.188.210.4
5.188.210.6
5.188.210.8
5.188.210.9
23.95.86.47
46.166.143.100
70.169.150.122
84.201.18.197
84.54.58.113
104.223.30.152
@ertomedia
ertomedia / .htaccess
Created Aug 17, 2018 — forked from HechtMediaArts/.htaccess
UPDATE 2018: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
View .htaccess
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2018
########################################################################
# ----------------------------------------------------------------------
# Rewrite from HTTP to HTTPS - if you want to use it, comment it out
# ----------------------------------------------------------------------
You can’t perform that action at this time.