Recent Questions - Super User © superuser.commost recent 30 from superuser.com2018-07-16T02:53:45Zhttp://superuser.com.xemphimonlines.com/feedshttp://www.creativecommons.org/licenses/by-sa/3.0/rdf http://superuser.com.xemphimonlines.com/q/13404461Open multiple internet shortcut files at once? © superuser.comBetaKejahttp://superuser.com.xemphimonlines.com/users/9143102018-07-16T01:42:32Z2018-07-16T02:13:20Z<p>Is there an easy way to open multiple internet shortcuts (.url files) at once?</p><p>Whenever I try to open multiple links at once only the last one selected is opened.</p><p>I've tried hitting enter, right-click open, and dragging into the web browser.</p>http://superuser.com.xemphimonlines.com/q/13404451Window Resize event not triggering when snapping windows to the edge of the screen with the mouse © superuser.comgirlvsdatahttp://superuser.com.xemphimonlines.com/users/9214392018-07-16T01:41:58Z2018-07-16T02:08:00Z<p><em>This question is in relation to <a href="https://stackoverflow.com/questions/51352670/vba-windowresize-event-not-triggering-with-windows-snap">this Stack Overflow question</a>, but I felt the issue at heart is less about programming and more about the limitations of the program, which is why I'm asking on here.</em></p><p>I'm hoping someone will be able to explain the discrepancies I'm seeing with Windows Snap while using the Window Resize Event as a trigger for some VBA code. </p><p>I have this code in the <code>ThisWorkbook</code> module. It adds 1 to the value of <code>A1</code> in the first worksheet every time the window is resized:</p><pre><code>Private Sub Workbook_WindowResize(ByVal Wn As Window)Dim n As Integern=ThisWorkbook.Worksheets(1).Range("a1").ValueThisWorkbook.Worksheets(1).Range("a1").Value=n + 1End Sub</code></pre><p>The event <strong>will</strong> trigger when:</p><ul><li>The window is maximized or minimized</li><li>The window is resized by dragging the edges inwards/outwards</li><li>The window is snapped to a side by pressing Windows+Arrow on the keyboard</li><li>The window(a) is snapped to a side as a result of snapping another window(b) to one side and then choosing the first window(a) from the Windows Snap Assist thumbnails</li></ul><p>The event <strong>will not</strong> trigger when:</p><ul><li>The window is snapped to a side by dragging the window to the edge of the screen with the mouse</li><li>The window is unsnapped from a side by dragging the window with the mouse</li></ul><p>I've checked the <a href="https://msdn.microsoft.com/en-us/vba/excel-vba/articles/workbook-windowresize-event-excel" rel="nofollow noreferrer">MSDN documentation</a> for more details on the limitations of the Windows Resize event. As you can see from that link, there is not enough information there to be of much use in this situation.</p><p>I've also checked through Stack Overflow and Super User and haven't found any other questions mentioning using Windows Snap as a trigger for a Macro, other than the one referred to at the start of my question.</p><p>Can anyone tell me why the Windows Resize event doesn't trigger for the cases above?</p>http://superuser.com.xemphimonlines.com/q/13404440Installed DHCP Server but I cannot add a new scope © superuser.comFinger78http://superuser.com.xemphimonlines.com/users/7400972018-07-16T01:35:57Z2018-07-16T01:35:57Z<p>I have added the DHCP Server role to my Server 2016 server.</p><p>Once installed I open the DHCP utility and expand my domain which lists IPv4 and IPv6</p><p>When I right click on IPv4 to set a scope the "New Scope" selection (along with Display Statistics and Set Predefined Options) are all greyed out.</p><p>Without the ability to add a scope my DHCP server can't serve IP's</p><p>Can anyone help?</p>http://superuser.com.xemphimonlines.com/q/13404420Run the older, CadSoft (pre-Autodesk) version of EAGLE on Ubuntu 18 © superuser.comdiy dsphttp://superuser.com.xemphimonlines.com/users/9243352018-07-16T01:34:39Z2018-07-16T02:02:00Z<p>I last ran EAGLE on Ubuntu 14, but after upgrading to Ubuntu 18, I can't find it. </p><p>This is the command I used:</p><pre><code>sudo apt search eagle</code></pre><p>I tried to find a PPA, but only found this one: </p><p><a href="https://launchpad.net/~torik-habib/+archive/ubuntu/multimedia" rel="nofollow noreferrer">https://launchpad.net/~torik-habib/+archive/ubuntu/multimedia</a></p><p>It has no release file.</p><p>Any advice?</p>http://superuser.com.xemphimonlines.com/q/13404390WinWget - using an input file © superuser.comuser1584421http://superuser.com.xemphimonlines.com/users/3108882018-07-16T01:04:44Z2018-07-16T01:04:44Z<p>I have an input file where i want to download some images.The form is like this</p><pre><code>https://asite.com/img1.jpeghttps://asite.com/img2.jpeg</code></pre><p>And so on... I used WinWget. I clicked <code>Add Job</code> then i clicked on <code>Browse</code> next to input file and then <code>OK And Run</code>.</p><p>For some reason it does not work though. Any clues as to why?I search online all day and i cannot seem to understand what i did wrong.</p>http://superuser.com.xemphimonlines.com/q/13404370MD5 the files in each subdirectory given a starting directory, placing the checksum file in the subdirectory © superuser.comgaleabyhttp://superuser.com.xemphimonlines.com/users/9243312018-07-16T00:55:44Z2018-07-16T02:33:59Z<p>What flags do I need to give to the <code>find</code> command to enter the directory before running the <code>-exec</code> command?</p><p>I have a directory filled with directories filled with files</p><pre><code>&gt; root directory-&gt; directory1-&gt; file1-&gt; file2...-&gt; directory2-&gt;file1-&gt;file2-&gt; directory...</code></pre><p>and I want to place a checksum file in each directory which contains the sums of the directory contents:</p><pre><code>&gt; root directory-&gt; directory1-&gt; file1-&gt; file2...-&gt; checksums.md5-&gt; directory2-&gt;file1-&gt;file2-&gt; checksums.md5-&gt; directory...</code></pre><p>I've been fiddling around along the lines of</p><pre><code>find . -type f -name '*' -exec md5sum {} &gt;&gt; checksums.md5 \;</code></pre><p>but it places the checksum file in the root directory (the starting point), plus the file contains the hash of <em>all</em> the files. I have tried using the <code>-execdir</code> flag to no use.</p><p>What I'm trying to do is to MD5 the contents of each folder and place the checksum file inside it, then move on to the next folder and repeat.</p><p>The contents of the checksums.md5 file should also preferably be sorted.</p>http://superuser.com.xemphimonlines.com/q/13404330Doubts about deployment of wpad © superuser.comuser4839775http://superuser.com.xemphimonlines.com/users/8862052018-07-16T00:37:08Z2018-07-16T00:55:30Z<p>I mounted a server (in ubuntu) and I'm going to deploy wpad for autoconfiguration of the proxy on the computers. I have performed the following procedure:</p><p>I have created 3 files, because I read somewhere that IE only works with .dat (modern versions) and .da (old versions) and Chrome (etc) with .pac:</p><pre><code>proxy.pac wpad.da wpad.dat</code></pre><p>With the same content...</p><pre><code>function FindProxyForURL(url, host) {// If the requested website is hosted within the internal network, send direct.if (isPlainHostName(host) ||shExpMatch(host, "*.local") ||isInNet(dnsResolve(host), "192.168.0.0", "255.255.0.0") ||isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0"))return "DIRECT";return "PROXY 192.168.0.1:3128";}</code></pre><p>To publish them in apache and divulge them with <a href="https://findproxyforurl.com/deploying-wpad/" rel="nofollow noreferrer">option 252 of dhcp</a>, so all my computers go to my squid proxy</p><p><strong>I have two questions:</strong></p><ol><li><p>Do I really need the 3 files?</p></li><li><p>Is the content of the files correct?</p></li></ol><p>Thanks</p>http://superuser.com.xemphimonlines.com/q/13404320Home desktop slows down internet when in sleep mode © superuser.comuser155600http://superuser.com.xemphimonlines.com/users/9243282018-07-16T00:35:38Z2018-07-16T01:19:51Z<p>I have a desktop computer with a LAN connection and a TV with a Roku stick. Whenever my desktop computer goes to sleep, my Internet speed is reduced. If I am using my Roku, the streaming quality gets poor and "boxy" looking. If I use a smartphone and connect to the network using Wi-Fi again, I get a reduced Internet speed. Once I wake the computer from sleep the Internet speed returns to normal. </p><p>What do you think it could be?</p>http://superuser.com.xemphimonlines.com/q/1340414-2Numbers helps cells © superuser.comTerryhttp://superuser.com.xemphimonlines.com/users/9243142018-07-15T22:41:49Z2018-07-16T02:26:34Z<p>I need to add 2 cells to keep score in a game.</p><p>Like add 2 + 3=5.</p><p>The next round could be +4 added the cell with the number 3 (cell value now 7) so I will get a total of 9</p>http://superuser.com.xemphimonlines.com/q/13404130Is it possible to sort images by color regardless of the file type in windows 10? © superuser.comInkplay_http://superuser.com.xemphimonlines.com/users/7464942018-07-15T22:37:50Z2018-07-16T02:31:06Z<p>Basically, I have a folder full of color and black and white line drawings. Now I only want to keep the line drawings and I don't want to keep the color images. I could make a script to read each file and check if they are grayscale images but some black and white line art images can be color images as well. Is it possible to sort these images in the folder with or without 3rd party tools?</p>http://superuser.com.xemphimonlines.com/q/13404070Share a program between 2 or more OS in one machine? © superuser.comLorthashttp://superuser.com.xemphimonlines.com/users/7668042018-07-15T22:01:24Z2018-07-16T01:35:51Z<p>I was wondering if it is possible somehow to share or install a program in a common drive shared between 2 or more OS in one machine with dual (or more) boot?</p><p>For example, I have Windows 7, and Windows 8.1 installed in 2 different partitions with dual boot and have a third partition to save shared files in the machine to access easily from each of the OS'. If I install a program (not portable one) will it work with the other OS that didn't install that program?Is there any way to do this besides portable software?</p>http://superuser.com.xemphimonlines.com/q/13403380Identify first login and last logout entries © superuser.comAstrid 22http://superuser.com.xemphimonlines.com/users/9124942018-07-15T14:58:58Z2018-07-16T01:23:17Z<p>I have a spreadsheet that needs to determine the first time a user logged in to the system and the last time the user logged out.</p><p>The login and logout report comes from another system from which I copy and paste the data to my spreadsheet. This report is not sorted in chronological order.</p><p>Basically, since the users use the system to login and logout, they will have multiple records of logging in and out on a daily basis. I need to find the very first login record and last logout record per user. </p><p>I tried to use <code>INDEX()</code> and <code>MATCH()</code> to do this, but I could only return the very first entry for each user. Like I mentioned earlier the extracted report is not sorted in chronological order.</p>http://superuser.com.xemphimonlines.com/q/1340238-4Excel Time Card Build © superuser.comJames Noxonhttp://superuser.com.xemphimonlines.com/users/9241652018-07-15T00:40:51Z2018-07-16T02:26:56Z<p>I'm looking to have excel calculate the overtime for a time card. To do this, I only need it to display the overflow of the regular hours column. How would I achieve this. I have tried SUMIF equations but it displays more than just the overflow.</p><p>For example, our overtime doesn't kick in until 86 hours in a 2 week pay period.</p><p>Scenario 1: Regular Hours: 96Overtime (Should calculate to): 10</p><p>Scenario 2: Regular Hours 86:Overtime (Should calculate to): 0</p><p>Thanks,James Noxon</p>http://superuser.com.xemphimonlines.com/q/13402060What is killing my power adapters? © superuser.comMurkantilismhttp://superuser.com.xemphimonlines.com/users/7347332018-07-14T19:55:24Z2018-07-16T02:37:14Z<h2>Hardware</h2><p>I have two <a href="http://a.co/7UdA9N9" rel="nofollow noreferrer">Acer S230HL</a>'s and an <a href="http://a.co/19oow46" rel="nofollow noreferrer">ASUS PG278Q</a> (hooked up to a custom PC build).</p><h2>Background</h2><p>3 months ago on an exceptionally hot day, the power to the house flickered off and immediately back on, after which one of my 3 PC monitor's was unresponsive.</p><p>Thankfully it had not been fried but instead, the power adapter for the Acer monitor took the bullet, which was a little under $30 to replace. I called the power company to ask wtf happened and they claimed they saw no evidence of a power surge or spike on their end at the time frame I gave, but that because of the heat lots of people were using A/C and that may have caused a very small "undetectable" spike. Frankly, it felt like the service rep was trying to give me as little info as possible, perhaps thinking I might take them to small claims court or someshit (which I'd have done if anything actually expensive had been fried).</p><p>I had no interest in that and just wanted to find out what happened so I could prevent it from repeating. After no help from the company I spoke to some neighbors and nobody else had experienced a power flicker at the time I did. Finally, I checked over my power strips and found that one was not surge protected at all and another for a laughably small protection. So I upgraded all of my power strips to high Joule surge protectors (specifically <a href="http://a.co/gyKYLsJ" rel="nofollow noreferrer">this</a> rated for 3,940 Joules and <a href="http://a.co/fXAAlTP" rel="nofollow noreferrer">this</a> for 1,240 Joules).</p><h2>Seemingly fine...</h2><p>Throughout the next 3 months I did experience the same power flicker 4-5 times (none due to storms), two of them on the same day, but with no repercussions to my electronics. </p><h2>RIP</h2><p>Then last week it struck again and once more killed the power adapter (to the same monitor as before, ie: it killed the replacement adapter). Before declaring it dead I checked everything over, all the wires and connections were tight and no power was being drawn by the adapter (small green LED on the adapter brick itself is out). I did not bother calling the power company (I should have).</p><p>It appears that the same exact issue has occurred only this time with everything on high voltage surge protectors. It's worth noting that the power adapter that died this time was indeed connected to the weaker 1,240 Joule protector.</p><p>I rent part of this house so I am unaware of how much amperage the others consume, but I do know this is not a simple tripping of the breakers (since no flip of the breaker switch was required for power to return). The homeowners and 1 other tenant were not even home last week when my adapter died.</p><h2>This begs the question</h2><p>What is killing my power adapters? Is it a power spike or surge? An issue of drawing too much amperage from the circuit breaker? Something else?</p><p><strong>Disclaimer:</strong> <em>I do not fully understand electrical wiring, how the power grid works, the differences between voltage, amperage, watts, coulombs, and Joules but have a very basic familiarity. I'm more than willing to learn whatever it takes (and competent enough, I'd like to think) so please don't shy away from technical explanations.</em></p>http://superuser.com.xemphimonlines.com/q/13391230Can not trace the packets to a specific gateway ip © superuser.comforAllBrighthttp://superuser.com.xemphimonlines.com/users/5808312018-07-14T11:47:10Z2018-07-16T01:24:38Z<p>I try to make the OSX host-A to be a specific gateway for a Linux host-B. The default gateway entry of B has been deleted and add a specific gateway as below. Note: <code>98.136.144.138</code> is the ip address of domain name of "search.yahoo.com". Host-A can reach search.yahoo.com normally. ip of A is <code>10.192.29.246</code> and ip of B is <code>10.192.13.160</code>.</p><p><a href="https://i.stack.imgur.com/x0tgA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x0tgA.png" alt="enter image description here"></a></p><p>When host-B browser refreshes the ip of <code>98.136.144.138</code>, the web page shows as expected. But the Wireshark can not capture any packets illustrating the packets from host-B reach the gateway host-A first and host-A routes these packets. Why the information does not show? </p><ul><li>The packets Wireshark captured in host-B as below. After I add specific route and refresh <code>98.136.144.138</code> of Yahoo Search in browser of host-B, packets below the line in picture turn up. But no info upon packets to specific gateway(host-A). And how to get the packets to a gateway if necessary?</li></ul><p><a href="https://i.stack.imgur.com/s09rn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s09rn.png" alt="enter image description here"></a></p><ul><li>The returns of command <code>traceroute 98.136.144.138</code>in host-B as below. And why the fist line is old default gateway 10.255.255.1 not specific gateway host-A. Host-A ip <code>10.192.29.246</code> even did not show .</li></ul><p><a href="https://i.stack.imgur.com/1gfTa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1gfTa.png" alt="enter image description here"></a></p><p>If we can not trace or capture the data from host-B to the specific gateway(host-A) according to the routing table when browse the "Yahoo Search" page, how do we know whether it's really happened that host-B reach "Yahoo Search" page via host-A? The routing rules are on the routing table, but we need to really know that. Any help would be appreciated.</p><p><strong>Update:</strong> add the layer II information of Wireshark below.<code>10.192.26.24</code> is the host-B ip address now since restarted (But host-A is still <code>10.192.29.246</code>). The first packet is sent to MAC address <code>00:00:5e:00:01:02</code> which belongs to the deleted default gateway <code>10.192.0.1</code>. But how does it still be sent to deleted gateway? All following packets don't contain MAC address of host-A.<a href="https://i.stack.imgur.com/xhD5y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xhD5y.png" alt="enter image description here"></a></p><p><a href="https://i.stack.imgur.com/Jec8x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jec8x.png" alt="enter image description here"></a></p>http://superuser.com.xemphimonlines.com/q/13390652How to convert pdf files in multiple folders into multiple pdf files matching the folder names © superuser.comBlumerhttp://superuser.com.xemphimonlines.com/users/9229772018-07-14T03:10:31Z2018-07-16T01:53:27Z<p>I have multiple folders, each one containing multiple pdf image files like this: </p><pre><code> Folder 1 file1.pdffile2.pdffile3.pdf...file100.pdfFolder 2 file1.pdffile2.pdffile3.pdf...file100.pdfFolder 3 file1.pdffile2.pdffile3.pdf...file100.pdf...Folder 94file1.pdffile2.pdffile3.pdf...file100.pdf </code></pre><p>Is there any way to create a sort of script that outputs at one time each folder as one pdf file like this : </p><pre><code>Folder1.pdfFolder2.pdfFolder3.pdf...Folder94.pdf</code></pre>http://superuser.com.xemphimonlines.com/q/13389491Windows Server 2012 - two NICs, wrong one selected © superuser.comJasonhttp://superuser.com.xemphimonlines.com/users/7322062018-07-13T14:37:43Z2018-07-16T02:26:51Z<p>I have a server with two NICs, as follows. </p><ul><li>One has IP address 192.168.0.47/24. This network has no router / gateway / etc.</li><li>One has IP address 172.16.92.45, and is bridged to a tap adapter for OpenVPN. </li></ul><p>I'm trying to communicate with a device at 192.168.0.204, and failing. Wireshark confirms that attempts to ping 192.168.0.204 go via the interface 172.16.92.45, not 192.168.0.47, which surprises me. tracert confirms that the pings go to the default gateway, 172.16.92.12, never to be seen again.</p><p>ipconfig says:</p><pre><code>Windows IP ConfigurationEthernet adapter Ethernet:Media State . . . . . . . . . . . : Media disconnectedConnection-specific DNS Suffix . : Ethernet adapter Embedded LOM 1 Port 2:Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::b40f:8c41:a781:a89b%12IPv4 Address. . . . . . . . . . . : 192.168.0.47Subnet Mask . . . . . . . . . . . : 255.255.255.0Default Gateway . . . . . . . . . : Ethernet adapter Network Bridge:Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::4d2:2673:7ff4:8676%18IPv4 Address. . . . . . . . . . . : 172.16.92.45Subnet Mask . . . . . . . . . . . : 255.255.0.0Default Gateway . . . . . . . . . : 172.16.92.12Tunnel adapter isatap.{B63DCFB1-4179-45E6-9268-299D4526831A}:Media State . . . . . . . . . . . : Media disconnectedConnection-specific DNS Suffix . : Tunnel adapter isatap.{78520E8A-472A-4BBD-9440-7BF50D172859}:Media State . . . . . . . . . . . : Media disconnectedConnection-specific DNS Suffix . : </code></pre><p>The routing table is:</p><pre><code>===========================================================================Interface List19...00 ff 4d 58 89 8e ......TAP-Windows Adapter V9 #212...98 f2 b3 8f bb e5 ......HPE Ethernet 1Gb 2-port 332i Adapter #218...00 ff f8 2b 19 b1 ......Microsoft Network Adapter Multiplexor Driver1...........................Software Loopback Interface 114...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #215...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4===========================================================================IPv4 Route Table===========================================================================Active Routes:Network Destination Netmask Gateway Interface Metric0.0.0.0 0.0.0.0 172.16.92.12 172.16.92.45 266127.0.0.0 255.0.0.0 On-link 127.0.0.1 306127.0.0.1 255.255.255.255 On-link 127.0.0.1 306127.255.255.255 255.255.255.255 On-link 127.0.0.1 306172.16.0.0 255.255.0.0 On-link 172.16.92.45 266172.16.92.45 255.255.255.255 On-link 172.16.92.45 266172.16.255.255 255.255.255.255 On-link 172.16.92.45 266192.168.0.0 255.255.255.0 On-link 192.168.0.47 276192.168.0.47 255.255.255.255 On-link 192.168.0.47 276192.168.0.255 255.255.255.255 On-link 192.168.0.47 276224.0.0.0 240.0.0.0 On-link 127.0.0.1 306224.0.0.0 240.0.0.0 On-link 172.16.92.45 266224.0.0.0 240.0.0.0 On-link 192.168.0.47 276255.255.255.255 255.255.255.255 On-link 127.0.0.1 306255.255.255.255 255.255.255.255 On-link 172.16.92.45 266255.255.255.255 255.255.255.255 On-link 192.168.0.47 276===========================================================================Persistent Routes:Network Address Netmask Gateway Address Metric0.0.0.0 0.0.0.0 172.16.92.12 Default 0.0.0.0 0.0.0.0 172.16.92.12 Default===========================================================================IPv6 Route Table===========================================================================Active Routes:If Metric Network Destination Gateway1 306 ::1/128 On-link18 266 fe80::/64 On-link12 276 fe80::/64 On-link18 266 fe80::4d2:2673:7ff4:8676/128On-link12 276 fe80::b40f:8c41:a781:a89b/128On-link1 306 ff00::/8 On-link18 266 ff00::/8 On-link12 276 ff00::/8 On-link===========================================================================Persistent Routes:None</code></pre><p>I would've thought the route to 192.168.0.0 / 255.255.255.0 having interface 192.168.0.47 would've meant 192.168.0.47 got used to ping 192.168.0.204, but apparently not. </p><p>If it makes any difference, the two NICs actually connect to the same physical LAN (different switches, but connected). I'm using the two IP address ranges because I'm working remotely, and trying to communicate with a device on the LAN that has its factory default IP (192.168.0.200). The plan was to change the IP address of the secondary port to 192.168.0.47 (done), access and configure the device at 192.168.0.200 (failing), including change its IP address to something in the 172.16.0.0 network. The approach has worked a treat with other devices in the past on this same LAN. But not today.</p><p>Can anyone shed some light on this?</p>http://superuser.com.xemphimonlines.com/q/13369252Screen mirroring Android to Windows 10: How to enable keyboard/mouse as input devices? © superuser.comstevemidgleyhttp://superuser.com.xemphimonlines.com/users/461082018-07-06T04:02:32Z2018-07-16T02:52:33Z<p>I'm using Android's Miracast system to project my Android screen to my Windows 10 computer. This is working fine (though I notice I have to reboot my computer sometimes to get it to show up as an available device to the phone).</p><p>However, once I connect, I get this mysterious/unhelpful message:</p><pre><code>Touch Input is Turned off. To turn it on, goBack to your PC, and select action center &gt;Connect &gt; the check box</code></pre><p>As I've searched around, it appears this message is causing others confusion too. I think there is a checkbox in the Action center > Connect menu when connecting to some other devices (like maybe another Windows 10 box?). But nothing shows up in the Connect area when this Android device is connected, so I can't figure out how to enable touch controls - there's no checkbox to click. </p><p>(Basically I want to use my mouse and keyboard on the computer to control the inputs on the Android phone.)</p>http://superuser.com.xemphimonlines.com/q/13298931Microsoft Word 365 won't shift line of text to next page, keeps in on page of figure © superuser.comuser1381852http://superuser.com.xemphimonlines.com/users/9131362018-06-09T10:53:53Z2018-07-16T02:14:00Z<p>I have a page that I want to be just two figures, and no text. </p><p>However Word has deemed it necessary to keep this line of text on the same page as the two images no matter what I try to do. </p><p>The only time I can get rid of it is if I change the wrapping to "in-line"instead of square/tight. Is this to do with the anchoring that Word does? The problem I have with the "in-line" wrapping is that I keep adding new stuff earlier in the document which then stuffs it up further down. Anyone got tips? </p><p><a href="https://i.stack.imgur.com/9KWJG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9KWJG.png" alt="Image of the problem"></a></p><p>In the image above the line is in blue, and the figure caption in red. The rest of the page includes another image.</p>http://superuser.com.xemphimonlines.com/q/13298120Embedding User Name in Default Save Name © superuser.comChiliYagohttp://superuser.com.xemphimonlines.com/users/299172018-06-08T23:04:44Z2018-07-16T01:02:22Z<p>The Title property for MS Word document is also used for the default name when a user saves a document. This is particularly helpful for .dotx files where the default save name would be Document.docx or something else if no title were present. </p><p>Is there any variable that could be put in the property or some other method that would allow the user's user name to be included in the default save name?</p><p>For instance: For a Title property of "'Feedback Form" I would like the default save name to be "'Feedback Form Sally Smith.docx'"</p>http://superuser.com.xemphimonlines.com/q/12844383How can I use Mac OSX Sierra emoji on Windows 10? © superuser.comPlatohttp://superuser.com.xemphimonlines.com/users/2789082018-01-11T07:59:49Z2018-07-16T02:03:33Z<p>I like Mac's emojis and dislike Windows'.</p><p>It seems that competing specs still make various emoji fonts and OS incompatible.</p><p>Is there a compatibility conversion project for the "official" emoji character sets? Or at least somewhere to compare and download cross platform emoji fonts?</p><p>After a font is installed with emoji character sets, is there a way to tell Windows to use that font only for emoji glyphs?</p><hr><p><a href="http://superuser.com.xemphimonlines.com/questions/1062418/how-do-i-replace-windows-10s-emoji">How do I replace Windows 10&#39;s emoji?</a> (10k views, people want this!) </p><p><a href="http://superuser.com.xemphimonlines.com/questions/968509/is-is-possible-to-change-the-emoji-set-on-os-x/1079151#1079151">Is is possible to change the emoji set on OS X?</a></p><p><a href="https://github.com/googlei18n/noto-emoji/issues/43" rel="nofollow noreferrer">https://github.com/googlei18n/noto-emoji/issues/43</a> </p><p><a href="https://blogs.windows.com/buildingapps/2017/06/06/using-color-fonts-beautiful-text-icons/" rel="nofollow noreferrer">https://blogs.windows.com/buildingapps/2017/06/06/using-color-fonts-beautiful-text-icons/</a></p>http://superuser.com.xemphimonlines.com/q/12512930How to recover files from a VDI? © superuser.comJosh Detwilerhttp://superuser.com.xemphimonlines.com/users/7694522017-09-18T02:44:11Z2018-07-16T01:13:58Z<p>I've tried a lot of different things already. For a synopsis of what caused the problem, please see <a href="https://unix.stackexchange.com/questions/392530/centos-7-wont-start-after-recent-update">this unanswered question</a> on Unix/Linux stack exchange. Basically, I'm on a Windows 10 host and I have an unbootable CentOS 7 VM on Virtual Box. I need to know how to recover files from my unbootable VDI.</p><p>I've read <a href="http://superuser.com.xemphimonlines.com/questions/236205/how-do-i-recover-files-from-a-corrupt-vdi-file">this question</a> (and many others), for which creating a new profile for the VM didn't fix it. I'm also unsure how a rescue disk would fix it--very unclear instructions. I've tried several different discontinued softwares. I've also tried "mounting" the virtual disk through VirtualBox in a brand new CentOS installation (that just...didn't work; it thought I wanted to boot from the old one).</p><p>I feel like I've exhausted everything I can find on the Internet, so I might as well raise a duplicate question.</p>http://superuser.com.xemphimonlines.com/q/10301226What is the maximum value of a numeric bash shell variable? © superuser.comMax Powerhttp://superuser.com.xemphimonlines.com/users/5487482016-01-22T21:05:37Z2018-07-16T01:12:31Z<p>I'm curious as to what happens when a numeric variable in bash is incremented up without purposely stopping it. How large can the number get? Will it overflow and become negative and just continue to increment forever? Will it break and skid to a stop at some point? </p><p>I am using an x86_64 AMD processor, but I would be happy to hear 32bit answers as well, just specify which you are talking about. I am running Fedora21 64bit.</p><p>I've googled far and wide but haven't found this specific tidbit for some odd reason. It seems like it would be a basic piece of info in all the manuals and such. </p>http://superuser.com.xemphimonlines.com/q/9309552H.264 decoding error log from RTSP stream © superuser.comTariqhttp://superuser.com.xemphimonlines.com/users/3254062015-06-22T11:08:47Z2018-07-16T01:59:44Z<p>I am getting the following H264 error log. This log comes while decoding an RTSP video stream with help of FFMPEG. The picture displayed is blurred after 5/6 seconds. The picture would recover it from time to time. However, it remains blurred for most of the time. </p><p>EDIT: Some FFMPEG discussion forums suggested to upgrade FFMPEG version to avoid these logs. I have updated the latest FFMPEG build of June 19, 2015.Still the log remains there and picture is still blurred.</p><pre><code>[h264 @ 0abb2aa0] Cannot use next picture in error concealment[h264 @ 0abb2aa0] concealing 1933 DC, 1933 AC, 1933 MV errors in P frame[h264 @ 098e5c80] RTP: missed 131 packets[h264 @ 0abb3300] error while decoding MB 66 25, bytestream (-9)[h264 @ 0abb3300] Cannot use next picture in error concealment[h264 @ 0abb3300] concealing 1583 DC, 1583 AC, 1583 MV errors in P frame[h264 @ 098e5c80] RTP: missed 8 packets[h264 @ 0b113e40] error while decoding MB 54 30, bytestream (-11)[h264 @ 0b113e40] Cannot use next picture in error concealment[h264 @ 0b113e40] concealing 1195 DC, 1195 AC, 1195 MV errors in P frame[h264 @ 098e5c80] RTP: missed 118 packets[h264 @ 0ac79960] error while decoding MB 13 20, bytestream (-13)[h264 @ 0ac79960] Cannot use next picture in error concealment[h264 @ 0ac79960] concealing 2036 DC, 2036 AC, 2036 MV errors in P frame[h264 @ 098e5c80] RTP: missed 198 packets[h264 @ 0ad4f500] error while decoding MB 21 9, bytestream (-5)[h264 @ 0ad4f500] Cannot use next picture in error concealment[h264 @ 0ad4f500] concealing 2908 DC, 2908 AC, 2908 MV errors in P frame[h264 @ 098e5c80] RTP: missed 108 packets[h264 @ 0abb3300] error while decoding MB 1 14, bytestream (-5)[h264 @ 0abb3300] Cannot use next picture in error concealment[h264 @ 0abb3300] concealing 2528 DC, 2528 AC, 2528 MV errors in P frame[h264 @ 098e5c80] RTP: missed 106 packets[h264 @ 0b1149c0] error while decoding MB 12 5, bytestream (-7)[h264 @ 0b1149c0] Cannot use next picture in error concealment[h264 @ 0b1149c0] concealing 3237 DC, 3237 AC, 3237 MV errors in P frame[h264 @ 098e5c80] RTP: missed -65402 packets[h264 @ 0b1155a0] error while decoding MB 50 38, bytestream (-7)[h264 @ 0b1155a0] Cannot use next picture in error concealment[h264 @ 0b1155a0] concealing 559 DC, 559 AC, 559 MV errors in P frame[h264 @ 098e5c80] RTP: missed 150 packets[h264 @ 0af65740] error while decoding MB 48 31, bytestream (-15)[h264 @ 0af65740] Cannot use next picture in error concealment[h264 @ 0af65740] concealing 1121 DC, 1121 AC, 1121 MV errors in P frame[h264 @ 098e5c80] RTP: missed 4 packets[h264 @ 0ac79960] error while decoding MB 35 38, bytestream (-41)[h264 @ 0ac79960] Cannot use next picture in error concealment[h264 @ 0ac79960] concealing 574 DC, 574 AC, 574 MV errors in P frame</code></pre><p>EDIT: I dumped the RTSP stream to an avi file using ffmpeg and there are no errors.C:\Users\Matlab>ffmpeg -i rtsp://192.168.1.67/gnz_media/main 123.avi</p><p>There are no H.264 decoding errors. Can anybody help with above decoding errors using ffmpeg api.</p>http://superuser.com.xemphimonlines.com/q/8270028Mirror a blog with wget © superuser.comKostas Andrianopouloshttp://superuser.com.xemphimonlines.com/users/3801232014-10-16T03:17:06Z2018-07-16T00:59:42Z<p>I am trying to mirror a blog, eg <code>www.example.com</code>, with <code>wget</code>.</p><p>I use wget with the following options (shell variables are substituted correctly):</p><pre><code>wget -m -p -H -k -E -np \-w 1 \--random-wait \--restrict-file-names=windows \-P $folder \-Q${quota}m \-t 3 \--referer=$url \-U 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4' \-e robots=off \-D $domains-- $url</code></pre><p>The blog contain images that reside on other domains.</p><p>Even though I have specified the <code>-p</code> option (download linked page assets) these images are not being downloaded unless I specify each domain explicitly in the <code>-D</code> option.</p><p>If I omit the <code>-D</code> option then wget will follow every link outside <code>www.example.com</code> and download the whole internet.</p><p>Is it possible for <code>wget</code> to just follow every link under <code>www.example.com</code> and download each page’s required assets, whether those reside on the same domain or not without me having to specify each domain explicitly?</p>http://superuser.com.xemphimonlines.com/q/6786251Boot issue with ASUS K55A - Black Screen © superuser.comSteve Thornehttp://superuser.com.xemphimonlines.com/users/2757152013-11-21T01:07:01Z2018-07-16T01:59:44Z<p>A fiend asked me to look at a problem on their laptop.</p><p>Laptop is an ASUS with the model # K55A-HI5103D running Win 8. It started getting an error on boot about having an issue with a PXE utility?? Walked them through getting to the BIOS and changed the boot order to have Windows Boot Manager be first in the boot order. As soon they saved and rebooted computer, it now goes to a black screen with no splash screens and no BIOS display. </p><p>I have researched the web and appears this has happened to several people (exact same sequence of events). I have tried pulling the laptop battery, removed the AC power and held the power button several times. Pulled the CMOS battery and left it out over night, tried using a USB stick that is flashed as a boot device and no luck. FYI I have tried tapping and holding every key known to get in the BIOS (F2, F10, DEL, ESC, etc.) and no luck. Nothing on the screen to indicate it is trying to boot. The power light stays on and the HD light flashes, can hear the optical drive spin up when first powered up.</p><p>This laptop was at least showing the BIOS and getting an error on a boot device until a change was made in the BIOS, so I would not think it is a hardware failure. From what I have read most of the time this has happened after an update to Windows 8. I know Windows 8 controls the BIOS differently now with UEFI computers and this one is a little over a year old so out of warranty.</p><p>Anyone have ideas of what to try?</p><p>Thanks,Steve</p>http://superuser.com.xemphimonlines.com/q/4578195Will a 3 Antenna Wireless N Router work with only 1 Antenna? © superuser.comMilMikehttp://superuser.com.xemphimonlines.com/users/773362012-08-05T15:02:25Z2018-07-16T02:45:18Z<p>I am using 2 Wireless G routers but am planning to buy a Wireless N network to get more speed. But my network right now is like this:<br>I connect 2 areas together, "Office" and "Home".<br>Office has DSL internet and "Home" has no DSL but I can access the Office internet from home by wlan. </p><p>Will this work also with a Wireless N network like this:?</p><p><img src="https://i.stack.imgur.com/gooXF.jpg" alt="enter image description here"></p><p>so as you can see, I want to use 2 Wireless N routers which have 3 antennas. I will replace one antenna by a directional antenna like in the picture. </p><p>my question, will this work? or should I use 3 directional antennas? What is the meaning of 3 antennas? what are they for? If this will work what speed can I expect? </p>http://superuser.com.xemphimonlines.com/q/2467844How to tune MySQL for restoration from MySQL dump? © superuser.comAlex Rhttp://superuser.com.xemphimonlines.com/users/161882011-02-17T00:15:58Z2018-07-16T02:15:42Z<p>My little 5GB database which takes 5 minutes to dump via mysqldump, takes 9 hours to restore. Luckily I found this out during a test-run, not an actual emergency situation.</p><p>What are the best parameters to optimize to speed this up?</p><p>I have tried the following settings on my server with 2GB of RAM:</p><pre><code>innodb_buffer_pool_size=512Minnodb_additional_mem_pool_size=50Minnodb_file_per_tableinnodb_flush_method=O_DIRECTinnodb_flush_log_at_trx_commit=0innodb_log_file_size=1Ginnodb_log_buffer_size=1G</code></pre><p>The weird thing is that even with these aggressize settings, <code>top</code> only shows mysqld is barely using a fraction of the assigned memory:</p><pre><code> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND4421 mysql 20 0 247m 76m 5992 S 91 3.7 4:09.33 mysqld</code></pre>http://superuser.com.xemphimonlines.com/q/2185193Started getting duplicate emails again in Thunderbird 3.x © superuser.comsmcihttp://superuser.com.xemphimonlines.com/users/541432010-12-05T00:09:10Z2018-07-16T00:59:42Z<p>It is a known issue with Thunderbird 3.x that it downloads duplicate emails.I installed Thunderbird 3.1.5 last month (it's awesome!) and configured it to not download duplicate emails using the following well-known solution, this all worked fine until last week:</p><ul><li>set Tools->Options->ConfigEditor->Advanced:mail.server.default.dup_action=1</li><li>(Email account)->Server Settings: enable 'Leave messages on server', 'Until I delete them'</li></ul><p>Also as a manual fallback I installed the add-on <a href="https://addons.mozilla.org/en-US/thunderbird/addon/4654/" rel="nofollow noreferrer">'Remove Duplicate Messages (Alternate) 0.3.5' by eyalroz</a>, which works well.</p><p>Everything worked fine until last week (you never see duplicates because Thunderbird deletes them on-the-fly), then last week it started getting duplicates again, despite the settings.We're talking downloading 9000 duplicate emails here every single time it checks mail, it's nearly unuseable. (FYI I access Hotmail via POP. On Vista.)(Yes I already read the Help, FAQ, Release Notes, Bugzilla, superuser.com archives and googled the web. Many reports, few solutions and none that work 100%.)</p><p>In the Thunderbird Bugzilla, there are many bugs over many years for 'duplicate email', but the main culprit for my issue <em>might</em> be <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=608242" rel="nofollow noreferrer">Bug 608242 - "Hotmail still downloading duplicate messages"</a>. Then again it might not be, it might also be <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=284526" rel="nofollow noreferrer">284526</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=591334" rel="nofollow noreferrer">591334</a>, maybe 612136 or other. To get these bugs more prominence, register on Bugzilla and vote for them.There are many other manifestations of duplicate mail in TB, so do not start arguing that the culprit is Hotmail and not Thunderbird itself. TB should be able to handle this robustly, no matter how crappy Hotmail might be.The underlying root-cause sounds like the hash file 'popstate.dat' in which TB keeps a hash of message date, time, sender, subject etc. and checks it before downloading. Many of the Bugzillas suggest popstate.dat may be being corrupted, e.g. by (AVG) antivirus. There are also reports that filtering or attachments also tickle this. Anyway as I commented, this all used to work fine for me till recently.</p><p>Any solutions, workarounds or suggestions?</p>http://superuser.com.xemphimonlines.com/q/7981315read and write permission for FAT32 partition in Ubuntu © superuser.comDeanhttp://superuser.com.xemphimonlines.com/users/209242009-12-05T15:36:25Z2018-07-16T02:17:14Z<p>This is a strange problem. I have the following partition table</p><pre><code> Device Boot Start End Blocks Id System/dev/sda1 * 1 13 102400 7 HPFS/NTFSPartition 1 does not end on cylinder boundaryhttp://superuser.com/dev/sda2 13 5737 45978624 7 HPFS/NTFS/dev/sda3 5738 10600 39062047+ 83 Linux/dev/sda4 10601 19457 71143852+ 5 Extended/dev/sda5 10601 11208 4883728+ 82 Linux swap / Solaris/dev/sda6 11209 15033 30720000 b W95 FAT32/dev/sda7 15033 19457 35537920 7 HPFS/NTFS</code></pre><p>I dual boot Win7 (sda2) and Ubuntu (sda3) and wanted to use the FAT23 partition to share files across two OS's.</p><p>I followed some online tutorial and have done these:</p><pre><code>sudo mkdir /media/FAT32sudo chmod 777 /media/FAT32sudo mount /dev/sda6/ /media/FAT32</code></pre><p>after I mounted the file, I can only read but not be able to write to it.</p><p>I checked the file permission, it becomes:</p><p>drwxr-xr-x</p><p>but after I unmounted the it then becomes</p><p>drwxrwxrwx</p><p>and I can read and write to it.</p><p>very strange.</p><p>I don't know where I've down wrong.</p><p>Cheers.</p>