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
/** | |
* Simple and cheap file browser for Synchronet BBS | |
* It's use the DDLighbarMenu library and read the file | |
* descriptions from generated FILES.BBS intead to real | |
* filebase, due to lack of jasvascript api to access it. | |
* | |
* usage: | |
* load("ds_file_browser.js"); | |
* browser(); | |
* |
This file has been truncated, but you can view the full file.
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
______ _ _____ _ ____________ _____ | |
| _ \ | | / ___| | | | ___ \ ___ \/ ___| | |
| | | |___ ___| | __ \ `--. _ _ __| | | |_/ / |_/ /\ `--. | |
| | | / _ \ / __| |/ / `--. \ | | |/ _` | | ___ \ ___ \ `--. \ | |
| |/ / (_) | (__| < /\__/ / |_| | (_| | | |_/ / |_/ //\__/ / | |
|___/ \___/ \___|_|\_\ \____/ \__,_|\__,_| \____/\____/ \____/ | |
_ _ ___ _ _ | |
| \ | | / _ \ | | (_) | |
| \| |_ _ _____ _____ ___ / /_\ \_ __ ___| |__ ___ _____ ___ | |
| . ` | | | |/ _ \ \ / / _ \/ __| | _ | '__/ __| '_ \| \ \ / / _ \/ __| |
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
versiones probadas | |
glpi: 10.0.10 / 10.0.11 | |
plugin metabase: 1.3.3 | |
metabase (version jar): 0.48.1 | |
diff -up inc.orig/apiclient.class.php inc/apiclient.class.php | |
--- inc.orig/apiclient.class.php 2023-08-10 08:05:07.572319087 -0300 | |
+++ inc/apiclient.class.php 2024-01-03 23:37:03.468753862 -0300 |
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
#!/usr/bin/env python2 | |
import glob | |
import os.path | |
import stat | |
import sys | |
from datetime import datetime | |
#-------------------------------------------------------------------------- | |
def IsoTime(t): | |
return datetime.fromtimestamp(int(t)).strftime('%Y-%m-%d %H:%M:%S') |