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
# Allow old style ntlm authentication | |
ntlm auth = Yes |
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
#!/bin/bash | |
mkdir build | |
cd build | |
sudo apt install fakeroot debhelper pkg-config gettext libavahi-client-dev liburiparser-dev cmake dvb-apps | |
git clone https://github.com/tvheadend/tvheadend.git | |
cd tvheadend | |
git checkout v4.2.4 | |
# the extra -fPIC was required on Ubuntu 16.04, not tested whether actually required on debian 8 | |
AUTOBUILD_CONFIGURE_EXTRA=--disable-ffmpeg_static\ --CFLAGS=-fPIC ./Autobuild.sh | |
cd .. |
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/python | |
# -*- coding: utf-8 -*- | |
import subprocess | |
import cherrypy | |
config = { | |
'global': { | |
'server.socket_host': '0.0.0.0', | |
'server.socket_port': 8080, | |
'server.thread_pool': 8, |
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
import datetime | |
import hashlib | |
import urllib | |
import requests | |
import rfeed |
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
# lxd on debian with snap | |
# get zfs support | |
apt install zfsutils-linux | |
# install snap | |
apt install snapd -y | |
# install lxd from snap | |
snap install lxd |
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/perl | |
# | |
# Troels Hansen @ Casalogic A/S | |
# Доработка скрипта - Шакиров Ленар, Шакиров Айнур (Группа компаний "Центр", г. Казань, Россия). | |
# Скрипт предоставлен форумом Zarafa на правах Public Domain. Скрипт предоставлен "как есть", его работа не гарантируется. | |
use Unicode::IMAPUtf7; | |
use Getopt::Std; | |
use Text::Iconv; |
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/perl -w | |
use strict; | |
use DBI; | |
my $L1 = 10; | |
my $L2 = 20; | |
sub do_error($) { | |
exit(1); |
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
# | |
################################################################################ | |
# | |
dn: cn=schema | |
# | |
################################################################################ | |
# | |
attributeTypes: ( | |
1.3.6.1.4.1.47732.1.1.1.1 | |
NAME 'kopanoQuotaOverride' |
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/python | |
# -*- coding: utf-8 -*- | |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
# | |
import sys | |
import kopano | |
from MAPI.Tags import PR_IPM_SUBTREE_ENTRYID | |
server = kopano.Server(auth_user='SYSTEM', auth_pass='') |
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/python3 | |
# -*- coding: utf-8 -*- | |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
import os | |
import kopano | |
userfolder = '/var/spool/cyrus/mail/i/user/cyrususer' | |
kuser = kopano.user('kopanouser') | |
IGNORE = ['cyrus.cache', 'cyrus.index', 'cyrus.header'] |
OlderNewer