A straightforward version from Vincent Driessen article.
Create a copy branch from develop
.
$ git checkout -b feature-1 develop
Merge with develop
after code your feature.
#!/bin/bash | |
set -e # Exit on error | |
# Detect OS (linux, darwin, windows) | |
OS_TYPE=$(uname | tr '[:upper:]' '[:lower:]') | |
# Detect Architecture (amd64, arm64, 386) | |
ARCH_TYPE=$(uname -m) | |
case "$ARCH_TYPE" in |
<vmap:VMAP | |
xmlns:vmap="http://www.iab.net/videosuite/vmap" | |
version="1.0" | |
> | |
<vmap:AdBreak | |
timeOffset="00:00:15.000" | |
breakType="linear" |
A straightforward version from Vincent Driessen article.
Create a copy branch from develop
.
$ git checkout -b feature-1 develop
Merge with develop
after code your feature.
/** | |
/DOBPicker.tsx | |
**/ | |
'use client'; | |
import * as React from 'react'; | |
import { format, subYears } from 'date-fns'; | |
import { cn } from '@/lib/utils'; | |
import { Button } from '@/components/ui/button'; |
#! /bin/bash | |
set -e | |
wget https://go.dev/dl/go1.22.4.linux-amd64.tar.gz | |
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz | |
rm go1.22.4.linux-amd64.tar.gz | |
echo "Checking golang version" | |
echo "export PATH=$PATH:/usr/local/go/bin" >>~/.bashrc | |
source ~/.bashrc |
## ====================================================================================================== ## | |
## Visit this page for a list of all variables: https://github.com/arut/nginx-rtmp-module/wiki/Directives ## | |
## Visit this site for many more configuration examples: https://github.com/arut/nginx-rtmp-module ## | |
## This example file was put together by Andre "ustoopia" for usage on https://youtube.com/ustoopia ## | |
## ====================================================================================================== ## | |
user www-data; # Only used on linux. Nginx will run under this username. | |
worker_processes 1; # Set this to how many processors/cores CPU has. Relates to "worker_connections" | |
pid /run/nginx.pid; # Sets the location of the process id file (used on linux only). | |
include /etc/nginx/modules-enabled/*.conf; # Include all the optional configuration files stored here. | |
events { |
#!/bin/bash | |
set -e | |
rm -rf openresty-1.19.3.2 openresty-1.19.3.2.tar.gz | |
apt-get update -y | |
apt-get install -y libpcre3-dev \ | |
libssl-dev \ | |
perl \ | |
make \ | |
build-essential \ |
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.
#!/bin/sh | |
# View the data disk. | |
fdisk -l | |
# View the partition UUID of the data disk. | |
lsblk -f | |
# NTP service synchronizes with the NTP server. | |
sudo apt-get install ntp | |
apt install ntpstat | |
apt install numactl |