Skip to content

Instantly share code, notes, and snippets.

@Exrael
Exrael / LICENSE.txt
Created November 29, 2011 03:03 — forked from mtigas/LICENSE.txt
Script that allows batch-downloading a person's full Facebook photo collection.
Copyright 2011 Mike Tigas. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
@mbinna
mbinna / hack.sh
Created April 11, 2012 05:57 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2357277/hack.sh | sh
#
@nmcv
nmcv / snitchkiller.sh
Created April 30, 2013 23:15
Little Snitch 3 trial reset
#!/bin/bash
kill -9 `ps auxc | grep "Little Snitch Daemon" | awk '{print $2}'`;
echo "Killed Little Snitch Daemon" > /tmp/snitchkiller.log;
date >> /tmp/snitchkiller.log;
@tobek
tobek / get-image-urls.js
Last active July 18, 2024 17:22
Save images from chrome inspector/dev tools network tab
/* open up chrome dev tools (Menu > More tools > Developer tools)
* go to network tab, refresh the page, wait for images to load (on some sites you may have to scroll down to the images for them to start loading)
* right click/ctrl click on any entry in the network log, select Copy > Copy All as HAR
* open up JS console and enter: var har = [paste]
* (pasting could take a while if there's a lot of requests)
* paste the following JS code into the console
* copy the output, paste into a text file
* open up a terminal in same directory as text file, then: wget -i [that file]
*/
@omurphy27
omurphy27 / Gravity Forms WP CSS Honeypot styling.css
Last active June 20, 2022 02:10
Gravity Forms WP CSS Honeypot styling.css
.gform_validation_container,
.gform_wrapper .gform_validation_container,
body .gform_wrapper li.gform_validation_container,
body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container,
body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container {
display: none !important;
position: absolute !important;
left: -9000px;
}
@Bluscream
Bluscream / wgetall.bat
Last active September 17, 2022 09:33
WGet all files
@echo off
REM wget --reject-regex='*@*' --execute="robots = off" --mirror --convert-links --no-parent --wait=1 %*
REM wget --tries=inf --timestamping --recursive --level=inf --convert-links --page-requisites --no-parent -R '\?C=' %*
"C:\Program Files\WinHTTrack\httrack.exe" %* -*.html@* --mirror
@pro-beaver
pro-beaver / style.css
Last active December 9, 2022 07:40
Disable and Hide Animations in Beaver Builder modules
/**
* Disable and Hide Animations in Beaver Builder modules
*
* @author Davinder Singh Kainth
* @link http://probeaver.com/?p=1697
*
*/
/* Hides animation section in Beaver Builder Modules */
@lukecav
lukecav / functions.php
Created July 10, 2017 15:38
Clear Beaver Builder Cache
FLBuilderModel::delete_asset_cache_for_all_posts
@MuntashirAkon
MuntashirAkon / littlesnitchtoggler.sh
Last active October 7, 2022 03:26
LittleSnitchToggler
#!/bin/bash
#
# LittleSnitchToggler
# Script to enable/disable Little Snitch
# (c) Muntashir Al-Islam
# License: MIT License
#
# Alert if not a root user
@dvlop
dvlop / gist:fca36213ad6237891609e1e038a3bbc1
Last active July 22, 2024 14:45 — 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