Posts by Renato Souza • 321 points
26 posts
-
0
votes1
answer50
viewsQ: Do JSON regex excluding element
I have the Json below and need to pick up only the return token: { "token":…
-
0
votes1
answer415
viewsA: Regex in Zabbix 4.2 Web Scenario
After analyzing the documentation and finding a very scrotum example: And finding q is not like this example, rs. Anyway it helped me, note that after the content="(.. has this parenthesis and…
-
0
votes1
answer415
viewsQ: Regex in Zabbix 4.2 Web Scenario
How to recover values with regex from the return of a web scenario in Zabbix that calls an API. Web Scenario is for testing web pages and Apis in Zabbix. I already have the regular expression that…
-
0
votes1
answer19
viewsA: Run Fastlane with remote IO drone
It was necessary to inform the PATH that was on the local mac at the time of executing the commands. From an export PATH=.... thus staying so: kind: pipeline name: default steps: - name: test image:…
-
0
votes1
answer19
viewsQ: Run Fastlane with remote IO drone
I have the following pipeline to run Fastlane tests on an Ios project: kind: pipeline name: default steps: - name: test image: appleboy/drone-ssh settings: host: host.localhost username: fulano…
-
1
votes1
answer63
viewsQ: Versioning data recorded in Jenkins
Every setup I have on Jenkins today, as well as users, passwords, CI/CD settings and all the gadgets needed for my projects will be lost if I need to start a new Jenkins installation. How can I view…
jenkinsasked Renato Souza 321 -
1
votes1
answer37
viewsA: Get name index json Java Android Studio
Manage to find the solution, follows: JSONObject jsonObject = new JSONObject(); try { jsonObject.put("nome", ""); jsonObject.put("sobrenome", ""); jsonObject.put("nomeCompleto", "Renato Vieira de…
-
0
votes1
answer37
viewsQ: Get name index json Java Android Studio
How can I get the index name of a JSON object in Java in Android Studio. Code: JSONObject jsonObject = new JSONObject(); try { jsonObject.put("nome", ""); jsonObject.put("sobrenome", "asdasd");…
-
0
votes1
answer92
viewsQ: Convert JSON Java Android - MOIP
I am using the MOIP API to create a client and cannot extract the return below for JSON in JAVA: {"id":"CUS-K2R4F6N2E9SL","ownId":"77888888888888","fullname":"ASDASDAS…
androidasked Renato Souza 321 -
0
votes1
answer9
viewsQ: Recyclerview only lists data when interacting with other components
I’m having trouble displaying the result of a firebase query in Recyclerview, only displaying the result when I click inside the Edittext component.
android-recyclerviewasked Renato Souza 321 -
0
votes1
answer9
viewsA: Recyclerview only lists data when interacting with other components
Solution: android:layout_height="match_parent" Explanation: wrap_content is not yet fully supported, there are ways to make it work, but it is not safe. Source:…
android-recyclerviewanswered Renato Souza 321 -
0
votes1
answer32
viewsQ: Decimal type Phinx Slim Framework
How can I create a decimal type in Phinx Migration, see how it is currently: $oss->addColumn('valor','decimal', ['limit' => 10.2]); I’ve tried several ways and I can’t, it always generates…
slimasked Renato Souza 321 -
5
votes1
answer728
viewsQ: What is and what is the explanation for type-safe in C#?
Not being able to understand the concept of type-safe in C# and what is its use, since C# is type-safe.
-
0
votes1
answer51
viewsQ: Advanced Android Design Layout
I’m using the layout below to house a BottomNavigationView and call my Fragments, but wanted to put the LinearLayout where I call the Fragments in a ScrollView. The problem is there, when I do it in…
-
1
votes0
answers137
viewsQ: Problem with Gradle Android Studio
I’m getting a Gradle Warning to exchange Compile for the implementation and api, but I’m no longer using Compile in my project. Configuration 'compile' is obsolete and has been replaced with…
-
0
votes9
answers166445
viewsA: How to hide/show a div in HTML?
Using the class name as reference: function ocultaElemento(el) { var display = document.getElementsByClassName(el); if(display[0].style.display == "none") display[0].style.display = 'block'; else…
-
0
votes1
answer574
viewsQ: How to handle xml return in Jquery
I am making an Ajax request for a PHP page that returns several data in XML. If I make a simple code recovery by opening the PHP page directly, sure, however I am making the request for another page…
-
1
votes0
answers26
viewsQ: Send image via API to AMAZON AWS
I need to send an image via jquery or javascript to an API hosted on Amazon. I can send it through Postman, it shows me this sending code: var form = new FormData(); form.append("file",…
-
0
votes3
answers2228
viewsA: How to make a simple square on Android?
You can also create your image and use as a Drawable feature.
androidanswered Renato Souza 321 -
0
votes1
answer178
viewsQ: Settext error checking internet connection
I am using this code to check my internet connection, however it does not allow me to use the setText() to change a text in the layout, gives error and closes the app, someone can help? private void…
androidasked Renato Souza 321 -
3
votes1
answer153
viewsQ: Filter text in Delphi
How to filter the 1 of "status":1, of the text below using Delphi: {"status":1,"data":"47281274","msg":"SUCESSO"} I tried some routines of StrReplace, but to no avail!…
delphiasked Renato Souza 321 -
1
votes2
answers1286
viewsQ: Query sql does not work with date in Delphi
I am making the following query in Delphi, using Mysql: QueryExtraiDados.Close; QueryExtraiDados.SQL.Clear; QueryExtraiDados.SQL.Add('Select * from clientes where…
-
1
votes1
answer3755
viewsA: Converting Date to American Format in Delphi
already manage to solve, it was like this: antecedencia:=FormatDateTime('yyyy/mm/dd', hoje); Abs
delphianswered Renato Souza 321 -
0
votes1
answer3755
viewsQ: Converting Date to American Format in Delphi
I have the following code: procedure Tfrmniver.FormCreate(Sender: TObject); var hoje : tdatetime; dia:Integer; begin //Defini a quantidade de dias dia:=15; // vamos obter a data de hoje hoje :=…
delphiasked Renato Souza 321 -
6
votes1
answer3433
viewsQ: Slideshow with Mysql BLOB Images
I am mounting an image manager and I need to display these images on a TV, through the browser by a slideshow. I can assemble a slide show setting each image address, but I have several images in…
-
-1
votes1
answer845
viewsQ: Consult Active Directory distribution groups
How can I make an automatic connection in ad and then through search field search for any given OR group in AD. The idea is to find a group and visualize who its members are.
delphi-7asked Renato Souza 321