Skip to content

Instantly share code, notes, and snippets.

@nkichukov
nkichukov / 0001-sipmsg-insert-line-breaks-between-paragraphs.patch pidgin-sipe hack to fix pasted line breaks in received messages from Lync
View 0001-sipmsg-insert-line-breaks-between-paragraphs.patch
From 087937f81634bd315444c38b7e0906280e8d2895 Mon Sep 17 00:00:00 2001
From: Allen Wild <allenwild93@gmail.com>
Date: Tue, 23 Oct 2018 17:01:57 -0400
Subject: [PATCH] sipmsg: insert line breaks between paragraphs
Pasting text into Lync causes the lines to be split with <p></p> tags,
but pidgin doesn't display this and puts everything on one ugly line.
This is really a pidgin bug but I can hack around it in sipe by sneaking
in <br/> after every </p> we see (unless it's at the end of the message
@nkichukov
nkichukov / gist:f150654a25b9ff3277b8b40dbe45b174
Created Nov 5, 2018
ntpd not syncing system clock after receiving offset successfully - redhat 7
View gist:f150654a25b9ff3277b8b40dbe45b174
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
lit-ad02-p010.c .LOCL. 1 u 1 64 1 0.554 56840.0 3.087
lit-ad02-p011.c 10.236.192.100 2 u 2 64 1 0.572 56840.3 0.000
ntpq> as
ind assid status conf reach auth condition last_event cnt
===========================================================
1 2651 9024 yes yes none reject reachable 2
View kodi log with fbdev and wayland
00:18:23.313 T:1950261248 NOTICE: special://profile/ is mapped to: special://masterprofile/
00:18:23.313 T:1950261248 NOTICE: -----------------------------------------------------------------------
00:18:23.313 T:1950261248 NOTICE: Starting Kodi (18.0-ALPHA1 Git:20171112-56700867e9-di). Platform: Linux ARM 32-bit
00:18:23.314 T:1950261248 NOTICE: Using Release Kodi x32 build
00:18:23.314 T:1950261248 NOTICE: Kodi compiled Nov 12 2017 by GCC 6.4.0 for Linux ARM 32-bit version 4.3.0 (262912)
00:18:23.314 T:1950261248 NOTICE: Running on Gentoo/Linux 0.0, kernel: Linux ARM 32-bit version 4.14.0-rc8-v7+
00:18:23.314 T:1950261248 NOTICE: FFmpeg version/source: 3.4
00:18:23.314 T:1950261248 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
00:18:23.314 T:1950261248 NOTICE: ARM Features: Neon enabled
00:18:23.314 T:1950261248 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
You can’t perform that action at this time.