Posts by Michel Anderson Lütz Teixeira • 17 points
6 posts
-
1
votes0
answers36
viewsQ: Nsregularexpression replacingOccurrences with multiple templates
I’m having difficulties to replace different templates in a text, my Regex returns more than one need to replace according to the variable value strReplaced Follows code: import Foundation let texto…
-
0
votes1
answer120
viewsA: Rename golang files without removing . from the extension
Solved package main import ( "fmt" "io/ioutil" "log" "os" "unicode" "golang.org/x/text/transform" "golang.org/x/text/unicode/norm" ) func main() { dir := "./imgs_textos/" files, err :=…
-
-2
votes1
answer120
viewsQ: Rename golang files without removing . from the extension
I need to rename files from a directory removing spaces and accents solved both but I had a side effect because I lost the . of extension. Follow the code link: Golang Playground Code: package main…
-
0
votes1
answer158
viewsQ: Mount container folder to host
Good afternoon, folks, I’d like some guidance on creating an image and Compose. I am preparing an environment for the java development team with eclipse toncat java and initial Workspace. I thought…
-
0
votes1
answer221
viewsA: Jenkins pack delete all directories from folder except 1
The best way I could was this: <delete includeEmptyDirs="true" > <fileset dir="${src.web.dir}/templates/assets_clientes" includes="**/*" defaultexcludes="false"> <exclude…
-
0
votes1
answer221
viewsQ: Jenkins pack delete all directories from folder except 1
I have the directory structure like this ${src.web.dir}/templates/assets_clients/ cliente1 cliente2 cliente3 I need to remove all internal folders including . svn minus the cliente3 folder and its…