#https://www.devroom.io/2006/11/13/cups-426-upgrade-required/
docker run -d -p 631:631 --name cupsd --net=host olbat/cupsd
sudo apt-get install zsh | |
chsh -s $(which zsh) | |
apt install wget git | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc | |
source ~/.zshrc | |
cd ~/.oh-my-zsh/themes/ | |
ls -a | |
nano ~/.zshrc | |
ZSH_THEME='agnoster' |
//Windows | |
cd %userprofile%/.ssh | |
ssh-keygen -t rsa -C "[email protected]" | |
clip < <key-name>.pub |
#!/bin/sh | |
set -e | |
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | | |
while read path_key path | |
do | |
url_key=$(echo $path_key | sed 's/\.path/.url/') | |
url=$(git config -f .gitmodules --get "$url_key") | |
git submodule add $url $path |
for /r %%i in (*.png) do ( | |
ffmpeg.exe -loop 1 -t 3 -i %%i -c:v libx264 -pix_fmt yuv420p %%i_1.mp4 | |
) | |
del list.txt | |
pause |
#https://github.com/taskrabbit/elasticsearch-dump | |
#!/bin/sh | |
yum install -y gcc-c++ make | |
curl -sL https://rpm.nodesource.com/setup_12.x | bash - | |
yum install -y nodejs | |
npm install elasticdump -g --no-bin-link | |
export NODE_TLS_REJECT_UNAUTHORIZED=0 | |
echo "localhost:9200/index mapping|data" |
version: "3" | |
services: | |
jellyfin: | |
image: jellyfin/jellyfin:nightly | |
network_mode: "host" | |
volumes: | |
- /volume1/nasbox/Docker/jellyfin/config:/config | |
- /volume1/nasbox/Docker/jellyfin/cache:/cache | |
- /volume1/nasbox/Docker/jellyfin/media:/media |
for /r %%i in (*.MP4) do echo file '%%i'>> list.txt | |
ffmpeg.exe -f concat -safe 0 -i list.txt -c copy -an output.mp4 | |
del list.txt | |
pause |
ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4 | |
ffmpeg -f concat -safe 0 -i <(for f in ./*.mp4; do echo "file '$PWD/$f'"; done) -c:v libx264 -an output.mp4 |
sudo -i | |
apt-get install software-properties-common | |
add-apt-repository universe | |
apt-get update | |
apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat | |
#The jetson already has docker installed | |
#curl -fsSL get.docker.com | sh | |
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s -- -m qemuarm-64 |
#https://www.devroom.io/2006/11/13/cups-426-upgrade-required/
docker run -d -p 631:631 --name cupsd --net=host olbat/cupsd