Posts by Felipe Augusto • 475 points
19 posts
-
0
votes1
answer478
viewsA: How to put loading bar with Flutter Webview Plugin?
It is possible to implement using callback onPageFinished present in version 0.3.5 onwards, along with Stack. Follow the example implementation in that reply.…
-
1
votes1
answer688
viewsA: Error message when buildar apk on Flutter console
The reply was given by @Noobsaibot in the comments: Was missing the C: in the storeFile: storeFile=C:/Users/Lucas Daniel/androiapp/key.jks…
-
0
votes1
answer22
viewsA: Play audio while loading
You can use the element <embed>, which has other properties, it would be something like: <embed src="/music/good_enough.mp3" loop="false" autostart="true"> You can reach the reference…
-
0
votes3
answers1134
viewsA: Create DIV with border crossing the title
A way of doing using div: .title_box { border: black 2px solid; } .title_box #title { position: relative; top: -0.5em; margin-left: 1em; display: inline; background-color: white; } .title_box…
-
-1
votes1
answer135
viewsA: Tour Virtual 360 - Google Maps
I believe the documentation has increased over Google Maps Street View. There are now concrete examples in the documentation. Here you can check the main page on this topic in the documentation, and…
-
7
votes1
answer2689
viewsA: What is the use of pipe() and map() functions in Angular 6?
The function pipe() serves to read data from a source as soon as they become available and write this data in another location. For example, in your HTTP request example you make the request and the…
-
-1
votes2
answers174
viewsA: Print reverse order
Follows a function to perform the inversion: def reverse_number(n): r = 0 while n > 0: r *= 10 r += n % 10 n /= 10 return r
pythonanswered Felipe Augusto 475 -
-1
votes1
answer142
viewsA: Reverse order commands/upper/ switch
Invert number (in one function): def reverse_number(n): r = 0 while n > 0: r *= 10 r += n % 10 n /= 10 return r Leave a capital letter: u"stackoverflow".title() Replace x for y and vice versa: "y…
pythonanswered Felipe Augusto 475 -
0
votes1
answer515
viewsA: Navigation using arrow keys
It is possible to realize picking up the coordinates of the items in question and checking which ones would be closer. I created a function to pick up the coordinates and implement the movements up…
-
-1
votes1
answer34
viewsA: Opening outer page without refresh
For a more complete answer it would be necessary that you post some code from your page, but assuming that it could be a simple link: You need to insert some anchor into your HTML. <a…
-
0
votes1
answer56
viewsA: How to position the div at the time of Toggler Bootstrap 4
You can enter the part of your CSS that makes the padding within a media-query, this way it is applied only with certain screen size: @media (min-width: 500px) { .navbar-nav{ padding-left: 565px;…
-
4
votes2
answers588
viewsA: How to put td as link.
whereas the IMAGEM is a link to the image, you can do as follows: $table .= '<td><a href='.$r['IMAGEM'].'>'.$r['IMAGEM'].'</a></td>'; Otherwise it would be necessary to…
-
3
votes2
answers57
viewsA: Manipulating data from Ajax
If the number of users is always 4, you can iterate in that amount and check if in each iteration there is some data, otherwise you fill in the pattern: success: function(data) { if (data.status ===…
-
1
votes1
answer452
viewsA: Error running npm install
You can try running the command after assigning the appropriate permissions: npm config set user 0 npm config set unsafe-perm true And then, rotate your command: npm audit fix --force Source: Github…
-
0
votes1
answer129
viewsA: Access cookie saved in browser
You cannot see cookies from other websites. You cannot see http-only cookies. All cookies you can see are on the property document.cookie, containing a semicolon-separated list of items in the key…
-
0
votes3
answers322
viewsA: Bootstrap doesn’t do what I want
For this you must delete the classes from div form parent and insert the following class: text-center. One way to do this without relying on Bootstrap classes would be to apply this style to div…
-
1
votes1
answer81
viewsA: How to quote a message
You can do it two ways: Using backslash (): if(string.IsNullOrEmpty(pessoa.Nome)) { ModelState.AddModelError("Nome", "O campo \"nome\" é obrigatório"); } Or using arroba (@) with duplicate double…
asp.net-mvcanswered Felipe Augusto 475 -
1
votes1
answer102
viewsA: How to hide all buttons with foreach?
In a question with a similar doubt, the following solution emerged: ViewGroup group = findViewById(R.id.root); // The name of your layout int children = group.getChildCount(); for (int i = 0; i <…
-
1
votes1
answer48
viewsA: Log in using a native Facebook dialect from a Progressive Web App
Hello! The Intents are native applications activations through another native application. The Webintents are actions performed from one site to others, without this one having to leave the site…