Skip to content

Instantly share code, notes, and snippets.

View JimiC's full-sized avatar

Dimitris "Jimi" Charalampidis JimiC

  • NTUA, SmartRue Lab, Athens
  • Athens, Greece
View GitHub Profile
@JimiC
JimiC / pulseaudio-module-xrdp-setup.sh
Last active January 17, 2023 16:57
Build and setup PulseAudio module for XRDP on MX Linux
#!/bin/sh
###############################################################################
#
# Build and setup PulseAudio module for XRDP on MX Linux
#
###############################################################################
pulsever=$(pulseaudio --version | awk '{print $2}')
@JimiC
JimiC / install.sh
Created November 6, 2022 09:53
XRDP on Debian distros (MX Linux)
#!/bin/sh
# This script based on linux-vm-tools for Debian distros.
# This script is for Debian based distros to download and install XRDP+XORGXRDP via
# source.
#
# Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips.
#
###############################################################################
FROM ubuntu:bionic

EXPOSE 2224

ARG HACLUSTER_PASS

RUN apt-get update \
    ; apt-get -y install systemd tzdata \
 ; ln -fs /usr/share/zoneinfo/Europe/Athens /etc/localtime && dpkg-reconfigure -f noninteractive tzdata \
import asyncio
import threading
status = 0
def set_interval(func, sec):
def func_wrapper():
set_interval(func, sec)
func()
t = threading.Timer(sec, func_wrapper)
@JimiC
JimiC / EVEStaticData_Schema_Script
Created July 19, 2015 17:25
EVE Static Data Schema (Re-imported)
USE [master]
GO
/****** Object: Database [EveStaticData] Script Date: 15/07/2015 15:10:59 ******/
CREATE DATABASE [EveStaticData]
CONTAINMENT = NONE
ON PRIMARY
( NAME = N'ebs_DATADUMP', FILENAME = N'E:\SQL Server 2012\Data\ebs_DATADUMP.mdf' , SIZE = 349184KB , MAXSIZE = UNLIMITED, FILEGROWTH = 51200KB )
LOG ON
( NAME = N'ebs_DATADUMP_log', FILENAME = N'E:\SQL Server 2012\Data\ebs_DATADUMP_log.ldf' , SIZE = 208896KB , MAXSIZE = 2048GB , FILEGROWTH = 51200KB )
GO