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
// HACKERNEWS | |
document.querySelectorAll('[id^=up].clicky:not(.nosee)').forEach(function(e ,i) { | |
setTimeout(() => { | |
e.click(); | |
let currentLink = e.parentNode.parentNode.nextElementSibling.querySelector('a').getAttribute('href'); | |
window.open(currentLink, '_blank'); | |
}, i * 1000 * (Math.floor(Math.random() * 6) + 1)); | |
}); | |
// HACKERNEWS |
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
//PH | |
document.querySelectorAll('button[class*=styles_feed]:not([class*=styles_upvoted])').forEach(function(e ,i) { | |
setTimeout(() => { | |
e.parentElement.querySelector('a[rel="noopener"]').click(); | |
e.click(); | |
}, i * 1000 * (Math.floor(Math.random() * 6) + 1)); | |
}); | |
//PH |
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
! 2023-01-02 https://www.r10.net | |
||cdn.r10.net/editor/**/*.gif$image | |
||cdn.r10.net/bnnr/*.gif$image | |
www.r10.net##div.rc98257:nth-of-type(1) | |
||cdn.r10.net/rm/*/*.webp$image | |
||idrydigital.com/upload/*.gif$image | |
||cdn.r10.net/**/*.gif$image | |
www.r10.net##div[class^="rc"] | |
www.r10.net##.topbar | |
www.r10.net##.topbar2 |
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.6" | |
services: | |
homeassistant: | |
container_name: homeassistant | |
image: "ghcr.io/home-assistant/home-assistant:stable" | |
volumes: | |
- /homeassistant/data:/config | |
- /etc/localtime:/etc/localtime:ro | |
restart: unless-stopped |
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
<form action="#"> | |
Username: <input type="text" name="u"><br> | |
Password: <input type="password" name="p"><br> | |
<input type="submit" value="Submit as normal"> | |
<input type="submit" formtarget="_blank" value="Submit to a new window"> | |
</form> | |
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
iptables -I INPUT -p tcp --dport 25 -j DROP | |
iptables -I INPUT -p tcp --dport 487 -j DROP | |
iptables-save | |
iptables -D INPUT -p tcp --dport 25 -j DROP | |
iptables -D INPUT -p tcp --dport 487 -j DROP | |
iptables-save |
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
find /home/nodeapps/web/ -name "app.sock" -exec rm -r "{}" \; | |
sleep 2 | |
pm2 restart all | |
sleep 30 | |
find /home/nodeapps/web/ -name "app.sock" -exec chmod -R 777 "{}" \; |
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 | |
function curl_gir($site) { | |
$ch = curl_init($site); | |
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36"); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_REFERER, $site); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); | |
curl_setopt($ch, CURLOPT_VERBOSE, 1); |
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
git branch | grep -v "master" | xargs git branch -D |
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
document.querySelectorAll('.style_pt-desktop-6__1jDK_').forEach(function(element ,index) { | |
if(element.querySelector('button').classList.contains('styles_upvoted__2FBD8') === false ) { | |
setTimeout(function(){ | |
element.querySelector('.styles_externalLinkIcon__1p0HV').click(); | |
element.querySelector('button').click(); | |
}, 500); | |
} | |
}); |
NewerOlder