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

Answer by Sergey Ponomarev for Access permissions for SSL certificates...

The nginx must be started as root so it can read certs of root user. Then the nginx will start workers on behalf of www-data user.It's similar too Apache httpdHow does Apache access SSL certs created...

View Article


Answer by Sergey Ponomarev for Dyndns2 protocol specification?

The RFC 2136 spec is an extension of the DNS itself and used by nsupdate command. It's complicated and is used by sysadmins.Routers are using just a plain HTTP GET requests to some DDNS provider. Their...

View Article


Answer by Sergey Ponomarev for How to get the list of timezones supported by...

The query returns time zones grouped by offset so that it will be easier to chose:SELECT utc_offset, is_dst, ltrim( trim(string_agg(distinct (CASE WHEN abbrev NOT LIKE '+%' AND abbrev NOT LIKE '-%' AND...

View Article

Answer by Sergey Ponomarev for How to marshal json string to bson document...

A simple converter that uses go.mongodb.org/mongo-driver/bson/bsonrw:func JsonToBson(message []byte) ([]byte, error) { reader, err := bsonrw.NewExtJSONValueReader(bytes.NewReader(message), true) if err...

View Article

Answer by Sergey Ponomarev for select list is not in group by clause and...

You have an SQL query with grouping but you selecting all columns without grouping aggregation.It's like you have a query:SELECT palletpart, location, supplier_code, qty, OTHER_COLUMNFROM...

View Article


CPU cache friendly byte slice

I have a logger that writes a lot of messages in parallel to stdout. The problem is that messages were written simultaneously and shuffled.So I had to add a mutex and lock before...

View Article

Answer by Sergey Ponomarev for Can Spring Boot serve precompressed assets

As far I know you haven’t such possibility but you can do this quite easily yourself. I think this is actually should be implemented on Tomcat or Jetty level. If you implemented the filter then please...

View Article

Answer by Sergey Ponomarev for Browser based WebDAV client?

Not directly from a browser but there is a nice Chrome App File Management - WebDav. It's not fully translated from Chinese so here is hint: Press Add+ and in Service Provider select the last item 自定义...

View Article


Answer by Sergey Ponomarev for Regular 401 & 405 errors from apache webdav...

401 is not really an error but uthentificatiob prompt. When a browser or other http/webdav client see the 401 status code it will ask a user for credentials and then send them in header Authorization:...

View Article


Answer by Sergey Ponomarev for How to make uploading multiple files with...

It's a same as for a regular http requests. You can call them in parallel, then you need to use Connection: keep-alive or use HTTP2.The WebDAV doesn't support bulk uploads on a specification level. So...

View Article

Answer by Sergey Ponomarev for get a file from a webdav directory with...

If your JS is on the same domain (origin) e.g. you fetching the file from your site then you don't need CORS. But if you wish to download/get the file feom other website thalen that site should allow...

View Article

Answer by Sergey Ponomarev for Tomcat webdav behind IIS Reverse proxy

The IIS is not a best option, usually nginx is used as a reverse proxy.It would be easier to you to find docs.Also the Tomcat is probably not a best option too. The de facto standard in Apache...

View Article

Answer by Sergey Ponomarev for is there an opposite to curl or wget to upload...

rclone allows to do that.See other options https://github.com/stokito/awesome-webdav#cli

View Article


Answer by Sergey Ponomarev for How to configure Stunnel to connect to a...

No, the stunnel works only on a transport level and doesn't try to analyze packets. But this may be a good addition to it and shouldn't be that difficult. You may propose the change or pay to it's...

View Article

Answer by Sergey Ponomarev for CGI not working with httpd server on busybox...

You just have a wrong file name: you called it testcgi but calling cgitest.I'll recommended to rename it to test.cgi or even test.sh. If the cgi script is main e.g. like index.php then you can call it...

View Article


Answer by Sergey Ponomarev for How do I send this specific curl WebDAV...

Are you on windows terminal, right?The command that you tried is for Linux/UNIX. There is a difference.On Win you can install Git and it also will install bash terminal which is the same as in...

View Article

Answer by Sergey Ponomarev for install java on linux busy box distro arm32V7

The Eclipse Temurin makes builds of TLS versions for the arm32v7 platform.Your Linux may be compiled with musl library instead of gnu. Then you can try OpenJDK 8 from Alpine Linux.The OpenWrt is also...

View Article


Answer by Sergey Ponomarev for Java on OpenWrt/DD-WRT

The Alpine Linux is also based on musl library so you may try to download the OpenJDK from their repository.Here is a sample how to install OpenJDK 8 to Turris Omnia...

View Article

Answer by Sergey Ponomarev for What is the file with .p8 extension? (APNs...

This is a private key most likely in PEM format.The file type extension is described in IANA application/pkcs8.The extension is defined in RFC 5958:.p8 files are sometimes PEM-encoded. When .p8 files...

View Article

Answer by Sergey Ponomarev for Store key in compact form

You can try Elliptic Curve (ECC) keys which are mush smaller:openssl genpkey -out small.pem.p8The size of the PEM key is 119 bytesYou can also output to a raw DER form:openssl genpkey -out small.der.p8...

View Article
Browsing all 58 articles
Browse latest View live


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