See what the Stackoverflow community is most excited about today.
Date: 2017-11-23
-
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
-
How do I exit from the text window in Git?
tags: git, vim
213 votes, 4 answers and 154152 views
\r\n I am using Windows and before committing, Git wants me to enter a text message and a new text window appears. \r\nHow can I exit from this? \n\nI am trying to learn Git. So, a little help will be highly ...\r\n
-
“use database_name” command in PostgreSQL
tags: postgresql, postgresql-9.1
216 votes, 4 answers and 178259 views
\r\n I am beginner to PostgreSQL.\n\nI want to connect to another database from the query editor of Postgres - like the USE command of MySQL or MS SQL Server. \n\nI found \c databasename by searching the ...\r\n
-
How to use radio on change event?
tags: jquery, jquery-ui
278 votes, 5 answers and 421856 views
\r\n I have two radio button \non change event i want change button How it is possible?\nMy Code \n\nAllot\n<input type="...\r\n
-
Table 'performance_schema.session_variables' doesn't exist
tags: mysql, upgrade
221 votes, 6 answers and 78998 views
\r\n After upgrading MySQL to 5.7.8-rc\nand loging to server I got error:\n\nTable 'performance_schema.session_variables' doesn't exist\r\nI can't find any solution for this. Can you help ?\r\n
-
How can Python iterate over dictionaries with 'for' loops using only the dict keys?
tags: python, python-2.7, dictionary, key, iteration
1657 votes, 12 answers and 2233477 views
\r\n I am a bit puzzled by the following code:\n\nd = {'x': 1, 'y': 2, 'z': 3} \nfor key in d:\n print key, 'corresponds to', d[key]\r\nWhat I don't understand is the key portion. How does Python recognize ...\r\n
-
Can you force a React component to rerender without calling setState?
tags: reactjs, react-jsx
223 votes, 8 answers and 279239 views
\r\n I have an external (to the component), observable object that I want to listen for changes on. When the object is updated it emits change events, and then I want to rerender the component when any ...\r\n
-
What's the difference between ASCII and Unicode?
tags: unicode, ascii
207 votes, 8 answers and 223206 views
\r\n Can I know the exact difference between Unicode and ASCII? \n\nASCII has a total of 128 characters (256 in the extended set). \n\nIs there any size specification for Unicode characters?\r\n
-
Passing parameters to a Bash function
tags: bash
555 votes, 7 answers and 587716 views
\r\n I am trying to search how to pass parameters in a Bash function, but what comes up is always how to pass parameter from the command line. \n\nI would like to pass parameters within my script. I tried:\n\n...\r\n
-
How do you use “git --bare init” repository?
tags: git
211 votes, 9 answers and 195068 views
\r\n I need to create a central Git repository but I'm a little confused...\n\nI have created a bare repository (in my git server, machine 2) with:\n\n$ mkdir test_repo\n$ git --bare init\r\nNow I need to push ...\r\n