Skip to content

Instantly share code, notes, and snippets.

Brandon Parker bparker98

Block or report user

Report or block bparker98

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
@bparker98
bparker98 / o365-notifications.user.js
Last active Mar 21, 2019
Office 365 Notifications Tampermonkey Script
View o365-notifications.user.js
// ==UserScript==
// @name Office 365 Notifications
// @namespace http://tampermonkey.net/
// @version 0.4
// @description try to take over the world!
// @author Brandon Parker
// @match https://outlook.office365.com/*
// @match https://outlook.office.com/*
// @iconURL https://r1.res.office365.com/owa/prem/16.1630.12.2223203/resources/images/0/favicon_mail.ico
// @UpdateURL https://gist.githubusercontent.com/bparker98/fdd125541c8ec9c676ca435e9eb9165a/raw/o365-notifications.user.js
@bparker98
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 <bparker@cradlepoint.com>
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
You can’t perform that action at this time.