This file contains hidden or 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
# Source internet | |
# Use at your own risk, test on localhost first | |
# Ovrride Default index.php | |
DirectoryIndex home.php | |
# Prevent access to some files | |
<FilesMatch "^(wp-config.php|readme.html|license.txt|README.md|.gitignore|.gitattributes|.htaccess|error_log)"> | |
Order allow,deny | |
Deny from all |
This file contains hidden or 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
<?php | |
/* We can use the pre_get_posts action hook to modify a query before it's run. | |
* http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts*/ | |
add_action( 'pre_get_posts', 'kvn_rem_pp' ); | |
function kvn_rem_pp($query){ | |
if(current_user_can ('read_private_posts') ){ | |
/*restrict to the posts page main query. | |
*All other views (eg. category archives) unnaffected | |
*http://codex.wordpress.org/Function_Reference/is_home | |
*http://codex.wordpress.org/Function_Reference/is_main_query*/ |
This file contains hidden or 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
Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root" | |
00000000 | |
059AnkJ | |
4uvdzKqBkj.jg | |
7ujMko0admin | |
7ujMko0vizxv | |
123 | |
1111 | |
1234 |
This file contains hidden or 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
#!/usr/bin/env bash | |
echo ">>> Installing Mailhog" | |
# Download binary from github | |
wget --quiet -O ~/mailhog https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64 | |
# Make it executable | |
chmod +x ~/mailhog |
This file contains hidden or 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
--- Service for FusionPBX to monitor on gateway status | |
-- and send email notification when gateway change its status. | |
-- | |
-- Require FusionPBX 4.3 or higher | |
-- | |
-- start: `fs_cli -x 'luarun gw_monitor.lua'` | |
-- stop: `fs_cli -x 'lua service gw_monitor stop'` | |
-- pid file: `${script_dir}/run/gw_monitor.pid` | |
local email = 'mail@address' |
This file contains hidden or 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
Resetting board in 0 seconds...HELO | |
CPUI | |
L1CI | |
DRAM | |
---- | |
PHYS | |
PHYE | |
DDR1 | |
333H | |
SIZ3 |
This file contains hidden or 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
git branch -a --merged origin/master | egrep -v "(^\*|master)" | egrep 'remotes/' | sed 's/remotes\///' | sed 's/\// /' | xargs -L1 git push --delete |
This file contains hidden or 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
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
$database = 'db'; | |
$user = 'user'; | |
$pass = 'pass'; | |
$host = 'localhost'; |
This file contains hidden or 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
# SiInit | |
299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9 12 P:81E10080000033C1:9090909090909090 | |
# PpmInitialize Reset IA32_TSC_ADJUST to 0 instead of enforcing 0xE2 lock | |
3FFCAE95-23CF-4967-94F5-16352F68E43B 10 P:742CB9E20000000F3248C1E220480BC20FBAE00F488944240872130FBAE80F89442408488B54240848C1EA200F30:BA00000000B800000000B93B0000000F309090909090909090909090909090909090909090909090909090909090 | |
# CpuInitPei Reset IA32_TSC_ADJUST to 0 instead of enforcing 0xE2 lock | |
01359D99-9446-456D-ADA4-50A711C03ADA 12 P:B9E20000000F328BC8BE0080000023CE0BCF75190BC6894424088954240C8B54240C8B442408B9E20000000F30:BA00000000B800000000B93B0000000F3090909090909090909090909090909090909090909090909090909090 | |
# CpuMpDxe to disable TSC writes |