Skip to content

Instantly share code, notes, and snippets.

@coolswitcher
coolswitcher / xld_filename.md
Created January 30, 2018 07:05 — forked from robpataki/xld_filename.md
File naming convention for XLD encoding

Compilations:

%A - %T  -  %n - %a - %t

Albums by 1 artist

%A - %T  -  %n - %t
@coolswitcher
coolswitcher / rsyncd.socket
Created August 30, 2017 11:39 — forked from tchollingsworth/rsyncd.socket
rsyncd systemd units
[Unit]
Description=rsyncd Service Sockets
[Socket]
ListenStream=873
Accept=yes
[Install]
WantedBy=sockets.target
@coolswitcher
coolswitcher / memcached
Last active August 25, 2017 21:40
Multiple instances of memcached server
#! /bin/bash
### BEGIN INIT INFO
# Provides: memcached
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start memcached daemon
@coolswitcher
coolswitcher / 0_reuse_code.js
Created February 28, 2016 18:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console