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
// ==UserScript== | |
// @name GEAS with HiCOS | |
// @namespace http://tampermonkey.net/ | |
// @version 2024021701 | |
// @description 小幫手 | |
// @author 周詳 | |
// @match https://geas.dgbas.gov.tw/* | |
// @match https://geas.moda.gov.tw/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=gov.tw | |
// @grant none |
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
1 | |
00:00:00,122 --> 00:00:27,122 | |
2 | |
00:00:30,122 --> 00:00:30,426 | |
3 | |
00:00:30,426 --> 00:00:37,226 |
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
<?php | |
$c = file_get_contents(__DIR__ . '/captions.srt'); | |
$parts = explode("\n\n", $c); | |
foreach($parts AS $part) { | |
$lines = explode("\n", $part); | |
array_shift($lines); | |
array_shift($lines); | |
echo implode("\n", $lines) . "\n"; | |
} |
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
git clone https://huggingface.co/spaces/aadnk/faster-whisper-webui | |
cd faster-whisper-webui/ | |
pip install -r requirements.txt | |
pip install -r requirements-fasterWhisper.txt | |
apt install nginx ffmpeg | |
nano /etc/nginx/sites-available/default | |
location / { | |
# First attempt to serve request as file, then | |
# as directory, then fall back to displaying a 404. |
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
{ | |
"bomFormat": "CycloneDX", | |
"specVersion": "1.4", | |
"serialNumber": "urn:uuid:0de0d81f-ec39-4e9a-8413-5db8ed56fa8d", | |
"version": 1, | |
"metadata": { | |
"timestamp": "2023-07-24T13:54:33.087Z", | |
"tools": [ | |
{ | |
"vendor": "cyclonedx", |
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
{ | |
"SPDXID": "SPDXRef-DOCUMENT", | |
"spdxVersion": "SPDX-2.2", | |
"creationInfo": { | |
"comment": "This SPDX document has been converted from CycloneDX format.", | |
"created": "2023-06-13T15:45:34.95Z", | |
"creators": [ | |
"Tool: cdxgen-8.4.13", | |
"Person: Prabhu Subramanian (prabhu@appthreat.com)" | |
] |
NewerOlder