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
www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer) | |
www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer) | |
www.youtube.com##ytd-browse[page-subtype="home"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-rich-item-renderer) | |
www.youtube.com##ytd-browse[page-subtype="subscriptions"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-grid-video-renderer,ytd-rich-item-renderer) | |
www.youtube.com##ytd-search .ytd-thumbnail[href^="/shorts/"]:upward(ytd-video-renderer) | |
www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-item-section-renderer) | |
www.youtube.com##ytd-watch-next-secondary-results-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-compact-video-renderer,ytd-shelf-renderer) | |
www.youtube.com##ytd-browse[page-subtype="trending"] .ytd-thumbnail[href^="/shorts/"]:upward(yt |
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
[DEFAULT] | |
# Ban hosts for one hour: | |
bantime = 36000 | |
# Override /etc/fail2ban/jail.d/00-firewalld.conf: | |
banaction = iptables-multiport | |
[sshd] | |
enabled = true |
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
// source : https://github.com/laravel/laravel/blob/v5.8.3/resources/js/app.js | |
const files = require.context('./', true, /\.vue$/i); | |
files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default)); |
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
download.cyanogenmod.org | |
g.cn | |
thepiratebay.se | |
e.crashlytics.com | |
settings.crashlytics.com | |
crashlytics | |
resolver.msg.xiaomi.net | |
ad-sdk.altamob.xiaoying.co | |
adash.m.taobao.com | |
nav.cn.ronghub.com |
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
rsync -avz --chown=www-data:www-data --exclude=tmp/ SRC DEST |
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
<html> | |
<head> | |
<title>GetRSSFeed</title> | |
</head> | |
<body> | |
<div id="target"></div> | |
<script src="https://code.jquery.com/jquery-2.2.4.min.js" ></script> | |
<script> | |
var rssUrl = "http://www.exploit-db.com/rss.xml"; |
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
<?php | |
//..... | |
if(!function_exists('freeRedirect')){ | |
function freeRedirect($to = '/'){ | |
throw new \Illuminate\Http\Exception\HttpResponseException(redirect($to)); | |
} |
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
taskkill.exe /IM DualMonitor.exe /F | |
start "" "%programfiles(x86)%\Dual Monitor\DualMonitor.exe" | |
exit |
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
/** | |
* @param bool $fullBase | |
* @return string | |
*/ | |
function baseUrl($fullBase=false){ | |
$scriptName = $_SERVER['SCRIPT_NAME']; | |
$parts = explode('/',$scriptName); | |
array_pop($parts); |
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
require 'net/http' | |
require 'openssl' | |
hostname = 'HOSTNAME_TO_UPDATE' | |
username = 'USERNAME_HERE' | |
password = 'PASSWORD_HERE' | |
puts "==================================" |