Skip to content

Instantly share code, notes, and snippets.

@fireball8931
fireball8931 / aeci-lead-schema.json
Created May 5, 2026 16:14
Lead Schema for AECI
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "AECI Lead Schema",
"type": "object",
"properties": {
"fullName": {
"type": "object",
"title": "Full Name",
"properties": {
"firstName": {
alert('yomama');
.newLead {
background-color: pink;
}
//document.getElementById("newLead").parentNode.parentNode.style.filter = "brightness(0.8)";
console.log("It Works");
@fireball8931
fireball8931 / defaultFilename
Created February 1, 2023 20:19
New meeting
# Create the necessary appId || clientId and tenantId to use the Microsoft Graph
$appId = '<APP_ID>'
$clientId = '<CLIENT_ID>'
$tenantId = '<TENANT_ID>'
# Store the necessary authorization info, such as the secret and the redirect URI
$secret = '<SECRET>'
$redirectUri= 'https://<RESOLVED_URI>'
# Initialize a new Graph application
@fireball8931
fireball8931 / Blockreminders.ps1
Created February 1, 2023 20:16
New activate blocks
$startDate = Get-Date -Year 2023 -Month 2 -Day 25
$firstEventName = 'Calendar Event 1'
$secondEventName = 'Calendar Event 2'
$thirdEventName = 'Calendar Event 3'
New-OutlookCalendarItem -Subject $firstEventName -Start $startDate -Duration (60)
$secondEvent = $startDate.AddMonths(2)
New-OutlookCalendarItem -Subject $secondEventName -Start $secondEvent -Duration (60)
@fireball8931
fireball8931 / UpdateSRC.ps1
Created February 1, 2023 13:49
Update Choco installer
#Prompt user for the new version number
$newVersion = Read-Host 'Please enter the new version number';
#Read the nuspec file to get the current version number
$nuspecFilePath = "$pwd/MyNuspecFile.nuspec"
$nuspecContent = Get-Content -Path $nuspecFile
$versionNumber = ($nuspecContent | Select-String -Pattern "<version>.*</version>" -AllMatches | ForEach-Object { $_.Matches } | Select-Object Value).Value
#Create a copy of the current folder with the new version number
$currentDirectory = Get-Location
@fireball8931
fireball8931 / defaultFilename
Created January 31, 2023 02:30
Example of pseudo code for submitting data to a db
<html>
<body>
//form to store contact information
<form action="store.php" method="post">
//prompts for entering contact information
Name: <input type="text" name="Name" />
Email: <input type="text" name="Email" />
Message: <input type="textarea" name="Message" />
<input type="submit" value="Submit" />
</form>
([Environment]::GetFolderPath("Desktop"))