Install streamlink utility (https://streamlink.github.io/install.html)
choco install streamlink- Get youtube share link: https://youtu.be/gIB2egm7tL8
hls-live-restartwill record from beginning of stream
| #!/bin/sh -e | |
| start() { | |
| cat "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" > "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | |
| cat "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" > "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | |
| } | |
| stop() { | |
| cat "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_boot_freq" > "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | |
| cat "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_boot_freq" > "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" |
| #!/bin/bash | |
| # This script cleans all cache for Microsoft Teams on Linux | |
| # Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions. | |
| # Tested Teams via snap package. | |
| # Tested Teams via flatpak package. | |
| # | |
| # How to use in terminal: | |
| # ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak ) | |
| # or |
choco install streamlinkhls-live-restart will record from beginning of stream| #!/usr/bin/env bash | |
| ### Bash Environment Setup | |
| # http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
| # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
| # set -o xtrace | |
| set -o errexit | |
| set -o errtrace | |
| set -o nounset | |
| set -o pipefail |
This will help installing simple PHP stack with *.localhost domains on Windows Subsystem for Linux in Windows 10. You'll have to add sudo where appropriate.
You'll need to add an unofficial repository by awesome Ondřej Surý, but it's been stable for years and can be used in production.
sudo apt-get install -y python-software-properties| <?php if (!defined('BASEPATH')) {exit('No direct script access allowed');} | |
| /** | |
| * | |
| * Arquivo inserido em application/libraries/Twig.php | |
| * | |
| */ | |
| class Twig { | |
| /** | |
| * Referência da instância da classe CodeIgniter |