Skip to content

Instantly share code, notes, and snippets.

Phil Banks emirpprime

Block or report user

Report or block emirpprime

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Tenzer /
Last active Nov 29, 2019
LastPass Pwned Passwords checker

LastPass Pwned Passwords checker

This is a script for checking if any of the passwords you have stored in LastPass have been exposed through previous data breaches.

To use the script you need to have Python 3 installed and you need a CSV export of your LastPass vault. The export can be generated from the LastPass CLI with:

lpass export > lastpass.csv

or can be extracted with the browser plugin by going to the LastPass icon → More Options → Advanced → Export → LastPass CSV File (note that I did have problems getting this to work).

thomaswitt / VPNConfigurationProfiles.mobileconfig
Last active Jan 15, 2020
An OnDemand VPN iOS profile for iPad and iPhone that automatically connects you to different VPNs (e.g. Meraki, FRITZ!Box and Streisand) | Blog-Entry:
View VPNConfigurationProfiles.mobileconfig
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<!-- Home: Manual -->
biinari / extract-123-reg-zonefile.js
Last active Nov 5, 2019
Script to extract the DNS entries from 123-reg advanced dns page
View extract-123-reg-zonefile.js
// Moved to a new home at
internationils /
Last active Feb 20, 2017
Create and apply Letsencrypt certificates to Gandi vhosts using certbot
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# v04 - 2016-08-10 combibe create and update loop
# v03 - 2016-08-10 more cleanups
# v02 - 2016-08-04 lots of cleanups, improved loop for updates
# v01 - basic functionality
# Installation script for a Wordpress 3.0 website on Ubuntu 10.04
# Josh Kersey
# Created: May 15, 2012
# Last Update: June 13, 2012
# get setup parameters
echo "apache vhost name (one word):"
View last-tab.js
(function () {
'use strict';
$('a[data-toggle="tab"]').on('', function (e) {
var id = $(this).parents('[role="tablist"]').attr('id');
var key = 'lastTag';
if (id) {
key += ':' + id;
View github-webhook-handler.php
* GitHub webhook handler template.
* @see
* @author Miloslav Hůla (
$hookSecret = 's.e.c.r.e.t'; # set NULL to disable check
sfrdmn / image_downloader.js
Last active Jul 16, 2019
Bookmarklet to download all images on a page
View image_downloader.js
;(function() {
var images = []'img'))
try {
images.forEach(function(img) {
} catch (e) {
alert("Download failed.");
console.log('Download failed.', e);
tott / ip_in_range.php
Created Nov 27, 2013
php check if IP is in given network range
View ip_in_range.php
* Check if a given ip is in a network
* @param string $ip IP to check in IPV4 format eg.
* @param string $range IP/CIDR netmask eg., also is accepted and /32 assumed
* @return boolean true if the ip is in this range / false if not.
function ip_in_range( $ip, $range ) {
if ( strpos( $range, '/' ) == false ) {
$range .= '/32';
maban / Maban Website
Last active Jul 8, 2019 — forked from malarkey/Contract Killer
My boilerplate contract
View Maban Website

Website Contract [month] [year]

Description of this Contract

This contract is not meant to trick or deceive you; the intention is purely to protect both parties. I have tried to keep the wording as plain as possible, but if anything is unclear, please let me know and I will be more than happy to clarify it with you. Also, until you sign it, please feel free to request to change bits of it to suit your requirements.

In short, [client name] is contracting me, [my name], to [description of my role] between [start date and finish date].

By signing this, you are confirming that you have the power and ability to enter into this contract on behalf of [client's company].

You can’t perform that action at this time.