Skip to content

Instantly share code, notes, and snippets.

View brianfeucht's full-sized avatar

Brian Feucht brianfeucht

  • Remote, Pacific Northwest, United States
View GitHub Profile
@brianfeucht
brianfeucht / gist:79816b152dc8b6a11c2195f5c410caf9
Created January 10, 2021 22:41
billing@yourt1wifi.com Facebook Twitter Block Email
From: <billing@yourt1wifi.com>
Date: Sun, Jan 10, 2021 at 1:05 PM
Subject: Blocking Sites for Censorship
To: <billing@yourt1wifi.com>
Dear Customer,
@brianfeucht
brianfeucht / Sample.csproj
Created September 16, 2016 22:48
Paket System.Net.Http.Formatting Problems
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
<ItemGroup>
<Reference Include="System.Net.Http.Formatting">
<HintPath>..\..\packages\Microsoft.AspNet.WebApi.Client\lib\net45\System.Net.Http.Formatting.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
<Reference Include="System.Net.Http">
<Paket>True</Paket>

Keybase proof

I hereby claim:

  • I am brianfeucht on github.
  • I am brianfeucht (https://keybase.io/brianfeucht) on keybase.
  • I have a public key whose fingerprint is D8FA 56D9 E4C0 F97F E020 D0F6 5FA7 A549 D7AE C349

To claim this, I am signing this object:

@brianfeucht
brianfeucht / ngnix.vagrant
Created October 22, 2013 23:19
Basic Vagrant file to install ubuntu with ngnix installed
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :forwarded_port, guest: 80, host: 8523
@brianfeucht
brianfeucht / installNginx
Created October 22, 2013 23:13
nginx ubunutu install
sudo apt-get update
sudo apt-get install nginx -y
sudo service nginx start
@brianfeucht
brianfeucht / PhotoboothButton.ino
Last active December 18, 2015 05:59
Requires USB HID Firmware which can be found at http://mitchtech.net/arduino-usb-hid-keyboard/ Works with Webcam Photobooth. When button1 is pushed it sends ctrl+p & F3 which triggers color photo taking. When button2 is pushed it sends ctrl+v & f7 which triggers video
#define KEY_LEFT_CTRL 0x01
#define KEY_LEFT_SHIFT 0x02
#define KEY_RIGHT_CTRL 0x10
#define KEY_RIGHT_SHIFT 0x20
const int button1Pin = 2;
const int button2Pin = 7;
const int ledPin = 13;
// Keycode 60 is F3.