Skip to content

Instantly share code, notes, and snippets.

View TomSoderling's full-sized avatar

Tom Soderling TomSoderling

View GitHub Profile
@TomSoderling
TomSoderling / gist:f3c20e22163cca755f46bac6f019b890
Created November 9, 2023 18:21
MAUI Sessions at .NET Conf 2023
Tuesday Nov 14
• 10am CST - Keynote: Welcome to .NET 8
• 1pm CST - Performance Improvements in .NET 8, ASP.NET Core, and .NET MAUI
• 5:45pm CST - What’s New in .NET MAUI
Wednesday Nov 15
• 5:30pm CST - Build hybrid apps with .NET MAUI
• 11pm CST - Spatial Data with Entity Framework Core and .NET MAUI
• 12:30am CST - Reactive programming with .NET MAUI
sudo rm -rf "/Applications/Visual Studio.app"
rm -rf ~/Library/Caches/VisualStudio
rm -rf ~/Library/Preferences/VisualStudio
rm -rf ~/Library/Preferences/Visual\ Studio
rm -rf ~/Library/Logs/VisualStudio
rm -rf ~/Library/VisualStudio
rm -rf ~/Library/Preferences/Xamarin/
rm -rf ~/Library/Application\ Support/VisualStudio
rm -rf ~/Library/Application\ Support/VisualStudio/7.0/LocalInstall/Addins/
@TomSoderling
TomSoderling / test.template.xml
Created June 6, 2020 21:13
Unit test Name and Outline code snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeTemplates version="3.0">
<CodeTemplate version="2.0">
<Header>
<_Group>C#</_Group>
<Version />
<MimeType>text/x-csharp</MimeType>
<Shortcut>test</Shortcut>
<_Description />
<TemplateType>Unknown</TemplateType>
@TomSoderling
TomSoderling / Code Snippet for VS for Mac
Last active June 6, 2020 21:12
Unit test Name and Outline snippet
[Test]
public void $UnitUnderTest$_$StateUnderTest$_$ExpectedResult$()
{
// Arrange
// Act
// Assert
}
@TomSoderling
TomSoderling / Clean out old Xcode archives.sh
Last active December 18, 2018 20:39
Bash script for cleaning out the Xcode archives folder
#!/bin/bash
# Script to clean out the old archives found in the Xcode/Archives folder
# Variables
archivesFolder="/Users/[your username goes here]/Library/Developer/Xcode/Archives"
echo "*******************************************************"
echo "* Xcode Archives Cleaner 2000"
echo "*******************************************************"
@TomSoderling
TomSoderling / Disable iOS Simulator Incoming Connections Popup.sh
Last active December 14, 2023 10:26
Bash script for turning off the iOS simulator pop-up message
#!/bin/bash
# Script to disable the iOS Simulator app from showing the "Do you want the application xxxx to accept incoming network connections?" pop-up every time the app is run
echo "> Enter password to temporarily shut firewall off"
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
echo "> Add Xcode as a firewall exception"
/usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Xcode.app/Contents/MacOS/Xcode