500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid
Before everyone reads this, I just want to say that i know that there are related threads out there, but I have either tried them or do not understand. With that being said here goes nothing... I am ...
- Modified
- 4 Sep at 18:5
Get Cell Value from a DataTable in C#
Here is a , which has lots of data. I want to get the specific from the DataTable, say . Where, i -> Rows and j -> Columns. I will iterate i,j's value with two `forloops`. But I can't figure out ...
How to prevent text from overflowing in CSS?
How can I prevent text in a div block from overflowing in CSS? ``` div { width: 150px; /* what to put here? */ } ``` ``` <div>This div contains a VeryLongWordWhichDoesNotFitToTheBorder.</div> ``` ...
Command line to remove an environment variable from the OS level configuration
Windows has the [setx](https://ss64.com/nt/setx.html) command: ``` Description: Creates or modifies environment variables in the user or system environment. ``` So you can set a variable li...
- Modified
- 21 Aug at 19:29
Is the MIME type 'image/jpg' the same as 'image/jpeg'?
Pretty simple question but can't seem to find it anywhere online. I'm trying to make a program that depending on the file type will give me the extension.
- Modified
- 13 Nov at 12:36
How to revert the last migration?
I've made a migration that added a new table and want to revert it and delete the migration, without creating a new migration. How do I do it? Is there a command to revert last migration and then I c...
- Modified
- 10 Nov at 09:47
Compare dates in MySQL
I want to compare a date from a database that is between 2 given dates. The column from the database is DATETIME, and I want to compare it only to the date format, not the datetime format. ``` SELECT...
- Modified
- 28 Aug at 12:31
Visual Studio Post Build Event - Copy to Relative Directory Location
On a successful build, I wish to copy the contents of the output directory to a different location under the same folder. This parent folder is a relative part and can vary based on Source Control se...
- Modified
- 22 Sep at 02:58
Send values from one form to another form
I want to pass values between two Forms (c#). How can I do it? I have two forms: Form1 and Form2. Form1 contains one button. When I click on that button, Form2 should open and Form1 should be in in...
- Modified
- 14 Mar at 02:55
<hr> tag in Twitter Bootstrap not functioning correctly?
Here is my code: ``` <div class="container"> <div> <h1>Welcome TeamName1</h1> asdf <hr> asdf </div> </div> <!-- /container --> ``` The hr tag does not seem to work as I would expect it. Inst...
- Modified
- 14 Feb at 15:20
How to embed a Facebook page's feed into my website
I am working with a group to help promote a charity event. The page I would like to embed is NOT my Facebook profile, but a Facebook page someone has created. I would like to show that news feed in m...
- Modified
- 5 Dec at 09:56
Converting a date string to a DateTime object using Joda Time library
I have a date as a string in the following format `"04/02/2011 20:27:05"`. I am using Joda-Time library and would like to convert it to `DateTime` object. I did: ``` DateTime dt = new DateTime("04/02...
Custom Adapter for List View
I want to create a `custom adapter` for my list view. Is there any article that can walk me through how to create one and also explain how it works?
- Modified
- 13 Mar at 07:18
Iterating through directories with Python
I need to iterate through the subdirectories of a given directory and search for files. If I get a file I have to open it and change the content and replace it with my own lines. I tried this: ``` i...
How can I find the dimensions of a matrix in Python?
How can I find the dimensions of a matrix in Python. Len(A) returns only one variable. Edit: ``` close = dataobj.get_data(timestamps, symbols, closefield) ``` Is (I assume) generating a matrix of ...
What is the difference between C# and .NET?
May I know what is the difference between C# and .NET? When I think of C#, right away I would say it is a .NET language, but when I search for job posts, they require candidates to have C# and .NET ex...
CSS Classes & SubClasses
Is it possible, other than what I'm doing because it doesn't seem to work, to do this? I want to be able to have subclasses that are under a class to use the CSS specifically for that class.subclass. ...
- Modified
- 17 Feb at 21:7
How to check if the docker engine and a docker container are running?
In a script, I need to check: a) Is the docker engine running? b) Given a container name, is that docker container running?
initializing a boolean array in java
I have this code ``` public static Boolean freq[] = new Boolean[Global.iParameter[2]]; freq[Global.iParameter[2]] = false; ``` could someone tell me what exactly i'm doing wrong here and how would ...
- Modified
- 2 Mar at 16:45
Use CSS3 transitions with gradient backgrounds
I'm trying to transition on hover with css over a thumbnail so that on hover, the background gradient fades in. The transition isn't working, but if I simply change it to an `rgba()` value, it works f...
- Modified
- 13 Aug at 08:31
Java Ordered Map
Is there an object in Java that acts like a Map for storing and accessing key/value pairs, but can return an ordered list of keys and an ordered list of values, such that the key and value lists are i...
- Modified
- 7 Oct at 11:35
CSS3 Transparency + Gradient
RGBA is extremely fun, and so is `-webkit-gradient`, `-moz-gradient`, and uh... `progid:DXImageTransform.Microsoft.gradient`... yeah. :) Is there a way to combine the two, RGBA and gradients, so that...
Separating class code into a header and cpp file
I am confused on how to separate implementation and declarations code of a simple class into a new header and cpp file. For example, how would I separate the code for the following class? ``` class A...
How do you run a SQL Server query from PowerShell?
Is there a way to execute an arbitrary query on a SQL Server using Powershell on my local machine?
- Modified
- 7 Dec at 22:27