Skip to content

Instantly share code, notes, and snippets.

Eat. Sleep. Code.

Brett Morrison morrisonbrett

Eat. Sleep. Code.
View GitHub Profile
View pgpkey.txt
Version: GnuPG v2

Keybase proof

I hereby claim:

  • I am morrisonbrett on github.
  • I am brett ( on keybase.
  • I have a public key whose fingerprint is 0266 9B69 B305 D97F B840 96C1 85BA B00E E517 4D13

To claim this, I am signing this object:

morrisonbrett / pullrequests.go
Last active Feb 9, 2019
A Go program to iterate through a specified owner's repositories on BitBucket and display the status of open Pull Requests
View pullrequests.go
// Brett Morrison, June 2015
// A simple program to display a list of open pull requests from BitBucket ✔
package main
import (
morrisonbrett / package.json
Last active Jul 15, 2018
Example of npm script commands used in an Ionic project.
View package.json
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "npm run ionic:build",
"start": "concurrently \"npm run build:watch\" \"npm run serve\"",
"serve": "lite-server -c=bs-config.json",
"ionic:build": "gulp default && npm run lint && ionic-app-scripts build",
"ionic:serve": "gulp default && npm run lint && ionic-app-scripts serve --sourceMap source-map --iscordovaserve --wwwDir platforms/browser/www/ --buildDir platforms/browser/www/build",
"build-prod-browser": "gulp browser && ionic-app-scripts build browser --wwwDir platforms/browser/www --sourceMap source-map",
"build-dev-browser": "gulp browser && ionic-app-scripts build browser --wwwDir platforms/browser/www --sourceMap source-map --dev",
"build-dev-android": "gulp default && cordova build android --debug",
morrisonbrett / tslint.json
Last active Apr 21, 2020
My super OCD "make TypeScript like C#" linting file
View tslint.json
"rules": {
"align": [
"ban": false,
"class-name": true,
"comment-format": [
View blockstack
Verifying my Blockstack ID is secured with the address 1K5RfyxEmKYfWNLqjC78tXet7UJYcPG7dw
View dev-maintenance.json
"dashboard": {
"dashboardNative": true,
"dashboardNativeAllSubsidiaries": true,
"dashboardNativeSubsidiaryNames": [],
"dashboardNativeMessage": "We are working to improve your experience and expect to be back online soon. Thanks for your patience.",
"dashboardBrowser": true,
"dashboardBrowserAllSubsidiaries": false,
"dashboardBrowserSubsidiaryNames": ["elite", "mck", "stc"],
"dashboardBrowserMessage": "We are working to improve your experience and expect to be back online soon. Thanks for your patience.",
View openapi-status-header.cs
[OpenApiOperation(operationId: "Run", tags: new[] { "Status" })]
[OpenApiSecurity("function_key", SecuritySchemeType.ApiKey, Name = "code", In = OpenApiSecurityLocationType.Query)]
[OpenApiResponseWithBody(statusCode: HttpStatusCode.OK, contentType: "application/json", bodyType: typeof(StatusModel), Description = "OK")]
public async Task<IActionResult> Run(
morrisonbrett /
Last active Aug 24, 2022
Bash alias for combining MP4 files into one file
# Brett Morrison, June 2022
# Below is a script for concatenating multiple mp4 files into one mp4 file.
# This is useful for GoPro camera output. The workflow is:
# 1. Copy files from the GoPro microSD card onto a drive
# 2. Open up a command prompt and CD into the directory you put the MP4 files
# 3. Run the command, catmp4 with the output file name as the one and only parameter