Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list
To be honest, I've tried to turn a dirty trick on IIS and just when I thought that I was going to get away with it, I realized my workaround doesn't work. Here's what I've tried to do: 1) I have ASP....
- Modified
- 31 Oct at 16:29
raw vs. html_safe vs. h to unescape html
Suppose I have the following string ``` @x = "<a href='#'>Turn me into a link</a>" ``` In my view, I want a link to be displayed. That is, I don't want everything in @x to be unescaped and display...
- Modified
- 22 Nov at 23:38
How do I use a custom Serializer with Jackson?
I have two Java classes that I want to serialize to JSON using Jackson: ``` public class User { public final int id; public final String name; public User(int id, String name) { ...
- Modified
- 4 Dec at 10:31
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists
[](https://i.stack.imgur.com/WB1Uv.png) ``` <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi...
HashMap: One Key, multiple Values
How I can get the third value for the first key in this map? Is this possible?
- Modified
- 13 Feb at 06:58
Automatically running a batch file as an administrator
How do I run a batch file from another batch file with administrator rights? I have tried the [RUNAS](http://ss64.com/nt/runas.html) command, but it requires the administrator password. I am searchi...
- Modified
- 15 Nov at 23:55
Split value from one field to two
I've got a table field `membername` which contains both the last name and the first name of users. Is it possible to split those into 2 fields `memberfirst`, `memberlast`? All the records have this ...
Username and password in command for git push
It's possible to clone down a git repository, specifying username and password in the command. Example: `git clone https://username:password@myrepository.biz/file.git` Is it is possible to also spec...
How to get a JSON string from URL?
I'm switching my code form XML to JSON. But I can't find how to get a JSON string from a given URL. The URL is something like this: "https://api.facebook.com/method/fql.query?query=.....&format=json" ...
- Modified
- 1 Apr at 16:28
What are the most useful Intellij IDEA keyboard shortcuts?
I did a bit of googling hoping to find a post on IDEA shortcuts similar to Jeff's post on Visual Studio shortcuts ([Visual Studio .NET 2003 and 2005 Keyboard Shortcuts](http://www.codinghorror.com/blo...
- Modified
- 15 Dec at 15:55
Identify duplicates in a List
I have a List of type Integer eg: ``` [1, 1, 2, 3, 3, 3] ``` I would like a method to return all the duplicates eg: ``` [1, 3] ``` What is the best way to do this?
- Modified
- 14 Sep at 10:22
100% Min Height CSS layout
> What's the best way to make an element of 100% minimum height across a wide range of browsers ? In particular if you have a layout with a `header` and `footer` of fixed `height`, how do you make...
MySQL Select Query - Get only first 10 characters of a value
Ok, so here is the issue. I have a table with some columns and 'subject' is one of the columns. I need to get the first 10 letters from the 'subject' field no matter the 'subject' field contains a st...
Keras input explanation: input_shape, units, batch_size, dim, etc
For any Keras layer (`Layer` class), can someone explain how to understand the difference between `input_shape`, `units`, `dim`, etc.? For example the doc says `units` specify the output shape of a...
- Modified
- 12 Sep at 15:50
powershell - extract file name and extension
I need to extract file name and extension from e.g. my.file.xlsx. I don't know the name of file or extension and there may be more dots in the name, so I need to search the string from the right and w...
- Modified
- 24 Jun at 13:26
How to find the size or shape of a DataFrame in PySpark?
I am trying to find out the size/shape of a DataFrame in PySpark. I do not see a single function that can do this. In Python, I can do this: ``` data.shape() ``` Is there a similar function in PySpar...
Regular expression field validation in jQuery
In jQuery, is there a function/plugin which I can use to match a given regular expression in a string? For example, in an email input box, I get an email address, and want to see if it is in the corr...
pip is not able to install packages correctly: Permission denied error
I am trying to install lxml to install scrapy on my Mac (v 10.9.4) ``` ╭─ishaantaylor@Ishaans-MacBook-Pro.local ~ ╰─➤ pip install lxml Downloading/unpacking lxml Downloading lxml-3.4.0.tar.gz (3.5...
-XX:MaxPermSize with or without -XX:PermSize
We've run into a error and looking at the tomcat JVM params, other than the `-Xms` and `-Xmx` params we also specify `-XX:MaxPermSize=128m`. After a bit of profiling I can see occasionally garbage co...
- Modified
- 3 Aug at 13:23
Generate class from database table
How can I generate a class from a SQL Server table object? I'm not talking about using some ORM. I just need to create the entities (simple class). Something like: ``` public class Person { ...
- Modified
- 11 Jul at 16:51
How do you concatenate Lists in C#?
If I have: ``` List<string> myList1; List<string> myList2; myList1 = getMeAList(); // Checked myList1, it contains 4 strings myList2 = getMeAnotherList(); // Checked myList2, it contains 6 strings ...
- Modified
- 10 May at 12:44
Defining custom attrs
I need to implement my own attributes like in `com.android.R.attr` Found nothing in official documentation so I need information about how to define these attrs and how to use them from my code.
- Modified
- 11 Feb at 09:25
Can't create project on Netbeans 8.2
I have windows 10 OS, I just downloaded JDK 9, and Netbeans 8.2 version with All features. When I want to create (Java) project, it just can't do it. Doesn't give me an error or something, just this b...
- Modified
- 28 Sep at 18:58
How to force HTTPS using a web.config file
I have searched around Google and StackOverflow trying to find a solution to this, but they all seem to relate to ASP.NET etc. I usually run Linux on my servers but for this one client I am using Win...
- Modified
- 3 Dec at 22:59
PHP exec() vs system() vs passthru()
What are the differences? Is there a specific situation or reason for each function? If yes, can you give some examples of those situations? PHP.net says that they are used to execute external progr...