Skip to content

Instantly share code, notes, and snippets.

@pztrn
pztrn / style.css
Last active February 2, 2024 08:15
Make Weeek Great (again...)
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
font-weight: 400 !important;
}
/* */
.task {
border: none !important;
margin-left: 3px;
margin-right: 3px;

Keybase proof

I hereby claim:

  • I am pztrn on github.
  • I am pztrn (https://keybase.io/pztrn) on keybase.
  • I have a public key ASDVBJhhYjskeH2NgT_CfMYFU6o2C1MZjKvrG2DtuQO3two

To claim this, I am signing this object:

@pztrn
pztrn / gist:017a2d538181fe88becb
Created May 11, 2015 12:43
Prosody's mod_mam patch to get dab history items highlighted in logs
diff -r aed20f9e78c8 mod_mam/mod_mam.lua
--- a/mod_mam/mod_mam.lua Mon Mar 16 16:19:53 2015 +0100
+++ b/mod_mam/mod_mam.lua Mon Mar 23 13:49:03 2015 +0100
@@ -145,6 +145,7 @@ module:hook("iq-set/self/"..xmlns_mam.."
if not is_stanza(item) then
item = st.deserialize(item);
end
+ if not item then module:log("error", "item %s is %s", id, tostring(item)); end
item.attr.xmlns = "jabber:client";
fwd_st:add_child(item);
% ./gogs web
2015/03/29 19:04:46 [T] Custom path: /data/git/gogs/custom
2015/03/29 19:04:46 [T] Log path: /data/git/gogs/log
2015/03/29 19:04:46 [I] Gogs: Go Git Service 0.6.1.0325 Beta
2015/03/29 19:04:46 [I] Log Mode: File(Info)
2015/03/29 19:04:46 [I] Cache Service Enabled
2015/03/29 19:04:46 [I] Session Service Enabled
2015/03/29 19:04:46 [I] Oauth Service Enabled [GitHub Google]
2015/03/29 19:04:46 [I] Run Mode: Production
panic: template: org/settings/options:49: function "DisableGravatar" not defined