Skip to content

Instantly share code, notes, and snippets.

{"name":"Harry-Base","settings":"{\"settings\":\"{\\n \\\"[latex]\\\": {\\n \\\"editor.formatOnSave\\\": false,\\n \\\"editor.quickSuggestions\\\": {\\n \\\"other\\\": \\\"off\\\",\\n \\\"comments\\\": \\\"off\\\",\\n \\\"strings\\\": \\\"off\\\"\\n },\\n \\\"vim.textwidth\\\": 80,\\n \\\"editor.wordWrapColumn\\\": 80,\\n \\\"rewrap.autoWrap.enabled\\\": true,\\n \\\"files.trimTrailingWhitespace\\\": false, // TODO: Remove this\\n },\\n \\\"[text]\\\": {\\n \\\"rewrap.autoWrap.enabled\\\": true,\\n },\\n \\\"[markdown]\\\": {\\n \\\"rewrap.autoWrap.enabled\\\": true,\\n },\\n \\\"[python]\\\": {\\n \\\"editor.tabSize\\\": 4,\\n \\\"editor.formatOnType\\\": true\\n },\\n \\\"[rust]\\\": {\\n \\\"editor.tabSize\\\": 4\\n },\\n \\\"cSpell.enableFiletypes\\\": [\\n \\\"!go\\\",\\n \\\"!haskell\\\",\\n \\\"!hs\\\",\\n \\\"!java\\\",\\n \\\"!jsonc\\\",\\n \\\"!py\\\",\\n \\\"!python\\\",\\n \\\"!rust\\\",\\n \\\"!scss\\\",\\n
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE ViewPatterns #-}
{-# OPTIONS_GHC -Wall -Werror #-}
module Sudoku where
import Data.Char (intToDigit)
import Data.List (intercalate, sortOn)
import Data.List.NonEmpty (NonEmpty (..))
import qualified Data.List.NonEmpty as NE
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 September 30, 2017 17:00
A regular expression matcher using Brzozowski derivatives.
data Regex
= Empty
| Single Char
| Alt Regex
Regex
| Con Regex
Regex
| Star Regex
deriving (Show)
@hgoldstein95
hgoldstein95 / init.vim
Created November 28, 2016 17:53
Very simple vim configuration.
" Minimal vimrc for portable use.
" - Harrison Goldstein
set nocompatible
" Appearance
colorscheme morning
syntax on
if &term == "xterm"
set term=xterm-256color
" --------------------------
" 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 November 27, 2015 04:12
Bash Profile Script
## Defaults ##
case $- in
*i*) ;;
*) return;;
esac
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
@hgoldstein95
hgoldstein95 / gulpfile.js
Created August 17, 2015 18:50
Standard Gulpfile for Sass and Jade
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'