ejabberd | MUC problems // 17.04

Problem: You add a room with ejabberdctl. # ejabberdctl create_room testroom conference.xmpp.inbbradio.de localhost You list all rooms with ejabberdctl. # ejabberdctl muc_online_rooms global You delete a room. # ejabberdctl destroy_room testroom conference.xmpp.inbbradio.de You list all rooms with ejabberdctl. # ejabberdctl muc_online_rooms global You restart ejabberd # ejabberdctl restart You list all rooms with ejabberdctl. # […]

BASH | URLENCODE

For each character in string do # IN=”\\”;printf -v OUT ‘%%%02x’ “‘$IN”; echo $OUT or # echo “this & that” | perl -MURI::Escape -ne ‘chomp;print uri_escape($_),”\n”‘