Skip to content

Instantly share code, notes, and snippets.

sudo apt install -y openvpn dialog python3-pip python3-setuptools
sudo pip3 install protonvpn-cli
sudo pip3 install protonvpn-cli --upgrade
@abenrob
abenrob / PB.txt
Last active January 20, 2022 08:23
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:transmissionbt/ppa
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y transmission-cli transmission-common transmission-daemon
sudo apt-get install -y python3-pip
pip3 install pirate-get
sudo /etc/init.d/transmission-daemon stop
sudo chmod 777 /var/lib/transmission-daemon/downloads
curl https://gist.githubusercontent.com/abenrob/d0cba4816e0b0e710f8e4b6ea3e0d474/raw/044a65975dbdd88ea7b42b1fe17aacccae291091/transmission-settings.json > transmission-settings.json

Get infoabout image

  identify image.png 

resize image

  convert image.png -resize 50x50% new_image.png

images to gif

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
@abenrob
abenrob / morphimages.txt
Created June 29, 2018 10:10 — forked from baoilleach/morphimages.txt
Create an animated gif to morph between images using ImageMagick
convert CID10033747.png CID9919714.png CID10033747.png -loop 0 -morph 9 -gravity South -annotate 1x1 "%t" -set delay "%[fx:(t%10!=0 || t==n-1)?10:240]" morph.gif

git

sudo apt-get install git

build-essentials

sudo apt-get install build-essential libssl-dev

curl

sudo apt-get install curl

jq (json parser)

@abenrob
abenrob / world-50m.json
Created April 1, 2015 14:31
world-50m.json geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abenrob
abenrob / endpoints.geojson
Created August 15, 2017 15:43
endpoints.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abenrob
abenrob / git scenarios.md
Last active June 9, 2017 12:18
Git scenarios

gh-pages from CLI

in project repo

git checkout --orphan gh-pages

now in un-linked gh-pages repo...

git add --all
git commit -a -m "commit message here..."

git push origin gh-pages