Does anyone know if it's possible to change the Spotlight default search behavior to search file names, not contents? Right now, bringing up the Spotlight field and typing "terrible" brings up a bunch of documents that have the word "terrible" somewhere in them. If you use the Finder search dialog, of course it's possible to select the 'Filename contains "terrible"' option manually, but I'd like to make this the default.
In Finder when I type something in the textbox the default is to search the whole mac in the contents of the files. I was able to change the default to search the current directory, but didn't see an option to change search for contents to search for file name. How can that be changed?
What happens if a Rainbow Servant takes levels in Mystic Theurge? NHibernate Get objects without proxy I need to concatenate two String arrays in Java.  void f(String[] first, String[] second) {     String[] both = ??? }   What is the easiest way to do this? Error notification on plone 4 Does the sign of $\Delta x$ matter in this time dilation calculation? Why high voltage transmission lines? How do I get the number of days between two dates in JavaScript? I can't seem to find an answer to this simple question, which I need for some compliance documentation.    On a default install of CentOS 6.5 (OpenSSH 5.3p1-94.el6), after how long of being idle will a user's SSH session be terminated?  I believe the following can be set to increase the idle timeout, but they are commented out by default.  $ grep -i alive /etc/ssh/sshd_config #TCPKeepAlive yes #ClientAliveInterval 0 #ClientAliveCountMax 3   Also, is there a command to dump a list of the current sshd settings?  I don't see anything in man sshd. Guidelines for customizing biblatex styles What is the difference between building from source and using an install package? Microsoft Edge missing in Start menu and pins Reverse Triangle Inequality in vector space I have already proved Triangle Inequality $\lVert v+w\rVert \le \lVert v \rVert+\lVert w \rVert$ in vector space $\mathbb{R}^n$. However, I'm having difficulties proving the Reverse Triangle Inequality in the vector space.  I have started with   $$\lVert v \rVert^2=v \cdot v-w\cdot w+w\cdot w \le \lVert v-w \rVert+\lVert w \rVert^2$$ $$\lVert w \rVert^2=w \cdot w-v\cdot v+v\cdot v \le \lVert w-v \rVert+\lVert v \rVert^2$$  based on the Triangle Inequality but I don't know if it is correct. If this is right, I think I can go on with proving it the same way I would the normal Reverse Triangle Inequality. Is the "live" in "He only lived a few days after the accident" intrasitive or transitive? An example sentence from the :  [I] He only lived a few days after the accident.  [I] means &quot;intransitive verb&quot;. He (subject) + lived (verb) + a few days (noun). What part of speech is a few days? From the :  number 5  way of life[intransitive always + adverb/preposition, transitive] to have a particular type of life, or live in a particular way   used 'transitive verb' like 'She lives a very busy life.' From the ELU question :  She is 16 year old.  '16 years' as acting as an adverb. My questions are:  In &quot;He lived a few days.&quot;, is a few days an object (noun) or an adverb? How is it different from &quot;He lived for a few days.&quot;? &quot;I walked ten miles.&quot; Number + measurement — how can I deal with 'part of speech'? Note that (1) all norms on finite dimensional vector space are equivalent.  And here (2) norms on vector space are equivalent iff they have same topology.   Question : How can we prove (2) ? Please recommend reference  Thank you in anticipation Every nonzero element in a finite ring is either a unit or a zero divisor Let $R$ be a finite ring with unity. Prove that every nonzero element of $R$ is either a unit or a zero-divisor. WPF Binding to Grid Column Width I'm attempting to bind a DependancyProperty in one of my usercontrols to the Width property of a Column in a Grid.   I have code similar to this:  &lt;Grid x:Name="MyGridName"&gt;     &lt;Grid.ColumnDefinitions&gt;         &lt;ColumnDefinition x:Name="TitleSection" Width="100" /&gt;         &lt;ColumnDefinition Width="*" /&gt;     &lt;/Grid.ColumnDefinitions&gt;      &lt;Grid.RowDefinitions&gt;...&lt;/Grid.RowDefinitions&gt;      &lt;GridSplitter x:Name="MyGridSplitter" Grid.Row="0" Grid.Column="0" ... /&gt; &lt;/Grid&gt;   In a separate Usercontrol I have the followingDependancyProperty defined.  public static readonly DependencyProperty TitleWidthProperty = DependencyProperty.Register("TitleWidth", typeof(int), typeof(MyUserControl));  public int TitleWidth {     get { return (int)base.GetValue(TitleWidthProperty); }     set { base.SetValue(TitleWidthProperty, value); } }   I am creating instances of the Usercontrol in code, hence I have a binding statement similar to this :  MyUserControl Cntrl = new MyUserControl(/* Construction Params */); BindingOperations.SetBinding(Cntrl , MyUserControl.AnotherProperty, new Binding { ElementName = "objZoomSlider", Path = new PropertyPath("Value"), Mode = BindingMode.OneWay }); BindingOperations.SetBinding(Cntrl , MyUserControl.TitleWidthProperty, new Binding { ElementName = "TitleSection", Path = new PropertyPath("ActualWidth"), Mode = BindingMode.OneWay }); /* Other operations on Cntrl */   The first binding defined works fantastically, although that is binding to an actual UIElement (in this case a Slider), but the Binding to "TitleSection" (which is the ColumnDefinition defined in the Grid) fails. Putting a breakpoint in the code and doing a watch on "TitleSection" returns the expected object.   I am beginning to suspect that a x:Name'd ColumnDefinition can't be bound to. Can anyone suggest how I might be able to bind to the changing width of the first column in my grid?  EDIT #1 - To answer comments  The databinding 'fails' in the sense that with a breakpoint set on the setter for the TitleWidth property, and using the GridSplitter control to resize the first column, the breakpoint is never hit. Additionally, code I would expect to be fired when the DependancyProperty TitleWidth changes does not get executed.  The usercontrol is being created and added to a Stackpanel within the Grid in the Window_Loaded function. I would expect that the Grid has been rendered by the time the Usercontrols are being constructed. Certainly the x:Name'd Element TitleSection is watchable and has a value of 100 when they are being constructed / before the binding is happening.  EDIT #2 - Possibly something to do with this?  I've been having a sniff round the MSDN pages for the Grid ColumnDefinition documentation and have come across  but I can't get my head around how I can use this in a binding expression. I cannot use the associated GridLengthConverter as a converter in the binding code as it does not derive from IValueConverter.   I am leaning towards somehow binding to the ActualWidth property of one of the cells in the Grid object. It doesn't seem as clean as binding to the column definition, but at the moment I cannot get that to work. So I've got a file with loads of simple objects. This will later be used to cut out these shapes out of plastic. So, using the material optimally is of outmost importance. I was wondering if there is any script or plugin that could automaticly arrange the objects within the artboard so they could fit best. Behaviour of free electron with constant velocity Can a free electron with a constant velocity V то move eternally at this rate in the inertial frame? The question arises from the fact that a moving charge creates near its trajectory varying electric and magnetic fields. Whether kinetic energy of electron is spent for it? Since drush 9 (drupal 8.4 requirement), alias @sites does not seem to be implemented anymore (or yet ?).  $ drush @sites cr The alias @sites could not be found.   Is this a way to get the same behavior that does not consist of typing my 300 alias in a config file ? Joining non-spatial CSV file to spatial data (shapefile) using QGIS? I have a CSV file which has postcode data in a field, but it is non-spatial e.g. no Easting and Northing.   I have a shapefile with postcode in a field and some additional data.  I want to join the CSV with the shapefile based on attributes (postcode fields). I know I can do this in ArcMap, but how can I achieve the same thing in QGIS?