Skip to content

Instantly share code, notes, and snippets.

@messageagency
messageagency / gist:56cc14895b748590c1e0
Created February 5, 2015 20:08
Sequel Pro process sample during high CPU usage
This file has been truncated, but you can view the full file.
Sampling process 10234 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Sequel Pro (pid 10234) every 1 millisecond
Process: Sequel Pro [10234]
Path: /Applications/Sequel Pro.app/Contents/MacOS/Sequel Pro
Load Address: 0x100000000
Identifier: com.sequelpro.SequelPro
Version: 1.0.2 (4096)
Code Type: X86-64
Parent Process: ??? [1]
@messageagency
messageagency / pconnect.sh
Last active March 30, 2021 21:47
Pantheon DB Connection Script
#!/bin/sh
# exit on any errors:
set -e
if [ $# -lt 1 ]
then
echo "Usage: $0 @pantheon-alias"
exit 1
fi