Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.95 KB

2018-01-10.md

File metadata and controls

97 lines (43 loc) · 4.95 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2018-01-10

  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. Best way to implement keyboard shortcuts in a Windows Forms application?

    tags: c#, winforms, keyboard-shortcuts

    236 votes, 11 answers and 168762 views

    \r\n I'm looking for a best way to implement common Windows keyboard shortcuts (for example Ctrl+F, Ctrl+N) in my Windows Forms application in C#.\n\nThe application has a main form which hosts many child ...\r\n

  3. Assigning out/ref parameters in Moq

    tags: c#, out, ref, moq-3

    186 votes, 8 answers and 70241 views

    \r\n Is it possible to assign an out/ref parameter using Moq (3.0)?\n\nI've looked at using Callback(), but Action<> does not support ref parameters because it's based on generics. I'd also preferably ...\r\n

  4. Schema for a multilanguage database

    tags: database-design, localization, multilingual

    186 votes, 10 answers and 73627 views

    \r\n I'm developing a multilanguage software. As far as the application code goes, localizability is not an issue. We can use language specific resources and have all kinds of tools that work well with ...\r\n

  5. Difference between partition key, composite key and clustering key in Cassandra?

    tags: database, cassandra, cql

    329 votes, 5 answers and 106559 views

    \r\n I have been reading articles around the net to understand the differences between the following key types. But it just seems hard for me to grasp. Examples will definitely help make understanding ...\r\n

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

  7. How do you query this in Mongo? (is not null)

    tags: mongodb, database, nosql

    196 votes, 6 answers and 171257 views

    \r\n db.mycollection.find(HAS IMAGE URL)\r\n

  8. Rename a table in MySQL

    tags: mysql, database, table-rename

    185 votes, 12 answers and 256295 views

    \r\n Renaming a table is not working in MySQL\n\nRENAME TABLE group TO member;\r\nThe error message is\n\n#1064 - You have an error in your SQL syntax; check the manual that corresponds\n to your MySQL ...\r\n

  9. SQL query to select dates between two dates

    tags: sql, sql-server, tsql, datetime, sql-server-2005

    184 votes, 19 answers and 1195748 views

    \r\n I have a start_date and end_date. I want to get the list of dates in between these two dates. Can anyone help me pointing the mistake in my query.\n\nselect Date,TotalAllowance \nfrom Calculation \nwhere ...\r\n

  10. Should I use alias or alias_method?

    tags: ruby, alias

    314 votes, 7 answers and 121543 views

    \r\n I found a blog post on alias vs. alias_method. As shown in the example given in that blog post, I simply want to alias a method to another within the same class. Which should I use? I always see alias ...\r\n