Skip to content

Instantly share code, notes, and snippets.

View doctorfree's full-sized avatar

Ronald Record doctorfree

View GitHub Profile
@doctorfree
doctorfree / install-pacman-debian.sh
Created June 28, 2024 00:08
Install Arch Linux packaging utilities on Ubuntu Linux
#!/bin/bash
#
# Install pacman, makepkg, and Arch packaging utilities on Ubuntu Linux
#
# Written 2024-06-27 by Ronald Joe Record <ronaldrecord@gmail.com>
sudo apt -q -y install --no-install-recommends \
git pkg-config meson gcc libtool libgpgme-dev libarchive-dev ninja-build \
libcurl4-openssl-dev libssl-dev curl gettext python3 python3-setuptools \
dash gawk ca-certificates fakeroot fakechroot libarchive-tools
@doctorfree
doctorfree / keybase.md
Created September 19, 2023 19:34
Keybase verification

Keybase proof

I hereby claim:

  • I am doctorfree on github.
  • I am ronrecord (https://keybase.io/ronrecord) on keybase.
  • I have a public key ASBJjgRZPzEvZ4rJFeSqjcP8HnHt0ZAoDGcvIjrm-hKeHgo

To claim this, I am signing this object:

@doctorfree
doctorfree / gh_get_latest.sh
Created September 25, 2022 22:43
Install latest platform/architecture specific release asset using either Github or Gitlab API
#!/bin/bash
#
# gh_get_latest - retrieve the latest release of a Github repository release
#
# Usage: gh_get_latest [-i] [-l] [-L] [-o owner] [-p project]
#
# Filtering the returned JSON object from the API request with:
#
# curl --silent "${API_URL}" | \
# jq --raw-output '.assets | .[]?.browser_download_url'
@doctorfree
doctorfree / ifttt.sh
Created January 30, 2017 16:36
Send IFTTT phone channel an SMS
#!/bin/bash
#
# ifttt - Send a text message to my IFTTT phone channel with a tag that
# triggers a corresponding Harmony activity.
#
# My IFTTT Phone Channel number
# (Replace ########## with your IFTTT phone number)
IFT="##########"
MSG=
@doctorfree
doctorfree / ifttt
Created January 30, 2017 16:20
Send IFTTT phone channel a tagged SMS
#!/bin/bash
#
# ifttt - Send a text message to my IFTTT phone channel with a tag that
# triggers a corresponding Harmony activity.
#
# My IFTTT Phone Channel number
# (Replace ########## with your IFTTT phone number)
IFT="##########"
MSG=
@doctorfree
doctorfree / ifttt
Created January 30, 2017 16:15
IFTTT
https://raw.githubusercontent.com/doctorfree/Scripts/master/IFTTT/ifttt