Best C++ IDE or Editor for Windows
What is the best C++ IDE or editor for using on Windows? I use Notepad++, but am missing IntelliSense from Visual Studio.
Make body have 100% of the browser height
I want to make `body` have 100% of the browser height. Can I do that using CSS? I tried setting `height: 100%`, but it doesn't work. I want to set a background color for a page to fill the entire brow...
Link to the issue number on GitHub within a commit message
Is it somehow possible to have a link to GitHub issue number in the `git commit` message?
- Modified
- 3 Apr at 00:1
How to convert comma-separated String to List?
Is there any built-in method in Java which allows us to convert comma separated String to some container (e.g array, List or Vector)? Or do I need to write custom code for that? ``` String commaSepara...
- Modified
- 16 Jul at 20:35
CSS 3 slide-in from left transition
Is there a cross browser solution to produce a slide-in transition with CSS only, no javascript? Below is an example of the html content: ``` <div> <img id="slide" src="http://.../img.jpg /> </di...
- Modified
- 20 Jul at 12:54
Convert Month Number to Month Name Function in SQL
I have months stored in SQL Server as 1,2,3,4,...12. I would like to display them as January,February etc. Is there a function in SQL Server like MonthName(1) = January? I am trying to avoid a CASE st...
- Modified
- 23 May at 14:9
How do we control web page caching, across all browsers?
Our investigations have shown us that not all browsers respect the HTTP cache directives in a uniform manner. For security reasons we do not want certain pages in our application to be cached, by th...
- Modified
- 22 Mar at 07:20
How do I import CSV file into a MySQL table?
I have an unnormalized events-diary CSV from a client that I'm trying to load into a MySQL table so that I can refactor into a sane format. I created a table called 'CSVImport' that has one field for ...
- Modified
- 21 Mar at 23:6
Scroll Automatically to the Bottom of the Page
I have a list of questions. When I click on the first question, it should automatically take me to a specific element at the bottom of the page. How can I do this with jQuery?
- Modified
- 19 Nov at 01:23
Plot logarithmic axes
I want to plot a graph with one logarithmic axis using matplotlib. I've been reading the docs, but can't figure out the syntax. I know that it's probably something simple like `'scale=linear'` in th...
- Modified
- 8 Oct at 19:47
What are the differences between a pointer variable and a reference variable?
What is the difference between a pointer variable and a reference variable?
master branch and 'origin/master' have diverged, how to 'undiverge' branches'?
Somehow my `master` and my `origin/master` branch have diverged. I actually don't want them to diverge. How can I view these differences and them?
Line break in HTML with '\n'
Is there a way to make HTML properly treat `\n` line breaks? Or do I have to replace them with `<br/>`? ``` <div class="text"> abc def ghi </div> ```
- Modified
- 14 Feb at 01:40
Jackson with JSON: Unrecognized field, not marked as ignorable
I need to convert a certain JSON string to a Java object. I am using Jackson for JSON handling. I have no control over the input JSON (I read from a web service). This is my input JSON: ``` {"wrapper...
- Modified
- 16 Aug at 07:22
How can I access and process nested objects, arrays, or JSON?
I have a nested data structure containing objects and arrays. How can I extract the information, i.e. access a specific or multiple values (or keys)? For example: ``` var data = { code: 42, ...
- Modified
- 4 Jul at 15:33
JavaScript window resize event
How can I hook into a browser window resize event? There's [a jQuery way of listening for resize events](https://stackoverflow.com/questions/599288/cross-browser-window-resize-event-javascript-jquery...
- Modified
- 7 Sep at 20:15
What does "use strict" do in JavaScript, and what is the reasoning behind it?
Recently, I ran some of my JavaScript code through Crockford's [JSLint](http://www.jslint.com/), and it gave the following error: > Problem at line 1 character 1: Missing "use strict" statement. Doing...
- Modified
- 5 Jul at 13:59
PostgreSQL error: Fatal: role "username" does not exist
I'm setting up my PostgreSQL 9.1. I can't do anything with PostgreSQL: can't `createdb`, can't `createuser`; all operations return the error message ``` Fatal: role h9uest does not exist ``` `h9ues...
- Modified
- 18 Nov at 05:36
Checking if an object is null in C#
I would like to prevent further processing on an object if it is null. In the following code I check if the object is null by either: ``` if (!data.Equals(null)) ``` and ``` if (data != null) ```...
- Modified
- 21 Apr at 20:21
UPDATE and REPLACE part of a string
I've got a table with two columns, `ID` and `Value`. I want to change a part of some strings in the second column. Example of Table: ``` ID Value --------------------------------- 1 ...
- Modified
- 18 Sep at 21:9
How to append text to an existing file in Java?
I need to append text repeatedly to an existing file in Java. How do I do that?
- Modified
- 13 Aug at 20:37
How do you create a hidden div that doesn't create a line break or horizontal space?
I want to have a hidden checkbox that doesn't take up any space on the screen. If I have this: ``` <div id="divCheckbox" style="visibility: hidden"> ``` I don't see the checkbox, but it still crea...
var functionName = function() {} vs function functionName() {}
I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent. The previous developer used two ways...
- Modified
- 14 Feb at 07:44
How can I echo a newline in a batch file?
How can you you insert a newline from your batch file output? I want to do something like: ``` echo hello\nworld ``` Which would output: ``` hello world ```
- Modified
- 15 Sep at 15:2
What is the best way to give a C# auto-property an initial value?
How do you give a C# auto-property an initial value? I either use the constructor, or revert to the old syntax. ``` class Person { public Person() { Name = "Initial Name"; } ...
- Modified
- 3 Mar at 11:48