- Fork https://github.com/github/dmca
- Download latest youtube-dl source code from https://yt-dl.org/latest
- Extract
tar -xvf youtube-dl-2020.09.20.tar.gz
- Push code to your fork as the GitHub CEO
tar -xvf youtube-dl-2020.09.20.tar.gz
What is this?
Going through all Google privacy settings is f****** nightmare, to say the least. It takes forever! Also, why can't they just list all the links to all your privacy options in one place? I will tell you why. Because preferably, Google want you to die of age 💀 before you opt-out. Even after you are dead they won't let you go. Yeah that's right! You heard me. Don't believe me? Check this out.
So here is a list of links to all the privacy settings I could find. I hope it makes it easier for anyone out there.
You can open all these URLs in tabs with the Open Multiple URLs Chrome extension.
freenas# jls | |
JID IP Address Hostname Path | |
... | |
5 - etherpad /mnt/basin/jails/etherpad | |
... | |
freenas# ./mdns.sh 5 | |
Updating FreeBSD repository catalogue... | |
[etherpad] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 | |
[etherpad] Fetching packagesite.txz: 100% 6 MiB 5.9MB/s 00:01 |
TAG_COMMIT := $(shell git rev-list --abbrev-commit --tags --max-count=1) | |
TAG := $(shell git describe --abbrev=0 --tags ${TAG_COMMIT} 2>/dev/null || true) | |
COMMIT := $(shell git rev-parse --short HEAD) | |
DATE := $(shell git log -1 --format=%cd --date=format:"%Y%m%d") | |
VERSION := $(TAG:v%=%) | |
ifneq ($(COMMIT), $(TAG_COMMIT)) | |
VERSION := $(VERSION)-next-$(COMMIT)-$(DATE) | |
endif | |
ifeq $(VERSION,) | |
VERSION := $(COMMIT)-$(DATA) |
: By the power of this magic string: ex: set ft=markdown ;:<<'```shell' #
, this file is now both a markdown document and an executable shell script. chmod +x
it and try running it!
The above line does just what it says. More specifically, when placed within in the first 5 lines and preceded only by blank lines or #
-prefixed markdown headers:
```shell
block.(The line also has to start with a :
so that it's valid shell code.)
A network bridge allows us to have a virtual router that we can plug multiple network interfaces into. The IP address is assigned to the bridge rather than the individual network interface.
Create the bridge device, br0 :
Sometimes you want to be able to debug a bash script. Usually the -x
option
will suffice but sometimes something more sophisticated is needed.
In such instances using the DEBUG trap is often a good choice.
Attached to this gist is a example script to demonstrate how such a thing would work.
tag: | |
@if [ $$(git rev-list $$(git describe --abbrev=0 --tags)..HEAD --count) -gt 0 ]; then \ | |
if [ $$(git log -n 1 --oneline $$(git describe --abbrev=0 --tags)..HEAD CHANGELOG.md | wc -l) -gt 0 ]; then \ | |
git tag $$(python setup.py --version) && git push --tags || echo 'Version already released, update your version!' | |
else \ | |
echo "CHANGELOG not updated since last release!"; \ | |
exit 1; \ | |
fi; \ | |
else \ | |
echo "No commits since last release!"; \ |
#!/bin/bash | |
function test { | |
MESSAGE=$1 | |
RECEIVED=$2 | |
EXPECTED=$3 | |
if [ "$RECEIVED" = "$EXPECTED" ]; then | |
echo -e "\033[32m✔︎ Tested $MESSAGE" | |
else |