File attachments other than images and links
How can I attach a file to a question?
Passing a formatted NSDate latex : Exclude draftwatermark from specific pages I am using draftwatermark package. Is there any option to exclude watermark from some specific pages? Say no watermark from pg 3-4. I can not use xwatermark package. It conflicts with the geometry package of my document.  MWE:  \documentclass[12pt,a4paper]{exam} \usepackage{draftwatermark}  \usepackage{lipsum}   \SetWatermarkAngle{45}  \SetWatermarkLightness{.8}  \SetWatermarkFontSize{10cm}  \SetWatermarkScale{5}  \SetWatermarkText{\tt{12345}}  \begin{document}  \lipsum[1-20]  \end{document} Usage of singular or plural SI base units when written in both symbol as well as name I have multiple doubts related to the usage of singular or plural SI base units when written in both symbol as well as name.  I have framed this question under two parts, namely, Part (a) and Part (b). Each part has three sentences which I have written on the basis of my understanding.  Please answer these 6 sentences/questions.   Part (a):   says that while using prefix for e.g., centi as in centimeter, it is   l = 75 cm long.(correct) l = 75 cms long. (wrong)    Does this rule is used for all SI prefixes (having powers of 10)? In this regard, we should be saying, or writing that, "how many cm are there in one metre?" (while saying we should say centimter or centimetres?) Please strike-through the wrong SI unit in the following sentences.  My weight is 70 kg / kgs,  or My weight is 70 kilogram / kilograms.   Part (b):  and the page next to above web link says, we should write:  2.6 m/s, or 2.6 metres per second.   In this regard, we should say, or write:   Its speed is 0.26 metres per second.  This pipe is 0.75 metres long. How many cm are there in 2 metres? In "The Matrix Revolutions" How Does Neo Stop the Machine Weapons in the Real World? Some three-digit (incl. minus sign) vote count still doesn't display properly Related:      As the title says...    The Android app version is 0.1.58.  Here is my experimental results:   Vote counts >= 200 that I've tried seems to be fine Vote count == 241 has problem, 242 doesn't Vote counts which matches /^1[012345689][0-9]$/ seems to be having problem (may be overgeneralized) Vote count == -36 definitely has problem   Note that this is not a tablet, but a 4-inch mdpi phone, of 480x854px. Existence of a local geodesic frame Let $(M,g)$ be a Riemannian manifold of dimension $n$ with Riemannian connection $\nabla,$ and let $p \in M.$ Show that there exists a neighborhood $U \subset M$ of $p$ and $n$ (smooth) vector fields $E_1,...,E_n \in \chi (U),$ orthonormal at each point of $U,$ s.t. at $p,$ $\nabla_{E_i}E_j(p)=0.$  What I've found so far;  Let $V$ be a normal neighborhood at $p.$ Let $(W,x(x_1,...,x_n))$ be a local coordinate system at $p$ s.t. $x(W) \subset V.$  Let $\{X_i:=\frac{\partial}{\partial x_i}\}$ be the standard basis of $T_pM.$ By Gram-Schmidt, there exists an orthonormal basis $\{E_i\}$ of $T_pM.$ Consider the orthonormal frame $E_i(t),$ by parallel transporting $\{E_i(0)=E_i\}$ along a  a geodesic $\gamma :I \to M$ starting at $\gamma(0)=p$ and ending in $\gamma(1)=q,$ where $q \in V.$ This gives us an orthonormal frame at each point of $V.$ To satisfy the second condition, let $E_i(t)=\sum_{l}a_{li}X_l$ and  $E_j(t)=\sum_{s}b_{sj}(t)X_s.$ Then   $$\nabla_{E_i}E_j=\sum_{k}(\sum_{l,s} a_{li}(t)b_{sj}(t)\Gamma^k_{ls}+E_i(b_{kj}))X_k,$$  where $\Gamma^k_{is}$ are Christoffel symbols.   To have $\nabla_{E_i}E_j(p)=0,$ we must have $\sum_{l,s}a_{li}(0)b_{sj}(0)\Gamma^k_{ls}+E_i(b_{kj})(p)=0$ for each $k.$      How can I conclude the argument? I was wondering if there was a method to alter object settings at a set point in an animation in blender.  For example, I want to make the color of an object blue for the first 20 frames, but after 20 frames I want its color to change to green. Is there any known method of doing this? I could not find anything when I searched. Why does Microsoft Word 2010 show an error for the following sentence?     1.&nbsp;Where should this car be parked?   Word 2010 also suggests changing the sentence to     2.&nbsp;Where this car should be parked?   Is the sentence (1) wrong? If yes, why? What about sentence (2)? How to convert java.util.Date to java.sql.Date? I am trying to use a  as input and then creating a query with it - so I need a .    I was surprised to find that it couldn't do the conversion implicitly or explicitly - but I don't even know how I would do this, as the Java API is still fairly new to me. Is there a way to call process builder from Apex? Dynamically Determine Calling Context? We have various ways of invoking apex. Triggers, Inbound Webservices, @InvocableMethod,@RemoteAction and what not. Often we call some or other utility methods from these execution contexts. I have some generic utility method,that should behave differently from the context it is called?  I know about Trigger.isExecuting but it only tells if its running in trigger context or not.  I have a utility method that creates lead from Webservices, VF button click and via Lightning . Whenever we create a lead I want some special operations to be done via the source it was originated.(Its not just updating a simple field leadSource, I have some methods that creates some childs and update other records of other type) . I can achieve this by passing an extra parameter to utility method to tell about source, but i have then to edit hundred of other class that uses this utility method. If i could dynamically find out via which context this piece of code is running,then i would have to change only one class to satisfy my requirement.    Is there something in APEX that tells in what context the apex method was called? Knowing the interface of ubuntu and editing them Where are the files for the desktop or the interface that appears on the screen stored? And how can we edit them. How are they programmed?  What programming language is used to built the interfaces? $\lim_{n \rightarrow \infty} \sum^n_{k=1} \frac{1}{k+n}$ Could you explain how to find this limit?  $\lim_{n \rightarrow \infty} \sum^n_{k=1} \frac{1}{k+n}$ Brute-force attacking One Time Pads feasible? I have a ciphertext encoded with One Time Pad. I do not know the key. How can I find the possible keys which when decoded, will result in a meaningful plain text? matlab based program where output comprises of sum of rows of input US and Canada border crossing and computer privacy: What do I need to know? I've read stories about border officials searching laptops when crossing the border in one direction or the other. Does this really happen, typically speaking?  As a US citizen, can I be forced to give them my laptop's password for any/no reason? I don't believe they are allowed to deny entry to the US to a US citizen? ....but who knows these days?  Canada can deny me entry for any reason, so that's fine. But in practice, does this even happen in either crossing direction?  EDIT - I've now made the trip. They didn't so much as glance in the direction of my laptop. My biggest issue turned out to be lack of international wireless data service! What happens 'internally' on a unstable/overclocked/undervolted CPU? When you undervolt or overlock an CPU, when it passes a certain limit it starts to make the system unstable, reboot, etc. But these are the effects of it.  What I'm curious about is what happens on the CPU. What happens? It gives wrong answers to instructions? Bits on cache flip? Not enough storage I have an 8GB iPhone. I've had not enough storage for a while so I went through my photos and deleted 100. I also deleted old notes that I don't need. I also deleted an app of 81.5 MB. I tried downloading an app of 22.1 MB but it's telling me I don't have enough storage. Is this a bug or do I just not have enough storage? I have a requirement where a certain field can be edited without the validations firing for a particular user. Now I tried to write rule like LastModifiedId != '005000000000000AAA' but the validation was still firing. Then I realized that until the record saves, the LastModifiedId does not change and the validations still fire, as the LastModifiedId would not be updated to the exempted User.   Is there any workaround or a way to check the Id of the User who is currently editing the record? Unable to get wireless netgear WNDA3100v2 to work