Skip to content

Instantly share code, notes, and snippets.

View ftoledo's full-sized avatar

Fernando Toledo ftoledo

View GitHub Profile
@ftoledo
ftoledo / bsostatus.py
Created August 2, 2024 20:43
binkit.js outbound statics
#!/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')
@ftoledo
ftoledo / gist:b8637ef805599d30852a4f268bc7b542
Created January 4, 2024 02:53
parche para plugin de metabase de glpi por cambio de api
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 has been truncated, but you can view the full file.
______ _ _____ _ ____________ _____
| _ \ | | / ___| | | | ___ \ ___ \/ ___|
| | | |___ ___| | __ \ `--. _ _ __| | | |_/ / |_/ /\ `--.
| | | / _ \ / __| |/ / `--. \ | | |/ _` | | ___ \ ___ \ `--. \
| |/ / (_) | (__| < /\__/ / |_| | (_| | | |_/ / |_/ //\__/ /
|___/ \___/ \___|_|\_\ \____/ \__,_|\__,_| \____/\____/ \____/
_ _ ___ _ _
| \ | | / _ \ | | (_)
| \| |_ _ _____ _____ ___ / /_\ \_ __ ___| |__ ___ _____ ___
| . ` | | | |/ _ \ \ / / _ \/ __| | _ | '__/ __| '_ \| \ \ / / _ \/ __|
@ftoledo
ftoledo / ds_file_brower.js
Created August 27, 2019 21:38
cheap filebrowser for synchornet bbs
/**
* 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();
*