How to unzip a zip folder using php code
Unzip a file with php
How to install KDE along Unity? I have just installed the latest Ubuntu 14.04 and I would like to install KDE along side my Gnome/Unity that I have now. How can I do this?  Thanks! How many people can the TARDIS transport? The interior of a TARDIS is much larger than its exterior, but how many occupants can it transport? I'm one of those exceptions that deviates from the norm: I run CyanogenMod without any Google apps.   Is it possible to download the Stack Exchange Android app .apk directly? rake db:migrate doesn't seem to work in production Enabling tftpd  sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist   Start:  sudo launchctl start com.apple.tftpd   See logs syslog -w  com.apple.xpc.launchd[1] (com.apple.tftpd[30687]) &lt;Warning&gt;: Service exited with abnormal code: 1   Or with log stream --process tftp --level debug  Filtering the log data using "process BEGINSWITH[cd] "tftp"" Timestamp                       Thread     Type        Activity             PID    TTL 2020-01-21 12:35:44.903240+0200 0x5292a    Activity    0x6afa0              31479  0    tftpd: (libsystem_info.dylib) Retrieve User by Name 2020-01-21 12:35:44.903949+0200 0x5292a    Default     0x0                  31479  0    tftpd: recvfrom: Resource temporarily unavailable   I also tried to run tftpd directly without launchctl sudo /usr/libexec/tftpd -d -i /private/tftpboot/ with the same results.  Earlier I used this configuration and it worked fine. But after some changes (may be OS update) it became broken. Current MacOS version is 10.14.6 (18G2022)    How to fix tftpd?    Appendix. Configuration file /System/Library/LaunchDaemons/tftp.plist has default content:  &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; &lt;plist version="1.0"&gt; &lt;dict&gt;     &lt;key&gt;Disabled&lt;/key&gt;     &lt;true/&gt;     &lt;key&gt;Label&lt;/key&gt;     &lt;string&gt;com.apple.tftpd&lt;/string&gt;     &lt;key&gt;ProgramArguments&lt;/key&gt;     &lt;array&gt;         &lt;string&gt;/usr/libexec/tftpd&lt;/string&gt;         &lt;string&gt;-i&lt;/string&gt;         &lt;string&gt;/private/tftpboot&lt;/string&gt;     &lt;/array&gt;     &lt;key&gt;inetdCompatibility&lt;/key&gt;     &lt;dict&gt;         &lt;key&gt;Wait&lt;/key&gt;         &lt;true/&gt;     &lt;/dict&gt;     &lt;key&gt;InitGroups&lt;/key&gt;     &lt;true/&gt;     &lt;key&gt;Sockets&lt;/key&gt;     &lt;dict&gt;         &lt;key&gt;Listeners&lt;/key&gt;         &lt;dict&gt;             &lt;key&gt;SockServiceName&lt;/key&gt;             &lt;string&gt;tftp&lt;/string&gt;             &lt;key&gt;SockType&lt;/key&gt;             &lt;string&gt;dgram&lt;/string&gt;         &lt;/dict&gt;     &lt;/dict&gt; &lt;/dict&gt; &lt;/plist&gt;   Update1 It seems port is in use. Why? Who?  $ sudo lsof -i:69 COMMAND PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME launchd   1 root   23u  IPv6 0x55f5dbd8d897c847      0t0  UDP *:tftp launchd   1 root   57u  IPv4 0x55f5dbd8d897e687      0t0  UDP *:tftp launchd   1 root   59u  IPv6 0x55f5dbd8d897c847      0t0  UDP *:tftp launchd   1 root   60u  IPv4 0x55f5dbd8d897e687      0t0  UDP *:tftp   launchd uses UDP port 69. Why?  $ ps -ef | grep tftp 501 94727 48073   0  4:16PM ttys007    0:00.00 grep --color=auto tftp Finding additions and updates between two vector layers using QGIS Is the complement of a prime ideal closed under both addition and multiplication? Why should the "H" option not be used in floats? A positional number system for enumerating fixed-size subsets? Many combinatorial objects have some associated positional number system.  For example, the subsets of a (finite) set S can be listed off by observing the bits of all $|S|$-bit numbers, treating the 1s and 0s as indicators for whether to pick a particular element or not.  Permutations of a finite set S can be found by examining the  representations of the first $|S|!$ natural numbers.  Is there an analogous positional number system for encoding k-element subsets of an n-element set?  Thanks! I made the jump from Jumsoft's Money app to GnuCash a while back. It appealed to all my OCD tendencies. I don't know how to use Perl, or stuff of the sort, but with detailed instructions I manage to get things done... when I can find them.  I set up Finance::Quote to pull quotes after I set up GnuCash. I even managed to get it to pull quotes for Korean funds. And every thing had been working well, until tonight. I only get back a pop-up that states "There was an unknown error while retrieving the price quotes." That's where I need help. What can I do?  I dug around and found that it seems that it has something to do with Yahoo Finance ending it's API support. I also learned that Finance::Quote can pull data from many sources, so I don't really understand why one missing API would break it. I also saw that someone out there is trying to use AEX to pull the quotes instead for GnuCash specifically. I found Finance::Quote on cpan (I also first heard of cpan), but I don't understand what I'm looking at. But that's all beside the point. I don't know how to fix this.  Any help would be appreciated. I'm on Windows 10, GnuCash version 2.6.17, and have Strawberry Perl 5.18.2.2-32bit installed.  edit Thanks everyone who responded. It seems to be working more or less. The currency and Korean funds still haven't updated, but you've shown this horse to water. I'll do my best to drink it now. How to plot ROC curves in multiclass classification? In other words, instead of having a two class problem I am dealing with 4 classes and still would like to assess performance using AUC. How can I replay Apache access logs back at my servers to do real world load testing? I looked at  but I couldn't see how to replay my own existing logs in any of those tools. I have a bug that only occurs under certain load operations which my existing JMeter and AB testing stuff can't reproduce.  I want to simply give the tool access_logs and have it play them back, either faster or at the same speed. Is there a GUI IDE for programming python just like java has netbeans?  I wanted one where we could drag &amp; drop test boxes &amp; labels just as we do in swing components using netbeans or eclipse.  Or is there an add-on present in either netbeans or eclipse itself? What type of solder is safest for home (hobbyist) use? I want to use input from a user as a regex pattern for a search over some text.  It works, but how I can handle cases where user puts characters that have meaning in regex? For example, the user wants to search for Word (s): regex engine will take the (s) as a group.  I want it to treat it like a string &quot;(s)&quot; .  I can run replace on user input and replace the ( with \( and the ) with \) but the problem is I will need to do replace for every possible regex symbol. Do you know some better way ? Given the following HTML:   &lt;div id="container"&gt;   &lt;!-- Other elements here --&gt;   &lt;div id="copyright"&gt;     Copyright Foo web designs   &lt;/div&gt; &lt;/div&gt;    I would like #copyright to stick to the bottom of #container. Can I achieve this without using absolute positioning? How to disable Ctrl+Shift+U? Ctrl+Shift+U is a combined shortcut in Eclipse. But when I press it, it shows up a u, just like input with an underline. I guess this shortcut has been declared by Ubuntu, so I can't use it. I used to solve this problem by typing Caps Lock first. Is there any better method? Density of states for arbitrary dispersion relation If I have a 3D dispersion relation   $E=E(k_x, k_y, k_z)$ I have an equation for the density of states, which is   $D(E)=\frac{1}{\nabla_k E}\int\frac{dS}{(2\pi)^3}$  1) I am confused about the integral. What am I integrating over, exactly? It must have units of the $k$ vector, so it's a k-space integral, but what is the surface that is relevant?  3) Where does that equation come from, how is it derived? Java process memory check test With Glade Designer that lets you set up Gtk-Ui's you can check the option that windows are not shown in the launcher. If I take a look at the ui-file generated by Glade, it says &lt;property name="skip_taskbar_hint"&gt;True&lt;/property&gt;. In gtk code this hint is  window.set_property('skip-taskbar-hint', True). However I believe that this option is not exclusively Gtk-specific, and want to apply this one on my PyQt4-app. The Ubuntu window manager must be able to receive that hint, otherwise I would see the window of a gtk-application i use (stickynotes-indicator). So there MUST be a way of doing this in Qt or any other language, right?  Does anybody know such an option? Python or Qt syntax, doesn't matter!