I hereby claim:
- I am highacid on github.
- I am kosmos (https://keybase.io/kosmos) on keybase.
- I have a public key whose fingerprint is 0733 8958 06DC 5D92 E0C3 F2DC C7A1 6430 7E5B 4C8C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<body class="<?php echo $body_classes ? $body_classes : ''; ?>"> | |
<div class="container"> | |
<div style="float: right; width: 50%;"><a href="https://www.instagram.com/idleslidegloves/"> <img class="alignleft" src="http://idleslidegloves.com/wp-content/uploads/2016/01/instagram-22.png" alt="" /></a></div> | |
<div style="float: right; width: 60%;"><a href="https://www.facebook.com/idleslidegloves/"><img class="alignright" src="http://idleslidegloves.com/wp-content/uploads/2016/01/facebook-7-22.png" alt="" /></a></div> | |
</div> | |
<div class="wrap"> | |
<?php if (!empty($heading)) { ?><h1><?php echo stripslashes($heading); ?></h1><?php } ?> | |
<?php if (!empty($text)) { ?><h2><?php echo stripslashes($text); ?></h2><?php } ?> |
.wrap { | |
width: 605px; | |
margin: 100px auto 0; | |
text-align: center; | |
} | |
.wrap h1 { | |
font-size: 30px; | |
font-weight: 700; | |
margin: 0 0 90px; | |
} |
ls -1 /var/cpanel/users | while read user; do | |
pass=`</dev/urandom tr -dc "A-Za-z0-9*-/+.*=_\|\\#" | head -c16` | |
echo "$user $pass" >> passwords.txt | |
/scripts/realchpass $user $pass | |
/scripts/ftpupdate | |
done |
################################################################################# | |
### The perfect Varnish configuration for Joomla (& other CMS based) websites ### | |
################################################################################# | |
# USE: Place the contents of this configuration inside the main | |
# Varnish configuration file, located in: /etc/varnish/default.vcl (root server access required - obviously) | |
# IMPORTANT: The following setup assumes a 2 minute cache time. You can safely increase | |
# this to 5 mins for less busier sites or drop it to 1 min or even 30s for high traffic sites. |
# Optimized MySQL configuration by Fotis Evangelou - Updated Jan 2016 | |
# | |
# The settings provided below are a starting point for a 4GB-8GB RAM server with 4 CPU cores. | |
# If you have less or more resources available you MUST adjust accordingly to save CPU, RAM and disk I/O usage. | |
# To fine tune these settings for your system, use MySQL DB diagnostics tools like: | |
# https://launchpad.net/mysql-tuning-primer | |
# or | |
# http://blog.mysqltuner.com/download/ | |
# Note that if there is no comment beside a setting, then you don't need to adjust it. |
root@panel [/boot]# ls | |
./ initramfs-3.10.0-327.4.4.el7.x86_64kdump.img System.map-3.10.0-327.4.5.el7.x86_64.debug | |
../ initramfs-3.10.0-327.4.5.el7.x86_64.debug.img vmlinuz-0-rescue-55a560fbc9e2604f899cee05aeacc7fb* | |
config-3.10.0-327.4.4.el7.x86_64 initramfs-3.10.0-327.4.5.el7.x86_64.img vmlinuz-3.10.0-327.4.4.el7.x86_64* | |
config-3.10.0-327.4.5.el7.x86_64 initrd-plymouth.img .vmlinuz-3.10.0-327.4.4.el7.x86_64.hmac | |
config-3.10.0-327.4.5.el7.x86_64.debug symvers-3.10.0-327.4.4.el7.x86_64.gz vmlinuz-3.10.0-327.4.5.el7.x86_64* | |
grub/ symvers-3.10.0-327.4.5.el7.x86_64.debug.gz vmlinuz-3.10.0-327.4.5.el7.x86_64.debug* | |
grub2/ symvers-3.10.0-327.4.5.el7.x86_64.gz .vmlinuz-3.10.0-327.4.5.el7. |
MariaDB [(none)]> SHOW GLOBAL VARIABLES; | |
+--------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| Variable_name | Value |
#!/usr/bin/env python | |
""" | |
Hack to look for user agent strings in typical Apache style log and | |
count up the number of requests by bots vs non-bots. The list of bot | |
user agents comes from http://www.user-agents.org/ but has had some | |
agents added to it, since the user-agents.org list is pretty out of date, e.g. | |
no Bing?! | |
""" |
Reading mysql slow query log from /var/log/mariadb/slow_query.log | |
Count: 52305 Time=0.09s (4678s) Lock=0.00s (3s) Rows_sent=664.9 (34778098), Rows_examined=156717.0 (8197080631), Rows_affected=0.0 (0), 11users@localhost | |
SELECT option_name, option_value FROM wp_options WHERE autoload = 'S' | |
Count: 27639 Time=0.02s (422s) Lock=0.00s (1s) Rows_sent=3503.8 (96841712), Rows_examined=4278.0 (118238764), Rows_affected=0.0 (0), 2users@localhost | |
SELECT | |
st.value AS tra, | |
s.value AS org, | |
s.domain_name_context_md5 AS ctx | |
FROM wp_icl_strings s |