Posts by Filipe Tagliatti • 329 points
10 posts
-
0
votes1
answer21
viewsA: Dockercompose (Netlogo + ROS) - Copying Java from one build to another
Guy the Dockerfiles has to be separated even. You will reference each one in the Docker-Compose. It would look like this: version: '3' services: talker: build: context: ./ dockerfile: ros.dockerfile…
-
-1
votes5
answers2123
viewsA: How to validate CIS in ruby?
In PHP the correct is this, which is equivalent to the ruby code /a/17534/13508 function cei_valido($cei) { $cei = preg_replace('/[^0-9]/', '', $value); if (strlen($cei) != 12 || $cei ==…
-
0
votes2
answers62
viewsA: Request API not working on ASP.NET Core 2.1
You misnamed the controller actions. Instead: [Route("api/Cartao/AddOrUpdate")] Use like this: [Route("AddOrUpdate")] You should not repeat the api/Card that is explicit in the controller.…
-
0
votes1
answer169
viewsA: Problems in PM2 - Nodejs
It is common for this to happen when you run pm2 start as root and pm2 list as common user or vice versa. Always run your application as a user and never as root.
-
1
votes1
answer126
viewsA: How to port a Javascript Web server to a Windows executable?
To create desktop applications in Node there are two widely used tools currently: http://electron.atom.io and the https://nwjs.io/ Electron for example was used to create the Atom editor, Slack,…
-
11
votes2
answers12937
viewsA: Validate CPF with Javascript Regular Expression
Cara has no way to validate CPF with regex because it has account involved, it is not only validate the mask. Use this function or any other you find, but regex you will not get. function…
-
-1
votes1
answer117
viewsQ: Lib from image gallery
I’m looking for a lib image gallery in the style of the image below with the page control. I tried to create one using page view and insert into the screen request with a container, but it was not…
-
0
votes2
answers300
viewsQ: Problems getting the layout right in the Xcode
I’m having difficulty with the following question. The blue button in the image below has to be at the height of the woman’s waist as it is on the storyboard, but it has to be on all iPhones (4"…
-
1
votes1
answer133
viewsA: Error in classxml
Your XML file is invalid, that is, it has syntax error. To check whether the file is valid or not, pass it in an XML validator like this http://www.xmlvalidation.com/…
phpanswered Filipe Tagliatti 329 -
6
votes2
answers2487
viewsQ: .gitignore delete all folders but one
I need to make that one .gitignore delete from versioning all folders except one. Example: Library/nao_ignorar Library/ignorar Library/ignorar Library/ignorar ....…