Skip to content

Instantly share code, notes, and snippets.

@Nachtalb
Nachtalb / install.sh
Last active June 30, 2019 11:16
Centos 6 - Init.d - Install Sonarr / Radarr / Lidarr + mono + sqlite
#!/bin/sh
# # # # # # # # # # # # # # #
# Install yum prerequisites #
# # # # # # # # # # # # # # #
echo "--------------------------------------------------------------------------------------------"
echo "Starting the installation of Sonarr + Mono + SQLitee."
echo "--------------------------------------------------------------------------------------------"
sleep 5
# Install EPEL & OpenSuse repository
@Nachtalb
Nachtalb / telegram-desktop-multiple-accounts.rst
Last active March 22, 2024 06:08
Add multiple accounts in Telegram Desktop [Linux | MacOSX | Windows]
@Nachtalb
Nachtalb / search.html
Created April 12, 2019 21:27
Example Google image search for "Nachtalb"
<!doctype html>
<html itemscope="" itemtype="http://schema.org/SearchResultsPage" lang="de-CH">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image">
<title>Nachtalb - Google-Suche</title>
<style>#gb {
font: 13px/27px Arial, sans-serif;
height: 30px
}
@Nachtalb
Nachtalb / col_print.py
Last active February 9, 2018 14:48 — forked from critiqjo/col_print.py
Python: Multi-column printing of a list of strings
def col_print(lines, term_width=None, indent=0, pad=2):
"""Print list of strings in multiple columns
Original: https://gist.github.com/critiqjo/2ca84db26daaeb1715e1
Adjusted: https://gist.github.com/Nachtalb/8a85c0793b4bea0a102b7414be5888d4
"""
if not term_width:
size = shutil.get_terminal_size((80, 20))
term_width = size.columns