Quantcast
Channel: User Sergey Ponomarev - Stack Overflow
Browsing all 58 articles
Browse latest View live

Comment by Sergey Ponomarev on How to redirect output of systemd service to a...

The StandardOutput=syslog doesn't wotk anymore: "Standard output type syslog is obsolete, automatically updating to journal"

View Article


Comment by Sergey Ponomarev on Fix severity and facility in log message

See a good answer here unix.stackexchange.com/a/680490/162125

View Article


Comment by Sergey Ponomarev on Fix severity and facility in log message

OMG this is some LISP? It would be better to use template or flags("syslog-protocol")

View Article

Comment by Sergey Ponomarev on Golang: tests and working directory

You can check for the .git folder which almost always means parent folder

View Article

Comment by Sergey Ponomarev on Golang: tests and working directory

You can try smaller wd = strings.SplitAfter(wd, "<yourProjectDirName>")[0]

View Article


Comment by Sergey Ponomarev on Favicon not displaying on Safari

The mask-icon is an a hack for a very old Safari when a tab is pined.

View Article

Comment by Sergey Ponomarev on Favicon not displaying on Safari

After tests for all browsers on all platfroms I came up with the solution: ``` <link rel="icon" href="/favicon_48.png" sizes="48x48"> <link rel="icon" href="/favicon.svg" sizes="any"> ```

View Article

Comment by Sergey Ponomarev on Difference between NewChannel vs Request in...

The OpenSSH client sends keep alive pings to the global reqs. So I responding to them instead of just disqarding. Interesting that the Dropbear ssh also sends keep alive but in a session

View Article


Comment by Sergey Ponomarev on How to use pako.js javascript? Pako is not...

You can include the pako from CDN jsdelivr.com/package/npm/pako

View Article


Comment by Sergey Ponomarev on Where to define Build Tags in Goland from...

I specified globally in Settngs / Go / Build tags / Custom Tags and in the run dialog just checked the Use all custom build tags

View Article

Comment by Sergey Ponomarev on How to get the Uri for the aws:lambda function...

It looks like the 2015-03-31 can be any, is anywhere explained what it is?

View Article

Comment by Sergey Ponomarev on How to restrict who can merge to master on a...

I made a demo of how this setup works youtube.com/watch?v=Ci1YLRieq7Y

View Article

Comment by Sergey Ponomarev on Can I use a SVG toolbar icon?

FF now supports the SVG developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensio‌​ns/…

View Article


Comment by Sergey Ponomarev on Launch Bootstrap Modal on Page Load

2024 update: nothing works except of JS $("#myModal").modal('show')

View Article

Comment by Sergey Ponomarev on Module socket not found lua

Please note that you should avoid this as import in the Lua scripts: medium.com/@fabricebaumann/…

View Article


Answer by Sergey Ponomarev for Using EasyJSON with golang

To serialize:rawBytes, err := easyjson.Marshal(yourObject)But internally it will create a new byte array so if you can dump to writer then use easyjson.MarshalToWriter() or even...

View Article

Answer by Sergey Ponomarev for Logout user via Keycloak REST API doesn't work

FYI: OIDC spec and Google's implementation has a token revocation endpointIt was implemented in Keycloak 10. See Keycloak JIRA for details

View Article


Answer by Sergey Ponomarev for Is there a way to get httpd to serve a simple...

Sorry, it's not clear if you want to serve some string or to receive (i.e some API call?).The busybox httpd -f -p 8000 command starts the http server on port 8000 on all interfaces (including public)...

View Article

Answer by Sergey Ponomarev for Busybox wget to download jar fails with an...

Starting from BusyBox 1.34.0 (19 August 2021) the 307 and 308 redirects are supported. Commit e71ea6c1f84318d8655a5783736288695174f596

View Article

Answer by Sergey Ponomarev for WebDAV Specification thumbnail/preview file image

As a workaround if you control both the WebDav server and client then you can:Create a Thumbs.db file and download it. Personally I like this idea because it's clear, well known and already used in...

View Article
Browsing all 58 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>