Most voted questions
150,413 questions
Sort by count of
-
4
votes2
answers943
viewsCapture SOAP request
I would like to log all Soap requests exactly as they arrived on my server. There is a way this can be done via c#?
-
4
votes2
answers2442
viewsRun a java Jar by Delphi
I wonder if there is a way to execute a jar by Delphi and give commands to it as if it were a command line. The truth is that I have a java application that no longer has access to the code and it…
-
4
votes2
answers1551
viewsHow to group data by an id in R
I have the following database: id x 1 2 1 3 2 3 3 3 3 3 3 3 I wanted to create a new database without repeating the field value id, to solve this I can average the field values x that belongs to the…
-
4
votes1
answer918
views -
4
votes2
answers716
viewsHow to prevent POST from outside the server?
I’m creating an app and I didn’t want some smart-ass thinking about changing the path of a POST html to send the values he wants, so I used a method in PHP: $referral=$_SERVER['HTTP_REFERER'];…
-
4
votes1
answer1895
viewsHow to identify which user is on my website page with Jquery
I’m making a script to identify if the user is on the site or not, but I have no idea how to do it, could someone help me? My doubt is the following, I want to know if the user is on my page, for…
-
4
votes1
answer164
viewsInvert 0 or 1 in a column
I have a table that has numerous records and a column called posição. It only gets the value 0 for locked and 1 for released. There now with a change I need to reverse these values, where this 0 has…
-
4
votes1
answer954
viewsHow to create a foreign key in a table where data already exists, in Entityframework with Code-First?
I have a system already in production of which the client requested a modification. The modification is the creation of an EMPLOYEES table that will relate to the MOVEMENT table, creating a 1:N…
-
4
votes2
answers472
viewslinux command - lock folder name/rename
need to give access to an ftp user in the /var/www folder but there are folders there that it cannot access/edit/delete tried a command: #chmod 000 <pasta> almost worked, it does not delete,…
-
4
votes5
answers9469
viewsHide HTML code
The thing is, if you can, go to some website and disable javascript and do F5 to update. You will see that the content of the site is gone, yet if you upload it for example CTRL + U, you will see…
-
4
votes2
answers377
viewsAlternative to Exists()
I’m looking for an alternative to using the command Exists in procedures I need to perform a large query and check if it returns any data, if it does not return the search should return a select…
sql-serverasked 9 years, 7 months ago Marciano.Andrade 1,205 -
4
votes1
answer1907
viewsApply Material Design (android:Theme.Material) to Android versions smaller than API 21?
I was studying a little about the Android layout guidelines as: Colors; Design material; And how to implement these guidelines; So I tried to customize my Theme, thus: <resources> <!--…
-
4
votes1
answer1304
viewsHow to persist abstract class with JPA
I know JPA and I have other tables already implemented and working. I would like to know how to persist the classes below, since one is an abstract class and the other is "extending" it. I should…
-
4
votes1
answer1252
viewsWhat is Handled for C#
I saw in some codes the use of Handled being assigned as true and false of Combobox event arguments - Selectionchanged, Textbox - Lostfocus, Button - Click. I wonder what it’s for and what it…
c#asked 9 years, 7 months ago Mauricio Ferraz 2,074 -
4
votes1
answer225
viewsHeight on video Html5
I’m using the tag video of Html5. I wanted to make my video with the height 100%, however, so I use the attribute height, it repositions to my video and does not enlarge it. I wanted to make a menu…
-
4
votes2
answers862
viewsReading PDF with Defaultstreamedcontent. How to close it?
I have a JSF page where I Gero a PDF and need to show it on the screen. For that, I created a <p:media> It is working, but the PDF file gets stuck (never closed) and over time it ends up…
-
4
votes1
answer136
viewssynchronize two screens
I am starting to develop a scheduling system in Rails and I have the following problem: Let’s say I have two open screens in my book: 1.1 - First screen opens on doctor’s computer. 1.2 - Second…
-
4
votes1
answer576
viewsGzip Javascript implementation
Javascript and Localstorage get along very well, but one of them is always saying that there is no space. The idea would be to get a solution, like Gzip in Javascript so we can compress the…
-
4
votes2
answers1373
viewsShorten the string size
Is there any way to shorten the size of the type string zipar she and then deszipar as the Base64 function does?
phpasked 9 years, 7 months ago Vinícius Lara 3,750 -
4
votes3
answers498
viewsWrite checkbox value to input
Well I would like to be registering the days of the week selected directly in Sert, however I would like to be passing these values as a "phrase" to the hidden field. What is the way to be doing…
jqueryasked 9 years, 7 months ago Arsom Nolasco 1,367 -
4
votes2
answers23279
viewsHow to remove an old commit
I’m trying to remove a very old commit from my repository that was just to test git, I researched some solutions and came up with this: git rebase --onto (sha1) (sha2) or git rebase --onto HEAD~2…
-
4
votes2
answers1388
viewsHow to save facebook profile photo in database?
I have a button that when you click, connects to facebook and displays the data of the person in a form for registration, in this form to a field of type text that returns to me the following:…
php facebook facebook-graph-api file-get-contents file-put-contentsasked 9 years, 7 months ago Soares 83 -
4
votes4
answers2426
viewsColor transitions with fade in a word
I have a code that is making color transitions, has to leave a fade in this transition, IE, so it does not keep changing so "dry", I am doing with JS, is there any CSS what makes it? Anyway, wanted…
-
4
votes1
answer158
viewsHow to receive input data from a C program from a file?
I have a program in C. Let’s assume that its name compiled is a.out (pattern). When I use the following command to execute it... ./a.out < arquivo.txt ...how do I read the content of arquivo.txt…
-
4
votes1
answer105
viewsWhat is the reason for the suffix "? algumnumero" in the link of some CSS?
I was going through the sources of some websites, and sometimes I see something like this: <link href="http://css.siteX.com/imagecache/.../ymPrompt.css?2014102701" type="text/css"…
-
4
votes1
answer321
viewsSpatial analysis in R: how to implement a polygon with splancs?
I’m trying to calculate the intensity of a point pattern with "Smooth kernel" (sorry, I don’t know how to translate this). Before executing Smooth kernel code, you need to specify a histogram…
-
4
votes3
answers2029
viewsPass Google Maps API to JPG image
I have this code below: <iframe width='500' scrolling='no' height='200' frameborder='0' id='map' marginheight='0' marginwidth='0' src='https://maps.google.com/maps?saddr=São Paulo - SP,…
-
4
votes2
answers174
viewsThe less consultation the better, right?
It is possible to vary the writing of the results, as an example below where I want to use. <table width="1000" align="center"> <tr> <td> NOTICIAS</td>…
-
4
votes2
answers1045
viewsCalculation to determine whether triangle is rectangle gives no expected result
The program I created takes three integer values, calculates within the if these values and if the condition is correct it should show on the screen the YES (the triangle is rectangle), and if the…
-
4
votes1
answer567
viewsHow to convert this code from Python version 2 to 3.4?
I’m having a hard time convert the code below for the version 3.4 of Python, the purpose of this code is to encode and decode hexadecimal, in order to create shellcodes. import binascii, sys, time…
-
4
votes2
answers190
viewsCSS SVG file does not perform Javascript function
I’m using an SVG as background-image, via css: #element { background-image: url('triangle.svg'); } Then inside the SVG arch I call a function in the onload because I need to pass RGB color…
-
4
votes2
answers99
viewsPreset in Javascript function parameters
Is it possible to make parameter presets in Javascript functions? Something like: function teste(oi = "ola", type = 1) { To predefine variables if they are not defined?…
-
4
votes1
answer1187
viewsHow to delete axis title in graphics in R?
I am doing multiple regressions for the same variable X and filling together using the command par(mfrow) in the R. But I want to put only one title on the X axis at the end of all my charts. I…
-
4
votes1
answer114
viewsHow to know if the solution has been modified?
I would like to make a code, which when it is executed, I would know if the solution has been changed and which project has been changed, but I do not know if there is a method to be used. Then I’d…
-
4
votes1
answer180
viewsUpdate Controls in Custom Toolbox Control
I created a project "Windows Forms Toolbox Control" and customized some controls: I created a custom gallery so that all programmers in the company can install Toolbox and make use of the controls:…
-
4
votes2
answers236
viewsHow to receive an X number ranging from 0 to 10 100 in C?
I have a question that can have as input a number X that can be from 0 until 10 100. I am receiving the input values/number as char to make it easier. But you can’t create a static string/array of…
-
4
votes1
answer442
viewsHow to use acute accent inside a string in a bash script?
I use the script below to download Audios from google translator to use in a personal program that narrates codes and quantities of my stock. The problem is that the high-pitched "oh" accent of the…
-
4
votes1
answer2920
viewsRegular expression in Delphi 7
Guys, I’m new to programming on Delphi 7, and also regular expressions. Delphi 7 because in the company I’m working at, for other reasons, they have to use Delphi 7. I need to work with regular…
-
4
votes2
answers742
viewsPHP search system without Mysql
I have a site with several HTML files, and I intend to make a search system in PHP, that looks for words in these HTML files, and that shows me the page or pages in which they are but without using…
-
4
votes1
answer84
viewsJava class for performance analysis of my project
I’m looking for a Java class or bundle to help me analyze the performance of my app. I need information such as: processing time, memory consumption, processor usage ... and so on. I know there are…
-
4
votes1
answer176
viewsPredicting an outcome through probability
I wonder if there’s a way, from a sequence of 10 numbers I can predict the supposed next 10 numbers. These 10 numbers are in a range from 0 to 100. Explaining the situation better: Every day 10…
-
4
votes1
answer352
viewsHow to access PHP webservice securely from an Objective-C/iOS app?
I’m making an application where I need to securely send user data to the Web Service using PHP. For this, I’m researching security for iOS. What is the recommended method and what are the points I…
ios web-service objective-c security-guard cryptographyasked 9 years, 7 months ago Tiago Amaral 1,520 -
4
votes3
answers8862
viewsHow to make a redirect to finalize purchase without going through the Woocomerce cart?
Does anyone here know how to make a redirect to Woocommerce’s checkout page when they click to buy a product? (By default Woocommerce adds to cart the product and the person is required to go in…
-
4
votes1
answer3305
viewsCreating bat at runtime and process in Delphi
I have two functions that create a file bat and runs it, but I’m just not getting to create the process (CreateProcess returns False) and I can’t identify the error. I use Windows 7, 64 bit. I must…
-
4
votes3
answers1949
viewsImplement and perform joint operations on chain lists
Could someone help me implement a chained list to perform set operations? Without using native Java functions such as ArrayList. The algorithm already generates a chained list and adds new nodes,…
-
4
votes1
answer1790
viewsDivide in circles with responsive layout
I’m trying to make a page that contains div in circles and which fit one below the other when the layout decrease, for example, to cell phone sizes. With the common size I would like them to be 4…
-
4
votes1
answer72
viewsBest way to design Classes from the database?
What is the best way to design Classes from the Database schema below: Usuario(id INTEGER PK, desc TEXT); Amigo(idA INTEGER, idB INTEGER, PK(idA,idB), FK(idA) REFERENCES Usuario(id)); This means…
-
4
votes2
answers1914
viewsMultiple JDK/JRE
Can I have multiple JDK/JRE facilities? because I have two different software and one depends exclusively on the 32bits version (aptana studio 3) and I’m already using the 64 bits version in the…
-
4
votes2
answers1288
viewsreplace using regular expressions
I am running a replace with regular expressions to format a string, such as CPF: var cpf = '99999999999'; cpfFormatado = cpf.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/, '$1.$2.$3-$+');…
-
4
votes1
answer3410
viewsAPI in Laravel receive POST JSON and write to database
I will receive through the API a JSON with this structure: {"leads": [{"id":"1", "email":"[email protected]", "name":"Bruno Ghisi", "company":"Resultados Digitais", "job_title":"IT",…
laravelasked 9 years, 7 months ago David Santos 528