Skip to content

Instantly share code, notes, and snippets.

Brandon Parker bparker98

View GitHub Profile
bparker98 / 0001-BindAddress-ExternalAddress-Use220First.patch
Created Jul 22, 2011
Patch to add :BindAddress, :ExternalAddress, and :Use220First to @options, and to fix an issue with the PORT command
View 0001-BindAddress-ExternalAddress-Use220First.patch
From c0391fe1fbeee994daf4dd7263742e961a86c33e Mon Sep 17 00:00:00 2001
From: Brandon Parker <>
Date: Fri, 22 Jul 2011 13:09:26 -0600
Subject: [PATCH] Added :BindAddress to @options to set the IP Address to bind the server to. Added :ExternalAddress to @options to be able to test PASV support with a firewall. Added :Use220First to @options to have the server return a 220 response instead of a 200 response upon connection to fix compatibility with some FTP clients. Fixed an issue with the PORT command that prevented Active connections from working properly. Changed socket.accept in start() to be non-blocking so the server can be shut down cleaner.
lib/fake_ftp/server.rb | 51 ++++++++++++++++++++++++++++++++----------------
1 files changed, 34 insertions(+), 17 deletions(-)
diff --git a/lib/fake_ftp/server.rb b/lib/fake_ftp/server.rb
bparker98 / o365-notifications.user.js
Last active Apr 30, 2020
Office 365 Notifications Tampermonkey Script
View o365-notifications.user.js
// ==UserScript==
// @name Office 365 Notifications
// @namespace
// @version 0.4
// @description try to take over the world!
// @author Brandon Parker
// @match*
// @match*
// @iconURL
// @UpdateURL
You can’t perform that action at this time.