This file contains hidden or 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 | |
if [ $# -eq 0 ] | |
then | |
echo "No arguments supplied" | |
exit; | |
fi | |
if [ -z "$2" ] | |
then |
This file contains hidden or 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
set vn=A13_20210814231245 | |
ffmpeg\bin\ffmpeg.exe -i "D:\Dropbox\LP59th\%vn%.mp4" -filter:v fps=1 -an "C:\v\%vn%.mjpeg" | |
dvr-scan -i "C:\v\%vn%.mjpeg" -df 4 -l 1 |
This file contains hidden or 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
git clone https://github.com/r8928/phpexcel-reference-errors.git phpexcel | |
cp -rf phpexcel vendor/phpoffice | |
rm -rf phpexcel |
This file contains hidden or 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
# Apache Hause .conf file for TLS/1.3 supported versions | |
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding |
This file contains hidden or 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
(() => { | |
class OtpInput extends HTMLElement { | |
static formAssociated = true; | |
inputs = []; | |
element; | |
otp_length = 6; | |
value_ = ""; | |
constructor() { | |
super(); |
This file contains hidden or 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 sort(array) { | |
for (let j = 0; j < array.length; j++) { | |
var smallest = j; | |
for (let i = j + 1; i < array.length; i++) { | |
if (array[smallest] <= array[i]) { | |
smallest = i; | |
} | |
} | |
array.unshift(array.splice(smallest, 1)[0]); | |
} |