Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.87 KB

2017-10-29.md

File metadata and controls

97 lines (43 loc) · 4.87 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-10-29

  1. Modifying the “Path to executable” of a windows service

    tags: windows, windows-services

    183 votes, 5 answers and 151299 views

    \r\n I'd like to modify the path to my application, but doing so breaks it because the service still points to the old location. \n\nBy going to Administrative Tools > Services you can open a properties ...\r\n

  2. Angular 2 HTTP GET with TypeScript error http.get(…).map is not a function in [null]

    tags: typescript, angular, rxjs

    203 votes, 6 answers and 115843 views

    \r\n I have a problem with HTTP in Angular 2. \n\nI just want to GET a JSON list and show it in the view. \n\nService class\n\nimport {Injectable} from "angular2/core";\nimport {Hall} from "./hall";\nimport {Http} ...\r\n

  3. Specify an SSH key for git push for a given domain

    tags: git, ssh, gitolite

    243 votes, 8 answers and 156049 views

    \r\n I have the following use case: I would like to be able to push to git@git.company.com:gitolite-admin using the private key of user gitolite-admin, while I want to push to git@git.company.com:some_repo ...\r\n

  4. Comparing two java.util.Dates to see if they are in the same day

    tags: java, datetime

    179 votes, 12 answers and 166710 views

    \r\n I need to compare two Dates (e.g. date1 and date2) and come up with a boolean sameDay which is true of the two Dates share the same day, and false if they are not.\n\nHow can I do this? There seems to ...\r\n

  5. List tables in a PostgreSQL schema

    tags: postgresql, postgresql-9.1, psql

    180 votes, 3 answers and 140420 views

    \r\n When I do a \dt in psql I only get a listing of tables in the current schema (public by default).\n\nHow can I get a list of all tables in all schemas or a particular schema?\r\n

  6. Why do people say there is modulo bias when using a random number generator?

    tags: c++, random, language-agnostic, modulo

    226 votes, 9 answers and 30477 views

    \r\n I have seen this question asked a lot but never seen a true concrete answer to it. So I am going to post one here which will hopefully help people understand why exactly there is "modulo bias" when ...\r\n

  7. How to set NODE_ENV to production/development in OS X

    tags: node.js, osx, environment-variables

    191 votes, 11 answers and 214422 views

    \r\n For use in express.js environments. Any suggestions?\r\n

  8. What is a loop invariant?

    tags: algorithm, data-structures, clrs, loop-invariant

    186 votes, 14 answers and 102224 views

    \r\n I'm reading "Introduction to Algorithm" CLRS. and the authors are talking about loop invariants, in chapter 2 (Insertion Sort). I don't have any idea of what it means.\r\n

  9. How to create a Custom Dialog box in android?

    tags: android, android-dialogfragment, android-dialog

    204 votes, 14 answers and 314442 views

    \r\n I want to create a custom dialog box like below \r\nI have tried the following things.\r\nI created a subclass of AlertDialog.Builder and used a custom Title and Custom Content View and used that but the ...\r\n

  10. Disable link using css

    tags: html, css

    666 votes, 15 answers and 865988 views

    \r\n Is there any way to disable a link using CSS?\n\nI have a class called current-page and want links with this class to be disabled so that no action occurs when they are clicked.\r\n