My question is:   How to find files that has been modified from a given date(specifying the exact hour) to another given date(specifying the exact hour) in a given directory, from / for example.  I think that can be achieved with find.  Does anyone know how to do this¿? Thank you in advance
Is it possible to find all php files within a certain directory that have been modified on a certain date  I'm using   find /var/www/html/dir/ -mtime -28 | grep '\.php'    to get files modified within the last 28 days, but I only need files that have been modified on the following date: 2011-02-08
Aside from the repetitive appearance of the black cat, I can't remember seeing any living animals, either inside the Matrix simulation or in Zion.  How come? Is there an in-universe explanation? In Group theory proofs what is meant by "well defined" What is exactly meant or required for a mapping to be well defined. I was reading the first Homomorphism theorem () and the first thing the proof does is define a map and find it if its well defined.  Intuitively it makes sense, but what are the requirements for a map to be well defined? For example in the link given, I understand they show one-one relationship as being well defined and later on they again prove its injective.   What have I understood wrongly?  Soham I've created a Lightning component to view key details for the Account and Contact lookups from a Case, like so:    The problem is, I have been unable to get field content to render when  using the &lt;force:inputField/&gt; or &lt;force:outputField/&gt; components when I place them inside the markup to style them as cards. I've used &lt;ui:outputText/&gt; as a workaround, but that means I don't get any of the built-in behaviors I would get with the &lt;force:*Field/&gt; components -- like Lightning styling, which means I have to manually do it using SLDS.  This displays the contact name as expected:  &lt;aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController"&gt;   &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;   &lt;aura:attribute name="recordId" type="Id" /&gt;   &lt;aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/&gt;    &lt;force:outputField value="{!v.contact.Name}"/&gt;   &lt;force:inputField value="{!v.contact.Name}"/&gt;  &lt;/aura:component&gt;   This does not:  &lt;aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController"&gt;   &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;   &lt;aura:attribute name="recordId" type="Id" /&gt;   &lt;aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/&gt;    &lt;article&gt;     &lt;force:outputField value="{!v.contact.Name}"/&gt;     &lt;force:inputField value="{!v.contact.Name}"/&gt;   &lt;/article&gt;  &lt;/aura:component&gt;   Basically, it appears that as soon as any markup is placed around the &lt;force:*Field/&gt; tags -- even just a &lt;div&gt; -- they no longer render. Examples in Trailhead and other places all seem to use &lt;ui:outputText/&gt; or &lt;ui:input*/&gt;.  This seems like a lot of extra manual work. Am I missing something?  Update: it only fails when the component is included in a Lightning page -- such as the record detail page -- from Lightning App Builder. If I add it to a simple Lightning app, it works:  &lt;aura:application &gt;     &lt;c:LightningCaseTest recordId="SOMECASEID" /&gt; &lt;/aura:application&gt;   So it appears to be a bug? Empty Disk when trying to install dual-boot system I recently purchased an SSD to speed up my computer experience. Before, I had Windows 7 and Ubuntu in a dual-boot system. The plan was to install Windows 8 on the SSD and then set aside ~30GB for the system files of Ubuntu.  I installed Windows 8 just fine on the SSD, then I booted the Ubuntu install CD to make my partitions like always - but GParted tells me the entire SSD is unallocated. Now I am afraid I will lose my Windows installation if I try to do anything to it.  Why does GParted think there is no partition on the SSD? Shouldn't it be 4 Partitions, like the Windows installer told me?  And is it possible to ignore this and install Ubuntu on the hard disk (where it, frankly, already is) and somehow make it possible to install GRUB on the SSD to revert my dual-boot system without damaging the installed Win8? What happens if I activate a product key on Steam for a game I already own? I have a Steam product key for Just Cause 2 I got for free with the purchase of my video card. However, I already have a copy of this game attached to my Steam account. What will happen if I try to activate this other key on my account? Will Steam give me a copy of Just Cause 2 to gift to somebody else? Will it simply refuse to add it? Or will it eat the key rendering it worthless?  I don't want to try this only to have the latter happen, but it would be useful to be able to add it and gift it to somebody else. Anything similar in javascript to ruby's #{value} (string interpolation) My images are blurry! Why isn't WPF's SnapsToDevicePixels working? I'm using some Images in my WPF applcation.  XAML:  &lt;Image Name="ImageOrderedList"        Source="images/OrderedList.png"        ToolTip="Ordered List"        Margin="0,0,5,5"        Width="20"        Height="20"        SnapsToDevicePixels="True"        MouseUp="Image_MouseUp"        MouseEnter="Image_MouseEnter"        MouseLeave="Image_MouseLeave" /&gt;   But, they appear fuzzy.  Why doesn't that SnapsToDevicePixels="True" line prevent this problem? Ocean modifier and foam data export? It is there any way to export the foam data generated from ocean modifier to use it in other render engine, like LuxRender? The manual says that the foam data is stored as vertex color data, but there isn't a way to access the vertexColor data. I know that can be accessed from Cycles from attribute's node. LuxRender supports vertex color and I tried to bake the texture to vertexColor and an image but only get a plain black texture. Which is the preferred way to convert an Enum to a String in .NET 3.5?   Enum.GetName Enum.Format ToString   Why should I prefer one of these over the others? Does one perform better? A  is formed when a raindrop refracts light, but why then does the whole sky not become a huge rainbow when it rains? Would the light not be dispersed into ordinary white light? What causes it to look as if each end is nearly touching the ground? How to use a C++ string in a structure when malloc()-ing the same structure? What causes this green background in ls output? Create any number of paragraph fields in a multiple value field on node create form I have a paragraphs field that takes a term reference.  I need to count how many terms there are for a specific vocabulary and then create that many instance of the paragraphs multiple value field for when creating a node of a certain type. Can this be done with Hook_form_alter ?  It is important that these fields are loaded when the node creation form is loaded rather than the user having to click add more  Any help would be greatly appreciated  I have tried this but when saving the node it doesn't save the new fields  function hook_form_alter(&amp;$form, $form_state, $form_id) {    if ($form_id == 'my_form') {    $item = $form['field_features']['widget']['0'];    // get taxonomy terms   $query = \Drupal::entityQuery('taxonomy_term');   $query-&gt;condition('vid', "my_voc");   $tids = $query-&gt;execute();   $terms = \Drupal\taxonomy\Entity\Term::loadMultiple($tids);    $count = count($terms);    $i = '1';   foreach($terms as $term){     $form['field_features_para']['widget'][$i] = $item;     $form['field_features_para']['widget'][$i]['#delta'] = $i;     $form['field_features_para']['widget'][$i]['#weight'] = $i;     $i ++;   }  } } Making Map Book of pages with same area shown but different layers turned on/off In ArcMap a Map Book is best suited for a series of features that each get their own page. It allows you to pick a feature and generate a Map Book Page for each feature including any additional information you wish to add to each page via dynamic text, charts, etc. Is there an alternative for say a series of pages showing the EXACT same area but with different layers turned on and off? We have a Capital Improvements document that I have to create showing the City Boundaries on every page. One page has all police and fire stations listed, another shows proposed water systems, another shows expressways and highways and work being done near or on them... etc., ad nauseum. Is there some way to set this up so that I DON'T have to created a separate MXD for each Map Page of this document? $$\lim\limits_{n\to\infty} \int_{0}^{1} f(x^n)dx = f(0)$$  when f is continuous on $[0,1]$  I know it can be proved using bounded convergence theorem but,  I wanna know proof using only basic properties of riemann integral and fundamental theorem of calculus and MVT for integrals ...   Thank you. This question was recently split into different questions for each workaround. See   meta posts for more information.   Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like: give @s minecraft:planks 30 1 {display:{Lore:[&quot;Wooden planks&quot;]}} give @s stone_pickaxe{Unbreakable:1b} give @s item_frame{EntityTag:{Invisible:1b}} summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:&quot;emerald&quot;,Count:5b},sell:{id:&quot;diamond_sword&quot;}}]}} summon tnt ~ ~ ~ {Fuse:20s} I'm trying to make airsoft chronograph/chronometer (a device that measures airsoft bullet speed). The idea is to measure time in which bullet is traveling from point A to point B, and then I can calculate bullet speed. Bullet is shot into plastic pipe with diameter of 32mm. I've tried to put on one side IR LED and on the other side phototransistor (BPW 40), both at the start and end of the tube. Something like this:  Blue circles are phototransistors, red circles are IR LEDs and white circles are airsoft bullets. When bullet passes through area where bullet 2  is drawn (just in between IR LED and phototransistor), everyting works perfectly. But when the bullet passes where bullets 1 and 3 are drawn, it isn't detected. That is expected, but unwanted behavior. So my question is: how can I detect bullets regardlessly of it's position ? I've thought about putting IR LEDs and phototransistors around the pipe (not only in one place), like this:  but this solution isn't cheapest: 5 IR LEDs + 5 BPW 40 = cca $12 times 2 (because I need it on both sides of the pipe) = $24. Is there any cheaper solution ? Is BPW 40 good choice for phototransistor ? I don't know which IR LEDs I'm using (and salesman in the store also doesn't know - he told me these are generic ones for remote controllers, like TV or DVD controller). Diameter of the pipe is 32mm and it will be long about 14cm (sensors will be 10cm apart). Diameter of airsoft bullet is 6mm. EDIT: I'll go for my second idea. I just have one more question: is it better to arrange IR emitters and photo transistors this way:  or this way:  Thanks !! Duplicated Onedrive icon in explorer I've installed windows 10 on a new pc, with a secondary hard disk containing my onedrive folder, taken from my old pc. I've configured onedrive in order to use that folder, and it's working fine.  The problem is that when I open Explorer I can see two onedrive icons on the sidebar, both of them pointing at the same folder.  How can I remove the duplicated onedrive entry from the sidebar? Ackermann Function primitive recursive I am reading the wikipedia page on ackermann's function,   And I am having trouble understanding WHY ackermann's function is an example of a function which is not primitive recursive.  I understand that the ackermann function terminates, and thus is a total function. So why is it not primitive recursive? The only information that i can find on the wikipedia page is      [Ackermann's function] grows faster than any primitive recursive function and is therefore   not primitive recursive   Which isn't a good example of why it is not primitive recursive.  Could anyone explain to me how exactly ackermann's function is NOT primitive recursive please? Evaluate Current User for Flow - 15 - 18 digit User ID I need to evaluate the current user running a flow. Someone suggested I use the Global Variable {!User.Id}, but it's returning a 15 digit Id. I need to compare the current user with the Account owner. The Account Owner field is returning an 18 digit id. Is there another way to evaluate the current user in my flow and compare it to an Account owner?   The above resolution doesn't really work for my purposes for evaluating a user if I can't compare the user to the Account Owner ID. In the above example, the Account Owner will never = the current user as it is comparing a 15 digit id to a 18 digit id.  Is there a way turn the User ID from the Global Variables into 18 digits? Or vice versa, make the Account Owner ID return as 15 digits? Thanks so much!