Interesting questions
-
-2
votes1
answer68
viewsHow to escape monetary value commas in a php array?
How to escape monetary value commas in a php array? I have the array below with 12 positions but the comma that separates the decimals is giving me problems, php understands that it is a new…
phpasked 5 years, 8 months ago Daywison Ferreira Leal 167 -
2
votes0
answers58
viewsWhat is this error ? Disconnectedcontext
Galera blz ? I’m here programming for Windows Form with the language C# when I come across an error "Disconnectedcontext" . Well let me explain how my program works, I have several Rms in one…
-
0
votes1
answer38
viewsLoop for printing per page
I have a loop: <?php for($i=0; $i<=20; $i++){ ?> <div id=""> <?php echo $i; ?> </div> <?php } ?> I need each of these Divs to appear separately at the time of…
-
-2
votes1
answer1008
viewsVIEW DATE BY PHP SPELL
Guys, next.. I have a contract printing page where I need to convert the field date in full <?php echo $result->estado?> - <?php echo $result->data_contrato?> In the…
-
9
votes2
answers2293
viewsWhat is the best (fastest) way to read a file from a web server?
I need to read a file on a web server, but when I need to store the content in an array of bytes it is taking too long. Does anyone know a faster way to do this? Follow my code. Thanks in advance.…
-
1
votes1
answer141
viewsc# hexa conversion
I need to create an array of bytes with the following content: byte[] arr = new byte { 0x4f, 0x4e }; I happen to have the string "ON", where "O" = 4f in hexa and "N" = 4e I have tried directly…
-
-2
votes1
answer47
viewsCount php/js characters
Good morning Galera, All right ? I need to create a field that counts the amount of special characters and displays in an input. This is my function created to count characters. function…
javascriptasked 3 years, 4 months ago Rafael Ribeiro 3 -
0
votes0
answers32
viewsTake only the repeated value of an Array
I would like to take only names that repeat in an input array of type text. For example: ['Daniel', 'Sarah', 'Mary', 'Daniel', 'Philip'] Return the 'Daniel''. Follow the Assembly Code of the array…
-
0
votes1
answer100
viewsNetbeans 8.2 Error "java.sql.Sqlexception: Unknown system variable 'query_cache_size'"
I cannot connect to a Mysql database through Netbeans IDE, the following error is reported: java.sql.Sqlexception: Unknown system variable 'query_cache_size'
-
2
votes1
answer98
viewsAccess a data frame object, within a function in R - Census 2010
I would like to upload the 2010 Census files. First I am loading the households, through a function, using the command read_fwf, package readr. However, the data frames created, stay within the…
rasked 6 years, 9 months ago Thiago Marques 77 -
0
votes0
answers59
viewsPagseguro - Problem when consulting Brand
Hello, I am trying to use the transparent checkout of pagseguro. I have already integrated the session generation, but when consulting the flag of the card, the function success is never called,…
-
0
votes1
answer244
viewsCipher of César, Error in the displacement of letters
I am trying to make a program that, the user will enter a name and will be asked how many positions the user wants to shift to the right. However, I had a problem. If I type the letter A and move to…
casked 6 years, 5 months ago rafael marques 939 -
0
votes1
answer345
viewsMigrate template to bootstrap
I have a responsive template that repeats some components, which are at the top and the bottom. The problem that the components of the top do not click (buttons) when they are responsive, ie I…
-
0
votes1
answer634
viewsWhy does the app.component.css file not work in Angular?
When we execute in Angular the command ng g c page --spec=false it creates a component composed of four files, an HTML file, a module file, a CSS file and a file TS as shown in the figure below, in…
-
0
votes1
answer337
viewsdebug.Keystore on Mac to generate hash
I need to generate the hash of my Mac to add on Facebook and be able to continue the application I’m developing, where you need to login. I’ve executed the command in several places but when I put…
-
5
votes4
answers7265
viewsHow to get customer operating system information?
I need to get information from the operating system of who accessed the page, for example, through a command find out if it is Windows, MAC, Linux.
-
0
votes1
answer170
viewsInnerhtml function doesn’t work?
I am using the view engine handlebars, however, when I went to manipulate DOM elements, it continues with the value given to it by the exhaust, follows the code below: monitor page.handlebars:…
-
6
votes3
answers14615
viewsHow to remove a Foreign key in mysql?
I need to edit a table, but I cannot remove it. I need to remove Foreign key, however, all commands I tried did not work. I’m currently trying to alter table tabela drop foreign key nomefk And the…
-
4
votes1
answer3687
viewsHow to align text in the center of a card?
I’m looking for a way to align the text of the card component in Ionic. How to do this ? <div class="card"> <div class="item item-image"> <img ng-src={{imagem}} id="smallimage">…
ionicasked 8 years, 6 months ago FernandoPaiva 1,562 -
0
votes1
answer1018
viewsHow to remove a node in a binary search tree with these specifics?
I have the following binary tree : Defined by the following data manure : typedef struct Node{ int data; struct Node * left; struct Node * right; } node; typedef struct Node * root; And I have the…