Skip to content

Instantly share code, notes, and snippets.

View Damovisa's full-sized avatar
🏠
Home!

Damian Brady Damovisa

🏠
Home!
View GitHub Profile
@Damovisa
Damovisa / links.md
Last active April 19, 2024 22:44
Useful links from the "Finding your Signature Talk" presentation
@Damovisa
Damovisa / code.gs
Last active February 16, 2023 13:22
Google Apps Script to mark all non-starred unread emails as read
function getInboxUnreadCount() {
Logger.log(GmailApp.getInboxUnreadCount() + " unread emails");
}
function setAllUnreadNonStarredAsRead() {
// Define the search string to identify emails
var searchString = "is:unread -is:starred in:inbox";
// Get all threads matching search string
var threads = GmailApp.search(searchString,0,500);
@Damovisa
Damovisa / DamianBrady.txt
Created December 4, 2022 03:52
ChatGPT-generated Wikipedia page
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

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
# 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
# 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

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