How to run .NET Core console application from the command line
I have a .NET Core console application and have run `dotnet publish`. However, I can't figure out how to run the application from the command line. Any hints?
- Modified
- 10 Jul at 19:53
Confusing "duplicate identifier" Typescript error message
Why am I getting this and many more errors of this kind? I am adding a link to the repo as well as key code snippets below. I think I have a basic misunderstanding of how the dependency and "include" ...
- Modified
- 29 Dec at 23:45
How to use custom font in a project written in Android Studio
I was trying to use custom font in Android Studio as we did in Eclipse. But unfortunately could not figure out where to put the 'assets' folder!
- Modified
- 30 May at 17:59
How to change line color in EditText
I am creating an EditText in my layout xml file But I want to change color line in EditText from Holo to (for example) red. How that can be done? ![enter image description here](https://i.stack.im...
CSS filter: make color image with transparency white
I have a colored png image with transparency. I would like to use css filter to make the whole image white but leave the transparency as it is. Is that possible in CSS?
- Modified
- 14 Jun at 20:40
Pandas: Looking up the list of sheets in an excel file
The new version of Pandas uses [the following interface](http://pandas.pydata.org/pandas-docs/dev/generated/pandas.io.excel.read_excel.html#pandas.io.excel.read_excel) to load Excel files: ``` read_e...
Two divs side by side - Fluid display
I am trying to place two divs side by side and using the following CSS for it. ``` #left { float: left; width: 65%; overflow: hidden; } #right { overflow: hidden; } ``` The HTML is simple,...
- Modified
- 3 Oct at 09:41
How do you specify the Java compiler version in a pom.xml file?
I wrote some Maven code in Netbeans that has approximately more than 2000 lines. When I compile it on Netbeans, everything is fine, but if I want to run it on command line, I will get these errors: ``...
Command to list all files in a folder as well as sub-folders in windows
I tried searching for a command that could list all the file in a directory as well as subfolders using a command prompt command. I have read the help for "dir" command but coudn't find what I was loo...
- Modified
- 11 Mar at 08:35
How do I get a list of all the duplicate items using pandas in python?
I have a list of items that likely has some export issues. I would like to get a list of the duplicate items so I can manually compare them. When I try to use pandas [duplicated method](http://panda...
- Modified
- 31 May at 02:37
'git status' shows changed files, but 'git diff' doesn't
I've had a look at all similar questions. However, I've double checked and something strange is definitely happening. On one server (Solaris with Git 1.8.1) I cloned the Git repository then copied th...
How to redirect the output of the time command to a file in Linux?
Just a little question about timing programs on Linux: the time command allows to measure the execution time of a program: ``` [ed@lbox200 ~]$ time sleep 1 real 0m1.004s user 0m0.000s sys ...
How do I parse a string into a number with Dart?
I would like to parse strings like `1` or `32.23` into integers and doubles. How can I do this with Dart?
iOS 6 apps - how to deal with iPhone 5 screen size?
> [How to develop or migrate apps for iPhone 5 screen resolution?](https://stackoverflow.com/questions/12395200/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution) I was just wonder...
Duplicate AssemblyVersion Attribute
I have a project that generates following error on compilation: > error CS0579: Duplicate 'AssemblyVersion' attribute I have checked the file `AssemblyInfo.cs` and it looks like there is no duplicat...
- Modified
- 29 Oct at 12:36
Clear variable in python
Is there a way to clear the value of a variable in python? For example if I was implementing a binary tree: ``` class Node: self.left = somenode1 self.right = somenode2 ``` If I wanted to rem...
- Modified
- 2 Jan at 06:6
How to show only next line after the matched one?
``` grep -A1 'blah' logfile ``` Thanks to this command for every line that has 'blah' in it, I get the output of the line that contains 'blah' and the next line that follows in the logfile. It might...
Do you have to include <link rel="icon" href="favicon.ico" type="image/x-icon" />?
I didn't include the following line of code in my head tag, however my favicon still appears in my browser: ``` <link rel="icon" href="favicon.ico" type="image/x-icon" /> ``` What's the purpose of ...
Is there a null-coalescing (Elvis) operator or safe navigation operator in javascript?
I'll explain by example: Elvis Operator (?: ) > The "Elvis operator" is a shortening of Java's ternary operator. One instance of where this is handy is for returning a 'sensible default' value...
- Modified
- 9 Aug at 22:12
jQuery UI Datepicker onchange event issue
I have a JS code in which when you change a field it calls a search routine. The problem is that I can't find any jQuery events that will fire when the Datepicker updates the input field. For some re...
- Modified
- 2 Jul at 18:16
What would be an alternate to [TearDown] and [SetUp] in MSTest?
When I use MSTest Framework, and copy the code that Selenium IDE generated for me, MSTest doesn't recognize `[TearDown]` and `[SetUp]`. What is the alternative to this?
- Modified
- 9 Aug at 17:6
How to add multiple objects to ManyToMany relationship at once in Django ?
Based on the Django doc, I should be able to pass multiple objects at once to be added to a manytomany relationship but I get a > TypeError: unhashable type: 'list' when I try to pass a django que...
- Modified
- 25 Jan at 01:16
How do I negate a test with regular expressions in a bash script?
Using GNU bash (version 4.0.35(1)-release (x86_64-suse-linux-gnu), I would like to negate a test with Regular Expressions. For example, I would like to conditionally add a path to the PATH variable, i...
- Modified
- 1 Sep at 01:41
Hibernate throws org.hibernate.AnnotationException: No identifier specified for entity: com..domain.idea.MAE_MFEView
Why am I getting this exception? ``` package com.domain.idea; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Join...
- Modified
- 1 Mar at 10:40