Skip to content

Instantly share code, notes, and snippets.

@liamfoneill
liamfoneill / bootstrap.ps1
Created October 25, 2021 11:05
This is a file I use to bootstrap a new Windows installation with all of the applications and tools that I use. Ideally I would get everything from Winget but there are times when I need to get the apps from chocolately or Windows Store.
winget install code52.Carnac -s winget
winget install Github.GithubDesktop -s winget
winget install Postman.Postman -s winget
winget install Github.cli -s winget
winget install Microsoft.Powertoys -s winget
winget install Microsoft.AzureCLI -s winget
winget install Microsoft.VisualStudioCode -s winget
winget install Microsoft.VisualStudio.2022.Enterprise -s winget
winget install Microsoft.Bicep -s winget
winget install Microsoft.Teams -s winget
@alirobe
alirobe / PostToUrlAsJson.cs
Last active March 25, 2024 14:41
Umbraco Forms Workflow - POST to URL as JSON (with optional Bearer Access Token). Just place this file anywhere in your Umbraco+Forms project, and the dependency injection will pick it up. This will allow you to connect to Microsoft Flow or Zapier or any integration web service, from which you can send to Salesforce/Dynamics/etc.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Dynamic;
using System.Net;
using System.Text.RegularExpressions;
using Umbraco.Core.Logging;
using Umbraco.Forms.Core;
using Umbraco.Forms.Core.Attributes;
@hetfirma
hetfirma / PostToUrlAsJson.cs
Last active April 5, 2024 21:55 — forked from alirobe/PostToUrlAsJson.cs
Umbraco Forms Workflow - POST to URL as JSON (with optional Bearer Access Token). Just place this file anywhere in your Umbraco+Forms project, and the dependency injection will pick it up. This will allow you to connect to Microsoft Flow or Zapier or any integration web service, from which you can send to Salesforce/Dynamics/etc.
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Dynamic;
using System.Net;
using System.Net.Http.Headers;
using System.Runtime.CompilerServices;
using System.Text;
using Umbraco.Cms.Core.Models.PublishedContent;
@malarkey
malarkey / Contract Killer 3.md
Last active April 16, 2024 21:44
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………