How do I publish content to LBRY?
Convert to 720p with 5M bitrate:
def method_one(&block) | |
puts "method_one" | |
block.call | |
end | |
def method_two(&block) | |
puts "method_two" | |
block.call | |
end |
#!/bin/bash | |
# Workflow: create branch -> create pull request | |
# git-create-branch-push "issue X" | |
# -> make changes, commit and push | |
# github-branch-pr "fix: issue solved" "closes #x" | |
# -> creates new PR with title and body | |
# | |
# Workflow: create branch for issue -> create pull request | |
# github-issue-branch-push 10 |
How do I publish content to LBRY?
Convert to 720p with 5M bitrate:
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
#cask_args appdir: "~/Applications", require_sha: true | |
cask 'spotify' | |
cask 'homebrew/cask-versions/firefox-developer-edition' | |
cask 'signal' | |
cask 'keybase' | |
cask 'slack' | |
cask 'telegram-desktop' |
#!/bin/bash | |
# Input: ./extract_kubecfg_cert.sh my-cluster-name username | |
# Output: ./my-cluster-name-ca.crt ./username.crt ./username.key | |
# Exit on error | |
abort(){ | |
echo $1 && exit 1 | |
} | |
# Prerequistes |
require 'optparse' | |
require 'yaml' | |
require 'base64' | |
options = { | |
config_path: File.join(ENV['HOME'], '.kube', 'config'), | |
write_dir: File.join(ENV['HOME'], '.kube') | |
} | |
OptionParser.new do |opts| |