Skip to content

Instantly share code, notes, and snippets.

@thisbit
thisbit / accordion.css
Last active January 24, 2023 15:34
GenerateBlocks Accordion
/*
* Toggle functionality
* Used in accordions and custom tables, etc.
* Depentds on @link /assets/js/apuri/scripts.js Toggle functionality section
*/
.site .click,
.editor-styles-wrapper .click {
cursor: pointer;
user-select: none;
@jamiedevsandbox
jamiedevsandbox / really-interesting-repos
Last active April 6, 2024 23:26
Curated list of impressive repositories
https://github.com/github/training-kit
https://github.com/AdguardTeam/AdGuardHome
https://github.com/TH3xACE/SUDO_KILLER
https://github.com/simbody/simbody
https://github.com/matthieu-hackwitharts/Win32_Offensive_Cheatsheet
@dvlop
dvlop / gist:fca36213ad6237891609e1e038a3bbc1
Last active April 3, 2024 20:21 — forked from allthingsdem/gist:63b3223a7d14ac1f2457
My long list of bad bots to block in htaccess, ready to copy and paste!
# Start Bad Bot Prevention
<IfModule mod_setenvif.c>
# SetEnvIfNoCase User-Agent ^$ bad_bot
SetEnvIfNoCase User-Agent "^12soso.*" bad_bot
SetEnvIfNoCase User-Agent "^192.comAgent.*" bad_bot
SetEnvIfNoCase User-Agent "^1Noonbot.*" bad_bot
SetEnvIfNoCase User-Agent "^1on1searchBot.*" bad_bot
SetEnvIfNoCase User-Agent "^3D_SEARCH.*" bad_bot
SetEnvIfNoCase User-Agent "^3DE_SEARCH2.*" bad_bot
SetEnvIfNoCase User-Agent "^3GSE.*" bad_bot
@theseanl
theseanl / README.md
Last active March 3, 2024 08:43
Collecting popup/popunder scripts.

Collecting popup/popunder scripts.

Obnoxious ones

  1. dai0eej.bid, found in http://www.nowvideo.li/video/81e35ec6727ee
  2. onclasrv.com, found in https://thehiddenbay.xyz/

Ordinary ones

  1. watchmygf.me, found in http://www.watchmygf.me/
@region23
region23 / golang_books_sites.md
Last active July 18, 2022 08:58
Полезные ресурсы для изучающих Go

На русском языке

Русскоязычные сайты и сообщества

English resources

@mildred
mildred / download.sh
Created October 20, 2014 10:03
Download from archive.org Wayback Machine
#!/bin/bash
url=http://redefininggod.com
webarchive=https://web.archive.org
wget="wget -e robots=off -nv"
tab="$(printf '\t')"
additional_url=url.list
# Construct listing.txt from url.list
# The list of archived pages, including some wildcard url
@jdevalk
jdevalk / .htaccess
Last active November 28, 2023 20:28
These three files together form an affiliate link redirect script.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteRule (.*) ./index.php?id=$1 [L]
</IfModule>
@romannurik
romannurik / background-page.html
Created September 24, 2009 05:15
A workaround for Cross-domain XHR's not working in Chrome Extensions' content scripts. See http://groups.google.com/group/chromium-extensions/browse_thread/thread/43ec4d383cf8d01d
<!DOCTYPE html>
<html>
<head>
<script src="xhrproxy.js"></script>
<script>
setupXHRProxy();
</script>
</head>