Skip to content

Instantly share code, notes, and snippets.

View ABeltramo's full-sized avatar

ABeltramo

  • Chatterbox Labs
  • London
View GitHub Profile
@genhack
genhack / gist:0b528e0351c27b1cb96f
Last active September 30, 2021 20:48
Readame.libi.sh
RED='\033[0;31m'
NC='\033[0m' # No Color
OUT="/tmp/libimobiledeviceinstallation.log"
#1: Scarico dipendenze
echo "${RED} Downlaod Dipendenze & installazione ... ${NC}"
apt-get install -y --force-yes automake autoconf-archive libtool libssl-dev libgcrypt11-dev libp11-kit-dev libcurl4-gnutls-dev libusb-1.0 libzip-dev libfuse-dev clutter-1.0 clutter-gtk-1.0
#1.2: Cython
echo "${RED} Cython ${NC}"
@vor0nwe
vor0nwe / transmission-torrent-done.sh
Last active July 23, 2022 19:43
Send a PushBullet notification when Transmission has finished a download.
#!/bin/bash
curl -u YOUR_ACCESS_TOKEN: \
-X POST https://api.pushbullet.com/v2/pushes \
--header 'Content-Type: application/json' \
--data-binary "{\"type\":\"note\",\"title\":\"Downloaded\",\"body\":\"$TR_TORRENT_NAME: $TR_TIME_LOCALTIME\"}"
#
# Get YOUR_ACCESS_TOKEN from your account page at https://www.pushbullet.com/account
#