Skip to content

Instantly share code, notes, and snippets.

@glilco
glilco / IntegrationOfAtomWithLdapAndKeycloak.md
Last active September 5, 2024 23:56
Integration of Atom with LDAP and Keycloak

Integration of Atom with Ldap and Keycloak

This document aims to present the integration of Atom with LDAP and Keycloak to allow the creation of new users through a web interface.

The operating system used is Ubuntu 22.04.4 LTS with packages updated until September 5, 2024. The Atom test version will be used on Vagrant, OpenLdap installed on the Vagrant virtual machine, and Keycloak installed via Docker inside the virtual machine.

Installing Atom

For this installation, we will follow the documentation available at: https://www.accesstomemory.org/en/docs/2.5/dev-manual/env/vagrant/

First, to install Atom, we need to install VirtualBox and Vagrant.

@glilco
glilco / RenderServerSetting.md
Last active January 5, 2026 00:36
Setting up a render server for kdenlive projects with docker

I am documenting my experience creating a render server for the kdenlive project using Docker. Although some of the findings are not optimal, they are the solutions I found to the problems. I believe that this information will be useful to other people with similar issues.

The Scenario

There was a server available with four GeForce GTX Titan Black GPUs, running Debian 9 Stretch. However, the system was outdated, and I could not upgrade it since other users were running projects on that server.

First attempts

My first attempt was to install ffmpeg and melt, but I couldn't because the apt sources were outdated. I then tried to enable backport repositories, but I was unable to install the packages.

@voidc
voidc / Parser.java
Last active September 16, 2023 17:09
Java Command Line Parser
package cli;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
public class Parser {
@pklaus
pklaus / ddnsserver.py
Last active March 15, 2026 12:30 — forked from andreif/Simple DNS server (UDP and TCP) in Python using dnslib.py
Simple DNS server (UDP and TCP) in Python using dnslib.py
#!/usr/bin/env python
"""
LICENSE http://www.apache.org/licenses/LICENSE-2.0
"""
import argparse
import datetime
import sys
import time
import threading
@muzhig
muzhig / gist:4473717
Created January 7, 2013 09:38
Django-admin-like configurable search view
from django.db.models import Q
from django.views.generic import ListView
import itertools
class BaseSearchView(ListView):
search_fields = []
def get_search_fields(self):
return self.search_fields
query_key = 'q'