In my settings for Google Analytics I need to add a javascript snippet in the "after" section, to track a second account (the main account works fine).  I added this:     ga("create", "UA-xxxxxxxx-x",  {"cookieDomain":"auto"}); ga("set",   "anonymizeIp", true); ga("send", "pageview");   It does not work at all though. How shall I change this to make it work? The Google Analytics module version is 7.x-2.3.  Note: I don't think this question is a duplicate of "": the other question is about two different domains, I have only one domain, which is tracked by 2 accounts. Also under the text box where I am supposed to paste my javascript snippet in the GA module UI, you can find this text: '     This is useful if you'd like to track a site in two accounts   ... which suggests that you really can track 2 accounts for 1 site. My problem is that the snippet I entered does not work. The second account does not recieve any data.
I am working on a Drupal mulsite project (using single database) and using Google Analytics module for this.  I have follow the below steps for GA configuration:   Created a domain name example1.com and a sub-domain name example2.com. Create an account on GA and create property for both of this domain name in GA account. Both property give me two different Tracking ID (same as below screenshot).      Into the configuration setting of GA from drupal admin section I have added Web Property ID of example1.com and into domain setting added both the domain name example1.com and example2.com into the section of List of top-level domains (a same as attached screenshot).      Now this configuration is only working for emample1.com, not for example2.com. So can anyone please tell me how can I use Web Property ID of domain exmaple2.php to get the result?
Do you need to disavow on [HTTPS SSL] after performing a disavow on [HTTP] I have a client which disavowed a few thousand dirty links from his site profile back in February 2015. Recently the site was switch from HTTP to HTTPS (SSL enforced).   Google recommends that you add all variations to the Google Console (Webmaster Tools).  The site has a total of 4 variations, eg:    http://www.example.com (Previously Preferred) http://example.com https://www.example.com (Now Preferred) https://example.com   Question:  Since technically this is a new property in Google Webmaster Tools, do you need to submit the same disavow file added previously back in 2015? Solve congruence system $\ x\equiv m_i-1 \pmod{m_i}\,$ for $\,i = 1,\ldots, k$ Find natural number $x$ so that $$\begin{align}x&amp;\equiv 9\pmod{10}\\ x&amp;\equiv8\pmod9\\ &amp;\ \ \vdots\\ x&amp;\equiv 1\pmod2\end{align}$$ Why does the buffer take up whole screen? I am trying to create buffers around the Hurricane Sandy path I created in QGIS (points are lat/long).   I have both points from each day she was tracted and the line I created from it with Points2One.   When I go to make buffers around either the line or the points, the buffer takes up the whole screen. Its all just one color.   I have made buffers before but from data I did not create.   Right now all of my projections are set to WGS 84 EPSG 4326. Why Do Glueballs Have Mass, When Individual Gluons Are Massless? To convert an MKV to AVI, I do two things. The first thing I do is this:  ffmpeg -i filename.mkv -vcodec copy -acodec copy output.avi   or this:  ffmpeg -i filename.mkv -sameq -acodec copy output.avi   Either of these will convert the MKV to an AVI, but the problem is that the video does not play smoothly for some reason. That's fine though, because if I do one more thing it gets fixed:  ffmpeg -i output.avi -vcodec mpeg4 -b 4000k -acodec mp2 -ab 320k converted.avi   After I do this then the file plays without problem. I had success doing it this way for one file, but then I tried it on another file, and there is a slight, but noticeable loss in video quality. This is the output I get when doing the second step:  FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers   built on Dec 29 2010 18:02:10 with gcc 4.2.1 (Apple Inc. build 5664)   configuration:    libavutil     50.15. 1 / 50.15. 1   libavcodec    52.72. 2 / 52.72. 2   libavformat   52.64. 2 / 52.64. 2   libavdevice   52. 2. 0 / 52. 2. 0   libswscale     0.11. 0 /  0.11. 0  Seems stream 0 codec frame rate differs from container frame rate: 359.00 (359/1) -&gt; 29.92 (359/12) Input #0, avi, from 'output.avi':   Metadata:     ISFT            : Lavf52.64.2   Duration: 00:04:17.21, start: 0.000000, bitrate: 3074 kb/s     Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], 29.92 fps, 29.92 tbr, 29.92 tbn, 359 tbc     Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16 Output #0, avi, to 'converted.avi':   Metadata:     ISFT            : Lavf52.64.2     Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], q=2-31, 4000 kb/s, 29.92 tbn, 29.92 tbc     Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 320 kb/s Stream mapping:   Stream #0.0 -&gt; #0.0   Stream #0.1 -&gt; #0.1   I just used arbitrarily large settings on the second step and it worked nicely before but not in this case. What settings should I use? Is there any difference in equals and == for String variables? if ('text'.equals(str))   or   if ('text' == str)   Is there any difference? If yes, then what is it?   Added, after answered.  String q = 'teXt'; system.debug('teXt'.equals(q)); // true system.debug('teXt' == q);      // true system.debug('text'.equals(q)); // false system.debug('text' == q);      // true Story about encounter with hostile aliens This is a short story I read in the late 80s or early 90s in an anthology or collection.  Here are the plot points I remember:   A human spaceship encounters a ship with hostile aliens (HA). There may be friendly aliens (FA) on board the human spaceship A human (or perhaps FA) telepath scans the HA and finds they are hostile and bent on conquest of other races The captain and crew decide on a bluff: pretend they are from a large federation of many species, one so big the HA will become discouraged and drop their plans of conquest They invite one or more HA on their ship To pretend that there are many (more) races in their federation, they do things like put a fake control panel in the ships aquarium and claiming the fish in them are one of the races in their federation The HA can't conceive of multiple races cooperating and are convinced there must be some race on top controlling it all. If not, they can just be conquered one at a time This goes on for a little while until, seeing their plan isn't working (via their telepath) the humans change their plan so that when      the ship's cat (so far unseen by the HA) walks in the room, one of the humans loudly calls "The CAT!" causing everyone to stand rigidly at attention while the cat walks around more or less ignoring everyone and everything the way cats do. Having seen the "top dog" and the rigid discipline and fear he instills in everyone else, the aliens "realize" the humans are deluded into thinking all races are equal members in their 'federation", the cats are really in control of a huge empire, and they should not be messed around with. I just installed a fresh install of 32-bit 12.04 LTS Pangolin today. When I tried to install a few applications, it was really slow. But when I download a .deb or .tar.gz file from on my web browser, it is a lot faster.  Computer specs:  HP Pavilion Slimline s7700n PC  [Memory]         873.7 MiB  [Processor]      AMD Athlon(tm) 64 X2 Dual Core Provessor 3800+ x 2  [Graphics]       GeForce 6105 LE/integrated/SSE2/3DNOW!  [Disk Size] 638.5 GB  I normally get 200-400 kbps.  This is the comparison. How do I read from /proc/$pid/mem under Linux? The  tells me that /proc/$pid/mem “can be used to access the pages of a process's memory”. But a straightforward attempt to use it only gives me  $ cat /proc/$$/mem /proc/self/mem cat: /proc/3065/mem: No such process cat: /proc/self/mem: Input/output error   Why isn't cat able to print its own memory (/proc/self/mem)? And what is this strange “no such process” error when I try to print the shell's memory (/proc/$$/mem, obviously the process exists)? How can I read from /proc/$pid/mem, then? When I get a third party app it says it needs to be verified before I can use it but when I go to settings to verify I tap verify and nothing happens. Is there something I can do so I don’t have to constantly reinstall my apps? Is it possible to reference the most recently modified file in a command line argument? I frequently download PDF files with heinous numeric file names from my browser.  These automatically go into ~/Downloads.  Ideally I would like to just be able to open these files with:  evince "the most recently modified file"   without having to open ~/Downloads to find the file name.  Is there a simple way to specify "the most recently modified file" in bash?  NOTE: I know that it is possible to do this, but ideally I am looking for a solution that would be simpler than ls -t'ing ~/Downloads to check the name. Seating of $n$ people with tickets into $n+k$ chairs with 1st person taking a random seat "$n$ music lovers have reserved seats in a theater containing a total of $n+k$ seats ($k$ seats are unassigned). The first person who enters the theater, however, lost his seat assignment and chooses a seat at random. Subsequently, people enter the theater one at a time and sit in their assigned seat unless it is already occupied. If it is, they choose a seat at random from the remaining empty seats. What is the probability that person $n$, the last person to enter the theater, finds their seat already occupied?"  I could do this problem for small specific values of $n$ and $k$ but as they grow the expressions seem to get really messy really quick with no discernible pattern. How would one solve this problem? Series involving log $\sum_{n=1}^{\infty} \left( n\log \left(\frac{2n+1}{2n-1}\right)-1\right) = \frac{1-\log 2}{2}$ Every power series is the Taylor series of some $C^{\infty}$ function What's the name of the move where the player swaps King and Rook/Castle in Chess? Why is this move important? I'm a chess beginner, and I was wondering: why was this movement introduced to chess, and why is it important to the game? How should a bot earn enough reputation to perform the actions necessary for that bot? We all know it: bots that chat. There are also bots that flag, or perform other actions. And usually we like them for doing that, like . So every now and then, a new bot is created, and usually you would ask a question using that bot or suggest enough edits to get the reputation necessary for that bot to operate. Instead of suggesting 100 edits, Undo has found a more efficient way, namely by . Now someone could frown on this action or not, actually it is the least intrusive way to get the bot the reputation necessary (I guess no one really likes a bot to suggest 100 edits just for the sake of earning enough reputation). The question is: is this actually the best way? Was this action allowed or should we look away because it is Smokey? Should we maybe have a special bot user status which derives the privileges from its master user? Anything else you want to share on this? Related: Help finding the limit of $\lim_{n \to \infty}\prod_{k=1}^{n}\left(1+\frac{1}{n}f\left(\frac{k}{n}\right)\right)$. I need to calculate the Cramer Rao lower bound of variance for the parameter $\theta$ of the distribution $$f(x)=\frac{1}{\pi(1+(x-\theta)^2)}$$   How do I proceed I have calculated $$4 E\frac{(X-\theta)^2}{1+X^2+\theta^2-2X\theta}$$  Can somebody help I would like to redirect a URL with uppercase characters http://localhost/A/B to a lowercase version http://localhost/a/b using the .htaccess file. Using regex I can capture A and B but is it possible to convert them to lowercase? 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?