Tab character instead of multiple non-breaking spaces ("nbsp")?
Is it possible to insert a tab character in HTML instead of having to type ` ` four times?
- Modified
- 17 Feb at 02:21
How do I animate constraint changes?
I'm updating an old app with an `AdBannerView` and when there is no ad, it slides off screen. When there is an ad it slides on the screen. Basic stuff. Old style, I set the frame in an animation block...
- Modified
- 26 Apr at 16:31
How do I get list of all tables in a database using TSQL?
What is the best way to get the names of all of the tables in a specific database on SQL Server?
- Modified
- 7 Dec at 02:36
Escape curly brace '{' in String.Format
How do I display a literal curly brace character when using the String.Format method? Example: ``` sb.AppendLine(String.Format("public {0} {1} { get; private set; }", prop.Type, prop.Name)); ``` ...
Definition of "downstream" and "upstream"
I've started playing with Git and have come across the terms "upstream" and "downstream". I've seen these before but never understood them fully. What do these terms mean in the context of SCMs ([So...
- Modified
- 7 Jun at 14:17
How to check a not-defined variable in JavaScript
I wanted to check whether the variable is defined or not. For example, the following throws a not-defined error ``` alert( x ); ``` How can I catch this error?
- Modified
- 3 Mar at 19:35
Creating a comma separated list from IList<string> or IEnumerable<string>
What is the cleanest way to create a comma-separated list of string values from an `IList<string>` or `IEnumerable<string>`? `String.Join(...)` operates on a `string[]` so can be cumbersome to work w...
How to retrieve a module's path?
I want to detect whether module has changed. Now, using inotify is simple, you just need to know the directory you want to get notifications from. How do I retrieve a module's path in python?
How to make vim paste from (and copy to) system's clipboard?
Unlike other editors, vim stores copied text in its own clipboard. So, it's very hard for me to copy some text from a webpage and paste it into the current working file. It so happens I have to either...
What is Python's equivalent of && (logical-and) in an if-statement?
This doesn't work: ``` if cond1 && cond2: ```
- Modified
- 2 Mar at 00:0
How can I deal with this Git warning? "Pulling without specifying how to reconcile divergent branches is discouraged"
After a `git pull origin master`, I get the following message: ``` warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one o...
- Modified
- 22 Sep at 18:10
How can I exclude directories from grep -R?
I want to traverse all subdirectories, except the "node_modules" directory.
How can one change the timestamp of an old commit in Git?
The answers to [How to modify existing, unpushed commits?](https://stackoverflow.com/questions/179123/how-do-i-edit-an-incorrect-commit-message-in-git) describe a way to amend previous commit messages...
- Modified
- 23 May at 10:31
Git push error '[remote rejected] master -> master (branch is currently checked out)'
Yesterday, I posted a question on how to clone a [Git](http://en.wikipedia.org/wiki/Git_%28software%29) repository from one of my machines to another, [How can I 'git clone' from another machine?](htt...
What are the rules about using an underscore in a C++ identifier?
It's common in C++ to name member variables with some kind of prefix to denote the fact that they're member variables, rather than local variables or parameters. If you've come from an MFC background,...
- Modified
- 25 Feb at 13:39
In CSS Flexbox, why are there no "justify-items" and "justify-self" properties?
Consider the main axis and cross axis of a flex container: [](https://i.stack.imgur.com/9Oxw7.png) [W3C](https://www.w3.org/TR/css-flexbox-1/#box-model) To align flex items along the main axis there i...
- Modified
- 31 Dec at 19:53
How to use Jackson to deserialise an array of objects
The [Jackson data binding documentation](http://jackson.codehaus.org/DataBindingDeepDive) indicates that Jackson supports deserialising "Arrays of all supported types" but I can't figure out the exac...
What does T&& (double ampersand) mean in C++11?
I've been looking into some of the new features of C++11 and one I've noticed is the double ampersand in declaring variables, like `T&& var`. For a start, what is this beast called? I wish Google wou...
- Modified
- 4 Dec at 22:33
DateTime vs DateTimeOffset
What is the difference between a `DateTime` and a `DateTimeOffset` and when should one be used? --- Currently, we have a standard way of dealing with .NET `DateTime`s in a TimeZone-aware way: Whene...
- Modified
- 21 Feb at 15:28
Git workflow and rebase vs merge questions
I've been using Git now for a couple of months on a project with one other developer. I have several years of experience with [SVN](http://en.wikipedia.org/wiki/Apache_Subversion), so I guess I bring ...
- Modified
- 3 Oct at 16:10
Differences between dependencyManagement and dependencies in Maven
What is the difference between `dependencyManagement` and `dependencies`? I have seen the docs at Apache Maven web site. It seems that a dependency defined under the `dependencyManagement` can be used...
- Modified
- 7 Oct at 12:18
Automatically create requirements.txt
Sometimes I download the python source code from `github` and don't know how to install all the dependencies. If there is no `requirements.txt` file I have to create it by hands. The question is: Give...
- Modified
- 10 Jun at 11:22
Behaviour of increment and decrement operators in Python
How do I use pre-increment/decrement operators (`++`, `--`), just like in C++? Why does `++count` run, but not change the value of the variable?
HTTP GET request in JavaScript?
I need to do an [HTTP GET](http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods) request in JavaScript. What's the best way to do that? I need to do this in a Mac OS X dashcode wi...
- Modified
- 28 Sep at 16:19
Recursively counting files in a Linux directory
How can I recursively count files in a Linux directory? I found this: ``` find DIR_NAME -type f ¦ wc -l ``` But when I run this it returns the following error. > find: paths must precede expression: ...