java – How to write springboot job to listen for a result of a search page which is PHP

Sorry guys if it is trivial, but I have no idea how to write a spring boot job that searches in a PHP web page.

So there is a PHP web page, where you can find some search field and a button which will give you the results based on the search fields.

I have always the main URL, like
Under F12 (with a browser) I can see the following:

Request URL:
Request Method: POST
Content-Type: application/x-www-form-urlencoded

and some Form Data which holds the search filters:

some_search(search_type)(living_search_type): somedummydata

And of course a lot of other data which maybe not necessary.

I know how to write REST API applications, but I have no idea how I could write some scheduled-code to listen to the results of a PHP search site.

So is it possible somehow?

docker – How to start Nginx (or listen a http port) after PHP-FPM startup in a single container?

I have issues running Nginx+PHP-FPM in a single container on Cloud Run. My container is based on Alpine and manages Nginx and PHP-FPM startup by Supervisor. Overall it works fine, but there’s a short timeframe between when Nginx starts listening to an HTTP port and when PHP-FPM spinups. This leads to the appearance of 502 HTTP errors with the following log message:

6#6: *3 connect() failed (111: Connection refused) while connecting to upstream, client:, server: _, request: "POST / HTTP/1.1", upstream: "fastcgi://"

The issue here is that Cloud Run decides that the container is ready to handle requests when it opens the 8080 port. Immediately after the port opening, Cloud Run sends a request which always fails on the first attempt because FPM is not ready yet. The log message NOTICE: fpm is running, pid 4 appears after the first request has arrived and failed.

How to manage Nginx to open its port only when PHP-FPM is ready?

Supervisor config:


command=php-fpm -F

command=nginx -g 'daemon off;'

Nginx config:

# Write temporary files to /tmp so they can be created as a non-privileged user
client_body_temp_path /tmp/client_temp;
proxy_temp_path /tmp/proxy_temp_path;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;

access_log /dev/stdout;
error_log /dev/stderr notice;

server {
        listen 8080 default_server;

        index index.php;

        keepalive_requests    10;
        keepalive_timeout     60 60;

        root /var/www/html/app/public;

        charset utf-8;

        server_name _;

        # Deny hidden files (.htaccess, .htpasswd, .DS_Store).
        location ~ /. {
            deny            all;
            access_log      off;
            log_not_found   off;
        # mappings             #

        location ~ .(js|css|png|jpg|ico) {
            expires 5d;
            try_files $uri $uri/ =404;
            return 404;

        # Allow fpm ping and status from localhost
        location ~ ^/(fpm-status|fpm-ping)$ {
            access_log off;
            deny all;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;

        location / {
            client_max_body_size 100m;
            try_files $uri @fpm;

        location @fpm {
            # worker may take long time to finish (max 1 hour)
            fastcgi_read_timeout 3600s;
            fastcgi_split_path_info ^(.+.php)(/.*)$;
            include fastcgi_params;
            fastcgi_param HTTP_PROXY "";
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME /var/www/html/app/public/index.php;
            fastcgi_param SCRIPT_NAME index.php;

I have enabled FPM ping/status pages. Can I use them to trigger the Nginx port opening?

microphone – stream audio from multiple android smartphones to pc or directly to an earphone and to listen

I would like to know if it is possible to achieve a setup in which I’m able to listen to multiple android phones via streaming audio to pc which may be streamed through usb or via bluetooth.

Or if there is an alternative through transmitting to a device and just connecting that device with some earphones and I would be able to hear all devices at the same time?

Here is the overall picture of this last solution


Youtube Vanced – Watch Youtube videos without ads, and listen to music with your screen turned off | Proxies-free


Youtube Vanced is a Youtube clone app that allows you to watch videos without ads and listen to audio with your screen turned off.

It’s a very convenient app, since Youtube ads are becoming ever more intrusive too.

It also includes Youtube Music.

It looks like the original Youtube app.


You just need to download and install Vanced Manager app from official site down below, install MicroG plugin and Youtube Vanced.

And voila! No more annoying ads all over the place, and those people on the public transport no longer need to know what you’re listening to.


docker – How to configure Dante SOCKS proxy server to listen on VMware’s public interface?

I am using kizzx2/docker-wireguard-socks-proxy to convert a VPN into a SOCKS proxy.

I am exposing the port using the -p argument, so Docker should bind to

sudo docker run -it --rm --cap-add=NET_ADMIN
     --name wireguard-socks-proxy
     --volume /directory/containing/your/wireguard/conf/file/:/etc/wireguard/:ro
     -p 1080:1080

I can access the SOCKS5 proxy at and (Docker IP) but not (VMware IP) on port 1080.


Starting Nmap 7.80 ( ) at 2020-10-27 12:35 EDT
Nmap scan report for Ubuntu0 (
Host is up (0.00012s latency).
Not shown: 996 closed ports
80/tcp   open     http
1080/tcp filtered socks
1083/tcp open     ansoft-lm-1
3306/tcp open     mysql

Nmap done: 1 IP address (1 host up) scanned in 1.35 seconds

Starting Nmap 7.80 ( ) at 2020-10-27 12:35 EDT
Nmap scan report for
Host is up (0.00013s latency).
Not shown: 999 closed ports
1080/tcp open  socks

Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds

Starting Nmap 7.80 ( ) at 2020-10-27 12:40 EDT
Nmap scan report for localhost (
Host is up (0.00011s latency).
Not shown: 995 closed ports
80/tcp   open  http
631/tcp  open  ipp
1080/tcp open  socks
1083/tcp open  ansoft-lm-1
3306/tcp open  mysql

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds


logoutput: stderr

internal: eth0 port = 1080
external: wg0

user.unprivileged: sockd

socksmethod: none
clientmethod: none

client pass {
    from: to:
    log: error

socks pass {
    from: to:

I am receiving connections on VMware’s public interface (ens33), but the Dante SOCKS proxy server is not listening on

sudo tcpdump -i ens33 -n port 1080

listening on ens33, link-type EN10MB (Ethernet), capture size 262144 bytes
12:27:06.372746 IP > Flags (S), seq 2040900223, win 64240, options (mss 1460,nop,wscale 8,nop,nop,sackOK), length 0

2013 – How to listen for an Infopath submit dialog in Sharepoint using Javascript

I know I shouldn’t be using Infopath. I don’t have a choice. We’re not in a new Sharepoint environment yet and we don’t have PowerApps yet. It will happen and we’ll have to redo all of this but we need Infopath in the meantime.

I created an infopath form attached to a form library because the user wanted to be able to add multiple attachments and that wasn’t possible with the list form. We needed to add custom scripting behavior to the form submit page but we couldn’t edit the existing form submit page that Sharepoint creates by default for the library so we created a new page and added the form and a script editor webpart for the Javascript.

My user wants the form to go to the list when she pushes the save button. Its set to close in infopath but currently it does nothing, the form just sits there. I have some say over what is in the query string and I heard that if you put Source= that the submit button will take you to the source URL when the submit is done but I’m not sure that’s going to work for my page. I haven’t tested it yet.

What I need to know is, using Javascript, how do I listen for positive confirmation that an infopath form successfully submitted to a Sharepoint list? In case I need to write a script to do this.

Please I know this is all an ugly hack but its what I have to work with. My tools are Javascript, Sharepoint (and only the front end) and Infopath.

linux – listen unix /tmp/plugin155583172: bind: input/output error

I am running an operation (terraform plan though I don’t think that’s important, I mention it just in case it is) inside a docker container which is failing with a fairly useless error. I have turned on detailed logging (which for terraform is done by export TF_LOG=TRACE)and when I do so I see the following in the trace output:

(ERROR) plugin.terraform-provider-random_v2.3.0_x4: plugin init error: error=”listen unix /tmp/plugin155583172: bind: input/output error”

I am not knowledgeable enough to know what this might mean so I’m hoping someone here has some pointers about how I can diagnose the problem.

ios – How can I backup, sort, and listen to all of my iPhone Voice Message on my MacBook?

I have many recordings of birds as Voice Memos on my iPhone 6 with iOS 12.4.5 and I am trying to synch to my new MacBook macOS 10.15.6 using iTunes (which is now called Music?)

If I connect my iPhone to my new laptop then click the iPhone icon in Music it shows me an alphabetical list of about half or less of the Voice Memos that are on my phone. The list is alphabetical so I can’t check the most recent recording date.

I have synched, but when I disconnect my phone the list disappears and I can not find Voice Memos on my laptop anywhere.

If I look on my hard drive under Music I don’t see anything useful.

Question: How can I synch or backup, sort, and listen to all of my iPhone Voice Message on my MacBook?



php – How to listen on WordPress REST API calls ( single post )

I’m building a mobile app and need to collect site visitors count through the mobile app using the only way available to me and that’s The REST API.

I found a plugin called WordPress Popular Posts collect visitors but only on the site.

So what I intend to do is listening on any single post API Request and update the page visitors manually using WordPress SQL.

My problem is I don’t know a way ( hook maybe ) to listen on the API requests and do what I explained above.