Skip to content

Instantly share code, notes, and snippets.

View aaronsmulktis's full-sized avatar
🌐
Remote Control

Smokey aaronsmulktis

🌐
Remote Control
View GitHub Profile
@aaronsmulktis
aaronsmulktis / osx_setup.md
Last active August 1, 2022 20:00 — forked from millermedeiros/osx_setup.md
Mac OS X setup

Setup Mac OS X

==============

This note is just for personal reference in case I need to setup a new computer.

Edit: I've done the same process every couple years since 2013 (Mountain Lion, Mavericks and High Sierra).

Consider using Boxen to automate the installation of all necessary and desired softwares and tools.

@aaronsmulktis
aaronsmulktis / MauticCRM.md
Last active September 7, 2022 18:43
Helpful scripts for running the open source Mautic CRM

require new plugin
composer require mtcextendee/mautic-custom-deduplicate-bundle

Reload plugins
php app/console mautic:plugins:reload

De-duplicate contacts
sudo php app/console mautic:contacts:deduplicate

Instincts:

Put latest commit ID in variable

latestCommit="$(git rev-parse HEAD)"

Deploy via CLI

az pipelines build queue -p=Carvana.Projects --definition-name=Carvana.Campaigns.DEV --branch=refs/heads/@aaron.smulktis/develop --commit-id=${latestCommit}

Speedometer

npx @carvana/speedometer run -u https://apim.zagforward.com/spinner -b 5

# Helpful: https://www.freecodecamp.org/news/how-to-configure-your-macos-terminal-with-zsh-like-a-pro-c0ab3f3c1156/
# Helpful: https://github.com/alexramirez/mac-setup
# Helpful: https://github.com/mathiasbynens/dotfiles/blob/master/.macos
# Run this from ~/Library/Mobile\ Documents/com~apple~CloudDocs/Install-Everything.sh
# Ask for the administrator password upfront
# echo -n 'Your Password Sir: '
# sudo -v
# read -s password
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="terminalparty"
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.