Questions

How to retrieve the current version of a MySQL database management system (DBMS)?

What command returns the current version of a MySQL database?

23 Jan at 23:53

What is an unsigned char?

In C/C++, what an `unsigned char` is used for? How is it different from a regular `char`?

23 Dec at 11:38

"echo -n" prints "-n"

I have a problem with `echo` in my script: ``` echo -n "Some string..." ``` prints ``` -n Some string... ``` and moves to the next line. In the console it's working correcly without newline: ``...

26 Feb at 06:18

Crbug/1173575, non-JS module files deprecated. chromewebdata/(index)꞉5305:9:5551

I just created a new project and have run it for the first time using or + . The result in Chrome is: > The site can't be reachederr_connection_refused I checked the option at the breakpoints for "E...

Fixed Table Cell Width

A lot of people still use tables to layout controls, data etc. - one example of this is the popular jqGrid. However, there is some magic happening that I cant seem to fathom (its tables for crying out...

10 Dec at 18:21

Convert Int to String in Swift

I'm trying to work out how to cast an `Int` into a `String` in Swift. I figure out a workaround, using `NSNumber` but I'd love to figure out how to do it all in Swift. ``` let x : Int = 45 let xNSNu...

18 Jul at 10:40

Replace Line Breaks in a String C#

How can I replace Line Breaks within a string in C#?

26 Oct at 13:20

How to convert ASCII code (0-255) to its corresponding character?

How can I convert, in Java, the ASCII code (which is an integer from [0, 255] range) to its corresponding ASCII character? For example: ``` 65 -> "A" 102 -> "f" ```

17 Jun at 10:34

What does !important mean in CSS?

What does `!important` mean in CSS? Is it available in CSS 2? CSS 3? Where is it supported? All modern browsers?

25 Sep at 00:44

How to convert local time string to UTC?

How do I convert a datetime to a ? I'm sure I've done this before, but can't find it and SO will hopefully help me (and others) do that in future. : For example, if I have `2008-09-17 14:02:00` in...

9 Mar at 11:7

How to get a user's client IP address in ASP.NET?

We have `Request.UserHostAddress` to get the IP address in ASP.NET, but this is usually the user's ISP's IP address, not exactly the user's machine IP address who for example clicked a link. How can I...

1 May at 09:52

Find duplicate lines in a file and count how many time each line was duplicated?

Suppose I have a file similar to the following: ``` 123 123 234 234 123 345 ``` I would like to find how many times '123' was duplicated, how many times '234' was duplicated, etc. So ideally, ...

13 Aug at 19:26

How can I call a function within a class?

I have this code which calculates the distance between two coordinates. The two functions are both within the same class. However, how do I call the function `distToPoint` in the function `isNear`? ``...

15 Jan at 18:28

How to auto-format code in Eclipse?

How do you auto-format code in Eclipse?

PermissionError: [Errno 13] Permission denied

I'm getting this error : ``` Exception in Tkinter callback Traceback (most recent call last): File "C:\Python34\lib\tkinter\__init__.py", line 1538, in __call__ return self.func(*args) File "C:/Users/...

How to select distinct rows in a datatable and store into an array

I have a dataset objds. objds contains a table named Table1. Table1 contains column named ProcessName. This ProcessName contains repeated names.So i want to select only distinct names.Is this possible...

3 Jan at 13:21

Create Git branch with current changes

I started working on my branch thinking that my task would be easy. After a while I realized it would take more work and I want to do all this work in a new branch. How can I create a new branch a...

11 Apr at 11:40

SQL Group By with an Order By

I have a table of tags and want to get the highest count tags from the list. Sample data looks like this ``` id (1) tag ('night') id (2) tag ('awesome') id (3) tag ('night') ``` using ``` SELECT ...

26 Apr at 23:28

Inserting a tab character into text using C#

I'm building an application where I should capture several values and build a text with them: `Name`, `Age`, etc. The output will be a plain text into a `TextBox`. I am trying to make those informatio...

4 Feb at 08:7

Is the size of C "int" 2 bytes or 4 bytes?

Does an Integer variable in C occupy 2 bytes or 4 bytes? What are the factors that it depends on? Most of the textbooks say integer variables occupy 2 bytes. But when I run a program printing the suc...

13 Feb at 16:9

Permission denied (publickey) when SSH Access to Amazon EC2 instance

I want to use my Amazon ec2 instance but faced the following error: ``` Permission denied (publickey). ``` I have created my key pair and downloaded file. Given: ``` chmod 600 p...

12 Nov at 17:3

Make first letter of a string upper case (with maximum performance)

I have a `DetailsView` with a `TextBox` and I want the be with the . ``` "red" --> "Red" "red house" --> " Red house" ``` How can I achieve this ? --- : Based on the answers and the comments un...

12 Jul at 20:57

Check whether a cell contains a substring

Is there an in-built function to check if a cell contains a given character/substring? It would mean you can apply textual functions like `Left`/`Right`/`Mid` on a conditional basis without throwin...

9 Sep at 07:57

Format a datetime into a string with milliseconds

How can I format a [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) object as a string with milliseconds?

SQL Client for Mac OS X that works with MS SQL Server

How can I connect to a remote SQL server using Mac OS X? I don't really need a GUI, but it would be nice to have for the color coding and resultset grid. I'd rather not have to use a VM. Is there a S...

29 Nov at 16:16