See what the Stackoverflow community is most excited about today.
Date: 2017-11-01
-
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
-
Size of character ('a') in C/C++
tags: c++, c, types
227 votes, 4 answers and 193532 views
\r\n What is the size of character in C and C++ ? As far as I know the size of char is 1 byte in both C and C++.\n\nIn C:\n\n#include <stdio.h>\nint main()\n{\n printf("Size of char : %d\n",sizeof(char));\n ...\r\n
-
How do you specify the Java compiler version in a pom.xml file?
tags: java, maven, pom.xml
188 votes, 5 answers and 198702 views
\r\n I wrote a maven code on 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:\n\n...\r\n
-
Can Git hook scripts be managed along with the repository?
tags: git, githooks
184 votes, 7 answers and 43685 views
\r\n We'd like to make a few basic hook scripts that we can all share -- for things like pre-formatting commit messages. Git has hook scripts for that that are normally stored under /.git/...\r\n
-
uncaught syntaxerror unexpected token U JSON
tags: json
190 votes, 8 answers and 171267 views
\r\n I get this error "uncaught syntaxerror unexpected token U" when I run my page in chrome. And in firefox I get, "JSON.parse: unexpected character". I'm returning the json data from a php file and the ...\r\n
-
In a Git repository, how to properly rename a directory?
tags: git, directory, rename
296 votes, 8 answers and 134626 views
\r\n In a Git repository, how to properly rename a directory? I think it should work to copy the directory to be renamed to a new directory with desired name, and delete the old directory, and git add, ...\r\n
-
How to get week number in Python?
tags: python, datetime, week-number
186 votes, 14 answers and 104646 views
\r\n How to find out what week number is this year on June 16th (wk24) with Python?\r\n
-
How to increase IDE memory limit in IntelliJ IDEA on Mac?
tags: java, osx, intellij-idea, jvm-arguments
228 votes, 9 answers and 149654 views
\r\n I'm using IDEA 12 Leda on Mountain Lion. I wanted to increase the maximum memory that IDE can use. I set the VMOptions in Info.plist file to be\n-Xmx2048m -ea -XX:+HeapDumpOnOutOfMemoryError -Xverify:...\r\n
-
tags: bootstrapping
448 votes, 11 answers and 182985 views
\r\n I keep seeing "bootstrapping" mentioned in discussions of application development. It seems both widespread and important, but I've yet to come across even a poor explanation of what bootstrapping ...\r\n