Skip to content

Instantly share code, notes, and snippets.

View vovkasm's full-sized avatar

Vladimir Timofeev vovkasm

  • Self employed
  • Budva, Montenegro
View GitHub Profile
@vovkasm
vovkasm / XS.pm
Last active December 10, 2015 04:18 — forked from anonymous/XS.pm
package X::XS;
# ... some other code (loading XS in my case)
our (%TRACE_PKGS,%TRACE_OBJS,$TRACE_FD);
if ($ENV{X_XS_TRACE}) {
enable_trace($ENV{X_XS_TRACE});
}
@vovkasm
vovkasm / mattermost-dl.py
Created August 9, 2024 21:00 — forked from RobertKrajewski/mattermost-dl.py
This script allows to export the content (text+files) of an interactively selected Mattermost channel (public, private, group, direct message) to files. Tested on Mattermost 5.27 using Python 3.7
import os
import sqlite3
from datetime import datetime, date
from typing import Tuple, Dict, List
import getpass
from mattermostdriver import Driver
import pathlib
import json