Prepare files for usenet on a remote server. (dont waste your CPU!)
Upload all the files matching a pattern (Wake*). This assumes ssh config
IdentityFile <PRIVATE_KEY>
HostName <SERVER_IP>
User root
ServerAliveInterval 60
ServerAliveCountMax 2
Prepare files for usenet on a remote server. (dont waste your CPU!)
Upload all the files matching a pattern (Wake*). This assumes ssh config
IdentityFile <PRIVATE_KEY>
HostName <SERVER_IP>
User root
ServerAliveInterval 60
ServerAliveCountMax 2
Cookies are needed to login to download private videos
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| sudo apt -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
| sudo apt-get -y install libtool build-essential autoconf checkinstall git libgpac-dev libomxil-bellagio-dev libssl-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev librtmp-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev pkg-config texi2html yasm zlib1g-dev xvfb nasm gcc yasm libglfw3-dev git-core wicd-curses libffi-dev | |
| # install ffmpeg | |
| cd ~ |
| // Paladin config file | |
| /* Brief instructions: | |
| * Notepad++ is HIGHLY recommended to use for editing these files. Visit http://notepad-plus-plus.org/ | |
| * To comment out something, put // in front of that line | |
| * !!!Never comment out something you're not sure about, set it to false or disable as noted in description if you don't want to use it. | |
| * true and false are case sensitive. Good: Config.SomeVar = true; Bad: Config.SomeVar = True; | |
| */ | |
| function LoadConfig() { |
| ## RESOURCES | |
| https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975 | |
| https://itnext.io/create-a-kubernetes-cluster-with-pine64-428fc62d72e7 | |
| Step 1: uninstall kubernetes, follow the below given commands | |
| kubeadm reset | |
| sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube* -y && | |
| sudo apt-get autoremove -y && | |
| sudo rm -rf ~/.kube |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> | |
| /* | |
| * Copyright 2016 Google Inc. All rights reserved. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
| * use this file except in compliance with the License. You may obtain a copy of | |
| * the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| sox copywrite_audio.wav copy_loop.wav repeat 200 | |
| ffmpeg -i .avi -i copy_loop.wav -c:v copy -c:a aac -map 0:v:0 -map 1:a:0 -shortest -y copywrite.avi |
| ffmpeg -i the.man.who.fell.to.earth.1976.criterion.dvdrip.xvid.ac3.2ch-\[gx\].avi -c:a libfaac -c:v libx264 -reset_timestamps 1 -map 0 -map_metadata -1 -metadata title="rad" -segment_format mp4 -f segment -segment_time 8 rad-%05d.mp4 |