tagged [key]
How to loop through key/value object in Javascript?
How to loop through key/value object in Javascript? now I want to create a `setUsers()` method that takes a key/value pair object and initializes the `user` variable. where data is like:
- Modified
- 17 Sep at 07:0
Change key pair for ec2 instance
Change key pair for ec2 instance How do I change the key pair for my ec2 instance in AWS management console? I can stop the instance, I can create new key pair, but I don't see any link to modify the ...
- Modified
- 4 Jan at 12:14
Are there any KeyValue stores used by .NET?
Are there any KeyValue stores used by .NET? I am looking up keyvalue stores that support C#, but i found that most of them are implemented by Java. Could anybody recommend some to me? It would be supe...
How to get a random value from dictionary?
How to get a random value from dictionary? How can I get a random pair from a `dict`? I'm making a game where you need to guess a capital of a country and I need questions to appear randomly. The `dic...
- Modified
- 9 Feb at 16:36
Android EditText delete(backspace) key event
Android EditText delete(backspace) key event How can I detect delete (backspace) key event for a editText? I've tried using TextWatcher, but when the editText is empty, when I press delete key, nothin...
- Modified
- 20 Jul at 13:6
How add key to dictionary without value?
How add key to dictionary without value? in normally we should add `key` and `value` together in `dictionary type`. like: I want to know, Is there any way to add `key` first, then insert its `value`? ...
- Modified
- 8 Sep at 15:58
How to check if multiple array keys exists
How to check if multiple array keys exists I have a variety of arrays that will either contain or just How would I check to see if an array contains both story and message? `array_key_exists()` only l...
Get selected key/value of a combo box using jQuery
Get selected key/value of a combo box using jQuery Please, how can I get the selected key and value of a HTML select combo box using jQuery? Thanks
- Modified
- 19 Apr at 09:48
Primary Keys in Oracle and SQL Server
Primary Keys in Oracle and SQL Server What's the best practice for handling primary keys using an ORM over Oracle or SQL Server? - Should I use a sequence and a trigger or let the ORM handle this? Or ...
- Modified
- 15 Aug at 21:8
How to change the foreign key referential action? (behavior)
How to change the foreign key referential action? (behavior) I have set up a table that contains a column with a foreign key, set to `ON DELETE CASCADE` (delete child when parent is deleted) What woul...
- Modified
- 5 Nov at 19:45
How to iterate over associative arrays in Bash
How to iterate over associative arrays in Bash Based on an associative array in a Bash script, I need to iterate over it to get the key and value. I actually don't understand how to get the key while ...
- Modified
- 3 Feb at 06:8
How do I specify unique constraint for multiple columns in MySQL?
How do I specify unique constraint for multiple columns in MySQL? I have a table: Now I want to make the columns unique (together). How do I do this in MySql? Of course the example is just... an examp...
- Modified
- 17 Feb at 19:15
The default for KeyValuePair
The default for KeyValuePair I have an object of the type `IEnumerable> keyValueList`, I am using How can I check whether `getResult` is the default, in case I can't find the correct element? I can't ...
How to modify key in a dictionary in C#
How to modify key in a dictionary in C# How can I change the value of a number of keys in a dictionary. I have the following dictionary : I want to loop through this sorted dictionary and change the k...
- Modified
- 27 Jun at 09:17
How to modify a KeyValuePair value?
How to modify a KeyValuePair value? I got a problem when I try to modify the value of an item because its only a read only field. I've tried different alternatives like: but there I have the same prob...
Finding already existing value in Key Value pair
Finding already existing value in Key Value pair I am storing a string and int value in Key value pair. While adding i need to check if string(Key) already exists in list, if exists i need to add it ...
How do you create a dictionary in Java?
How do you create a dictionary in Java? I am trying to implement a dictionary (as in the physical book). I have a list of words and their meanings. What data structure / type does Java provide to stor...
- Modified
- 8 Jan at 22:23
What are the differences b/w Hashtable, Dictionary and KeyValuePair?
What are the differences b/w Hashtable, Dictionary and KeyValuePair? I use Dictionary in my code but my colleagues use Hashtable. MSDN says they work on Key Value pair & examples of Hashtable and dict...
- Modified
- 24 Sep at 07:43
How do I hide an API key in Create React App?
How do I hide an API key in Create React App? I made a weather app in [Create React App](https://create-react-app.dev/docs/getting-started/) (`create-react-app`). How do I hide the API key so that I c...
- Modified
- 17 Jan at 16:37
How do you test a public/private DSA keypair?
How do you test a public/private DSA keypair? Is there an easy way to verify that a given private key matches a given public key? I have a few `*.pub`and a few `*.key` files, and I need to check which...
- Modified
- 23 Jul at 06:59
How to get primary key of table?
How to get primary key of table? Is there a way to get the name of primary key field from mysql-database? For example: I have a table like this: | id | name | | -- | ---- | | 1 | Foo1 | | 2 | Foo2 | |...
- Modified
- 3 Mar at 02:56
Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly
Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly I'm attempting to deploy my code to heroku with the following command line: but get the following e...
- Modified
- 14 Jan at 17:48
ServiceStack ApiKey
ServiceStack ApiKey I'm using serviceStack for my first api service. I have my own table "" where I store multiple api key for users. I use Entity Framework. If I use OrmLiteAuthRepository it create i...
- Modified
- 12 Sep at 08:20