Posts by Pablo Harger • 121 points
8 posts
-
0
votes1
answer28
viewsQ: Change --push-option with Hooks
You can change the --push-option message with a local hook when pushing? Example: When rotating the command git push origin master, the pre-push hook would inject the "test" value into the…
gitasked Pablo Harger 121 -
0
votes1
answer31
viewsA: Tables of MYSQL
Good night, just make the table link adms_equipamentos with the adms_unidades with left outer join, in case there is no equipment registered for that unit, and then you group by unit and count how…
-
0
votes1
answer73
viewsA: Hide and show rows in a table
Good afternoon, possibly if you return your data from an API, they will come chained, as in the example Cars object below, so in this case, I am traversing it, and at each node son of designations,…
javascriptanswered Pablo Harger 121 -
2
votes2
answers77
viewsA: Remove span added with checkbox
Hello, if you do not need to add to an array, you add directly to the list and delete by the element id as shown below: <!DOCTYPE html> <html lang="en"> <head> <meta…
-
2
votes1
answer126
viewsA: Insert HTML code block with javascript
Hello, you can create and manipulate components with javascript as an example below. Each time you want to add the block is just encapsulate the code in a method and call it at the click of a…
-
2
votes2
answers785
viewsA: How to check if an XML file is valid with PHP?
XML is made of multiple nodes when you use the function XMLReader::isValid(), it validates only the node passed by parameter and not the "sub-nodes" that this node contains. What you can do is…
-
0
votes1
answer48
viewsA: Difficulty running a Select in Postgresql
is showing the ids why you connected the city table to the origin, but is showing the city_origin of the freight table and not the city table name field, and missed connecting the city table with…
-
0
votes1
answer238
viewsA: Query in two Oracle tables
you can do SELECT * FROM TGFCAB INNER JOIN TGFITE ON TGFCAB.NUNOTA = TGFITE.NUNOTA WHERE TGFCAB.DTMOV BETWEEN to_date('01-JUN-19', 'dd-mon-yy') AND to_date('02-JUN-19', 'dd-mon-yy') ORDER BY…