Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.67 KB

2017-11-13.md

File metadata and controls

97 lines (43 loc) · 4.67 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-11-13

  1. How do I delete (unset) an exported environment variable?

    tags: linux, environment-variables, unset

    967 votes, 3 answers and 547486 views

    \r\n Before installing gnuplot I set the environment variable GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src.\n\nDuring the installation something went wrong; now I want to remove the GNUPLOT_DRIVER_DIR ...\r\n

  2. What is the difference between <%, <%=, <%# and -%> in ERB in Rails?

    tags: ruby-on-rails, ruby, templates, erb

    266 votes, 5 answers and 65659 views

    \r\n Can some one please describe the usage of the following characters which is used in ERB file:\n\n<% %>\n<%= %>\n<% -%>\n<%# %>\r\nwhat's the usage of each one ?\r\n

  3. How to increase timeout for a single test case in mocha

    tags: mocha

    284 votes, 8 answers and 88436 views

    \r\n I'm submitting a network request in a test case, but this sometimes takes longer than 2 seconds (the default timeout).\n\nHow do I increase the timeout for a single test case?\r\n

  4. Why does Stream not implement Iterable?

    tags: java, java-8, java-stream, iterable

    181 votes, 7 answers and 23068 views

    \r\n In Java 8 we have the class Stream, which curiously have a method\n\nIterator iterator()\r\nSo you would expect it to implement interface Iterable, which requires exactly this method, ...\r\n

  5. Switching between GCC and Clang/LLVM using CMake

    tags: cmake, llvm, clang

    195 votes, 8 answers and 142625 views

    \r\n I have a number of projects built using CMake and I'd like to be able to easily switch between using GCC or Clang/LLVM to compile them. I believe (please correct me if I'm mistaken!) that to use Clang ...\r\n

  6. How to iterate over a JSONObject?

    tags: java, json

    208 votes, 9 answers and 286311 views

    \r\n I use a JSON library called JSONObject (I don't mind switching if I need to). \n\nI know how to iterate over JSONArrays, but when I parse JSON data from Facebook I don't get an array, only a JSONObject, ...\r\n

  7. How to fix homebrew permissions?

    tags: osx, homebrew, libjpeg

    313 votes, 12 answers and 155617 views

    \r\n I have uninstalled and installed Homebrew 3 times now because it seems to never allow me to install anything as it denies me permissions at the end of most installations.\n\nAs an example I will post ...\r\n

  8. 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

  9. What is the difference between new/delete and malloc/free?

    tags: c++, memory-management

    225 votes, 15 answers and 141868 views

    \r\n What is the difference between new/delete and malloc/free?\n\nRelated (duplicate?): In what cases do I use malloc vs new?\r\n

  10. What is an NP-complete in computer science?

    tags: algorithm, language-agnostic, mathematical-optimization, theory, np-complete

    328 votes, 15 answers and 179147 views

    \r\n What is an NP-complete problem? Why is it such an important topic in computer science?\r\n