How to loop through all enum values in C#?
> [How do I enumerate an enum in C#?](https://stackoverflow.com/questions/105372/how-to-enumerate-an-enum) ``` public enum Foos { A, B, C } ``` Is there a way to loop through the...
- Modified
- 14 Sep at 11:22
Difference between == and === in JavaScript
What is the difference between `==` and `===` in JavaScript? I have also seen `!=` and `!==` operators. Are there more such operators?
- Modified
- 9 Nov at 14:31
What does "javascript:void(0)" mean?
``` <a href="javascript:void(0)" id="loginlink">login</a> ``` I've seen such `href`s many times, but I don't know what exactly that means.
- Modified
- 30 Aug at 08:1
How are parameters sent in an HTTP POST request?
In an HTTP request, parameters are sent as a : In an HTTP request, the parameters are not sent along with the URI. In the request header? In the request body? What does it look like?
- Modified
- 17 Dec at 10:21
Get the values from the "GET" parameters (JavaScript)
I have a URL with some GET parameters as follows: ``` www.test.com/t.html?a=1&b=3&c=m2-m3-m4-m5 ``` I need to get the whole value of `c`. I tried to read the URL, but I got only `m2`. How do I do t...
- Modified
- 6 Oct at 15:36
What does <meta http-equiv="X-UA-Compatible" content="IE=edge"> do?
What's the difference if one web page starts with ``` <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> ``` and If page starts with ``` <!DOCTYPE html> ...
- Modified
- 8 Nov at 14:37
How can I import a module dynamically given the full path?
How do I load a Python module given its full path? Note that the file can be anywhere in the filesystem where the user has access rights. --- [How to import a module given its name as string?](http...
- Modified
- 30 Nov at 11:42
Random string generation with upper case letters and digits
How do I generate a string of size N, made of numbers and uppercase English letters such as: - - -
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19. My node version is: ``` node -v v0.6.1-pre ``` NVM says this (after I install a version of node for ...
- Modified
- 14 May at 10:49
How to convert a string to lower case in Bash
Is there a way in [bash](/questions/tagged/bash) to convert a string into a lower case string? For example, if I have: ``` a="Hi all" ``` I want to convert it to: ``` "hi all" ```
How do you access the matched groups in a JavaScript regular expression?
I want to match a portion of a string using a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) and then access that parenthesized substring: ``` var myString = "something format_...
- Modified
- 21 Jan at 19:24
How can I delete using INNER JOIN with SQL Server?
I want to using `INNER JOIN` in . But I get this error: > Msg 156, Level 15, State 1, Line 15 syntax near the 'INNER'. My code: ``` DELETE FROM WorkRecord2 INNER JOIN Employee ON Employe...
- Modified
- 2 Oct at 07:17
Why not inherit from List<T>?
When planning out my programs, I often start with a chain of thought like so: > A football team is just a list of football players. Therefore, I should represent it with:``` var football_team = new L...
- Modified
- 28 Nov at 01:18
How to measure time taken by a function to execute
I need to get execution time in milliseconds. > I originally asked this question back in 2008. The accepted answer then was to use [new Date().getTime()](https://developer.mozilla.org/en-US/docs/Web/J...
- Modified
- 22 Jul at 08:35
How do I install pip on macOS or OS X?
I spent most of the day yesterday searching for a clear answer for installing `pip` (package manager for Python). I can't find a good solution. How do I install it?
- Modified
- 8 Apr at 16:21
How can I replace each newline (\n) with a space using sed?
How can I replace a newline ("`\n`") with a space ("``") using the `sed` command? I unsuccessfully tried: ``` sed 's#\n# #g' file sed 's#^$# #g' file ``` How do I fix it?
- Modified
- 6 Jan at 13:47
Break a previous commit into multiple commits
Without creating a branch and doing a bunch of funky work on a new branch, is it possible to break a single commit into a few different commits after it's been committed to the local repository?
- Modified
- 9 Sep at 15:35
Selecting multiple columns in a Pandas dataframe
How do I select columns `a` and `b` from `df`, and save them into a new dataframe `df1`? ``` index a b c 1 2 3 4 2 3 4 5 ``` Unsuccessful attempt: ``` df1 = df['a':'b'] df1 = d...
What is the difference between const and readonly in C#?
What is the difference between `const` and `readonly` in C#? When would you use one over the other?
What is a monad?
Having briefly looked at Haskell recently, what would be a explanation as to what a monad essentially is? I have found most explanations I've come across to be fairly inaccessible and lacking in pra...
- Modified
- 28 Aug at 17:5
What is the difference between UNION and UNION ALL?
What is the difference between `UNION` and `UNION ALL`?
Sorting an array of objects by property values
I've got the following objects using AJAX and stored them in an array: ``` var homes = [ { "h_id": "3", "city": "Dallas", "state": "TX", "zip": "75201", "p...
- Modified
- 21 Nov at 16:17
What is the difference between varchar and nvarchar?
Is it just that `nvarchar` supports multibyte characters? If that is the case, is there really any point, other than storage concerns, to using `varchars`?
- Modified
- 19 Sep at 19:37
How can I get the ID of an element using jQuery?
``` <div id="test"></div> <script> $(document).ready(function() { alert($('#test').id); }); </script> ``` Why doesn't the above work, and how should I do this?
- Modified
- 15 May at 14:16
Find all tables containing column with specified name - MS SQL Server
Is it possible to query for table names which contain columns being ``` LIKE '%myName%' ``` ?
- Modified
- 25 Apr at 13:48