Skip to content

Instantly share code, notes, and snippets.

Harrison Goldstein hgoldstein95

Block or report user

Report or block hgoldstein95

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
View EmailDomainMatch.vba
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
On Error Resume Next
Dim recip As Outlook.Recipient
Dim ToAddress As String
Dim FromAddress As String
Dim pa As Outlook.PropertyAccessor
Dim shouldPrompt As Boolean
Dim Whitelist
Const PR_SMTP_ADDRESS As String = _
@hgoldstein95
hgoldstein95 / regex-deriv.hs
Created Sep 30, 2017
A regular expression matcher using Brzozowski derivatives.
View regex-deriv.hs
data Regex
= Empty
| Single Char
| Alt Regex
Regex
| Con Regex
Regex
| Star Regex
deriving (Show)
@hgoldstein95
hgoldstein95 / init.vim
Created Nov 28, 2016
Very simple vim configuration.
View init.vim
" Minimal vimrc for portable use.
" - Harrison Goldstein
set nocompatible
" Appearance
colorscheme morning
syntax on
if &term == "xterm"
set term=xterm-256color
View .vimrc
" --------------------------
" Harrison Goldstein's VIMRC
" --------------------------
" Vudle
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle.vim
call vundle#begin()
Plugin 'VundleVim/vundle.vim'
@hgoldstein95
hgoldstein95 / .bashrc
Created Nov 27, 2015
Bash Profile Script
View .bashrc
## Defaults ##
case $- in
*i*) ;;
*) return;;
esac
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
@hgoldstein95
hgoldstein95 / gulpfile.js
Created Aug 17, 2015
Standard Gulpfile for Sass and Jade
View gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var jade = require('gulp-jade');
var browserSync = require('browser-sync').create();
var autoprefixer = require('gulp-autoprefixer');
var sassPath = '/path/to/sass';
var scssPath = '/path/to/scss';
var cssPath = '/path/to/css'
You can’t perform that action at this time.