Skip to content

Instantly share code, notes, and snippets.

View marshallvaughn's full-sized avatar
🛠️

Marshall Vaughn marshallvaughn

🛠️
View GitHub Profile
@kconner
kconner / macOS Internals.md
Last active June 18, 2024 10:28
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@marshallvaughn
marshallvaughn / dev-resources.md
Last active December 7, 2021 18:49
dev-resources

Dev Resources

A simple collection of scripts/sites I find useful day-to-day. Feel free to use or copy as you wish.

@marshallvaughn
marshallvaughn / getFieldsOnObject.sh
Created September 9, 2020 22:05
sdfx — Field / Object Definition Cookbook
sfdx force:data:soql:query -q "SELECT DataType, QualifiedApiName FROM FieldDefinition WHERE EntityDefinitionId = '$_OBJECTID'" -t
@johnfedoruk
johnfedoruk / gpg_user_guide.md
Last active January 26, 2024 08:54
A simple GPG user guide

GPG User Guide

Author: John A. Fedoruk <johnny@johnfedoruk.ca>
Key ID: 8937446102D51067EB90DB6AB229A6E87086AD48
Date: 2019-07-03

Overview

@valter-silva-au
valter-silva-au / install-intellij.sh
Created August 28, 2017 12:51
How to install Intellij Community Edition with homebrew-cask
$ brew cask install caskroom/cask/intellij-idea-ce
@troyfontaine
troyfontaine / 1-setup.md
Last active June 19, 2024 20:13
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

@KevinAst
KevinAst / article.md
Last active March 5, 2023 13:24
Integrating GitBook with JSDoc to Document Your Open Source Project

Integrating GitBook with JSDoc to Document Your Open Source Project

Introduction

Good documentation should include two distinct elements - a Guide and an API:

  1. The Guide builds concepts, providing examples, etc.

GitBook is well suited to

@Synchro
Synchro / sfprefix.php
Created January 19, 2017 14:46
Salesforce prefix to entity name mapping
<?php
/**
* Mapping array for salesforce ID prefixes to entity name & description.
* @link http://www.fishofprey.com/2011/09/obscure-salesforce-object-key-prefixes.html
* Convert copy/paste from that page with:
* Search: '^([a-zA-Z0-9]+)[ \t]+(\w+)[ \t]*(.*)$'
* Replace: ' '$1' => ['$2', '$3'],'
* @author Marcus Bointon <marcus@synchromedia.co.uk>
*/
@mscuthbert
mscuthbert / thingsToCal.scpt
Created June 26, 2016 19:41
Javascript for Automation (JXA) task to take Cultured Code Things Today list tagged with times and put it in calendar
/**
* ThingsToCal -- Copyright (c) 2016 Michael Scott Cuthbert
* Released under a BSD License
*
*/
ObjC.import("stdlib");
class ThingsOrganizer {
constructor() {
@VivekMChawla
VivekMChawla / 00 - Salesforce Snippets: Comment Headers.md
Last active June 5, 2024 17:22
Collection of Apex "Comment Header" snippets.

This gist contains multiple files. Each file contains a specific type of Apex or Visualforce comment header.

When code is no longer used, but can not be deleted from your org, add the @deprecated annotation to the File or Method Header.