Skip to content

Instantly share code, notes, and snippets.

View qcomer's full-sized avatar

Quinntin Comer qcomer

View GitHub Profile
@connect-tahsin-khan
connect-tahsin-khan / ghl.css
Created November 8, 2023 12:01
Velumnia GHL CSS
.transition-slowest .flex-col > .overflow-hidden {
color: #aeb9e1;
background-color: #080f25;
font-family: 'Mona Sans', sans-serif;
font-size: 12px;
font-weight: 500;
line-height: 1.5em;
border-right: 1px solid rgba(174, 185, 225, 0.50);
background: #080f25;
@simple10
simple10 / ghl_survey.css
Created May 30, 2023 19:00
GHL (Go High Level) survey form CSS style customization.
/* From https://ghlexperts.com/survey-blue-navigation-bar-placement */
@charset "UTF-8";
#_builder-form > div.ghl-footer {
background: #349DFF;
position: relative;
bottom: 0;
top: auto;
left: 0;
right: 0;
let value;
try {
const elements = Array.from(document.querySelectorAll('.oc-product-total .item-total'));
const numberElements = elements.filter(el => !isNaN(parseFloat(el.textContent)));
if (numberElements.length > 0) {
value = parseFloat(numberElements[0].textContent);
}
} catch (error) {
console.error(error);
}
@nikkanetiya
nikkanetiya / blue-theme.css
Last active October 16, 2024 20:36
GHL-Theme
:root {
--sidebar-bg-color: #0c2d3f;
--sidebar-parent-active-li-bg-color: rgba(24, 139, 246, .1);
--sidebar-li-color: #ffffff;
--sidebar-collapse-li-bg-color: #103855;
--custom-link-color: #38a0db;
--custom-primary: rgb(56, 160, 219);
--custom-primary-border-color: rgba(24, 139, 246, .1);
--custom-yellow-color: #ff6600;
--custom-yellow-active: #ff9900;
@AndrewPaglusch
AndrewPaglusch / password_check.sh
Last active May 16, 2023 22:16
Active Directory - Get User's Password Expiration Date
#!/bin/bash
# MIT License
#
# Copyright (c) 2020 Andrew Paglusch
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
using namespace System.Net
# Input bindings are passed in via param block.
param($Request, $TriggerMetadata)
# Write to the Azure Functions log stream.
Write-Host "PowerShell HTTP trigger function processed a request."
# Interact with query parameters or the body of the request.
$FirstName = $Request.Query.FirstName # Query based parameters
@rtrouton
rtrouton / gist:3ac68ac3770ab23ebae354c581f526b7
Last active February 12, 2026 13:39
MigrateADMobileAccountToLocalAccount.command script
#!/bin/bash
# Modified 4/5/2019
Version=1.4
# Original source is from MigrateUserHomeToDomainAcct.sh
# Written by Patrick Gallagher - https://twitter.com/patgmac
#
# Guidance and inspiration from Lisa Davies:
# http://lisacherie.com/?p=239
#
# Modified by Rich Trouton
@9to5IT
9to5IT / Manage-ADOUs.ps1
Created July 4, 2016 12:09
PowerShell: Cleanup empty AD OUs
Import-Module ActiveDirectory
#-------------------------------
# FIND EMPTY OUs
#-------------------------------
# Get empty AD Organizational Units
$OUs = Get-ADOrganizationalUnit -Filter * | ForEach-Object { If ( !( Get-ADObject -Filter * -SearchBase $_ -SearchScope OneLevel) ) { $_ } } | Select-Object Name, DistinguishedName
#-------------------------------
@9to5IT
9to5IT / Script_Template.ps1
Last active March 29, 2026 04:44
PowerShell: Script Template
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
@9to5IT
9to5IT / Logging_Functions.ps1
Last active April 15, 2025 13:52
PowerShell: Logging Functions
Function Log-Start{
<#
.SYNOPSIS
Creates log file
.DESCRIPTION
Creates log file with path and name that is passed. Checks if log file exists, and if it does deletes it and creates a new one.
Once created, writes initial logging data
.PARAMETER LogPath