Skip to content

Instantly share code, notes, and snippets.

View nischay876's full-sized avatar

Nischay Sharma nischay876

View GitHub Profile
checkAdblock();async function checkAdblock(){this.appendIframeAds();let e=await this.hasAdblockByIframe();e=e||await this.hasAdblockByScript(),e&&(console.log("Ad blocker is used."),document.write('<head><title>Adblock detecter By https://nischay.ovh</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/nischay876/adblock-detecter/web/main.css"></head><body><div class="wrapper"><img src="https://cdn.jsdelivr.net/gh/nischay876/adblock-detecter/web/abd.png"><p class="detect">Detecting...</p><p class="ad-p">Please wait!</p></br><p class="detect" onclick="window.location.reload()">Refresh Page</p></div><script src="https://cdn.jsdelivr.net/gh/nischay876/adblock-detecter/web/main.js"></script><div id="footer" class="#footer"><strong>Copyright &copy; 2021-2022 <a href="https://github.com/nischay876/adblock-detecter/" target="_blank"> Ad Block Detecter</a></strong> All rights Reserved</b></div></body>'))}async function hasAdblockByScript(){let t=!1;var e={method:"HEAD",mode:"no-cors"};let o=new Request("ht
@nischay876
nischay876 / lavalink.md
Created August 23, 2022 08:16
Free Public Lavalink Server For Everyone , SSL & NoSSL both!
@nischay876
nischay876 / iimg.ml.sxcu
Last active September 27, 2022 19:38
www.iimg.ml a free images/videos/text hosting service
{
"Version": "14.0.1",
"Name": "iimg.ml",
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"RequestMethod": "POST",
"RequestURL": "https://iimg.ml/",
"Body": "MultipartFormData",
"FileFormName": "file",
"URL": "{json:.resource}",
"ThumbnailURL": "{json:.thumbnail}",
@nischay876
nischay876 / application.yml
Last active November 28, 2022 19:38
Lavalink application.yml & pm2 config
server: # REST and WS server
port: 2333
address: 0.0.0.0
lavalink:
server:
password: "lavalink"
playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
statsTaskInterval: 30 # How frequently to send the node stats to clients, in seconds
koe:
@nischay876
nischay876 / install-lavalink.sh
Last active February 17, 2023 06:15
direct lavalink installation script for ubuntu
@nischay876
nischay876 / 1.sh
Last active March 2, 2023 20:52
Migrate Hestia Control Panel To New VPS
echo "Create Backup For all Users (Run On VPS 1)"
v-backup-users
echo "Backup Job Done"