Skip to content

Instantly share code, notes, and snippets.


  • Portugal
Block or report user

Report or block dllud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dllud /
Last active Oct 22, 2019
Public XMPP servers with Tor Hidden Service

Public XMPP servers with Tor Hidden Service

This is a tentative list of public XMPP (Jabber) servers that provide a Tor Hidden Service (.onion address) for connections from within Tor network. By public I mean, servers that are free for everyone to use and place no barriers on registration.

Clearnet domain Tor Hidden Service In-Band registration XEP compliance IM Observatory grade jtovcabr2vhflcqg.onion disabled Excellent A ujvdniabz53upqfx.onion disabled Excellent A
dllud /
Last active Feb 2, 2017
Tips for a full dark desktop interface

Tips for a full dark desktop interface

GTK+ based desktop environments

On GNOME, Unity, Cinnamon, MATE, Xfce, LXDE and all other GTK+ based desktop environments choose a deep-dark theme such as Dorian. If you already run GTK+ 3.20 check out Cloak 3.20 or the darkest variant of Candra 3.20.

These are full-featured themes by killhellokitty that include modifications for Google Chrome (Chromium), Firefox and Thunderbird.

Web browsing

dllud / gtk.css
Created Jul 14, 2016
Meld colours for dark themes
View gtk.css
* by Stefan Agner 2014
/* Full line insert, left to right or visa-versa */
@define-color insert-bg #203020;
@define-color insert-outline #387038;
@define-color insert-text White;
/* Missing files in folder diff */
@define-color delete-bg #302020;
dllud /
Created Mar 4, 2016
How to backup an encrypted CyanogenMod Android

How to backup and restore an encrypted CyanogenMod Android

The easiest way to backup a CynogenMod (CM) based Android, such as Replicant, is to enter ClockworkMod Recovery (CWMR) and use the backup/restore feature. However that won't work in a device with Full Device Encryption (FDE) because the /data directory is encrypted and therefore unaccessible in CWMR.

Thus we'll have to use backup apps that work within CM, when /data is accessible. The following procedures can be used to backup and restore all your apps, data and settings, using only free software.


  1. Install oandbackup. Go to preferences > cryptography, enable encryption and set up your OpenPGP email. Back in preferences enable copy own apk and special backups.
  2. Use oandbackup to backup data+apk for all your user apps. Tip: use batch backup with sort and filter.
dllud /
Last active Feb 20, 2016
What to and how to configure Debian

Change keyboard layout

dpkg-reconfigure keyboard-configuration

Set locale

dpkg-reconfigure locales
vi /etc/default/locale

dllud /
Last active Jul 24, 2019 — forked from op/
Import bash history (has no timestamps) to zsh history.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This is how I used it:
# $ cat ~/.bash_history | python >> ~/.zsh_history
import sys
import time
def main():
dllud / screencast-window-lossless
Last active Aug 29, 2015
Command to screen capture/cast a selectable X11 window using ffmpeg (avconv) with lossless H.264
View screencast-window-lossless
gm=$(xwininfo | grep 'geometry') && avconv -video_size $(echo $gm | grep -Eo '[0-9]+x[0-9]+') -framerate 30 -f x11grab -i :0.0+$(echo $gm | grep -Eo '[0-9]+\+[0-9]+$' | sed s/+/,/),nomouse -c:v libx264 -qp 0 -preset ultrafast -profile:v high444
dllud / pmount-all
Created Feb 19, 2014
pmount-all - script to (un)mount all USB disks' partitions using pmount.
View pmount-all
if [ "$1" != "mount" ] && [ "$1" != "umount" ]; then
echo "(Un)mounts all USB disks partitions. Usage: "
echo pmount-all mount
echo pmount-all umount
exit 0
readarray sd < <(ls /dev | grep sd[b-z][1-9])
for ((i=0; i<${#sd[@]}; i++));
dllud / pdfocr
Created Feb 9, 2014
pdfocr - script to transform a PDF containing a scanned book into a searchable PDF
View pdfocr
# This is a script to transform a PDF containing a scanned book into a searchable PDF.
# Based on previous script and many good tips by Konrad Voelkel:
# Depends on convert (ImageMagick), pdftk and hocr2pdf (ExactImage).
# $ sudo apt-get install imagemagick pdftk exactimage
# You also need at least one OCR software which can be either tesseract or cuneiform.
# $ sudo apt-get install tesseract-ocr
You can’t perform that action at this time.