Skip to content

Instantly share code, notes, and snippets.

View chivalry's full-sized avatar
👨‍💻
Converting coffee into software.

Charles Ross chivalry

👨‍💻
Converting coffee into software.
  • Chivalry Software
  • San Jacinto, CA
View GitHub Profile
#!/bin/bash
#Usage: Execute the following command:
<<COMMENT1
curl -L https://gist.github.com/fec506918e9183de1833/raw/ | bash -x
COMMENT1
@chivalry
chivalry / keystroke_shortcuts.applescript
Created May 27, 2018 23:47 — forked from ttscoff/keystroke_shortcuts.applescript
A few helpers for sending keystrokes and typing strings with AppleScript
-- set the application to type into
-- you need to activate and focus a window prior to calling keyCmd
property process_name : "Finder"
on lowercase(_text)
set _output to do shell script "echo " & quoted form of (_text) & " | tr A-Z a-z"
return _output
end lowercase
(* Trigger a hotkey or character
@chivalry
chivalry / package.xml
Created February 26, 2021 16:47 — forked from shanerk/package.xml
Salesforce package.xml file to get all metadata from your org. Works great with vscode and cli.
<?xml version="1.0" encoding="UTF-8" ?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<types>
<members>*</members>
<name>ApexComponent</name>
</types>