Skip to content

Instantly share code, notes, and snippets.

View miketrebilcock's full-sized avatar

Mike Trebilcock miketrebilcock

View GitHub Profile
@miketrebilcock
miketrebilcock / install.sh
Last active August 24, 2020 20:39
OrangePi Install Script
apt update
apt upgrade
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt -y install nodejs
## https://diyprojects.io/orange-pi-review-opi-gpio-package-node-red-node-red-contrib-opi-gpio/#.X0QkspNKjmE
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask google-chrome
brew install --cask vscodium
brew install --cask postman
brew install --cask zoom
brew install --cask microsoft-teams
brew install --cask android-studio
brew install --cask flutter
brew install --cask fork
brew install git-lfs
@miketrebilcock
miketrebilcock / PasswordResetService.cs
Last active August 14, 2022 21:16
Password Resetting in Servicestack
using CORE.Kernel.ExtensionMethods;
using CORE.Models;
using ServiceStack.Common;
using ServiceStack.Common.Web;
using ServiceStack.FluentValidation;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface;
using ServiceStack.ServiceInterface.Auth;
using ServiceStack.ServiceInterface.ServiceModel;
using ServiceStack.ServiceInterface.Validation;