Skip to content

Instantly share code, notes, and snippets.

💭
Awake like an Owl

0E800 0E800

💭
Awake like an Owl
View GitHub Profile
@0E800
0E800 / URL-ScreenShots.ps1
Created Apr 2, 2019 — forked from adumont/URL-ScreenShots.ps1
Takes screenshot of multiple websites by URL
View URL-ScreenShots.ps1
[Reflection.Assembly]::LoadWithPartialName("System.Drawing")
function Screenshot([Drawing.Rectangle]$bounds, $path) {
$bmp = New-Object Drawing.Bitmap $bounds.width, $bounds.height
$graphics = [Drawing.Graphics]::FromImage($bmp)
$graphics.CopyFromScreen($bounds.Location, [Drawing.Point]::Empty, $bounds.size)
$bmp.Save($path)
@0E800
0E800 / hulk.sh
Created Mar 10, 2017 — forked from tikenn/hulk.sh
Download IP ban list and format for NGINX
View hulk.sh
#!/bin/bash
#
# --------------------------------------------------------------------------------------------
# Nginx IP Address Deny List download and format
# --------------------------------------------------------------------------------------------
# This file pulls from http://www.stopforumspam.com/downloads/bannedips.zip to
# retrieve a list of IPs known to be associated with spam. The program
# downloads, unzips, and formats the IP addresses into an NGINX config using
# 'deny'
#
You can’t perform that action at this time.