Skip to content

Instantly share code, notes, and snippets.

Incident Identifier: 6DFD9061-7147-422C-876C-2929D148418E
CrashReporter Key: 198c663abe575c4280231dd26697796d750f7a31
Hardware Model: iPhone9,4
Process: ChatSecure [24039]
Path: /var/containers/Bundle/Application/4B3E8D39-6189-413E-BA9E-630C40183E9B/ChatSecure.app/ChatSecure
Identifier: com.chrisballinger.ChatSecure
Version: 4.0 (54)
Code Type: ARM-64
Parent Process: ? [1]
@chrisballinger
chrisballinger / dino.rb
Last active April 11, 2024 11:12
Homebrew formular for dino.
class Dino < Formula
desc "Modern Jabber/XMPP Client using GTK+/Vala "
homepage "https://dino.im"
## TODO: This is not really a version, but a dummy that's not going to work.
# url "https://github.com/dino/dino/archive/0.0.tar.gz"
# sha256 "a951b50559671ab30e74304ddc66c943405c8ad1bcbe4d77bef647a081fd0dbb"
head do
url "https://github.com/dino/dino.git"
@chrisballinger
chrisballinger / show_on_github.sh
Last active March 21, 2018 22:11
Opens a local file on GitHub (macOS)
#!/usr/bin/env bash
set -e
FILE_PATH="${1}"
FILE_DIR="$(dirname "${FILE_PATH}")"
cd ${FILE_DIR}
GIT_ROOT="$(git rev-parse --git-dir)/.."
REMOTES="$(git remote -v)"
GITHUB_REPO="$(sed 's/.*github.com:\(.*\).git.*/\1/' <<< "${REMOTES}" | head -1)"
GITHUB_PATH="$(/usr/local/bin/grealpath --relative-to="${GIT_ROOT}" "${FILE_PATH}")"
GITHUB_URL="https://github.com/${GITHUB_REPO}/blob/develop/${GITHUB_PATH}"