Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
@austinsonger
austinsonger / _verify-repair-permissions-disk.md
Created December 13, 2024 20:58 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

New OS X Computer Setup

Below are the programs I install, the Preferences I change, and the configurations I tweak after doing a fresh install of macOS.

Homebrew / Cask

http://brew.sh/

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@austinsonger
austinsonger / keywords.json
Created December 13, 2024 20:49 — forked from theikkila/keywords.json
7000 skill keywords
[
"Automotive",
"Budgeting",
"HVAC",
"Heaters",
"Hydraulics",
"Logistics Management",
"Management",
"Negotiation",
"Project Planning",
@austinsonger
austinsonger / standalone-vivaldi-mac.md
Created December 13, 2024 20:48 — forked from ruario/standalone-vivaldi-mac.md
A small App that starts Vivaldi for Mac in such a way that it will store its profile within a subfolder (Useful for testing)

Vivaldi "Standalone Mode" on Mac

The following commands will produce a small application that allows you to run Vivaldi—or any other Chromium-based browser—in Standalone mode on a Mac. This could be used for testing a specific setup or version, without touching the system wide settings (profile). It can also be used to create a portable (USB install) of Vivaldi that you could store on an external disk, for sharing between computers.

Manual method

Start Terminal and issue the following:

mkdir -p Standalone\ Mode.app/Contents/MacOS
@austinsonger
austinsonger / launchd-for-services.md
Created December 13, 2024 20:41 — forked from johndturn/launchd-for-services.md
Overview of using launchd to set up services on a macOS machine.

launchd - Script Management in macOS

What is it?

  • Used on macOS for managing agents and daemons and can be used to run scripts at specified intervals
    • macOS's competitor to cron, along with other things
  • Runs Daemons and Agents

What is a Daemon?

@austinsonger
austinsonger / OffboardingEmailAutomation.gs
Last active December 13, 2024 19:55
Google Apps Script code automate a user’s offboarding process within a company. It retains the user’s emails by creating a Google Group and assigning the offboarded user’s primary email address to the group. The group is then automatically assigned to the offboarded employee's manager. Requires: Google Admin SDK and Gmail API.
/**
* Script to manage offboarding and setup email configurations, including user suspension.
* Requires Google Admin SDK and Gmail API to be enabled.
*/
// Constants
const OFFBOARDED_GROUP_EMAIL = "[email protected]"; // Group email address
const TEMP_EMAIL = "[email protected]";
const MANAGER_EMAIL = "[email protected]"; // Manager's email for notifications
const USER_EMAIL = "[email protected]"; // Regular user email address to offboard
@austinsonger
austinsonger / Code.gs
Last active December 13, 2024 06:23
Automation of Google Group Creation and Membership Management Using Google Apps Script
// Create a Google Group and add a member
function createGroupAndAddMember() {
const groupEmail = '<PlaceHolder>@cirrusmd.com'; // Replace with the desired group email
const groupName = '<New Group Name>'; // Replace with the group name
const description = 'This is a new group created via Apps Script';
const memberEmail = '[email protected]';
const service = getOAuthService();
if (!service.hasAccess()) {
Logger.log('Authorization required. Visit: %s', service.getAuthorizationUrl());
@austinsonger
austinsonger / A-Z-Dirty_Slang_And_Kink_Dictionary.json
Last active December 12, 2024 01:20
Dirty Slang and Kink Dictionary
{
"DirtyDictionary": {
"A": [
{
"Term": "ABC party",
"Definition": "“Anything but clothes” theme party in which guests can come naked or draped in non-traditional coverups, such as duct tape, boxes, newspaper…"
},
{
"Term": "ABC Sex",
"Definition": "In a long-term relationship when a couple only has sex on anniversaries, birthdays, and Christmas."
@austinsonger
austinsonger / Google Search Queries for Clinical Laboratory Scientist.md
Last active December 8, 2024 16:13
Google Search Queries for Clinical Laboratory Scientist

Once you find queries to your liking. Use the following to give you noitication on new jobs pop up via the query. https://alerts.talkwalker.com/alerts/new

Query Examples

Query 1

(Clinical Laboratory Scientist AND Chicago OR Remote) AND (site:jobs.lever.co | site:apply.workable.com | site:breezy.hr | site:applytojob.com | site:bamboohr.com | site:boards.greenhouse.io | site:jobs.jobvite.com)

+Clinical Laboratory Scientist AND (Chicago OR Remote) AND (site:jobs.lever.co | site:apply.workable.com | site:breezy.hr | site:applytojob.com | site:bamboohr.com | site:boards.greenhouse.io | site:jobs.jobvite.com)