Posts by Philip Developer • 329 points
25 posts
-
-1
votes1
answer23
viewsQ: Apexcharts - How to add a line break to a label in a Radialbar
I need to insert a long text in the center of a radial bar, so it fits properly, for example with a line break. The text I want to change is in the place of the example set as "text here..." Angular…
-
0
votes1
answer205
viewsQ: Reload Angular 8 in js files inserted into index.html via routerLink
I need to restart the angular, If I am on any other page, and I click on the routerLink, I go to the homepage normally, however, some elements that depend on javascript files or jquery libraries are…
-
0
votes1
answer104
viewsQ: Docker Compose Wordpress Plugin Does Not Install: Connection Refused
I’m trying to create an application in wordpress, through Docker, however plug-ins are not getting installed: Docker-Compose.yml: version: '3' services: mysql: image: mariadb ports: - "3260:3260"…
-
0
votes2
answers3397
viewsA: Read serial port data with javascript, Node
Excuse the delay to update this answer here, I had really forgotten, well I used a library called seriaport, she is excellent for working with style sensors Adian, libelium among others. To…
-
0
votes3
answers188
viewsA: Read two notes and display a string according to the average between them
Just to complement the answers, Serves for version 2 of python. following a different path if you are in need of using the accent in your work, course, college etc. You can use a syntax that allows…
-
2
votes3
answers476
viewsA: Observable returning Undefined
True friend, you had an ai error of logic, ai try to pass the value returned from restaurants to your variable this.Restaurants in your Subscriber. Ai your output undefined is referring to the…
angularanswered Philip Developer 329 -
0
votes2
answers545
viewsA: Algorithm for calculation of residential or industrial power consumption in javascript or typescript
Good people, thanks for the help, I managed to do the function in Typescript, follow the code. paymentValue() { const watt_hour = this.potency * this.hour; const kilowatts = (watt_hour / 1000);…
-
1
votes2
answers3397
viewsQ: Read serial port data with javascript, Node
Problem : Search for an alternative to read data from a COM5 usb port, with bound 115200. I’m working with a libelium waspmote sensor, Alternating current meter, this sensor emits data via usb, and…
-
-2
votes2
answers545
viewsQ: Algorithm for calculation of residential or industrial power consumption in javascript or typescript
Hello colleagues of profession, I am creating a component in Angular(5+) in which I need an algorithm to perform this calculation of energy consumption In case the power option is selected I inform…
-
1
votes1
answer69
viewsQ: How do I make a css scroll bar in microsoft edge go back to top when changing pages?
Error in: Microsoft Edge Technology used: Angular(4+) When it happens: Only when the screen size is small, and not it is possible to display all items of the table listing Table Used: Angular…
-
3
votes2
answers4609
viewsA: How to pass a GET parameter in a URL in Angular 4+ ? Using the route system
Update of found mode: <a class="icon-plus-details" [routerLink]="['/', linkDetail]" [queryParams]="{id: ownerId}"></a> That one [queryParams]="{id: ownerId}" Inserts into the url…
-
2
votes2
answers4609
viewsQ: How to pass a GET parameter in a URL in Angular 4+ ? Using the route system
I need to insert a parameter GET after entering the page with the URL. For example: I clicked here and went to page y. http://example/paginay**?= parametroGet** The get parameter will be an ID,…
-
0
votes2
answers124
viewsA: Multi CEP Sender - Magento
Your question is a little confused, however, I have a little idea of what you are wanting according to what you asked. Look for the page you want to apply this modification, there you can work with…
magentoanswered Philip Developer 329 -
0
votes1
answer297
viewsA: How to add a Jquery library to Magento 1.9
Well I researched a lot, and got two solutions, the first one is like this, you add the Jquery.js file you want in the directory Magento/js/jquery/name-of-your-lib.js. Once this is done, you will…
-
0
votes1
answer297
viewsQ: How to add a Jquery library to Magento 1.9
I was needing to add a Jquery library in Gento 1.9, to use on one of my phtml pages, to insert masks in my fields, such as Cpf, cnpj and etc ... I have done a lot of research and have observed that…
-
0
votes1
answer78
viewsA: How to make the page wait a pop-up?
Dude, there are two ways to solve this, either you use the Javascript timeout function or you use PHP Sleep, apart from usleep() which Delays execution by millionths of a second. Ex Javascript:…
javascriptanswered Philip Developer 329 -
0
votes2
answers3306
viewsA: Fatal error: Call to a Member Function fetch_array() on Boolean when querying Function help
According to php documentation, Mysqli :: query (): Returns FALSE in case of failure. For queries SELECT, SHOW, DESCRIBE or successful EXPLAIN mysqli_query() will return an object mysqli_result. For…
-
0
votes0
answers33
viewsQ: Generate a random email in Angular JS
Generate a random email I need to generate a random email, for when I will create the registration of a user on my system, every time I insert a new user I need to generate this email. Below the…
-
3
votes4
answers1286
viewsA: How many parameters should a method have?
What is the maximum number of parameters a method should have? The ideal number of arguments for a method is zero (niladic). In followed by one (monadic), followed closely by two (dyadic). Three…
-
4
votes5
answers2672
viewsA: What is the </datalist> tag for?
What preceded the datalist functionality? A highlight among the most used Javascript gadgets in the decade previous has been the gadget autocomplete content box. Each Javascript structure has its…
-
2
votes4
answers760
viewsA: What are Path Finding Algorithms?
What Are Path Finding Algorithms? - Taking a more informal approach on the subject, taking away all the boring and theologian departure that applies in college when we study the subject on Graph…
-
1
votes2
answers1517
viewsQ: String count in textarea Angularjs
I need to create a way to show the amount of remaining characters in a textearea registration of a description for a particular profile. That part is the entry of the data: <textarea…
angularjsasked Philip Developer 329 -
2
votes4
answers9040
viewsA: How to return 2 or more values at once in a method?
When you want to have a return of more than one value, according to the properties of the C#: We know that it is necessary to use more than one output parameter, or We have chosen to create more…
-
0
votes2
answers457
viewsA: How to omit certain arguments for which standard values were given in the function prototype parameters?
Standard Arguments for Functions C++ allows a function to associate a default value to a parameter when no corresponding argument is used in the call of function. void f (int i = 1) { . . } On the…
-
1
votes4
answers2005
viewsA: Line break error in <textarea>
How do I solve the problem immediately? It is not a gambit, but an option, after all, a gambit is much worse than that. You have the option to save in the database with line breaks, including I used…