Learn how to use Regular Expressions in Site Audit advanced filters and how to set "Include" and "Exclude" rules for the crawl. Written byAnna Updated over 3 weeks ago Regular expressions (also known as REGEX or REGEXP) help you find URLs or text that match a particular pattern. 💡REGE...
In the previous articles, we had to download and use many third-party libraries. In today's article, we will discuss how to delete Golang packages when they are no longer used. Method 1: Delete the source directory If you want to remove the installed packages, just delete the source dire...
The service back-end is written in Golang. In this article, I’ll explain a few solutions to work with emojis in Go: the good way and the bad way. Not So Good Way 🙅♂️ Some libraries and forums suggest using regexp to find emojis in a text: package main import ( "fmt"...
Possibly you have long line which you want to break and you don't need new lines characters in it. In this case you could usestring concatenation. Example-1: Concatenate strings with newline escape character package main import "fmt" func main() { // Declare golang multiline string multi...
A goroutine is a lightweight thread managed by the Go runtime. async_req.go package main import ( "fmt" "io/ioutil" "log" "net/http" "regexp" "sync" ) func main() { urls := []string{ "http://webcode.me", "https://example.com", "http://httpbin.org", "https://www....
The by far simplest and fastest because there is no regexp that has to be evaluated. Base Rules Maintaining SSL sessionsImproves performance from the clients’ perspective. Performance Enable OCSP StaplingEnable to reduce the cost of an OCSP validation. Performance Use exact names in a server...
The by far simplest and fastest because there is no regexp that has to be evaluated. Base Rules Maintaining SSL sessionsImproves performance from the clients’ perspective. Performance Enable OCSP StaplingEnable to reduce the cost of an OCSP validation. Performance Use exact names in a server...
$ go build -i -v gitlab.com/pantomath-io/demo-tools Makefilegit tag: init-makefilePhoto by Matt Artz on UnsplashNow we have all the tools that we may use in the context of continuous integration, we can wrap them all in a Makefile, and have a consistent way to call them....
Use custom log formats Memory analysis from core dumps Performance Adjust worker processes Use HTTP/2 Maintaining SSL sessions Use exact names in a server_name directive where possible Avoid checks server_name with if directive Use try_files directive to ensure a file exists Use return directive ...
The by far simplest and fastest because there is no regexp that has to be evaluated. Base Rules Maintaining SSL sessionsImproves performance from the clients’ perspective. Performance Use exact names in a server_name directive where possibleHelps speed up searching using exact names. Performance...