Posts by Chinnon Santos • 349 points
16 posts
-
2
votes1
answer21
viewsQ: Why do some npm packages have a '@' precedent in the account name and others not in the package-json deps list?
An example would be the package @brazilian-utils/brazilian-utils and luxon, I’ve suspected some of them to be private and others to be public, but Brazilian-utils kills that suspicion. What…
-
0
votes2
answers9043
viewsA: What’s the meaning of error 406?
I had the same problem but with the HTTP 406 error in a request with Curl in the PHP language, I was able to solve by adding the CURLOPT_USERAGENT. curl_setopt($ch, CURLOPT_USERAGENT,…
httpanswered Chinnon Santos 349 -
0
votes1
answer295
viewsQ: Issue does not close after commit with Issue referenced "Issue #1 Fixed"
I’m doing some Git Flow testing and tried to close an issue #1 through commit within a Hotfix branch, see the repository: https://github.com/chinnonsantos/git-flow/issues/1 Note that in the two…
-
0
votes0
answers95
viewsQ: Listener (Listener) for Google Maps v2 Android Camera Zoom changes?
I’m using the Cameraposition() to get Camera Zoom on Google Maps mMap.getCameraPosition().zoom It works perfectly when I call somewhere in the code, but I would like to create a Listener (Listener)…
-
0
votes2
answers121
viewsA: Background color did not quit when clicking the CSS close button
You did not inform which Modal Plugin is using or if you are using the jQuery UI... Anyway you are starting the Window via Javascript and closing track CSS, that there is in the counter hand... you…
-
4
votes2
answers1922
viewsA: Access indices of an array inside another array
Buddy, this is looking like an evaluative college course activity... but let’s get down to business, the structure foreach to traverse this Array UNEVEN yours is: foreach ( $array as $loja ) { echo…
-
2
votes3
answers709
viewsA: Replace javascript Alert
Recommend using jQuery plugins quite popular among developers, two examples with great documentation and easy implementation are: jQuery Validation Plugin jQuery form validation plugin Perks: Both…
-
2
votes2
answers3752
viewsA: What is the difference between Compile and Implementation in the Android Studio build.Radle file?
I found the answer in Stackoverflow in English, follows the translation: It is one of the break changes that comes with Gradle: 3.0 that Google announced on IO17 Gradle: 3.0 To compile configuration…
-
4
votes2
answers3752
viewsQ: What is the difference between Compile and Implementation in the Android Studio build.Radle file?
Whenever I will add some library manually in the file build.Gradle (Module: app) of Android Studio 3, I use the format implementation, because this is the way that Android Studio itself uses by…
-
2
votes1
answer539
viewsQ: how to know the latest version of a Google library (dependency) for Android Studio
Generally, when we use features in Android Studio, you need to include libraries, example of a file build.Gradle (Module: app): dependencies { implementation fileTree(dir: 'libs', include:…
-
0
votes1
answer328
viewsQ: How to use SVG icon in Google Maps addMarker (Markeroptions) API Android
I am using the following Example code from the Google Maps v2 API for Android: mMap.addMarker(new MarkerOptions() .icon(BitmapDescriptorFactory.fromResource(R.drawable.ic_bike)) .anchor(0.0f, 1.0f)…
-
0
votes2
answers220
viewsA: Open a lightbox image in the same layout from a button
Lightbox is a plugin (jQuery) unique for use in web pages (HTML), you will not be able to use this plugin in Java Language.
-
5
votes7
answers115219
viewsA: Mask for CPF and CNPJ in the same field
Are you using that Plugin? if it is the Maskedinput of Digitalbush follows an example: $(".hibridCpf").on('focusin',function(){ var target = $(this); var val = target.val(); target.unmask(); val =…
-
2
votes2
answers2982
viewsA: Digitalbush plugin for CNPJ and CPF masks in the same field
I created and use this solution years ago in jQuery for the Plugin itself Maskedinput of Digitalbush: $(".hibridCpf").on('focusin',function(){ var target = $(this); var val = target.val();…
-
0
votes3
answers1306
viewsA: Empty string passed to getElementById()
The error is being generated in some Firefox extension, not in your code. PS: I also use the Gerencianet Checkout API and your code is correct (payment c/card). You are free to use so much id (#)…
-
1
votes3
answers11724
viewsA: How do I create a floating html window?
When I need to do what you need I use one <div> styled 'display:none' as standard and use jQuery to display and hide with animation to get more interesting. let’s go to the details, inside…