This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;(t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Hls=e()}}(function(){return(function e(t,r,i){function n(s,o){if(!r[s]){if(!t[s]){var l="function"==typeof require&&require;if(!o&&l)return l(s,!0);if(a)return a(s,!0);var u=Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var d=r[s]={exports:{}};t[s][0].call(d.exports,function(e){var r;return n(t[s][1][e]||e)},d,d.exports,e,t,r,i)}return r[s].exports}for(var a="function"==typeof require&&require,s=0;s<i.length;s++)n(i[s]);return n})({1:[function(e,t,r){function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function a(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=i,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# change the 999 if needed | |
shopt -s nullglob | |
for d in /sys/kernel/iommu_groups/{0..999}/devices/*; do | |
n=${d#*/iommu_groups/*}; n=${n%%/*} | |
printf 'IOMMU Group %s ' "$n" | |
lspci -nns "${d##*/}" | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
curl -o /opt/patch.sh https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh | |
chmod 744 /opt/patch.sh | |
/opt/patch.sh | |
cat > /etc/systemd/system/driver-patch.service <<EOF | |
[Unit] | |
After=network.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#set -e | |
# origin-source: http://www.fars-robotics.net/install-wifi | |
# install-wifi - v9.4 - by MrEngman. | |
# After downloading this script: | |
# $ sudo mv ./install-wifi /usr/bin/install-wifi | |
# $ sudo chmod +x /usr/bin/install-wifi | |
# $ sudo install-wifi -h | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"streams": [ | |
{ | |
"direction": "IN", | |
"input": { | |
"type": "SDI", | |
"port": 0 | |
}, | |
"output": { | |
"type": "UDP", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"video": "http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_10mb.mp4", | |
"play_till_end": true, | |
"text": "Line 1 text\n Line 2 text" | |
} |