Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.92 KB

2017-11-14.md

File metadata and controls

97 lines (43 loc) · 4.92 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-11-14

  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. How do I “un-revert” a reverted Git commit?

    tags: git, undo, revert

    206 votes, 4 answers and 107471 views

    \r\n Given a change that has been committed using commit, and then reverted using revert, what is the best way to then undo that revert?\n\nIdeally, this should be done with a new commit, so as to not re-...\r\n

  3. Rails server says port already used, how to kill that process?

    tags: ruby-on-rails

    181 votes, 9 answers and 100287 views

    \r\n I'm on a mac, doing:\n\nrails server\n\nI get:\n\n2010-12-17 12:35:15] INFO WEBrick 1.3.1\n[2010-12-17 12:35:15] INFO ruby 1.8.7 (2010-08-16) [i686-darwin10.4.0]\n[2010-12-17 12:35:15] WARN TCPServer Error:...\r\n

  4. Command Line Tools not working - OS X El Capitan/macOS Sierra/macOS High Sierra

    tags: osx, macos-sierra, osx-elcapitan, macos-high-sierra

    400 votes, 5 answers and 147043 views

    \r\n I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example git status inside a terminal, I get the following error:...\r\n

  5. What's the difference between git reset --mixed, --soft, and --hard?

    tags: git, version-control

    410 votes, 5 answers and 81846 views

    \r\n I am looking to split a commit up and not sure which reset option to use.\n\nI was looking at the page Can you explain what "git reset" does in plain english?, but I realized I don't really ...\r\n

  6. How to read XML using XPath in Java

    tags: java, xml, parsing, xpath

    212 votes, 6 answers and 327485 views

    \r\n I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML according to my requirement.\n\nhere is what I want to do:\n\nGet XML file from online via ...\r\n

  7. C# Java HashMap equivalent

    tags: c#, java, hashmap

    217 votes, 7 answers and 257793 views

    \r\n Coming from a Java world into a C# one is there a HashMap equivalent? If not what would you recommend?\r\n

  8. How to make flexbox children 100% height of their parent?

    tags: css, css3, flexbox

    198 votes, 8 answers and 238863 views

    \r\n I'm trying to fill the vertical space of a flex item inside a flexbox. \n\n\r\n\r\n.container {\r\n height: 200px;\r\n width: 500px;\r\n display: -moz-box;\r\n display: -webkit-flexbox;\r\n display: -ms-flexbox;\r...\r\n

  9. scp with port number specified

    tags: port, scp

    491 votes, 7 answers and 449300 views

    \r\n I'm trying to scp a file from a remote server to my local machine. Only port 80 is accessible.\n\nI tried:\n\nscp -p 80 username@www.myserver.com:/root/file.txt .\r\nbut got this error: cp: 80: No such file ...\r\n

  10. Do zombies exist … in .NET?

    tags: c#, .net, multithreading, load, zombie-process

    322 votes, 7 answers and 15307 views

    \r\n I was having a discussion with a teammate about locking in .NET. He's a really bright guy with an extensive background in both lower-level and higher-level programming, but his experience with lower ...\r\n