We can change shortcuts in System Preferences - Keyboard - Shortcuts.  And many preferences has its associated file.  So I wonder if there is any file related to the shortcuts.  Then I can use version control or Dropbox to make it sync-able.
Where can I access OS X keyboard shortcuts, say for Dropbox sync?
I am having trouble adding an image picker to a block form defined in a custom module.  If I create a custom block type I can define an image field as entity_reference and in the block's form view tell it to use entity_browser and media_entity_browser.  This provides me with an picker with which I can select my image:    I am trying to recreate this in a block provided by my custom module, without much success  // /src/Plugin/Block/MyCustomBlock.php  function blockForm($form, FormStateInterface $form_state)  {     ...      $form['image'] = [       '#type' =&gt; 'entity_browser',       '#entity_browser' =&gt; 'media_entity_browser',       '#title' =&gt; $this-&gt;t('Image'),       '#default_value' =&gt; $this-&gt;configuration['image'] ?? null,       '#weight' =&gt; '0',     ];      ... }   This gives me the following.  Note the lack of the bounding box, title and option to edit remove items:     Exporting the configuration files for the working form view gets me this:  // core.entity_form_display.block_content.lead_block.default.yml      ...  field_image:     weight: 1     settings:       entity_browser: media_entity_browser       field_widget_display: rendered_entity       field_widget_edit: true       field_widget_remove: true       selection_mode: selection_append       field_widget_display_settings:         view_mode: default       open: false     third_party_settings: {  }     type: entity_browser_entity_reference     region: content   ...   But if I try and use 'type' =&gt; 'entity_browser_entity_reference' in my blockForm function the field disappears altogether.  Looking into various core files I can see that entity_browser is a @FormElement and entity_browser_entity_reference is a @FieldWidget but I don't really understand the difference.  As you might guess I am fairly new to Drupal and I feel like I am missing something fundamental.  I (think I) understand that custom block types are actually nodes internally and that they are subject to different rules to blocks which I define in my custom modules, but I don't fully grasp what the differences here are.  Is is it possible to use the entity browser in my custom module block form in the same way as it is used in the form which I build through the admin's custom block type builder?  Thank you. Proof that Limit of the Log is the Log of the Limit Proof that Limit of the Log is the Log of the Limit. What is the intuition behind this statement? I'm wondering if it makes a difference in interpretation whether only the dependent, both the dependent and independent, or only the independent variables are log transformed.  Consider the case of  log(DV) = Intercept + B1*IV + Error    I can interpret the IV as the percent increase but how does this change when I have   log(DV) = Intercept + B1*log(IV) + Error   or when I have   DV = Intercept + B1*log(IV) + Error   ? May I use Google Fonts for creating a logo with commercial purposes? I want to create a logo for a contest, the winner will be paid and the winning logo will be the institutional logo of an academic entity, so I need a font which can be used freely or at a cheap cost for commercial purposes.  I see that Google Fonts are delivered as "free fonts" for websites:  May I use them freely for graphic design products (a logo in particular) as well? How we differentiate between flash memory and SD card memory? $X$ and $Y$ i.i.d., $X+Y$ and $X-Y$ independent, $\mathbb{E}(X)=0 $ and $\mathbb{E}(X^2)=1$. Show $X \sim N(0,1)$ $X$ and $Y$ are independent and identically distribued (i.i.d.), $X+Y$ and $X-Y$ are independent, $\mathbb{E}(X)=0$ and $\mathbb{E}(X^2)=1$. Show that $X\sim N(0,1)$.  We should use characteristic functions to prove this. Any ideas? How do you read C declarations? Pull-up and Pull-down Resistor Usage on Input or Output MCU Pins Are pull-up/down resistors (whether internal or external) only needed for MCU INPUT pins? In contrast, an MCU pin configured as an OUTPUT "knows what level it's at" because it does the driving - a "floating" MCU OUTPUT pin tied to some input of another circuit doesn't make sense, because the state of the MCU pin can only be high or low... do I have this right? Now, upon MCU bootup or failure, it may be beneficial to have a pull-up/down tied to this "MCU output to IC input" line to ensure that the input to some IC is never floating.  Maybe I just answered my own question here... pull-up/down resistors can be used on both input and output pins, depending on application? Network-wide HTTPS: It's time Which databases use real multidimensional indices? Is oracle ever using several indices to get data from tables, or will it always take the one that seems to have the highest selectivity? How about other dbms? How to select (highlight) text in Skype chat without using a mouse? Recently I started learning to use keyboard shortcuts almost for everything I'm doing on the laptop, but soon enough after I started, I bumped into the problem of being unable to highlight (select) simple text in Skype chats.  I did some research and I couldn't find any solution to my problem. Have I missed an already answered question that is the same like mine or if not what solution can you suggest in order to achieve the results I want without touching mouse or touchpad or any cursor moving device? How many ounces is a British "tin" of tomatoes? If I have a British recipe that lists "1 tin chopped plum tomatoes," how many ounces is that? In British English, does "tin" usually refer to a specific size? In the US, cans generally come in 14 and 28oz sizes - which one is likely closest to what the recipe means? I need to prove that there are infinitely many numbers  of the form $x = 111....1$ such that $31\mid x$  what I tried - I wrote x as   $\sum_0^{n-1} 10^i$  I know that $(10,31) = 1 $  now I'm stuck .. any help will be appreciated When is $\mathbb{F}_p[x]/(x^2-2)\simeq\mathbb{F}_p[x]/(x^2-3)$ for small primes? How to Store Design Data in Unity including Formulas? My team is switching to Unity 3D for an upcoming project. I'm tasked with converting our game data system into Unity.  Our existing games use spreadsheet documents (Google Docs) for designers to set values and formulas. This is then exported into an XML doc (and obfuscated) and read in by our game client. I'm trying to figure out a way to accomplish this same thing but solely through Unity. Storing, exposing, and reading data through Unity is pretty straightforward but I'm not sure on supporting formulas.  I realize I can write a custom parser and interpreter which can handle formulas but I'm wondering if there is already a way to do this in Unity.  For example, let's say I have a unit with various stats: Level, Max HP, HP, Damage, Victory Reward, etc. That unit may receive a reward after combat which is based on its Level and remaining HP. A designer would be able to enter into the Victory Reward field either a flat value, like 3, or a formula such as "Floor({Level} * ({HP} / {Max HP}))", something like that.  My question is basically, is there an existing solution for handling data with formulas in Unity, via a downloadable asset or something in Unity itself, or is there a simple framework or technology which already can do something like this which can be easily integrated (example: some kind of JSON extension which supports self-referencing other values and basic mathematical/logical operations)? What is this shell/Bash syntax: someVariable=someValue someCommand Show that $f(z) = cg(z)$ is valid for two analytic functions $f$ and $g$ given a certain relationship between them Probability of false positive key matching two plaintext/ciphertext pairs Given a keyspace of $ 2^{80} $ and plaintext space of $2^{64}$. And two plaintext and ciphertext pairs $(x_1, y_1)$ , $(x_2, y_2)$. Now we have $2^{80}/2^{64} = 2^{16}$ keys that encrypt $x_1$ to $y_1$ and another $2^{16}$ keys that encrypt $x_2$ to $y_2$, with only one key that is supposed to be the target key (correct key). What is the probability that once brute-force identifies a first key ($k_1$) this same key happen by mistake to also encrypt $x_2$ to $y_2$, that is this this key happen to be a False-positive (that is, this key will likely not encrypt $x_3$ correctly). What is the equation used and how is it derived? Should OK button be on left of Cancel button or vice versa?   Are there any studies suggesting either of the solutions? In C, what is the difference between using ++i and i++, and which should be used in the incrementation block of a for loop?