freedns.afraid.org/dynamic/

Published on Tue Mar 01 2022

if you use the service you may want to know a state of some responses

Additional matching regexes for
freedns.afraid.org/dynamic/

freedns.afraid.org/dynamic/

if you use the service you may want to know a state of some responses

Match Windows filename in any path but only C: D: and F: drives

Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.

spring logback parser

Spring boot logback 日志正则匹配。 样例日志 ``` 2019-12-27 13:52:38.201 INFO 1 --- [Thread-8] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2019-12-27 13:52:39.535 INFO 1 --- [Thread-8] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed 2019-12-27 13:52:39.538 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ... 2019-12-27 13:52:42.539 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Unregistering ... 2019-12-27 13:52:42.540 WARN 1 --- [DiscoveryClient-0] c.netflix.discovery.TimedSupervisorTask : task supervisor shutting down, can't accept the task 2019-12-27 13:52:42.597 INFO 1 --- [Thread-8] com.netflix.discovery.DiscoveryClient : Completed shut down of DiscoveryClient 2019-12-27 13:52:43.329 WARN 1 --- [XNIO-1 task-15] c.n.eureka.resources.InstanceResource : Not Found (Renew): RPLUS-SERVICE-COMMUNITY - 69bce99f652f:rplus-service-community:20090 ```

Request mask idea

Do you like apis and nodejs as I do?, then this must be for you, have you noticed that all the famous apis have a common functionality? the ability to request partial responses with masks, so if you have a friend list you may want to return only a few fields you know just in case. You will end up requesting someting like /me/friends?fields=name,email,address. But also may want to return complex references like your friend's friends, so this regex let you match things like name,email,address,friends(name,email) as the 4 fields they are, then you can use a portion of the regex to extract the inner fields. Why the fancy introduction? we need some context :P enjoy