Skip to content

Instantly share code, notes, and snippets.

Sean Patterson Dillie-O

Block or report user

Report or block Dillie-O

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
Dillie-O / parse_json_into_list.cs
Created Mar 11, 2019
[Parse JSON into List] Parse JSON into List<T> #dotnetcore
View parse_json_into_list.cs
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
var pathToSeedData = Path.Combine(Directory.GetCurrentDirectory(), "Data", "duck_seed.json");
var dataSet = File.ReadAllText(pathToSeedData);
var seedData = JsonConvert.DeserializeObject<List<Duck>>(dataSet);
Dillie-O / my-gotomeeting.txt
Last active Jun 26, 2018
[My GoToMeeting] Invite text for personal GoToMeeting channel #gotomeeting #meeting #starred
View my-gotomeeting.txt
Sean's Digital Think Tank
Please join my meeting from your computer, tablet or smartphone.
You can also dial in using your phone.
United States: +1 (571) 317-3122
Access Code: 620-705-565
Dillie-O /
Created Jan 5, 2018
[Add rbenv to ZSH] Adds rbenv command to be accessible in ZSH (if available) #zsh #environment #configuration #ruby
# load rbenv if available
if command -v rbenv >/dev/null; then
eval "$(rbenv init - zsh --no-rehash)"
Dillie-O /
Created Jan 5, 2018
[WSL Remove Win Path in ZSH] Remove windows specific path from WSL environment in ZSHRC #wsl #environment #configuration
# Remove Windows paths to Ruby since it causes conflicts with npm/bower/etc.
PATH=$(echo :$PATH: | sed -e 's,:/mnt/c/tools/ruby22/bin:,:,g' -e 's/^://' -e 's/:$//')
Dillie-O / postman_environment_variable.js
Created Jan 2, 2018
[Postman Environment Variable Update] Updates environment variable in Postman. Use in 'Tests' section. #postman #api #environment
View postman_environment_variable.js
var jsonData = JSON.parse(responseBody);
Dillie-O / find_tables_with_column.sql
Created Oct 17, 2017
[Find Tables with Column] Finds all tables with column names matching input #sql
View find_tables_with_column.sql
SELECT AS ColName, AS TableName
FROM sys.columns c
JOIN sys.tables t ON c.object_id = t.object_id
Dillie-O /
Created Sep 14, 2017
[Convert SSL Cerfiticate CER to PFX] Convert SSL Certificate for Azure Use #ssl #cer #pfx #pkcs7 #pkcs12
openssl pkcs12 -export -out final_name.pfx -inkey private_key.key -in original_certificate.crt
Dillie-O / azure_specify_build
Last active Jul 20, 2017
[Azure Specify Build] Specify specific build config for deployment #azure #deployment #configuration
View azure_specify_build
In the Application settings, add the following key/value pair
Value: -p:Configuration=Debug
Dillie-O / azure_project_deploy.txt
Created Jul 20, 2017
[Azure Specify Project] Specify specific project for deployment #azure #deployment #configuration
View azure_project_deploy.txt
In the Application settings add the following key/value pair
Key: Project
Value: webui/webui.csproj
Dillie-O /
Created Jul 3, 2017
[Build DTI Documentation] WSL build command to help with paths #dti #build #apiary #hercule
hercule main.apib -o apiary.apib && apiary preview --output=/mnt/c/Users/dilli/Projects/apiary-preview.html
You can’t perform that action at this time.