question_id int64 37.6M 73.2M | input_text stringlengths 88 52.4k | output_text stringlengths 37 35.6k | title stringlengths 15 150 | tags stringlengths 1 107 | q_score int64 -19 397 | view_count int64 3 879k | answer_count int64 1 21 | accepted_answer_id int64 37.6M 73.8M | answer_id int64 37.6M 73.8M | a_score int64 -5 1.29k | is_accepted bool 1
class | creation_date stringlengths 20 24 | input_text_instruct stringlengths 251 52.6k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,688,973 | How to apply a pseudo class to some elements in LESS<p>I don't know if I named the title right or have the right terminology but I'm using LESS.</p>
<p>What I want is to apply arrows on some <code><ul></code>s while the default is no style. So anytime I want arrows, I want to somehow explicitly say so in code.</... | <p><code>className</code> is the IDL attribute. In HTML you should use the content attribute, which is called <code>class</code>.</p>
<p>And <code>.arrow</code> is a class selector, not a pseudo-class.</p>
<p>And in selectors, place ancestors at the left (outer block in LESS).</p>
<p><div class="snippet" data-lang="... | How to apply a pseudo class to some elements in LESS | css|reactjs|less | -2 | 33 | 1 | 37,689,155 | 37,689,155 | 2 | true | 2016-06-07T20:42:50.813Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to apply a pseudo class to some elements in LESS<p>I don't know if I named the title right or have the right terminology but I'm using LESS.</p>
<p>What... |
37,808,235 | "Quantifier follows nothing in regex" replacing + and =<p>I have written this line to replace <code>+</code> and <code>=</code> with space. But it returns an error stating</p>
<blockquote>
<p>Quantifier follows nothing in regex</p>
</blockquote>
<pre><code>$element= ~ s/+/ /g;
$element= ~ s/=/ /g;
</code></pre>
<p... | <p><code>+</code> has a special meaning in regexes: it's a quantifier meaning "1 or more". To use <code>+</code> literally, backslash it.</p>
<pre><code>$element =~ s/\+/ /g;
</code></pre>
<p>But, if you want to replace both <code>+</code> and <code>=</code>, you can add them to a character class, where <code>+</code... | "Quantifier follows nothing in regex" replacing + and = | regex|perl | -2 | 1,338 | 1 | 37,808,412 | 37,808,412 | 7 | true | 2016-06-14T09:35:18.970Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
"Quantifier follows nothing in regex" replacing + and =<p>I have written this line to replace <code>+</code> and <code>=</code> with space. But it returns an... |
37,631,887 | What are alternatives to secure a web-server other than firewall<p>I'm doing a network security course and trying to wrap my head around all the concepts. One of which is: </p>
<p><strong>What technology other than firewall can be used to allow only a specific customers while block some other customers? Why is firewal... | <p>A firewall implied that you block based on the customer IP address. This may work if the customer has his own range of addresses and all requests from him are legitimate.</p>
<p>It gets complicated when he is with a large cloud provider who who provide a wide range of possible IPs, including IPs from other people. ... | What are alternatives to secure a web-server other than firewall | apache|security|webserver|firewall | -2 | 1,295 | 1 | 37,633,626 | 37,633,626 | 0 | true | 2016-06-04T15:24:02.597Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
What are alternatives to secure a web-server other than firewall<p>I'm doing a network security course and trying to wrap my head around all the concepts. On... |
37,820,106 | sql command not properly ended for select statement<p>I have a pl/sql function and in that i have the following piece of code:</p>
<pre><code>execute immediate 'select ' || schemaname || '.' || value1 || '_seq.nextval from dual into cnpParmId';
</code></pre>
<p>for this line, I am getting an error:</p>
<blockquote>
... | <p>It's hard to say without showing us more of your procedure, but I think it's a fair guess that you didn't mean to concatenate <code>cnpParmId</code> in your dynamic SQL (how could the dynamic SQL possibly know how to interpret <code>cnpParmId</code>?). <code>cnpParmId</code> is probably defined somewhere in your pro... | sql command not properly ended for select statement | oracle|function|stored-procedures|plsql|plsqldeveloper | -2 | 790 | 1 | 37,820,302 | 37,820,302 | 2 | true | 2016-06-14T19:01:24.197Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
sql command not properly ended for select statement<p>I have a pl/sql function and in that i have the following piece of code:</p>
<pre><code>execute immedi... |
37,630,172 | JQuery click function order<p>I would like to know how can I change the background-image of another div element, when I click on it. I would like to see images one after another in order but what I get is the last one. Here is some code:</p>
<pre><code>$(document).ready(function () {
// console.log('ready!');
... | <p>Instead of adding multiple event handler use single. Inside handler change images from the array with help of a counter variable.</p>
<pre><code>$(document).ready(function() {
// store images in an array
var images = ['url(images/sail-boat.jpg)', 'url(images/sad_ostateczny.jpg)', 'url(images/twierdza_wisloujsci... | JQuery click function order | javascript|jquery|css | -2 | 56 | 2 | 37,630,206 | 37,630,206 | 3 | true | 2016-06-04T12:21:31.687Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
JQuery click function order<p>I would like to know how can I change the background-image of another div element, when I click on it. I would like to see imag... |
37,790,317 | How to append a string in front of all elements in any List<string> in C#<p>Is there any way I can insert a prefix string <code>"/directory/"</code> in front of all elements in the list <code>["file1.json", "file2.json"]</code>?</p>
<p>Result I'm looking for would be <code>["/directory/file1.json", "/directory/file2.j... | <p>You could use the linq extension method: <code>Select()</code></p>
<pre><code>List<string> myList = new List<string> { "file1.JSON", "file2.JSON" };
var directory = "/directory";
myList = myList.Select(filename => Path.Combine(directory, filename)).ToList();
</code></pre>
<p>This will execute the ... | How to append a string in front of all elements in any List<string> in C# | c#|.net|string | -2 | 1,848 | 5 | 37,790,359 | 37,790,359 | 8 | true | 2016-06-13T12:50:25.713Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to append a string in front of all elements in any List<string> in C#<p>Is there any way I can insert a prefix string <code>"/directory/"</code> in front... |
37,691,465 | How to add up a word based on month<p>AI need to find how may times "Weddings" (column M) comes up in each July only and then add it to F8. Then in August and that that in F19.</p>
<p>In F8, I need to add up how many times "*" (column R) comes up with the reference "Wedding" only</p>
<p>in P8, I need to add up how ma... | <blockquote>
<p>need to find how may times "Weddings" (column M) comes up in each July only and then add it to F8</p>
</blockquote>
<pre><code>=COUNTIFS(M13:M25,"Wedding",A13:A25,">="&DATE(2015,7,1),A13:A25,"<="&DATE(2015,7,31))
</code></pre>
<p><br></p>
<blockquote>
<p>Then in August and that that... | How to add up a word based on month | excel | -2 | 51 | 1 | 37,696,841 | 37,696,841 | 0 | true | 2016-06-08T00:20:51.953Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to add up a word based on month<p>AI need to find how may times "Weddings" (column M) comes up in each July only and then add it to F8. Then in August an... |
37,713,752 | Creating a log having the date of purchase<p>I need to create a log having the purchase date of an item.</p>
<p>Items can be owned by only one buyer at time. So, for example, if <code>item1</code> was purchased by <code>buyer2</code> in 2009 and after by <code>buyer1</code> in 2015, then between 2009 and 2015 was owne... | <p>I finally found out the solution only for past purchases.</p>
<pre><code>SELECT
main.id_doc, main.id_item, main.date AS "date_from", bi.date AS "date_to", main.id_buyer
FROM
MyTable main, MyTable bi
WHERE
bi.id_doc =
(
SELECT sub.id_doc
FROM MyTable sub
WHERE sub.id_ite... | Creating a log having the date of purchase | mysql|date | -2 | 25 | 1 | 37,884,500 | 37,884,500 | 0 | true | 2016-06-08T22:05:23.683Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Creating a log having the date of purchase<p>I need to create a log having the purchase date of an item.</p>
<p>Items can be owned by only one buyer at time... |
37,887,789 | Android development software for ubuntu linux<p>I currently moved from windows to ubuntu-linux. So I want to know what would be the best software for making android applications aside from android-studio for ubuntu-linux OS</p> | <p>If you want to use android studio, you can get it following <a href="https://stackoverflow.com/questions/28314139/how-to-install-android-studio-in-ubuntu">this link</a></p>
<p>If you don't want to use android studio for some reason.. you can use <a href="http://www.eclipse.org" rel="nofollow noreferrer">Eclipse</a>... | Android development software for ubuntu linux | android | -2 | 60 | 1 | 37,887,917 | 37,887,917 | 0 | true | 2016-06-17T18:08:48.620Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Android development software for ubuntu linux<p>I currently moved from windows to ubuntu-linux. So I want to know what would be the best software for making ... |
37,910,209 | WebSockets and Socket.io<p>Recently lots of online games such as <a href="http://agar.io" rel="nofollow">http://agar.io</a> have been utilising the relatively new feature of WebSockets to create real time mmog's. My question is how can I create a node js program which can handle connections from browsers using WebSocke... | <p>Refer To These Websites:</p>
<p><a href="https://davidwalsh.name/websocket" rel="nofollow">https://davidwalsh.name/websocket</a></p>
<p><a href="http://socket.io/" rel="nofollow">http://socket.io/</a></p>
<p>And you may need to install socket io as a npm package.</p> | WebSockets and Socket.io | javascript|node.js|websocket | -2 | 52 | 1 | 37,910,253 | 37,910,253 | 0 | true | 2016-06-19T18:00:36.603Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
WebSockets and Socket.io<p>Recently lots of online games such as <a href="http://agar.io" rel="nofollow">http://agar.io</a> have been utilising the relativel... |
37,904,101 | delete a folder to a specific user In Team Foundation Server (TFS)<p>i want to delete the local copy of a folder for a specific user only. the user has already downloaded (checked in) the folder. </p>
<p>i have already tried the below things</p>
<p>i deleted the folder, but the problem is its deleting it from local a... | <p>Since this file has been downloaded locally. After you restricted the user to access the server version of the file. He won't see and get the folder in TFS server. However, there is no way or settings to delete his local copy.</p>
<p>These files are as same as offline, you can read, edit them even without connectin... | delete a folder to a specific user In Team Foundation Server (TFS) | c#|tfs | -2 | 45 | 1 | 37,918,909 | 37,918,909 | 0 | true | 2016-06-19T05:04:01.667Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
delete a folder to a specific user In Team Foundation Server (TFS)<p>i want to delete the local copy of a folder for a specific user only. the user has alrea... |
37,919,086 | I have to check if parameters exist, if yes add '':'' between them<ul>
<li>if parameter parent_Id exist separate them with : (parent_Id:leadingNumber)</li>
<li>if parameter does not exist, there will be only leadingNumber without :</li>
<li>if parameter is empty, there will be only leadingNumber without :</li>
<li>(nul... | <p>You could use something like:</p>
<pre><code>public static void main(String [] args) {
String parentId = "parentId";
String leadingNumber = "leadingNumber";
System.out.println(join(parentId, leadingNumber));
parentId = null;
System.out.println(join(parentId, leadingNumber));
parentId = "";
... | I have to check if parameters exist, if yes add '':'' between them | java | -2 | 45 | 1 | 37,919,176 | 37,919,176 | 0 | true | 2016-06-20T09:34:54.793Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
I have to check if parameters exist, if yes add '':'' between them<ul>
<li>if parameter parent_Id exist separate them with : (parent_Id:leadingNumber)</li>
<... |
37,947,948 | Form POST routine works on one action but not the other when implemented exactly the same way<p>I am trying to submit a view model of type <strong>ProductBrandViewModel</strong> from my form to my controller action, but the property <code>name</code> on the view model ends up being null even though a value has been pas... | <p>So i figured it out, because the form generates an input field as <code>ProductBrand.Name</code>, the using <code>brand</code> as the argument will not work because it there is no property with with <code>ProductBrand.Name</code>, by changing the argument name from <code>brand</code> to <code>productBrand</code>, MV... | Form POST routine works on one action but not the other when implemented exactly the same way | c#|asp.net-mvc|controller|http-post|html.beginform | -2 | 36 | 2 | 37,950,126 | 37,950,126 | 0 | true | 2016-06-21T14:59:16.270Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Form POST routine works on one action but not the other when implemented exactly the same way<p>I am trying to submit a view model of type <strong>ProductBra... |
37,981,389 | What is the security standard for a small business?<p>This maybe a very newbie question, but exactly what do I need so that I can say my network is considered "secure"?</p>
<p>To be more specific, if I have a website that deals with login/signup and lots of money transactions, what do I need to protect it?</p>
<p>So ... | <p>To be completely blunt, you should probably hire a security professional to assess and make recommendations about your site. Alternatively, a part or full-time network administrator with security experience/certifications might be a good hire. </p>
<p>I recommend the "don't do-it-yourself" approach not because I wa... | What is the security standard for a small business? | security | -2 | 34 | 1 | 37,997,036 | 37,997,036 | 0 | true | 2016-06-23T02:32:48.577Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
What is the security standard for a small business?<p>This maybe a very newbie question, but exactly what do I need so that I can say my network is considere... |
38,007,349 | little XPath for scrapy<p>By Chrome I got the XPATH like</p>
<pre><code>/html/body/div[2]/div[2]/section[2]/div/div[2]/div[2]/div[5]/div
</code></pre>
<p>Sector</p>
<pre><code>body > div.off-canvas-wrap > div.inner-wrap.brand-padding > section:nth-child(2) > div > div.row.article-view > div.columns... | <p>Please try:</p>
<pre><code>response.xpath('//div[@class="columns small-12"]').extract()
</code></pre> | little XPath for scrapy | python|scrapy | -2 | 33 | 1 | 38,007,529 | 38,007,529 | 0 | true | 2016-06-24T06:56:51.970Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
little XPath for scrapy<p>By Chrome I got the XPATH like</p>
<pre><code>/html/body/div[2]/div[2]/section[2]/div/div[2]/div[2]/div[5]/div
</code></pre>
<p>S... |
38,037,324 | Mobile View of Website<p>I'm currently developing a site that can be found at <a href="http://bnlfinance.com" rel="nofollow">http://bnlfinance.com</a>, and I'm having issues with bootstrap with wordpress. The homepage, and the posts, do not resize correctly on mobile. The about us page does resize. I'm sure it's som... | <p>Confirm whether you have this line of code in your head tags</p>
<pre><code> <meta name="viewport" content="width=device-width, initial-scale=1">
</code></pre>
<p>make sure you also have </p>
<pre><code> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</code></pre>
... | Mobile View of Website | html|wordpress|twitter-bootstrap|mobile | -2 | 36 | 2 | 38,037,352 | 38,037,352 | 0 | true | 2016-06-26T10:03:43.597Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Mobile View of Website<p>I'm currently developing a site that can be found at <a href="http://bnlfinance.com" rel="nofollow">http://bnlfinance.com</a>, and I... |
38,048,675 | C#.net winforms and usercontrol event handling<p>I have a combobox and an usercontrol in mainWindowForm, how can I update data in usercontrol on selectedIndexChange of comboBox ?</p> | <p>Use:</p>
<pre><code>ComboBox.SelectedIndexChanged += new EventHandler(UpdateUserControl);
public void UpdateUserControl(object sender, EventArgs e)
{
// Update UserControl data...
}
</code></pre> | C#.net winforms and usercontrol event handling | c# | -2 | 30 | 2 | 38,048,826 | 38,048,826 | 0 | true | 2016-06-27T08:00:51.393Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
C#.net winforms and usercontrol event handling<p>I have a combobox and an usercontrol in mainWindowForm, how can I update data in usercontrol on selectedInd... |
37,942,333 | Number of certificates can be created for a user<p>Hi I am planning to use AWS IOT for my project which will have many devices and for each device we need to create certificate. On AWS IOT site, It is written that you can add countless number of devices.But I need to know that is there any limitation on generating cert... | <p>There is no limitation on the number of devices, certificates or policies you can have.</p> | Number of certificates can be created for a user | amazon-web-services|aws-iot | -2 | 38 | 1 | 38,093,762 | 38,093,762 | 0 | true | 2016-06-21T10:47:02.380Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Number of certificates can be created for a user<p>Hi I am planning to use AWS IOT for my project which will have many devices and for each device we need to... |
37,842,635 | SQL changing switch based on existent of other record or a logical on another table<p>Here is some test tables and records to help explain my problem.</p>
<pre><code>create table table1
(item VARCHAR2(50 CHAR),
type VARCHAR2(50 CHAR),
is_on VARCHAR2(50 CHAR)
);
create table table2
(item VARCHAR2(50 CHAR),
s... | <pre><code>UPDATE table1 x
SET is_on =
(SELECT DECODE ( x.TYPE, 'a', ABS (s_a - NVL (b.switch, 0)), 'b', ABS (s_b - NVL (b.switch, 0)), x.is_on)
FROM ( SELECT item, - (SIGN (COUNT (*) - COUNT (DECODE (TYPE, 'a', 1, NULL))) - 1) s_a, SIGN (COUNT (DECODE (TYPE, 'b', 1, NULL))) s_b
... | SQL changing switch based on existent of other record or a logical on another table | sql|plsql | -2 | 43 | 1 | 37,854,392 | 37,854,392 | 1 | true | 2016-06-15T18:02:49Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
SQL changing switch based on existent of other record or a logical on another table<p>Here is some test tables and records to help explain my problem.</p>
<... |
37,870,682 | Centering issue with HTML & CSS<p>currently my issue is this: <a href="http://prntscr.com/bhafke" rel="nofollow">http://prntscr.com/bhafke</a>
<em>Browser: Chrome</em></p>
<p>For some reason, it's not centering properly. Below you'll find my code:</p>
<p>HTML:</p>
<pre><code><body>
<div id="wrapper">... | <p>Use <code>text-align: center;</code> to center the heading text within the <code>div</code>.</p> | Centering issue with HTML & CSS | html|css | -2 | 25 | 2 | 37,870,758 | 37,870,758 | 1 | true | 2016-06-16T22:56:49.933Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Centering issue with HTML & CSS<p>currently my issue is this: <a href="http://prntscr.com/bhafke" rel="nofollow">http://prntscr.com/bhafke</a>
<em>Browser: C... |
37,892,767 | Swift: Make UISegmentedView uneditable<p>Pretty self explanatory title: quickly make a UISegmentedView uneditable. This means the user will not be able to change the selected segment.</p> | <p>If you want to stop the interaction of <code>segmentdControl</code> try like this.</p>
<pre><code>self.segmentedControl.userInteractionEnabled = false;
</code></pre>
<p>Hope this will help you.</p> | Swift: Make UISegmentedView uneditable | ios|swift2|uisegmentedcontrol | -2 | 61 | 2 | 37,892,785 | 37,892,785 | 1 | true | 2016-06-18T02:45:13.560Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Swift: Make UISegmentedView uneditable<p>Pretty self explanatory title: quickly make a UISegmentedView uneditable. This means the user will not be able to ch... |
37,899,903 | Initializers in class swift<p>What is the difference in initializing a variable:</p>
<pre><code>class Person {
var name = String()
}
</code></pre>
<p>instead of:</p>
<pre><code>class Person {
var name : String
init(name: String) {
self.name = name
}
}
</code></pre>
<p>thanks</p> | <ul>
<li><p>First snippet</p>
<p>You <strong>can</strong> call</p>
<pre><code> let person = Person()
</code></pre>
</li>
<li><p>Second snippet:</p>
<p>You <strong>must</strong> call</p>
<pre><code> let person = Person(name:"")
</code></pre>
</li>
</ul>
<p>to get an instance with an empty <code>name</code> p... | Initializers in class swift | swift|class|initializer | -2 | 49 | 1 | 37,899,945 | 37,899,945 | 1 | true | 2016-06-18T17:43:29.330Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Initializers in class swift<p>What is the difference in initializing a variable:</p>
<pre><code>class Person {
var name = String()
}
</code></pre>
<p>... |
37,909,491 | How to extract substring between two characters in iMacro?<p>The extracted string using TAG is <code>"67% (6/9)"</code>.
How to extract the number between '/' and ')' ? (in my case it will be '9')</p> | <p>Use <strong><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/match" rel="nofollow"><code>String#match</code></a></strong> method with capturing group regex.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
<div class="snippet-code">
<pre ... | How to extract substring between two characters in iMacro? | javascript|imacros | -2 | 587 | 1 | 37,909,502 | 37,909,502 | 1 | true | 2016-06-19T16:37:47.353Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to extract substring between two characters in iMacro?<p>The extracted string using TAG is <code>"67% (6/9)"</code>.
How to extract the number between '/... |
37,932,924 | How to solve mongoDB related issue efficiently?<p>There is a lot of questions in monoDB tag about different problems, and I see that there is also some bunch of comments requesting similar data.</p>
<p>So provides <a href="https://stackoverflow.com/help/how-to-ask">How To Ask a Good Question</a> but this is not relate... | <p>There is a few rules that will help here to get good and valuable answer for MongoDB related question.</p>
<p>Please see below some common categories and steps that will help with gathering data which could help you to find a good answer faster. </p>
<h2>Please attach all documents in text format as screenshot can... | How to solve mongoDB related issue efficiently? | mongodb | -2 | 320 | 1 | 37,932,925 | 37,932,925 | 1 | true | 2016-06-20T22:37:15.287Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to solve mongoDB related issue efficiently?<p>There is a lot of questions in monoDB tag about different problems, and I see that there is also some bunch... |
37,999,350 | When coloring listView items using textBox how can i make it to show results on lowercase and uppercase?<p>If i type in the textBox for example: form1 it will color all the items that contains in the text form1 but if i will type Form1 it will color only some of the items with form1 in the text.</p>
<p>Not sure why si... | <p>Are you trying to do this in a case sensitive way? If so, what you have should be the expected results, where items containing "F" are not the same those containing "f".</p>
<p>If you're doing this where <code>"f" == "F" (should be treated the same)</code> then why not convert everything to lower?</p>
<pre><code>t... | When coloring listView items using textBox how can i make it to show results on lowercase and uppercase? | c#|.net|winforms | -2 | 38 | 1 | 38,000,131 | 38,000,131 | 1 | true | 2016-06-23T18:38:06.773Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
When coloring listView items using textBox how can i make it to show results on lowercase and uppercase?<p>If i type in the textBox for example: form1 it wil... |
38,006,762 | Are there classes for managing HTML objects in .Net?<p>Is there an HTML DOM object model structure in .Net? nothing that is specific to MVC or WebControls but just for HTML document management </p> | <p>You can use the <a href="https://htmlagilitypack.codeplex.com/" rel="nofollow">Html Agility Pack</a>, or <a href="https://www.nuget.org/packages/CsQuery/" rel="nofollow">CsQuery</a> if you're more familiar with Jquery.</p> | Are there classes for managing HTML objects in .Net? | c#|.net|base-class-library | -2 | 40 | 1 | 38,009,136 | 38,009,136 | 1 | true | 2016-06-24T06:19:07.610Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Are there classes for managing HTML objects in .Net?<p>Is there an HTML DOM object model structure in .Net? nothing that is specific to MVC or WebControls bu... |
38,013,468 | Suggestion based on user's search<p>I have this problem: in my website the user writes in an input bar the name of an ArtWork. Then, usign the Google APIs, I give him the title, the image as well as other useful details.</p>
<p>But on my website I've also uploaded e-books containing useful information to use during th... | <p>Here's a simple-ish version of how to do that. You will have to insert into a database your ebook name and what other info you want about them.</p>
<p>Then you will have a query which searches like this:</p>
<pre><code>$search = 'your search term';
$query = 'select * from ebook_data e where e.name like "%'.$search... | Suggestion based on user's search | javascript|php|mysql|json | -2 | 54 | 1 | 38,013,591 | 38,013,591 | 1 | true | 2016-06-24T12:28:00.497Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Suggestion based on user's search<p>I have this problem: in my website the user writes in an input bar the name of an ArtWork. Then, usign the Google APIs, I... |
38,047,914 | How to send a packed structure in C++ and receive it in C#<p>I need to write a client in C++, which would send packed structure to the server. Server must be written in C#. I don't understand, how to convert it in C#. May be you will suggest a better way to do this.</p>
<p>For example:</p>
<pre><code>typedef struct S... | <p>You should specific protocol to use, convert this structure to bytes based on that protocol, send these bytes to server, server can restore these bytes data based on that protocol. That is the common way of Client-Server communication.</p> | How to send a packed structure in C++ and receive it in C# | c#|c++|network-programming | -2 | 78 | 1 | 38,048,316 | 38,048,316 | 1 | true | 2016-06-27T07:14:21.317Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to send a packed structure in C++ and receive it in C#<p>I need to write a client in C++, which would send packed structure to the server. Server must be... |
38,041,509 | Spark SQL DataFrame - How to transform and create new one?<p>I have a DataFrame created from reading a parquet file. I wanted to transform that DataFrame and create a new DataFrame.</p>
<p><strong>My Input File:</strong></p>
<pre><code>Name PhoneNumber
Shankar 2323232232
Ramesh 232j23j232
</code></pre>
<p>... | <p>This should work:</p>
<pre><code>import static org.apache.spark.sql.functions.*;
df.select(
upper(col("Name")).alias("Name"),
regexp_replace(col("PhoneNumber"), "[^0-9]", "").alias("PhoneNumber"));
</code></pre> | Spark SQL DataFrame - How to transform and create new one? | java|apache-spark|apache-spark-sql|spark-dataframe | -2 | 301 | 1 | 38,042,956 | 38,042,956 | 2 | true | 2016-06-26T18:00:54.210Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Spark SQL DataFrame - How to transform and create new one?<p>I have a DataFrame created from reading a parquet file. I wanted to transform that DataFrame and... |
38,044,238 | How big is an HDFS block?<p>I know its 64 MB, but what does MB mean here. Is it <code>64 * 1000000</code> or <code>64 * 1024 * 1024</code>? I need to know the exact value. I tried to google this but couldn't find any satisfying answer.</p> | <p>It's <code>64 * 1024 * 1024 = 67108864</code> (bytes).</p> | How big is an HDFS block? | hadoop|memory|hdfs|diskspace | -2 | 35 | 1 | 38,044,256 | 38,044,256 | 2 | true | 2016-06-26T23:51:22.147Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How big is an HDFS block?<p>I know its 64 MB, but what does MB mean here. Is it <code>64 * 1000000</code> or <code>64 * 1024 * 1024</code>? I need to know th... |
38,031,035 | Windows 10 UWP Screen Recording API<p>I'm looking for a UWP class like <a href="https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.screencapture" rel="nofollow noreferrer">ScreenCapture</a>.</p>
<p>I want to create a Screen Recorder, but I can't find any class that suits in my needs. Is this p... | <p>Your application runs sandboxed. It won't have direct access to any API or resource that will let it act outside of its sandbox for reasons of security and system stability. If you are only trying to capture the pixels that your own application is rendering you can use RenderTargetBitmap.RenderAsync();. If you are t... | Windows 10 UWP Screen Recording API | windows-10|uwp|windows-10-universal|windows-10-mobile|screen-recording | -2 | 1,053 | 3 | 38,130,697 | 38,130,697 | 2 | true | 2016-06-25T17:21:05.527Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Windows 10 UWP Screen Recording API<p>I'm looking for a UWP class like <a href="https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.s... |
37,940,665 | Microsoft.WindowsAPICodePack.Shell audio duration not getting<p>I have a strange problem.I am using <code>Microsoft.WindowsAPICodePack.Shell</code> to calculate duration of mp3 file during file uploading process.I am able to read duration when i am running application on my local machine.But i am not getting the durati... | <p>I solved the issue by re implementing the functionality with TagLib c# library</p> | Microsoft.WindowsAPICodePack.Shell audio duration not getting | c#|asp.net|.net|asp.net-mvc|audio | -2 | 310 | 1 | 38,156,097 | 38,156,097 | 2 | true | 2016-06-21T09:33:06.633Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Microsoft.WindowsAPICodePack.Shell audio duration not getting<p>I have a strange problem.I am using <code>Microsoft.WindowsAPICodePack.Shell</code> to calcul... |
38,016,438 | Why does not work callback?<p>I have an function that remove element from Redis store:</p>
<pre><code>function removeDevice(identificator, callback){
client.srem('devices', identificator, function(err) {
callback(true);
});
}
</code></pre>
<p>And I call this:</p>
<pre><code>removeDevice(function (dat... | <p>You're passing in the function as the <strong>first</strong> argument (<code>identificator</code>), not the second (<code>callback</code>):</p>
<p>There's only one argument here:</p>
<pre><code>removeDevice(function (data) {
res.json(data);
});
</code></pre>
<p>For the callback to the second argument, there'd... | Why does not work callback? | javascript|node.js | -2 | 32 | 2 | 38,016,476 | 38,016,476 | 3 | true | 2016-06-24T15:01:06.080Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why does not work callback?<p>I have an function that remove element from Redis store:</p>
<pre><code>function removeDevice(identificator, callback){
cl... |
37,904,630 | what is difference between these two syntax in my code<p>What is difference between The following syntaxs in regular expression?</p>
<p>Please give an example.</p>
<pre><code>(?=.*\d)
</code></pre>
<p>and </p>
<pre><code>.*(?=\d)
</code></pre> | <p>The first one is <em>just</em> an assertion, a positive look-ahead saying "there must be zero or more characters followed by a digit." If you match it against a string containing at least one digit, it will tell you whether the assertion is true, but the matched text will just be an empty string.</p>
<p>The second ... | what is difference between these two syntax in my code | javascript|regex | -2 | 60 | 3 | 37,904,686 | 37,904,686 | 4 | true | 2016-06-19T06:41:24.527Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
what is difference between these two syntax in my code<p>What is difference between The following syntaxs in regular expression?</p>
<p>Please give an examp... |
37,824,704 | Keeping track of debug<p>I have a solution where the user can send a request to a WebApi2 with a flag DEBUG. If the flag is set, the WebApi2 will log debug statement (using log4net).</p>
<p>How do I keep track of the flag in the code? I don't like the fact that I have to pass it to every function just to decide if I s... | <p>I used ThreadContext.Stacks["Debug"].Push("True") which solved my problem.</p> | Keeping track of debug | c#|rest|logging|asp.net-web-api2|log4net | -2 | 37 | 2 | 37,924,285 | 37,924,285 | -1 | true | 2016-06-15T01:32:04.693Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Keeping track of debug<p>I have a solution where the user can send a request to a WebApi2 with a flag DEBUG. If the flag is set, the WebApi2 will log debug s... |
37,797,660 | View Controller in IOS Programming<p>Hey I have just started learning IOS Development and just got stuck in the part where we need to move on from one view controller to another dynamically.
How to move from one view controller to another after a certain amount of time like splash screen in android?</p> | <p>Here is <a href="http://www.theappguruz.com/blog/using-nstimer-class-in-ios" rel="nofollow">an explanation</a> of the magic of timing timey things in iOS.</p>
<blockquote>
<p>The NSTimer class can be used to create timer objects in iOS applications. In other words – a timer.</p>
</blockquote>
<p>For triggering t... | View Controller in IOS Programming | ios|segue|viewcontroller|splash-screen | -2 | 36 | 1 | 37,898,445 | 37,898,445 | 0 | true | 2016-06-13T19:26:57.673Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
View Controller in IOS Programming<p>Hey I have just started learning IOS Development and just got stuck in the part where we need to move on from one view c... |
37,908,454 | submitting data to another site<p>I'd like some help in taking data input from a user, using that input to complete a form on a different site and then collecting the results that the site outputs. Would it be possible to do this via PHP? If it helps/ additional info, the target site is in JSP.
The site in question is... | <p>well technically you can. if you create an http post request to that site you can send data to that site but the response will be the html code of the page. but as a security most of the sites usually protects their sites from such actions so they put a token inside their forms so that they can be able to know wheth... | submitting data to another site | php|jsp | -2 | 63 | 2 | 37,908,530 | 37,908,530 | 0 | true | 2016-06-19T14:45:48.747Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
submitting data to another site<p>I'd like some help in taking data input from a user, using that input to complete a form on a different site and then colle... |
37,941,747 | How to make .exe setup in visual studio 2010 including excel template files<p>I have developed a tool that will extract data from xml file and drop in formatted excel file.</p>
<p>For this I have 3 types of formatted excel files.</p>
<p>so my question is that whenever I m building <code>.exe</code> file, and try to i... | <p>Here are a couple of options. </p>
<p>1) With respect to a setup tool, Microsoft depreciated their own Setup projects and started including Install Shield Limited Edition. This link should help if you want to check that out: <a href="https://blogs.msdn.microsoft.com/deployment_technologies/2010/04/20/installshiel... | How to make .exe setup in visual studio 2010 including excel template files | vb.net|excel|exe | -2 | 578 | 2 | 37,956,597 | 37,956,597 | 0 | true | 2016-06-21T10:19:13.400Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to make .exe setup in visual studio 2010 including excel template files<p>I have developed a tool that will extract data from xml file and drop in format... |
37,956,560 | Returning Value of Array 2D php<p>Sorry, please i need some help, i've a problem in returning Multidimensional value array in CodeIgniter. I've multidimensional array value in model to return in view. My source code look like below.</p>
<p>This is my model</p>
<pre><code>$value1 = array();
$value2 = array();
$value =... | <p>This should give you value 1&2</p>
<pre><code>foreach($get_value as $row){
echo " <td>$row[0]</td> <td>$row[1]</td> ";
}
</code></pre> | Returning Value of Array 2D php | php|arrays|codeigniter|multidimensional-array|html-table | -2 | 41 | 1 | 37,956,684 | 37,956,684 | 0 | true | 2016-06-22T00:09:31.517Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Returning Value of Array 2D php<p>Sorry, please i need some help, i've a problem in returning Multidimensional value array in CodeIgniter. I've multidimensio... |
37,966,100 | Erased all partitions and the partition table on the external hard disc<p>How to create a partition on an external hard disc and mount it in linux when all the partitions and the partition table are erased?</p> | <p>In the usual way. Just connect the external disk drive to the Linux machine and verify it shows up in the output of <code>lsblk</code>. Then you can format it via <code>fdisk</code> (or any other partitioning tool), and then create a filesystem on it via <code>mkfs</code>. Eventually, you <code>mount</code> it and t... | Erased all partitions and the partition table on the external hard disc | linux|mount|partition|guid-partition-table | -2 | 38 | 1 | 37,969,231 | 37,969,231 | 0 | true | 2016-06-22T11:02:19.350Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Erased all partitions and the partition table on the external hard disc<p>How to create a partition on an external hard disc and mount it in linux when all t... |
37,963,025 | Legend to be aligned after pie chart but getting aligned before<p>Hello I want to right align my legend after the pie chart. But with my codes they are getting aligned to left before pie chart. What CSS changes should I make to do this. </p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">... | <p>You need to add x and y attributes to the legend.</p>
<pre><code>legend.attr("x", width - 65)
.attr("y", 25)
</code></pre>
<p>Here is the <a href="http://jsbin.com/kajoqem/edit?html,output" rel="nofollow">full code and working example for you</a></p> | Legend to be aligned after pie chart but getting aligned before | javascript|d3.js | -2 | 53 | 1 | 37,963,914 | 37,963,914 | 1 | true | 2016-06-22T08:51:02.913Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Legend to be aligned after pie chart but getting aligned before<p>Hello I want to right align my legend after the pie chart. But with my codes they are getti... |
38,028,250 | Node Express Middleware how to send the res, req object<p>I am unable to send the <code>res</code> (request object) between functions. The following code is executed by my app.js (main express middleware):</p>
<pre><code>//app.js calls File.js
//File1.js
var file2 = require('./File2.js);
export.modules = function (r... | <p>Its really hard to understand from you code snippets, so i will address your second question regarding next vs send</p>
<p>You use next inside your middlewares, which means you dont want yet to respond to your client with data, but you want to proccess the data from another middleware down the line, when you reach ... | Node Express Middleware how to send the res, req object | node.js|express|httpresponse | -2 | 558 | 1 | 38,052,985 | 38,052,985 | 1 | true | 2016-06-25T11:55:57.973Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Node Express Middleware how to send the res, req object<p>I am unable to send the <code>res</code> (request object) between functions. The following code is ... |
37,895,649 | Explode function side by side same character<p>I have an string </p>
<pre><code>$str = 'one,,two,three,,,,,four';
</code></pre>
<p>I want to array like this(output of print_r)</p>
<pre><code>Array ( [0] => one,two,three,four )
</code></pre>
<p>My code is </p>
<pre><code>$str = 'one,,two,three,,,,,four';
$str_ar... | <p>You can used <a href="http://php.net/manual/en/function.array-filter.php" rel="nofollow">array_filter</a> function to removed empty element from array.</p>
<p>So your code should be:</p>
<pre><code>$str = 'one,,two,three,,,,,four';
$str_array = array_filter(explode(',', $str));
print_r($str_array);
</code></pre>
... | Explode function side by side same character | php|explode | -2 | 48 | 4 | 37,895,686 | 37,895,686 | 2 | true | 2016-06-18T09:55:12.663Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Explode function side by side same character<p>I have an string </p>
<pre><code>$str = 'one,,two,three,,,,,four';
</code></pre>
<p>I want to array like thi... |
37,936,665 | Python in mac and Windows<p>Is there any difference in python in both except different operating systems?</p>
<p>I mean if i create a python script in windows, will it run the same in mac too? As long as there is same versions of python in both?</p>
<p>My concern is that I don't have any mac devices to try to run it ... | <p>There absolutely no difference between OS. Its a programming lang, only difference would be the IDE you decide to use. Other than that, the way it give O/P to programs is same. Hope it solves your doubt.</p> | Python in mac and Windows | python|windows|macos | -2 | 1,549 | 3 | 37,936,726 | 37,936,726 | 2 | true | 2016-06-21T06:03:19.187Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Python in mac and Windows<p>Is there any difference in python in both except different operating systems?</p>
<p>I mean if i create a python script in windo... |
37,977,960 | Structure definition with pointer<p>I'm practicing structures in C, and I come up with this doubt. Sometimes I see something like:</p>
<pre><code>struct myStruct{
//some data
} *p;
</code></pre>
<p>What does that pointer <code>p</code> means?</p>
<p>How is that different from:</p>
<pre><code>struct myStruct{
... | <p>In your code</p>
<pre><code>struct myStruct{
//some data
};
</code></pre>
<p>is the definition of the <code>struct</code>. There is no <em>variable</em> created with that data type.</p>
<p>On the other hand,</p>
<pre><code>struct myStruct{
//some data
} *p;
</code></pre>
<p>is the definition of the <co... | Structure definition with pointer | c|pointers|struct | -2 | 42 | 1 | 37,978,013 | 37,978,013 | 3 | true | 2016-06-22T20:46:08.857Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Structure definition with pointer<p>I'm practicing structures in C, and I come up with this doubt. Sometimes I see something like:</p>
<pre><code>struct myS... |
37,998,969 | Convert SQL Server code to Oracle please?<p>Having a bit of a issue with a SQL conversion from SQL Server to Oracle.</p>
<p>We are passing in a datetime value (in this example just 1900-01-01) and we need to select all rows that have a modified date greater than 2 days before the date passsed in. Here is the SQL synta... | <p>You can write this in Oracle as:</p>
<pre><code>SELECT *
FROM TABLENAME
WHERE TRUNC(LAST_MODIFIED) > (DATE '1990-01-01') - 2
</code></pre>
<p>Notes:</p>
<ul>
<li>In Oracle, <code>DATE</code> includes a time component, so casting to a date does nothing.</li>
<li>Oracle supports various ways to include a date/ti... | Convert SQL Server code to Oracle please? | sql|oracle | -2 | 62 | 3 | 37,999,125 | 37,999,125 | 3 | true | 2016-06-23T18:14:24.940Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Convert SQL Server code to Oracle please?<p>Having a bit of a issue with a SQL conversion from SQL Server to Oracle.</p>
<p>We are passing in a datetime val... |
37,894,644 | Error:NullPointerException when put button.setOnclickListener in onResponse method<p>When i click my button in my activity, it will stop and show an error like this :</p>
<pre><code>Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.V... | <p>just put this <strong>outside the response</strong> parenthesis ...............</p>
<pre><code>bUasDN.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(MenuDaftarNilai2.this,... | Error:NullPointerException when put button.setOnclickListener in onResponse method | android | -2 | 72 | 1 | 37,894,664 | 37,894,664 | 0 | true | 2016-06-18T07:52:13.913Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Error:NullPointerException when put button.setOnclickListener in onResponse method<p>When i click my button in my activity, it will stop and show an error li... |
37,910,537 | Stopword removal clears word not in stopword list<p>I'm interested in mining the scientific literature especially PubMed. I wanted to determine the word modifiers just to the left and right of a keyword that I chose. My plan was to (1) query my database on Hearing and Hearing Aids for the word "AID". (2) Then, I r... | <p>I don't exactly get your algorithm, but your list of stop words needs to be a <code>list</code> (even better a <code>set</code>), not a string:</p>
<pre><code>my_stopwords = set(['A','ABLE','ABOUT','ABOVE','ACCORDING',])
</code></pre>
<p>Otherwise you are just doing substring matches instead of exact string matche... | Stopword removal clears word not in stopword list | python|split | -2 | 61 | 1 | 37,913,801 | 37,913,801 | 0 | true | 2016-06-19T18:35:25.527Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Stopword removal clears word not in stopword list<p>I'm interested in mining the scientific literature especially PubMed. I wanted to determine the word mo... |
37,937,270 | can't get rid of 1e-5 while formatting in python 3 programming<p>I am creating a length calculator and need to format it so it doesn't show <code>1e-5</code> from going to <code>mm</code> to <code>km</code>. i have tried <code>'{:.6}'.format()</code> but doesn't seem to work as still outputs it as 1e-5. </p>
<p>Any he... | <p>Use the <code>f</code> presentation type insteaf of the default (<code>g</code> with a small modification):</p>
<pre><code>'{:.6f}'.format(floating_point_number)
</code></pre>
<p>See the <a href="https://docs.python.org/3/library/string.html#format-specification-mini-language" rel="nofollow"><em>Format Specificati... | can't get rid of 1e-5 while formatting in python 3 programming | python|python-3.x|formatting|format | -2 | 837 | 1 | 37,937,330 | 37,937,330 | 0 | true | 2016-06-21T06:45:11.483Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
can't get rid of 1e-5 while formatting in python 3 programming<p>I am creating a length calculator and need to format it so it doesn't show <code>1e-5</code>... |
38,047,077 | SQL LITE DATABASE VIEW IN ANDROID PHONE<p>**</p>
<h2>I know this is possible duplicate. But I would like to highlight that even after following all the available instructions, I haven't been able to solve the issue</h2>
<p>**</p>
<p>Can anyone tell how to view local database created by my android application in my a... | <p>Its quite a long process, I think..</p>
<p>Your phone must me rooted to see database files.</p>
<ol>
<li>Goto root folder from your phone</li>
<li>From there navigate to data/data/"your package name"/databases</li>
<li>There you will find the database file</li>
<li>Copy that database file to external storage of yo... | SQL LITE DATABASE VIEW IN ANDROID PHONE | android|sqlite | -2 | 520 | 1 | 38,047,166 | 38,047,166 | 1 | true | 2016-06-27T06:20:51.643Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
SQL LITE DATABASE VIEW IN ANDROID PHONE<p>**</p>
<h2>I know this is possible duplicate. But I would like to highlight that even after following all the avai... |
37,860,676 | combine many json files into one<p>I am trying to combine all json files into one.However i always receive an empty json file . Here is code ; </p>
<pre><code>function mergejson()
{
$events = array();
// open each jsonfile in this directory
foreach(glob("*.json") as $filename) {
// get the cont... | <p>The function <a href="https://secure.php.net/manual/en/function.json-decode.php" rel="nofollow">json_decode</a> takes a string as first argument, not a filename!</p>
<p>So you have to load the file content, try using <code>file_get_contents</code></p> | combine many json files into one | php|json | -2 | 79 | 1 | 37,860,752 | 37,860,752 | 3 | true | 2016-06-16T13:26:20.353Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
combine many json files into one<p>I am trying to combine all json files into one.However i always receive an empty json file . Here is code ; </p>
<pre><c... |
37,990,693 | How to merge two or more multi dimensional arrays in PHP to make it one array?<p>I need a function to solve this issue.</p>
<p>Example:</p>
<pre><code>$ar1 = array("alpha" => array("A","B","C","D"), ...);
$ar2 = array("numerics" => array("1","2","3","4"), ...);
$output = merge_arrays($ar1,$ar2);
print_r($outpu... | <pre><code> $output = call_user_func_array('array_merge',
array_values(array_merge_recursive($ar1,$ar2)));
print_r($output);
</code></pre> | How to merge two or more multi dimensional arrays in PHP to make it one array? | php|arrays | -2 | 64 | 2 | 37,991,162 | 37,991,162 | 3 | true | 2016-06-23T11:45:23.807Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to merge two or more multi dimensional arrays in PHP to make it one array?<p>I need a function to solve this issue.</p>
<p>Example:</p>
<pre><code>$ar1... |
38,034,144 | How to animate the whole screen when colision?<p>I want to make the screen shake when an enemy colide with the player. I have been searching for a posible answer but I don find anything. If someone can help me, thanks.</p> | <p>try this</p>
<pre><code>func shakeFrame(scene: SKScene) {
let animation: CABasicAnimation = CABasicAnimation(keyPath: "position")
animation.duration = 0.05
animation.repeatCount = 4
animation.autoreverses = true
animation.fromValue = NSValue(CGPoint: CGPointMake(scene.view!.center.x - 4.0, scen... | How to animate the whole screen when colision? | swift|sprite-kit | -2 | 29 | 1 | 38,034,193 | 38,034,193 | 0 | true | 2016-06-26T00:25:49.657Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to animate the whole screen when colision?<p>I want to make the screen shake when an enemy colide with the player. I have been searching for a posible an... |
38,049,389 | Default Back Button Text and Font Setting<p>By default, Navigation back button text comes as previous screen title or <</p>
<p>I am trying to change that to just <=|</p>
<p>But Its coming as shown in the picture
<a href="http://i.stack.imgur.com/bovLt.jpg" rel="nofollow">BackButton Image.</a>
So, I want to know... | <p>Change your code in <code>viewDidLoad</code> like this.</p>
<pre><code>class BaseViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
func setNavigationWithCustomBackButton() {
let btnLeft:UIButton! = UIButton(frame: CGRectMake(0, 0, 20, 16))
b... | Default Back Button Text and Font Setting | ios|swift2|uibarbuttonitem|back-button|navigationbar | -2 | 818 | 1 | 38,049,606 | 38,049,606 | 2 | true | 2016-06-27T08:42:24.990Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Default Back Button Text and Font Setting<p>By default, Navigation back button text comes as previous screen title or <</p>
<p>I am trying to change that... |
37,893,569 | Dictionary merge by adding values<p>Suppose I have two dictionaries </p>
<pre><code>a = {'milk':90, 'coffee':80, 'rice':100, 'Cheese': 70}
b = {'milk':90, 'coffee':80, 'pulses': 100,'Alcohol':750}
</code></pre>
<p>I want to merge these two dictionaries by adding value of common elements of the dictionaries which sho... | <p>Use the <code>keys</code> of either dicts and add their value to make the third, so it doesn't matter which items are unique to just one of them. Use the <a href="https://docs.python.org/2/library/stdtypes.html#dict.get" rel="nofollow"><code>dict.get</code></a> to fetch the value for each key from both dicts, defaul... | Dictionary merge by adding values | python|dictionary | -2 | 801 | 2 | 37,893,637 | 37,893,637 | 4 | true | 2016-06-18T05:28:19.387Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Dictionary merge by adding values<p>Suppose I have two dictionaries </p>
<pre><code>a = {'milk':90, 'coffee':80, 'rice':100, 'Cheese': 70}
b = {'milk':90, ... |
38,002,499 | mad behaviour of my divs<p>I have about <strong>3 div</strong>, with class as "<strong>qcircle</strong>" and i have defined them using css in order to appear as 3 circles. and they are given " <strong>display:inline-block</strong>;" so that i would get them <strong>horizontaly arrainged in a line</strong>.
<strong>i... | <p>When you give <code>display: inline-block</code>, it automatically <code>vertical-align</code>s itself to the <code>baseline</code>. Make it <code>top</code>:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css ... | mad behaviour of my divs | html|css | -2 | 35 | 2 | 38,002,526 | 38,002,526 | 3 | true | 2016-06-23T21:52:31.227Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
mad behaviour of my divs<p>I have about <strong>3 div</strong>, with class as "<strong>qcircle</strong>" and i have defined them using css in order to appea... |
72,236,458 | I want to run two functions simultaneously on AVR microcontroller. Is there any method to do so?<pre><code>int main(void)
{
DDRC = DDRC | (1<<2);
DDRC = DDRC | (1<<3);
while (1)
{
//openSolenoidValves(100,60);
//startStepperMotor();
}
void openSolenoidValves(double a... | <p>This millis() function help me to solve my problem.</p>
<p>Just like the millis() function in Arduino, this function returns the time in milliseconds since the program started.</p>
<p>As Developers' details, This function has only been tested on the atmega328p but may work on many other AVRs as well.</p>
<p>Implemen... | I want to run two functions simultaneously on AVR microcontroller. Is there any method to do so? | c|embedded|avr|atmega|atmega32 | -1 | 212 | 4 | 72,768,333 | 72,768,333 | 0 | true | 2022-05-14T00:17:45.203Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
I want to run two functions simultaneously on AVR microcontroller. Is there any method to do so?<pre><code>int main(void)
{
DDRC = DDRC | (1<<2... |
72,226,291 | Use custom E-Mail Server with SAP SuccessFactors<p>How is it possible to use a custom mailserver for sending E-Mails from SAP SuccessFactors? Every System Mail should be send via custom server. I found this in a <a href="https://launchpad.support.sap.com/#/notes/2688533" rel="nofollow noreferrer">KBA</a>:</p>
<p><stron... | <p>You need to open a Ticket to SAP via <a href="https://support.sap.com/" rel="nofollow noreferrer">https://support.sap.com/</a></p> | Use custom E-Mail Server with SAP SuccessFactors | sap-successfactors | -1 | 16 | 1 | 73,531,180 | 73,531,180 | 1 | true | 2022-05-13T08:05:15.800Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Use custom E-Mail Server with SAP SuccessFactors<p>How is it possible to use a custom mailserver for sending E-Mails from SAP SuccessFactors? Every System Ma... |
71,422,386 | call cors protect api from any fronend like postman call all api<p>exact issue:- call POST <a href="https://postman-echo.com/post" rel="nofollow noreferrer">https://postman-echo.com/post</a> API from react js Axios give cors error, is it possible? or any other frontend do this?</p>
<p>code sandbox:- <a href="https://co... | <p>I have tried multiple ways but can not solve it</p>
<p>but find 1 way to do this stuff using <a href="https://www.npmjs.com/package/cors-anywhere" rel="nofollow noreferrer">cors-anywhere</a></p>
<p>I have created 1 server using this package and called blocked URL by using it</p>
<p>EX:- as in question call API using... | call cors protect api from any fronend like postman call all api | reactjs|vue.js|frontend | -1 | 42 | 1 | 73,486,140 | 73,486,140 | 2 | true | 2022-03-10T10:13:06.113Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
call cors protect api from any fronend like postman call all api<p>exact issue:- call POST <a href="https://postman-echo.com/post" rel="nofollow noreferrer">... |
53,542,207 | Why event properties are not easy to get?<p>I have following code ( <strong><a href="https://jsfiddle.net/5n2zagjc/2/" rel="nofollow noreferrer">HERE</a></strong> is editable example - usage: type in input field and watch console):</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-b... | <p><strong>Here I copy-paste <a href="https://stackoverflow.com/a/53542894/860099">Grégory NEUT</a> answer - which looks like is the best one:</strong></p>
<p><code>Object.keys(...)</code> returns the names of the non-symbol enumerable properties of the object, but only the ones which are not inherited.</p>
<p><code>... | Why event properties are not easy to get? | javascript|object|events|properties | -1 | 545 | 2 | 54,553,880 | 54,553,880 | 0 | true | 2018-11-29T15:20:02.787Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why event properties are not easy to get?<p>I have following code ( <strong><a href="https://jsfiddle.net/5n2zagjc/2/" rel="nofollow noreferrer">HERE</a></st... |
71,101,240 | Finding and Dropping the Negative values<p><a href="https://i.stack.imgur.com/a1Zd7.png" rel="nofollow noreferrer">Database</a></p>
<p>In this database i have, there are negative values in "Benefits", "OvertimePay" and "OtherPay"
How can i drop the rows that have negative values in any of ... | <p>you are close with <code>df[df['Benefits'] < 0]</code>. You need any of those 3 columns to have this so you can "or" them with <code>|</code>. But you want to drop so we put <code>~</code> beginnig to invert the condition and select others.</p>
<pre><code>new = df[~((df['Benefits'] < 0) | (df['Overti... | Finding and Dropping the Negative values | python|pandas | -1 | 37 | 1 | 71,101,414 | 71,101,414 | 0 | true | 2022-02-13T13:46:26.517Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Finding and Dropping the Negative values<p><a href="https://i.stack.imgur.com/a1Zd7.png" rel="nofollow noreferrer">Database</a></p>
<p>In this database i hav... |
71,103,239 | enable button after actual input entered<p>How to enabled button, when the actual amount entered</p>
<p>lets say i have 100 minimum and 200 maximum</p>
<p>i want when user enters amount below 100 error comes actual amount needed and button reamins dsiabled</p>
<p>when user enters more than 200 do the same echo error</... | <p>There's a number of reasons your code is not working:</p>
<ul>
<li><code>.val()</code> is <em>always</em> text, so you are (would be) comparing "15" with 100 and 200 and it would pass, convert to an integer</li>
<li>you start with the button disabled, then (assuming everything else is working ok) you enabl... | enable button after actual input entered | javascript|html|jquery | -1 | 520 | 4 | 71,103,697 | 71,103,697 | 0 | true | 2022-02-13T17:35:38.183Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
enable button after actual input entered<p>How to enabled button, when the actual amount entered</p>
<p>lets say i have 100 minimum and 200 maximum</p>
<p>i... |
71,106,674 | How to check if array contains other array objects [JS]<p>I'm trying to make a basic javascript algorithim. Im trying to make a basic 'enjoyability' scale.
Basically if the array "tags", contains an object from "interests" add 1 to enjoyability. If the array "tags" contains an object from ... | <p>for loop</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>const interests = ['gaming', 'coding', 'dogs', 'food'];
const dislikes = ['cats', 'school', 'work', 'politics'];
co... | How to check if array contains other array objects [JS] | javascript|arrays | -1 | 29 | 2 | 71,106,704 | 71,106,704 | 0 | true | 2022-02-14T02:51:56.700Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to check if array contains other array objects [JS]<p>I'm trying to make a basic javascript algorithim. Im trying to make a basic 'enjoyability' scale.
B... |
71,106,094 | Http to Https redirect not working for ASPNET Core3.1 app on GCP App Engine Flex<p>I have deployed an ASPNET Core 3.1 app on Google's App Engine in a flex environment. The app is still accessible on both HTTP and HTTPS. I want to redirect all HTTP requests to HTTPS. Read in many places that apps on GCP App Engine shoul... | <p>So fortunately I was able to resolve it. The app needed some configuration in order properly able to understand the request. See Natthapol Vanasrivilai's answer <a href="https://stackoverflow.com/questions/52954158/asp-net-core-2-1-no-http-https-redirection-in-app-engine">here</a>. The solution was targeted at NET C... | Http to Https redirect not working for ASPNET Core3.1 app on GCP App Engine Flex | c#|asp.net-core|google-app-engine|google-cloud-platform|https | -1 | 258 | 1 | 71,107,093 | 71,107,093 | 0 | true | 2022-02-14T00:42:58.977Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Http to Https redirect not working for ASPNET Core3.1 app on GCP App Engine Flex<p>I have deployed an ASPNET Core 3.1 app on Google's App Engine in a flex en... |
71,109,605 | search for python libary to build display with images and videos<p>I am trying to write a program for a Raspberry 2B. The Job of the program is to show some images and a video based on a variable.
I can't really find a good library to build my visual output. It should show a Fullscreen window with sections. Each sectio... | <p>The only library I'm aware that might suit is <a href="https://napari.org/" rel="nofollow noreferrer">Napari</a>. This library was really built with image analysis in mind, but I expect the API can do all the things you want.</p> | search for python libary to build display with images and videos | python|user-interface|raspberry-pi2 | -1 | 29 | 1 | 71,109,707 | 71,109,707 | 0 | true | 2022-02-14T09:27:37.307Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
search for python libary to build display with images and videos<p>I am trying to write a program for a Raspberry 2B. The Job of the program is to show some ... |
71,108,462 | What is the best way to have timeout triggers in nodejs ? for example I want to cancel order if no drivers accepts in certain time<p>I am building an application similar to uber so I want to have timeout callbacks, Where when a new request comes in I want to keep track of the order and cancel the order after certain ti... | <p>So I assume the proper solution would be:</p>
<ol>
<li>accept the request.</li>
<li>store it inside the DB with the status <code>pending</code>.</li>
<li>return the response to the client.</li>
<li>in another process or worker search for the requests inside the DB and dispatch them to the drivers, if any driver acce... | What is the best way to have timeout triggers in nodejs ? for example I want to cancel order if no drivers accepts in certain time | node.js|triggers|event-handling|settimeout | -1 | 42 | 1 | 71,110,044 | 71,110,044 | 0 | true | 2022-02-14T07:37:03.063Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
What is the best way to have timeout triggers in nodejs ? for example I want to cancel order if no drivers accepts in certain time<p>I am building an applica... |
71,111,249 | How to check if there are columns in one table that are not in the other in R?<p>I have two datasets, one with 71 columns and one with 12 columns. Each dataset has columns, which are not columns in the other dataset. How can I automatically create a list of the columns, which are part of dataset 1, but are not part of ... | <pre><code>setdiff(colnames(df1), colnames(df2))
</code></pre>
<p>and</p>
<pre><code>setdiff(colnames(df2), colnames(df1))
</code></pre> | How to check if there are columns in one table that are not in the other in R? | r | -1 | 22 | 1 | 71,112,267 | 71,112,267 | 0 | true | 2022-02-14T11:38:47.713Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to check if there are columns in one table that are not in the other in R?<p>I have two datasets, one with 71 columns and one with 12 columns. Each datas... |
71,115,412 | Trying to get return data from a tableview back to the previous controller with identifying information about which button selected the data<p>In my first view controller, I have two instances of a class.</p>
<pre><code>let test = MFDScreenModel()
let testtwo = MFDScreenModel()
</code></pre>
<p>they have a method to ch... | <p>In <code>GuageSettingsViewController</code> create a callback closure.
I don't know which type <code>menuList</code> represents, replace <code>MenuList</code> with the actual type</p>
<pre><code>var callback : ((MenuList) -> Void)?
</code></pre>
<p>In the first view controller override <code>prepare(for segue</co... | Trying to get return data from a tableview back to the previous controller with identifying information about which button selected the data | swift | -1 | 20 | 1 | 71,115,709 | 71,115,709 | 0 | true | 2022-02-14T16:53:18.007Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Trying to get return data from a tableview back to the previous controller with identifying information about which button selected the data<p>In my first vi... |
71,117,304 | How to get suggestions when writing python code (discord api)<p>I am making a discord bot for fun and have run into some inconvenience. For example in this function</p>
<pre><code>@client.event
async def on_message(message):
</code></pre>
<p>When I write <code>message.</code> PyCharm (does this work in other editor... | <p>Yes, but you may need to set a type to your parameter.</p>
<pre><code>import discord
@client.event
async def on_message(message:Discord.message):
</code></pre> | How to get suggestions when writing python code (discord api) | python|python-3.x|discord|discord.py | -1 | 31 | 2 | 71,119,406 | 71,119,406 | 0 | true | 2022-02-14T19:31:37.677Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to get suggestions when writing python code (discord api)<p>I am making a discord bot for fun and have run into some inconvenience. For example in this f... |
71,120,272 | Can the openGauss database be installed on SUSE 15?<p>I've installed openGauss on Centos and it works great so far. Can I install it on SUSE 15?</p> | <p>The following official documents:
ARM:
openEuler 20.03LTS (recommended)
Kirin V10
x86:
openEuler 20.03LTS
CentOS 7.6
Description:
The current installation package can be installed only on the English operating system.</p> | Can the openGauss database be installed on SUSE 15? | suse | -1 | 23 | 2 | 71,120,300 | 71,120,300 | 0 | true | 2022-02-15T01:53:26.503Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Can the openGauss database be installed on SUSE 15?<p>I've installed openGauss on Centos and it works great so far. Can I install it on SUSE 15?</p> |
71,110,283 | Typo3 backend login don't login, no error<p><a href="https://i.stack.imgur.com/27DJ4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/27DJ4.png" alt="enter image description here" /></a></p>
<p>I'm trying to login to a fresh Typo3 v11 copy but login don't work.
to reproduce this issue:</p>
<p>Setup a ... | <p>I have deleted cookies for this website, now login works. probably the browser still keeps old website cookies.</p> | Typo3 backend login don't login, no error | typo3-11.x | -1 | 26 | 2 | 71,132,181 | 71,132,181 | 0 | true | 2022-02-14T10:23:39.733Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Typo3 backend login don't login, no error<p><a href="https://i.stack.imgur.com/27DJ4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/27DJ4... |
71,133,384 | My sticky header does not cover the viewport width<p>Please I have created a sticky header and every thing goes well except that this header does not cover all the viewport width and skips a little space at the top of the page.
I used "margin: 0" but in vain.
Thanks!!</p>
<pre><code><body>
<header>... | <p>the body element by default has a margin of 8px. You need to add <code>body{margin:0}</code> to your css</p> | My sticky header does not cover the viewport width | css | -1 | 31 | 1 | 71,133,422 | 71,133,422 | 0 | true | 2022-02-15T21:03:41.333Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
My sticky header does not cover the viewport width<p>Please I have created a sticky header and every thing goes well except that this header does not cover a... |
71,152,959 | Get non-aggregated column values without joins MySQL<p>I'm using mysql 8.0 and the table I have has a lot of rows so the solutions from this <a href="https://stackoverflow.com/questions/12102200/get-records-with-max-value-for-each-group-of-grouped-sql-results">link</a> take too long to run.</p>
<p>Table example:</p>
<d... | <blockquote>
<ol>
<li>I would like to group it by <code>category</code> and then select the <code>max value</code> in each category</li>
<li>If the max values collide, I'd like to get the <code>smallest ID</code> (it will always be unique in my case)</li>
</ol>
</blockquote>
<pre class="lang-sql prettyprint-override"><... | Get non-aggregated column values without joins MySQL | mysql|sql|aggregate | -1 | 42 | 1 | 71,154,434 | 71,154,434 | 0 | true | 2022-02-17T05:32:56.727Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Get non-aggregated column values without joins MySQL<p>I'm using mysql 8.0 and the table I have has a lot of rows so the solutions from this <a href="https:/... |
71,155,534 | Forking code creates unexpected results when redirecting output to file<p>I have the following C code:</p>
<pre><code>#include <stdio.h>
#include <unistd.h>
int main()
{
int i, pid = 0;
for (i = 0; i < 3; i++)
{
fork();
pid = getpid();
printf("i=%d pid=%d\n"... | <p>When the standard output is a terminal, the stream is typically line buffered. The C standard requires it not be fully buffered, meaning it must be line buffered or unbuffered; C 2018 7.21.3 6 says:</p>
<blockquote>
<p>… As initially opened, … the standard input and standard output streams are fully buffered if and ... | Forking code creates unexpected results when redirecting output to file | c|process|operating-system | -1 | 26 | 1 | 71,155,822 | 71,155,822 | 0 | true | 2022-02-17T09:33:28.120Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Forking code creates unexpected results when redirecting output to file<p>I have the following C code:</p>
<pre><code>#include <stdio.h>
#include <u... |
71,159,117 | Tutorial on reacts.org trying to set up a new project<p>i want to create a new project locally following the instruction on: <a href="https://reactjs.org/tutorial/tutorial.html#setup-option-2-local-development-environment" rel="nofollow noreferrer">https://reactjs.org/tutorial/tutorial.html#setup-option-2-local-develop... | <p>You should put like <code>my-app</code> not <code>my app</code> because <code>my</code> and <code>app</code> will be two seperate argument.</p>
<pre><code>npx create-react-app my-app
</code></pre> | Tutorial on reacts.org trying to set up a new project | reactjs|create-react-app|npx | -1 | 19 | 1 | 71,159,158 | 71,159,158 | 0 | true | 2022-02-17T13:32:54.430Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Tutorial on reacts.org trying to set up a new project<p>i want to create a new project locally following the instruction on: <a href="https://reactjs.org/tut... |
71,162,700 | CSS - text in div not aligning correctly<p>I'm trying to create two div dolumns, one on the left with a list and one on the right, with paragraphs.</p>
<p>The paragraphs however aren't lined up correctly. The second, third and fourth paragraphs aren't in line with the first, as they have more text compared to the first... | <p>Don't use float, but wrap a container around both divs and apply <code>display: flex;</code> to it.</p> | CSS - text in div not aligning correctly | html|css | -1 | 24 | 2 | 71,162,749 | 71,162,749 | 0 | true | 2022-02-17T17:23:36.490Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
CSS - text in div not aligning correctly<p>I'm trying to create two div dolumns, one on the left with a list and one on the right, with paragraphs.</p>
<p>Th... |
71,125,009 | Transform file with multiheader, fillna and different formats<p>I have some Excel file with multiheader which requires some advanced steps on reading and cleaning.</p>
<p><a href="https://i.stack.imgur.com/ivSkW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ivSkW.png" alt="enter image description h... | <p>I tested few different solutions and found out, that the following approach works well:</p>
<ol>
<li>Read file with pd.read_exce(nrows = 30)</li>
<li>Indentify number of index columns, their names etc.</li>
<li>Read the file again including parameters header and index.</li>
</ol>
<p>This way the pandas will do this ... | Transform file with multiheader, fillna and different formats | excel|pandas|dataframe | -1 | 20 | 1 | 71,170,219 | 71,170,219 | 0 | true | 2022-02-15T10:41:28.337Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Transform file with multiheader, fillna and different formats<p>I have some Excel file with multiheader which requires some advanced steps on reading and cle... |
71,130,159 | Injecting CSS into an existing form<p>I have a form that is generated and there are no options to format it, so I'm trying to inject some CSS to lay it out a bit nicer. I have been playing around in a PEN at <code>[Pete's Pen](https://codepen.io/pzh20/pen/dyZVrgv)</code> where I've managed to add some section headers, ... | <p>I've abandoned this approach as I believe now that CSS Grid is a better option.</p> | Injecting CSS into an existing form | css|inject | -1 | 20 | 1 | 71,171,393 | 71,171,393 | 0 | true | 2022-02-15T16:39:45.580Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Injecting CSS into an existing form<p>I have a form that is generated and there are no options to format it, so I'm trying to inject some CSS to lay it out a... |
71,174,781 | What is the difference between PERMUTATION() and PERMUT()?<p>In Google Sheets, there are two functions, <code>PERMUTATION()</code> and <code>PERMUT()</code>, both of which seem to calculate <code>nPk</code> in math.</p>
<p>What's the difference?</p>
<p>As far as I tested, both work the same.</p> | <p>First note that <code>PERMUTATION()</code> does <strong>not</strong> exist. <code>PERMUTATIONA()</code> does exist.</p>
<p>And</p>
<blockquote>
<p>As far as I tested, both work the same.</p>
</blockquote>
<p>no.</p>
<p>Though <code>PERMUT()</code> and <code>PERMUTATIONA()</code> have similar names, they are totally ... | What is the difference between PERMUTATION() and PERMUT()? | google-sheets|spreadsheet | -1 | 29 | 1 | 71,174,893 | 71,174,893 | 0 | true | 2022-02-18T14:05:45.143Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
What is the difference between PERMUTATION() and PERMUT()?<p>In Google Sheets, there are two functions, <code>PERMUTATION()</code> and <code>PERMUT()</code>,... |
71,163,381 | How can I turn a string into multiple sub arrays in Javascript?<p>I would like to turn this:</p>
<pre><code>"a:1,b:2,c:3"
</code></pre>
<p>Into:</p>
<pre><code> [['a', '1'],['b', '2'],['c', '3']]
</code></pre> | <p>Here is the same idea, but a little cooler ;)</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>let str = "a:1,b:2,c:3";
let result = str.split(',').map(x=>x.split(":"))
co... | How can I turn a string into multiple sub arrays in Javascript? | arrays|string|object | -1 | 29 | 2 | 71,176,214 | 71,176,214 | 0 | true | 2022-02-17T18:14:51.580Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How can I turn a string into multiple sub arrays in Javascript?<p>I would like to turn this:</p>
<pre><code>"a:1,b:2,c:3"
</code></pre>
<p>Into:</p... |
71,176,060 | Xcode / InterfaceBuilder: Why aren't IBOutlets and IBActions declared in the baseclass not available in the subclass?<p>Say I have a class like this:</p>
<pre><code>class MyViewModeledController<ViewModel: FeatureViewModeling>: UIViewController {
@IBOutlet weak var headingLabel: UILabel?
@IBOutlet weak v... | <p>This could have already been answered here: <a href="https://stackoverflow.com/a/54838186/421797">https://stackoverflow.com/a/54838186/421797</a></p>
<p>It relates to having generic aspects of your class.</p>
<p>The workaround would be to declare the properties as weak var (no IBOutlet), then in viewDidLoad of your... | Xcode / InterfaceBuilder: Why aren't IBOutlets and IBActions declared in the baseclass not available in the subclass? | ios|swift|xcode|interface-builder | -1 | 30 | 1 | 71,176,353 | 71,176,353 | 0 | true | 2022-02-18T15:36:11.433Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Xcode / InterfaceBuilder: Why aren't IBOutlets and IBActions declared in the baseclass not available in the subclass?<p>Say I have a class like this:</p>
<pr... |
71,177,380 | How to convert a list of arrays into a 1D scalar array to subset loom file<p>I am working with a <code>loompy</code> file and unfortunately the relevant metadata along which I would like to subset the loom file is located in an external metadata file.</p>
<pre class="lang-py prettyprint-override"><code>sub_meta = []
f... | <p><code>.tolist()</code> method of <code>np.ndarray</code>:</p>
<pre><code>q = np.where(marrow_meta2['annotated_cell_identity.ontology'] == i)[0].tolist()
</code></pre> | How to convert a list of arrays into a 1D scalar array to subset loom file | python|r|arrays | -1 | 27 | 1 | 71,177,745 | 71,177,745 | 0 | true | 2022-02-18T17:12:09.290Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to convert a list of arrays into a 1D scalar array to subset loom file<p>I am working with a <code>loompy</code> file and unfortunately the relevant meta... |
71,182,980 | submit data from one workbook to another workbook<p>I need to post/submit data from the source workbook to the destination workbook(id) > worksheet</p>
<p>I have achieved this task by using the below code, but I need help posting to a different workbook > worksheet</p>
<p><a href="https://docs.google.com/spread... | <p>Try</p>
<pre><code>var datasheet = SpreadsheetApp.openById('id of the target spreadsheet').getSheetByName("DataSheet")
</code></pre>
<p><a href="https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet-app#openbyidid" rel="nofollow noreferrer">openById</a></p> | submit data from one workbook to another workbook | google-apps-script|postdata | -1 | 31 | 1 | 71,183,125 | 71,183,125 | 0 | true | 2022-02-19T07:20:32.977Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
submit data from one workbook to another workbook<p>I need to post/submit data from the source workbook to the destination workbook(id) > worksheet</p>
... |
71,186,215 | Update table based on another table with date condition<p>UTILITYREADING TABLE</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>ROOMNUMBER</th>
<th>ELECTRICITYREADING</th>
<th>DATEOFREADING</th>
</tr>
</thead>
<tbody>
<tr>
<td>N201</td>
<td>279.8</td>
<td>2/15/2022</td>
</tr>
<tr>
<td>N201</... | <p>I'd say that you need</p>
<ul>
<li><code>LAG</code> analytic function (to select <em>previous</em> electricity reading)</li>
<li><code>ROW_NUMBER</code> (to <em>sort</em> rows per each room number by date in descending order)
<ul>
<li>and then fetch row that ranks as the <em>highest</em></li>
</ul>
</li>
</ul>
<hr /... | Update table based on another table with date condition | sql|oracle | -1 | 37 | 1 | 71,186,774 | 71,186,774 | 0 | true | 2022-02-19T15:07:32.033Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Update table based on another table with date condition<p>UTILITYREADING TABLE</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>R... |
71,188,431 | how get elements in group? Python<p>I need to get the href of each element in a list, how can i do this? on bs4</p>
<pre><code><div class="group">
<a href="link1" target="_blank" rel="rel" class="class">
<h1>"test"</h1>
</a>
... | <p>Select the <code><div></code> with class group and iterate over its <code><a></code> for example with <code>css selectors</code> and <code>list comprehension</code>:</p>
<pre><code>[x['href'] for x in soup.select('div.group a')]
</code></pre>
<h3>Example</h3>
<pre><code>from bs4 import BeautifulSoup
htm... | how get elements in group? Python | python|parsing|beautifulsoup | -1 | 36 | 1 | 71,188,494 | 71,188,494 | 0 | true | 2022-02-19T19:27:45.127Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
how get elements in group? Python<p>I need to get the href of each element in a list, how can i do this? on bs4</p>
<pre><code><div class="group"... |
71,190,252 | Python:: Read file includes strings, floats and integers<p>I am trying to read a file includes string, floats and integers in a form of matrix,
I tried the following code:<a href="https://i.stack.imgur.com/1tBqZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1tBqZ.png" alt="data file" /></a></p>
<pr... | <p>Assuming that <code>print(pizza_details[1][0])</code> is the part that still works and you want to get it into a numpy format?</p>
<p>It seems you didnt initialize <code>pizza_details</code>, so it keeps getting overwritten within the loop and only the last row is in it after the loop. Initialize it as empty array b... | Python:: Read file includes strings, floats and integers | python|with-statement | -1 | 32 | 1 | 71,190,396 | 71,190,396 | 0 | true | 2022-02-20T00:02:18.667Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Python:: Read file includes strings, floats and integers<p>I am trying to read a file includes string, floats and integers in a form of matrix,
I tried the f... |
71,191,311 | How to take a variable from inside a html form that wasn't inputted by the user and output it to flask app?<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code><form action="{{ u... | <p>There are several things wrong with this. First, a "hidden" item is not going to be visible, so it should not have a list item (unless you want the user to see it). Second, if you want the hidden item to be called "location", then it's NAME needs to be location. The value is what you want sent ... | How to take a variable from inside a html form that wasn't inputted by the user and output it to flask app? | javascript|python|html|forms|flask | -1 | 28 | 1 | 71,191,322 | 71,191,322 | 0 | true | 2022-02-20T04:08:48.147Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to take a variable from inside a html form that wasn't inputted by the user and output it to flask app?<p><div class="snippet" data-lang="js" data-hide="... |
71,191,689 | i want the function of for loop to perform one by one when a key or mouse is pressed<pre><code><div id="text">Nature in the broadest sense is the physical world or universe</div>
let el = document.getElementById(text);
let eltext = el.innerText;
let final = eltext.split(" ");
let i;
for ... | <p>Rather than <code>for</code> loop, I'd recommend you use built-in <code>Array</code> methods for better readability. Here I've extended your sample sentence to show how it can accommodate for longer sentences with more target words.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" dat... | i want the function of for loop to perform one by one when a key or mouse is pressed | javascript|html|for-loop | -1 | 32 | 1 | 71,191,769 | 71,191,769 | 0 | true | 2022-02-20T05:50:53.740Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
i want the function of for loop to perform one by one when a key or mouse is pressed<pre><code><div id="text">Nature in the broadest sense is... |
71,192,129 | data maping facing issue to conver data given below<p><strong>hi everyone i have data given below</strong></p>
<p>nodes data</p>
<pre><code>var nodes=[
{
name:'shanu',
value:5
},
{
name:'bhanu',
value:2
},
{
name:aaditya,
value:1
}
]
</code></pre>
<p>edge data</p>
<pre><code>var edge... | <p>you need to use two loops:</p>
<pre><code>var convertedEdge = [], source = '', target = '';
for (i in edge) {
source = edge[i].source;
target = edge[i].target;
for(j in nodes) {
if (source == nodes[j].name) {
source = j
}
if (target == nodes[j].name) {
target... | data maping facing issue to conver data given below | javascript|arrays|reactjs|algorithm|object | -1 | 23 | 1 | 71,192,212 | 71,192,212 | 0 | true | 2022-02-20T07:18:20.820Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
data maping facing issue to conver data given below<p><strong>hi everyone i have data given below</strong></p>
<p>nodes data</p>
<pre><code>var nodes=[
{
... |
71,130,625 | How to undock Game Window for SetParent<p>Hello everyone.</p>
<pre><code> [DllImport("user32.dll")]
public static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent);
public void DockAllNote(System.Windows.Forms.Panel panel)
{
Process[] MultiClients = Process.GetProcess... | <p>Solved.</p>
<pre><code>IntPtr DockedHandle = IntPtr.Zero;
IntPtr OrjinalHandle = IntPtr.Zero;
//Dock
OrjinalHandle = process.MainWindowHandle
DockedHandle = SetParent(process.MainWindowHandle, panel.Handle);
//Undock
SetParent(OrjinalHandle, DockedHandle);
</code></pre> | How to undock Game Window for SetParent | c#|dock|setparent | -1 | 36 | 1 | 71,193,073 | 71,193,073 | 0 | true | 2022-02-15T17:14:41.547Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to undock Game Window for SetParent<p>Hello everyone.</p>
<pre><code> [DllImport("user32.dll")]
public static extern IntPtr SetParent(In... |
71,193,340 | how should i set z-index in this case that work good?<p>i want to set z-index -999 in the green small rectangle that be set it behind the glass card but it dose not work. i have position rel and abs in my code and i rellay confiusing about this that why it is not work!</p>
<pre><code>.second-card::before {
content: '... | <p>The issue is that you are trying to hide the green rectangle from its parent , you cant do that , because when you apply z index to the parent , it gets applied to the child also ( ie the green rectangle ) to solve this issue create another div which is not a child of the blurred div like</p>
<p>here is a working d... | how should i set z-index in this case that work good? | html|css|frontend|css-position | -1 | 26 | 1 | 71,193,647 | 71,193,647 | 0 | true | 2022-02-20T10:11:19.310Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
how should i set z-index in this case that work good?<p>i want to set z-index -999 in the green small rectangle that be set it behind the glass card but it d... |
71,153,352 | Discord.js Bot settings when changed on one server changes on all of them running it on repl.it<p>Hi so there really isn't much to the problem above I just need to know how to separate the settings on one server from the settings on another server.
Here is the code I am currently using!</p>
<pre><code>client.on('messag... | <p>You would need a database for individual server settings. Thankfully, this is very easy to do. You can use <a href="https://www.npmjs.com/package/discord-prefix" rel="nofollow noreferrer"><code>discord-prefix</code></a>.</p>
<hr />
<h2>Discord Prefix</h2>
<p>Discord Prefix is a simple Node.js module that lets you ef... | Discord.js Bot settings when changed on one server changes on all of them running it on repl.it | javascript|discord|discord.js|bots | -1 | 33 | 1 | 71,200,813 | 71,200,813 | 0 | true | 2022-02-17T06:22:16.683Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Discord.js Bot settings when changed on one server changes on all of them running it on repl.it<p>Hi so there really isn't much to the problem above I just n... |
71,202,708 | send response to client in node js express is not working<p>I am trying to send back response to the client but it seems it is not working, I don't know why, because after all I am not getting any errors.</p>
<p>here is my code:</p>
<pre><code>exports.login = function (req, res, next, con) {
if (!req || !res || !ne... | <p>I think you have to use <code>.send</code> instead of set !!</p>
<p>Like this :</p>
<pre><code>res.status(500).send({ msg: 'null values' });
</code></pre> | send response to client in node js express is not working | javascript|node.js|express | -1 | 41 | 2 | 71,202,751 | 71,202,751 | 0 | true | 2022-02-21T07:40:17.303Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
send response to client in node js express is not working<p>I am trying to send back response to the client but it seems it is not working, I don't know why,... |
71,207,403 | How to access PUT/POST/DELETE endpoints on browser directly from backend without UI connectivity<p>How to use PUT/POST/DELETE methods in NodeJS directly in browser?</p>
<pre><code>router.put('/sync/:syncId', (req, res) => {
res.send(JSON.stringify({ "status": 200, "error": false, "respon... | <p>Postman is a tool designed to make custom HTTP requests so developers can test APIs. Browsers are tools designed to display webpages and run web applications embedded in them.</p>
<p>If you shove a URL into the browser's address bar then it will make a GET request. The address bar is a UI that affords getting a webp... | How to access PUT/POST/DELETE endpoints on browser directly from backend without UI connectivity | javascript|node.js|rest|express | -1 | 40 | 1 | 71,207,471 | 71,207,471 | 0 | true | 2022-02-21T13:47:15.880Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to access PUT/POST/DELETE endpoints on browser directly from backend without UI connectivity<p>How to use PUT/POST/DELETE methods in NodeJS directly in b... |
71,212,047 | Why is an expression like ['a']['b'] an error instead of getting values from a nested dict?<p>I am trying to get the subscriber count from a youtube channel using the youtube api. However the repsonse sends a nested dict with more information than just the subscriber count. Here is the code I tried using to solve the p... | <p>Based on the response you are posting here, if you want to know statistics from an item, you have to specify from which item you are trying to get statistics. <em>items</em> is a list, which means that you have to refer to it's elements by numerical index. It has a length as well, you can get by using <em>len(respon... | Why is an expression like ['a']['b'] an error instead of getting values from a nested dict? | python|dictionary | -1 | 20 | 3 | 71,212,173 | 71,212,173 | 0 | true | 2022-02-21T19:34:29.550Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why is an expression like ['a']['b'] an error instead of getting values from a nested dict?<p>I am trying to get the subscriber count from a youtube channel ... |
71,217,259 | Generate random times from (9am - 5pm)<p>I need to randomly generate 150 samples of time in (hh:mm:ss).
Generated time must be within the range of (9am - 5pm)
How do I set the conditions for the time range?</p> | <p>Python 3.X:</p>
<pre><code>import random
def getRandTime():
hh = random.randrange(9,17)
mm = random.randrange(60)
ss = random.randrange(60)
return f'{hh:>02}:{mm:>02}:{ss:>02}'
for i in range(150):
print(getRandTime())
</code></pre> | Generate random times from (9am - 5pm) | python-3.x | -1 | 31 | 1 | 71,217,363 | 71,217,363 | 0 | true | 2022-02-22T07:15:37.563Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Generate random times from (9am - 5pm)<p>I need to randomly generate 150 samples of time in (hh:mm:ss).
Generated time must be within the range of (9am - 5pm... |
71,231,236 | PHP - Process Form Submission with 2 Arrays<p>I have a web form that allows users to enter details for creating a shipping consignment for 1 more more items. They enter the address from/to fields and then there's a section where they can enter 1 or more rows for items to be included on the shipment.</p>
<p>When the use... | <p>You can use the array <em>key</em> as follows:</p>
<pre><code>foreach($_POST['productID'] as $key => $productID) {
// ... do something with $productID
// ... use the matching parcelID as $_POST['parcelID'][$key]
</code></pre>
<p>This relies on the inputs in the form appearing in the same order, obviously,... | PHP - Process Form Submission with 2 Arrays | php | -1 | 23 | 1 | 71,231,304 | 71,231,304 | 0 | true | 2022-02-23T04:03:48.950Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
PHP - Process Form Submission with 2 Arrays<p>I have a web form that allows users to enter details for creating a shipping consignment for 1 more more items.... |
71,235,572 | Is there someone who can help for time displaying<p>i want to display time between the time a button display on the screen and the time the user click on the button, after that i want to display the difference between these 2 time onto next scene</p> | <p>You can do like that:</p>
<pre><code>private float firstClickTime, secondClickTime;
private float timeDifference;
public void button1_Click(){
firstClickTime=Time.time;
}
public void button2_Click(){
secondClickTime=Time.time;
timeDifference=secondClickTime-firstClickTime; //This give you passed time in seconds
}
... | Is there someone who can help for time displaying | c#|unity3d|game-development | -1 | 33 | 1 | 71,236,793 | 71,236,793 | 0 | true | 2022-02-23T10:52:41.883Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Is there someone who can help for time displaying<p>i want to display time between the time a button display on the screen and the time the user click on the... |
71,237,368 | How to replace specific words of each line with an alteration in notepad++<p>I have an sql file like this:</p>
<pre class="lang-none prettyprint-override"><code>Create new-table1 ... As select ..from table1;
Create new-table2 ... As select ..from table2;
Create new-table3 ... As select ..from table3;
</code></pre>
<p>A... | <p>You may try the following find and replace, in regex mode:</p>
<pre class="lang-regex prettyprint-override"><code>Find: from (\w+);$
Replace: from $1 where 1000 <= (select count(1) from $1);
</code></pre>
<p><a href="https://regex101.com/r/4aR9JW/1" rel="nofollow noreferrer"><h2>Demo</h2></a></p> | How to replace specific words of each line with an alteration in notepad++ | notepad++ | -1 | 30 | 1 | 71,237,430 | 71,237,430 | 0 | true | 2022-02-23T12:56:57.277Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to replace specific words of each line with an alteration in notepad++<p>I have an sql file like this:</p>
<pre class="lang-none prettyprint-override"><c... |
71,240,527 | Cloning an Array without some fields<p>I have an array like <a href="https://i.stack.imgur.com/RIpfc.png" rel="nofollow noreferrer">this</a>, but i want to have copy of this array but without fields: name and price. Any ideas how to do it?</p> | <p>Here is one possible implementation to achieve the objective.</p>
<p><strong>Code Snippet</strong></p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>const origArr = [
{ id: ... | Cloning an Array without some fields | reactjs | -1 | 25 | 1 | 71,240,752 | 71,240,752 | 0 | true | 2022-02-23T16:18:04.703Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Cloning an Array without some fields<p>I have an array like <a href="https://i.stack.imgur.com/RIpfc.png" rel="nofollow noreferrer">this</a>, but i want to h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.