Regex to minify inline JS
A simple regex search and replacement in php for minifying/compressing javascript?
Is the integral $\int_0^\infty \frac{\mathrm{d} x}{(1+x^2)(1+x^a)}$ equal for all $a \neq 0$? Let $a$ be a non-zero real number. Is it true that the value of $$\int\limits_0^\infty \frac{\mathrm{d} x}{(1+x^2)(1+x^a)}$$  is independent on $a$? Find all positive integers $n$ such that $n$ is divisible by all the positive integers less than or equal to $\sqrt{n}$ Find all positive integers $n$ such that $n$ is divisible by all the positive integers less than or equal to $\sqrt{n}$  My thought: If n is a positive integer, let d(n) denote the number of positive divisors of n and I will find n such that $d(n) \ge 2\sqrt{n} - 1$ Recently, I was doing my homework and I found out that Torque can be calculated using $\tau = rF$. This means the units of torque are Newton meters. Work &amp; Energy are also measured in Newton meters which are Joules.  However, torque isn't a measure of energy. I am really confused as why it isn't measured in Joules. Why is there a mismatch between size reported by LVM and the size reported by df -h? I'm new to LVM and have been very confused by this:  I am transfering a large file to a partition that I thought had about 1.5 terabytes of space on it.  Near the end of the transfer, rsync exits with an error claiming that the partition is full.  I investigate and find the following:  $ sudo lvm lvs   LV        VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert   home      system -wi-ao  97.66G                                         log       system -wi-ao  48.81G                                         log.audit system -wi-ao   9.75G                                         root      system -wi-ao 341.59G                                         swap      system -wi-ao   4.88G                                         temp      system -wi-ao  97.66G                                         var       system -wi-ao   1.46T     This seems to imply that /var (the partition that I'm transfering to, has the amount of storage I expect.  However, then I see:  $ sudo df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/system-root                       331G  1.3G  313G   1% / /dev/mapper/system-temp                        95G  188M   90G   1% /tmp /dev/mapper/system-var                        95G   90G     0 100% /var /dev/mapper/system-home                        95G  188M   90G   1% /home /dev/mapper/system-log                        48G  264M   45G   1% /var/log /dev/mapper/system-log.audit                       9.5G  340M  8.7G   4% /var/log/audit /dev/sda1              99M   25M   70M  26% /boot tmpfs                 8.0G     0  8.0G   0% /dev/shm   I'm guessing this has something to do with the volume being resized at some point.  While I have reliable backups, I'd rather not interrupt services for the time it will take to get the backup and restore.  Thus, is there anyway to make the filesystem seen by the OS match the space available according to lvm without losing data? Pay real money to set bounties (another method, not replacing rep method) It may seem like a stupid thing, but could we please be able to pay real money to set a bounty.  For example, if I had only 1 rep, I want to be able have a bounty.   Here late the suggested prices in USD. Convert money    $0.49 for each 50 reputation $0.99 for each week $1.99 for a month $9.99 for a year   Every month, the bounty fee would come in. This would mean you would have to enable your account with a bounty fee button on your profile. Where should I put  tags in HTML markup? When embedding JavaScript in an HTML document, where is the proper place to put the &lt;script&gt; tags and included JavaScript? I seem to recall that you are not supposed to place these in the &lt;head&gt; section, but placing at the beginning of the &lt;body&gt; section is bad, too, since the JavaScript will have to be parsed before the page is rendered completely (or something like that). This seems to leave the end of the &lt;body&gt; section as a logical place for &lt;script&gt; tags.  So, where is the right place to put the &lt;script&gt; tags?  (This question references , in which it was suggested that JavaScript function calls should be moved from &lt;a&gt; tags to &lt;script&gt; tags. I'm specifically using jQuery, but more general answers are also appropriate.) so i have a 30A disconnect available for use at a customer site for running 2 5HP motors ( at 480V)  the only question i have though is if the line is sized for a 10HP motor would both the 5HP motors need additional fuse protection?   Or could i get away without having addtional fuses protecting the motors ? Understanding Join Attributes by Location in QGIS? I wonder if there is somewhere an explanation for the parameters that can be set when running the Algorithm "Join Attributes by Location" in QGIS 2.18.  I had a look here:       but there is no explanation. Any hints? Black holes and positive/negative-energy particles $\operatorname{rank}(T^3) + \operatorname{rank}(T) \geq 2\operatorname{rank}(T^2)$ for finite-dimensional $V$ Differences in the behaviour of pinching a garden hose and closing a tap Let's say you have a garden hose connected to an ordinary water tap which is opened fully. If you pinch the end of the hose, water leaves the hose at a higher speed (and this can be useful while watering plants, to reach pots which are further away). However when a tap (with no hose connected) is opened only slightly, water flows out at a low speed, possibly even in drops.  The actions of pinching the end of a hose and of almost-closing an open tap seem similar, so why the difference in behaviour? Can someone identify this book, where children are bred for specific jobs? Things I remember about this book:   Every child was selected for a certain job/career; If twins were born, one was always killed; Seeing colors for the first time (describing the color of an apple); Seeing war and death and poverty.   Does anyone have any idea what this book might be? I'm looking for the title of a short story by Ursula Le Guin about a scientist (?) who is given a drug that slows the timescale of his perception enormously, so that he can perceive that an alien (?) forest is actually behaving as a sentient being, reacting to current events, but at an enormously slow (from a normal human point of view) timescale. It might be in , but I don't remember the title (and it doesn't jump out at me from the list of titles) and don't have access to that collection right now. It is not &quot;The Word for World is Forest&quot;, nor &quot;Direction of the Road&quot; (from ), nor &quot;Vaster than Empires and More Slow&quot;, the latter two of which look at similar plant perception/time-scale issues. Update: it turns out that the description was right, but I had most of the details wrong: not Le Guin, not alien, not a scientist ... "What kind of a person" vs. "what kind of person" Is there a missing definite article before caliph in 'the group's leader, XYZ, as (the) caliph'? QGIS locked into fullscreen mode on Ubuntu 12.04 No crash in this case, but I made the mistake of toggling to fullscreen mode on my netbook running Ubuntu 12.04. It's now impossible to escape , and it seems to have disabled the popout unity launcher as well. Steps I've already taken:   Alt-Tab to move to a different program, then back - QGIS remains in fullscreen Alt-V, Ctrl-F and F11 get no response I've unistalled QGIS, deleted the /.qgis/ profile data folder, and reinstalled. Still launches fullscreen   To add to the weirdness, it now launches - still in fullscreen - into a different workspace than the active one.  I realize this has the sound of a Unity problem, but it's just this program that has a malfunctioning UI.  Thanks to all the crew; this in no way changes my opinion of QGIS as an essential tool. I've been racking my brain trying to think of a grammatically correct sentence that uses same without the earlier in the same (see!) phrase.  It is the same It is the very same I have 10 things all the same I have 10 of the same things The same boy as last time did it again The boy did the same thing as last time  I am discounting same-day dry cleaning and any similar phrases that might crop up because using a hyphen is acceptable which suggests it's an atomic phrase and it sounds awkward if inverted:  They have a same-day dry cleaning service. Their dry cleaning service is same-day. - Sounds odd but might be acceptable in some situations Their dry cleaning service is done on the same day. - Sounds better  So I don't think it's possible when same is used by itself. Can someone either explain why same must always have the before it or provide a grammatically correct counter-example? What are point releases in LTS versions? Where can I find information on German soldiers from World War I and World War II?   I am curious to find out about my ancestors' role in the wars, i.e. what rank they had, where they where fighting, with whom and anything else. How to see an embedded image's dpi (ppi) in a pdf in Acrobat Pro? The following situation baffled me slightly: after preparing a pdf in a different program I wanted to make sure that an embeded image in the pdf file had the right dpi, yet I found no way in adobe acrobat pro to inspect the file/image dpi.   Can that be, or am I missing where this feature is hidden?