Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Home!

Damian Brady Damovisa

🏠
Home!
View GitHub Profile
@Damovisa
Damovisa / DamianBrady.txt
Created December 4, 2022 03:52
ChatGPT-generated Wikipedia page
View DamianBrady.txt
NOTE: THIS IS GENERATED BY AN AI AND IS EXTREMELY INACCURATE!
Damian Brady is a software engineer and technical leader from Sydney, Australia. He is best known for his work on the DevOps movement, and for his contributions to the development of continuous delivery and infrastructure-as-code practices.
Brady was born in Sydney, and grew up in the inner-west suburb of Glebe. He studied computer science at the University of New South Wales, graduating in 2001. After graduation, he joined the software development team at Westpac Bank, where he worked on a number of high-profile projects including the development of an online banking platform.
In 2008, Brady joined ThoughtWorks, a global technology consultancy, where he worked on a number of large-scale software development projects for clients including the Australian Government and major banks. It was during this time that he became interested in the DevOps movement, which seeks to improve the collaboration between software development and operations teams.
In
@Damovisa
Damovisa / private-health.md
Last active August 25, 2022 07:38
Australian Private Health Insurance
View private-health.md

How Private Health Insurance works in Australia (for hospital procedures)

Disclaimer: I'm not an expert, and this is what I've gathered to the best of my ability. I could be wrong in parts. I'm almost certainly missing some detail and have some terminology wrong.

What happens when you go to hospital for a procedure?

If you end up in hospital for a procedure, you'll incur a number of costs. Insurance generally breaks these down into Hospital Expenses, and Medical Expenses. Hospital expenses are things like your bed on the ward, operating theatre fees, and administrative fees. Medical expenses are what your doctors charge - if it's an operation, that'll be your surgeon and the anaesthetist.

If you're a public patient at a public hospital, Medicare will pay for both of these. You shouldn't be out of pocket at all. But if you're a private patient at a public or private hospital, Medicare will only pay some. This is where private health insurance comes in. Private health insurance also means you

@Damovisa
Damovisa / azire-pipelines.yml
Created March 5, 2021 04:02
Azure Pipelines example
View azire-pipelines.yml
# ASP.NET
# Build and test ASP.NET projects.
# Add steps that publish symbols, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4
trigger:
branches:
include:
- master
paths:
@Damovisa
Damovisa / azure-pipelines.yml
Created October 10, 2018 23:56
Azure Pipelines YML for ASP.NET Core
View azure-pipelines.yml
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
pool:
vmImage: 'Ubuntu 16.04'
variables:
buildConfiguration: 'Release'
@Damovisa
Damovisa / Azure-docs-pr.md
Created July 26, 2017 18:13
Auto-replace /azure-docs edit link with /azure-docs-pr
View Azure-docs-pr.md

Raw javascript:

var tmp_editlink = document.getElementById('contenteditbtn').children[0];
tmp_editlink.href = tmp_editlink.href.replace('/azure-docs/','/azure-docs-pr/');

CJS chrome extension:

Install the extension here

  1. Go to a docs page with an edit link
@Damovisa
Damovisa / Asserṭ.cs
Last active April 29, 2017 18:38
We don't need no stinkin' tests (yes, this is a joke)
View Asserṭ.cs
namespace Microsoft.VisualStudio.TestTools.UnitTesting
{
public static class Asserṭ
{
public static void AreEqual(Object expected, Object actual, params object[] parameters) { }
public static void AreEqual<T>(T expected, T actual, params object[] parameters) { }
public static void AreNotEqual(Object expected, Object actual, params object[] parameters) { }
View OctopusLogoUpload.ps1
function Invoke-OctopusLogoUpload
{
[CmdletBinding()]
PARAM
(
[string][parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$InFile,
[string]$ContentType,
[Uri][parameter(Mandatory = $true)][ValidateNotNullOrEmpty()]$Uri,
[string][parameter(Mandatory = $true)]$ApiKey
)