Skip to content

Instantly share code, notes, and snippets.

@ta264
ta264 / get-docker.sh
Last active February 26, 2024 13:46
Install docker on arm64 synology
#!/bin/bash
set -e
ARCH=aarch64
DOCKER_VERSION=20.10.0
DOCKER_DIR=/volume1/@docker
echo "Downloading docker $DOCKER_VERSION-$ARCH"
curl "https://download.docker.com/linux/static/stable/$ARCH/docker-$DOCKER_VERSION.tgz" | tar -xz -C /usr/local/bin --strip-components=1
@ta264
ta264 / run.sh
Created December 11, 2020 18:29
docker-compose
#!/bin/sh
#
# Forked from https://github.com/linuxserver/docker-docker-compose/blob/master/run.sh
#
# Run docker-compose in a container
#
# This script will attempt to mirror the host paths by using volumes for the
# following paths:
# * $(pwd)
# * $(dirname $COMPOSE_FILE) if it's set
@Davoleo
Davoleo / hosts
Last active February 12, 2024 09:49
The hosts file entries to block Spotify audio ad servers. | v: 1.0.66.478.g1296534d
############## SPOTIFY - ADS - BEGIN
127.0.0.1 media-match.com
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 www.googleadservices.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 securepubads.g.doubleclick.net
127.0.0.1 www.omaze.com
127.0.0.1 omaze.com
@po5
po5 / universal-torrent-gallery.user.js
Last active May 1, 2024 23:43
Gallery view for trackers
@AveYo
AveYo / !BlackLess.md
Last active May 23, 2024 11:38
A High Contrast based neutral / less blues tone Windows Dark / Light Theme by AveYo

Blackless.theme

@dannguyen
dannguyen / tweet-selenium.py
Last active December 14, 2022 07:45
how to send a tweet through Firefox using Python + Selenium
"""
Tweeting by controlling Firefox via Python + selenium
http://selenium-python.readthedocs.org/
This script:
- Opens up Firefox
- Goes to https://www.twitter.com
- Clicks the login button
- logs you in (assuming you have your twitter password in a file named `mypassword.txt`...)
@hofmannsven
hofmannsven / README.md
Last active June 17, 2024 10:34
Git CLI Cheatsheet