I am very new to Illustrator. I've created a text only logo and exported it as a png. When I try to insert it as my email signature it becomes pixelated. How can I export it so it will not lose quality regardless of how small or large i need it to be. (I will also use it for letterhead, business cards and website).  Any help anyone could provide would be much appreciated!! thanks in advance.
I found a couple useful threads on this forum with respect to the issues posed by (displaying) images in email signatures-- , for example-- and I've searched all over the web, but still have not found a good solution that sufficiently addresses the problem. A client of mine would simply like his company's logo included in the signature of his emails, and the issues I've encountered can be summarized as follows:   I can export a rasterized version of the logo from AI at actual size, and it will look sharp on the desktop but pixelated/blurry on hi-density (e.g. "retina") displays such as the iPhone. As suggested in the thread I referenced, I can export the logo at 2-3 times the actual, displayed size to target the hi-density displays, but the logo will then look soft on non-hi-density displays when it is scaled down. This is a particular problem in this instance as the logo contains text, which looks terrible when juxtaposed with actual text in the browser/email client. I've considered .svg as an option, but apparently the support is not great; and in this case I'm assuming the vast majority of the users reading this client's email will be using Outlook, so something that only renders properly in iOS/webkit/etc is not a viable option.   I'm at a loss at this point and wondering if there is any other possible option out there. I'm not sure, for instance, if it's possible to implement a hi-density image with lo-res fallback in an email signature?  Any suggestions/insights here are much appreciated. It's bordering on comical how difficult this task has turned out to be.
Please use UK pre-uni methods only (at least at first). Thank you. Check if an image is loaded (no errors) with jQuery Annoying space before the first item in an enumeration which starts a theorem Consider the following example:  \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} \begin{enumerate} \item First claim \item Second claim \end{enumerate} \end{Theorem} \end{document}   Typesetting it results in:    Notice there is extra horizontal space before the first item in the list of the second theorem.     Is there a sensible way to get rid of that?   Ideally, the solution would work with amsthm, thmtools, enumitem.  N.B.: this is related to  but not quite the same. Tor browser not opening Is there any way to recover deleted files which may have since been overwritten? I deleted lots of files &amp; folders on my laptop and then I put a new files in the same folders. I need to recover the deleted files. I tried a lot of recovery software and I couldn't recover my old files.   I read that if you refill the folders with new files after deleting old ones then I can't recover them again. Is that true?   What should I do? How to increase the width and height of the Rich Text area field in Visual force Page? I know this question has been asked earlier. but did not see proper responses so asking again.  &lt;apex:pageBlockSection title="Preview Pane" columns="1"&gt;     &lt;apex:inputTextarea richtext="true" id="EmailBody" label="EmailBody"            cols="1" ondblclick="false" disabled="false"           value="{!emailTemplateSelected.htmlValue}"/&gt; &lt;/apex:pageBlockSection&gt;   I have tried to set the column value for the pageblock section. As well as for the inputtextarea. Still the column width dose not span the entire page.    &lt;apex:inputTextarea richtext="true" id="EmailBody" label="EmailBody" cols="1"     ondblclick="false" disabled="false" value="{!emailTemplateSelected.htmlValue}"     style="height:200px;width:200px;"/&gt; How to return to original .pdf presentation after open a .pdf linked file? I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like:  \href{name_file_to_open.pdf}{here I put a link to a figure which is working well}   It works just fine and open the .pdf document; Problem is I can't return to my presentation, cause when I close the linked.pdf I close it all. (I try this with movie and indicating an area to the file open like \href[width=3cm,height=2cm] but then it doesn't work)  Can anyone please has any suggestion to this problem? Object renders black past simple or present perfect Please have a look at this sentence:     We haven't gotten a lot of Finnish groups that we liked here at Bananas but I'm pretty happy with this four tracker from Helsinki, apparently recorded in the same place where the Ramones played in the 70's.     The first verb is in present perfect (up to now) and the second is in simple past tense. I don't understand the simple past for the second verb.  Why "like" is not in its present perfect form as the first verb is? Understand PAM and NSS In the last days I have set up some Linux system with LDAP authentication and everything works fine, but there's still something I can't really understand regarding NSS and PAM, also after a lot of research. Citing:  NSS allows administrators to specify a list of sources where authentication files, host names and other information will be stored and searched for  and  PAM is a set of libraries that provide a configurable authentication platform for applications and the underlying operating system  What I don't understand is how PAM and NSS work and interact together. In  the architecture is explained pretty well: I configure PAM to use pam_ldap for LDAP accounts and pam_unix for local accounts, then I configure nsswitch.conf to fetch information from local files and LDAP. If I have understood correctly LDAP is used twice: first by pam_ldap and then by NSS which is itself called from pam_unix. Is that right? Is LDAP really used twice? But why do I need to configure both NSS and PAM? My explanation is that PAM performs different tasks than NSS and it is used by other programs. But, then, it should be possible to use only NSS or only PAM, as I have read in . So I experimented a bit and I have first tried to delete LDAP from the nsswitch.conf (and the authentication stopped to work as if only pam_ldap is not enough to do the job). Then I re-enabled LDAP in NSS and I deleted it from the PAM configuration (this time everything worked fine, as if pam_ldap is useless and NSS is enough to authenticate a user). Is there anyone who can help me to clarify this? Many thanks in advance. UPDATE I've just tried something now. I removed again all the pam_ldap entries in all pam configuration fields and I have also removed shadow: ldap from nsswitch.conf. As now in all the system there are only the lines: passwd: ldap files and group: ldap files in nsswitch.conf. Well... the login with LDAP users works perfectly, those two lines (plus /etc/ldap.conf) are enough to configure LDAP auth. From my knowledge PAM in independent from NSS, but my tests showed it's not. So I ask myself is it possible to completely disable NSS and use only PAM? "In a while" vs. "for a while" When I ping I have this display:  &gt; ping -i 4 www.google.fr  64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=503 ttl=46 time=45.5 ms ....... ....... 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=508 ttl=46 time=44.9 ms 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=509 ttl=46 time=45.1 ms   I'd like to have the time of the ping before.   Something like:  &gt; (right functions) + ping -i 7 www.google.fr  mardi 15 mai 2012, 10:29:06 (UTC+0200) - 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=503 ttl=46 time=45.5 ms ....... ....... mardi 15 mai 2012, 10:29:13 (UTC+0200) - 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=508 ttl=46 time=44.9 ms mardi 15 mai 2012, 10:29:20 (UTC+0200) - 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=509 ttl=46 time=45.1 ms   How would you do this in a command line (if it's possible)? How does Natural Selection shape Genetic Variation? Background  Importance of the additive genetic variance  As stated , the fundamental theorem of Natural Selection (NS) by Fisher says:     The rate of increase in the mean fitness of any organism at any time ascribable to NS acting through changes in gene frequencies is exactly equal to its genetic variance in fitness at that time.   NS reduces the additive genetic variance  On the other hand, NS reduces additive genetic variance (discussion about the origin of this knowledge can be found ). The genetic variance of a population for multiple traits is best described by the G-matrix ( is a post on the subject).  What is a G-matrix  A G-matrix is a matrix where additive genetic variance of trait $i$ can be found at position $m_{ii}$. In other words, the diagonal contains the additive genetic variance for all traits. The other positions $m_{ij}$, where $i≠j$ contains the additive genetic covariance between the traits $i$ and $j$.  Question  How can one model how the G-matrix changes over time because of selection (assuming no mutation)? Shrink the database only up to its initial size which is set after creating database In SQL server every database has a property Initial Size (MB) which can be seen in properties of database in SSMS. By default it will be 3 MB for mdf and 1 MB for ldf file.  So now if create a new database then it will be set to default size(i.e 3 MB for mdf and 1 mb for ldf file). But after creating the database  I change the initial size to some other value say For mdf 10 MB and ldf 5 MB.(In real-time some database administrator may want to change initial after creating database)  But now if shrink the database it will shrink beyond the initial size I have set after creation(consider that no data is there in database otherwise it will shrink to its actual content size). It will shrink till the initial size it had during creation of database(i.e 3mb for mdf and 1 mb for ldf). I was expecting to shrink till the initial size which I have set(i.e 10 mb for mdf and 5mb for ldf). Can it be possible to do? If possible then how?  In some article i saw like dbcc SHRINKFILE can be used to shrink beyond initial size and dbcc SHRINKDATABASE cannot shrink beyond initial size. But I want to shrink only till the initial size to which I have set.  Note: I know that shrink is bad and should not be done.But I want to know how it can be done? If sql server considers only the initial size set during creation of database then what is the use of setting the initial size after creating database?  EDIT:  From microsoft shrink related article: Using DBCC SHRINKDATABASE you can not shrink database below its initial size.  My question is Can I change the initial size of existing database itself?  EDIT:  I have about 5 sql server instance. All the database where created with default size of 3 mb for data and 1 mb for log(about 3 years back). Now all the databases are in the range of 100-1000 mb. I wont shrink the database normally as it is not good practice. But some database grow more than 10 GB(mdf file itself as i insert so much data in it). So when database is large I will shift unimportant and old contents from this database to another server as it is not required in that server for me. So that database size reduces from 10 GB to 1 GB. Now the remaining 9 Gb left unused. Now I  want to specify database size to be reduced to 2 GB so that i will get 1 GB free space(Also 2 Gb is the ideal size for this database), Which can be used to avoid autogrowth till next 1 Gb of data is filled. Also i have set 100 MB auto-growth for this kind of large database which has more writes. So instead of specifying size as 2 GB in shrinkfile command,if it was possible to change initial size to 2 GB (which shrink considers) then it would have been better. During this database creation there was no plan about size ,autogroth etc. As it was created about 3 years back. Now i am planning to set autogrowth etc. I cant again create new database with new initial size and shift data. So I was asking whether I can change the Initial size for existing database? Understanding the -exec option of `find` I find myself constantly looking up the syntax of  find . -name "FILENAME"  -exec rm {} \;   mainly because I don't see how exactly the -exec part works. What is the meaning of the braces, the backslash and the semicolon? Are there other use cases for that syntax? The PHB states: "A familiar can’t attack, but it can take other actions as normal."  What can a familiar do? Can it use a potion of healing on a character? Can it drop caltrops? How can I set the drawableRight resource via code? Is it possible to follow a user automatically? I've been looking around and I can't seem to find an automatic (i.e. buzz- or Twitter-like) way to follow users inside Stack Exchange. Why haven't the developers added such a feature? It could help beginner users follow other beginners with the same interests. We would be able to learn from each others' questions and pitfalls. Also, it would reduce double posting. How to count occurrences of one field grouped by values of another? Present continuous and simple future