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 / .bash_profile
Created December 13, 2024 21:05 — forked from Kyrremann/.bash_profile
My dotfiles
echo ".bash_profile"
# Harden homebrew
# from: https://github.com/AtropineTears/TheMacHardeningScripts/blob/main/AutoHarden_MacOSX/scripts/brew/brew-harden.sh
export HOMEBREW_NO_INSECURE_REDIRECT=1
export HOMEBREW_FORCE_BREWED_CURL=1
export HOMEBREW_AUTO_UPDATE_SECS=60
export HOMEBREW_DISPLAY_INSTALL_TIMES=1
export HOMEBREW_NO_ANALYTICS=1
export HOMEBREW_AUTO_UPDATE_SECS=300
@austinsonger
austinsonger / .bash_profile
Created December 13, 2024 21:04 — forked from richy486/.bash_profile
bash profile
# BASH PROFILE!!
# reload without closing terminal window with $ source ~/.bash_profile
# Alias'
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"
alias ls="ls -G -a -l"
alias glog="git log --graph --date-order --date=relative --color=always --oneline"
alias gstat="git status -s"
alias mm?="git branch --merged master"
alias cdd="rm -rf ~/Library/Developer/Xcode/DerivedData"
@austinsonger
austinsonger / bash-cheatsheet.sh
Created December 13, 2024 21:03 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@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?