How to [recursively] Zip a directory in PHP?
How to zip a whole folder using PHP
I'm trying to install bang and olufsen drivers, or HP hd audio driver, as only 2 of the 4 speakers work and the 2 amps don't work in ubuntu  lspci -v | grep -i audio 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)     Subsystem: Hewlett-Packard Company Broadwell-U Audio Controller 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)     Subsystem: Hewlett-Packard Company Wildcat Point-LP High Definition Audio Controller   The volume is terrible. Is there any way to fix this?  The speakers work perfectly on the pre-installed Windows 8. Proving that $A+A \not\subset 2A $ using a particular definition for sum of sets Let $X$ de a vector space and $A\subset X$. If we define $A+B :=\{a+b|a\in A, b\in B\}$ I am trying to show that    $$ \begin{equation} 2A \subsetneq A+A, \end{equation} $$  i.e., it might happen that $2A \neq A+A$. I was able to show that $2A \subset A+A$, but I am not able to come up with a counterexample to show that the converse is not necessarily true. If I assume $A+A\subset 2A$ and let $x\in(A+A)$, then by its definition we have $x=a_1 + a_2$ for some $a_1,a_2\in A$ I guess I could naively say that $a_1+a_2 = 2(a'_1+a'_2)$ where $a_i=a_i/2$ for $i=1,2$ and I guess $(a'_1+a'_2)$ might not be an element of $A$ in some concrete case but I am not able to come up with anything and I've spent more time than I would like to admit. Any suggestions?  Thank you. Creating and configuring .bash_profile I was setting path for anaconda. an answer to a question  has the following solution. I searched for .bash_profile, but I can't seem to find it. How do I setup this file and get it to run on startup? How can I find out which app is putting ads in my notification bar? Possible Duplicate:          Recently advertisements have started appearing as notifications in my phone's notification bar. The icon on the ad are either a green plus sign or a white star with a red circle inside it. There is no indication in the notification as to which app it came from.  I haven't installed any new applications, so I assume that some application updated to include this intrusive new ad system. Ads only show up at irregular intervals once every few hours, so removing all my apps one by one until the ads stop is not really a viable option, since I would have to wait several hours in between each uninstall to see if another ad appears. (I'm sure this is by design.)  So is there any way to figure out the source application of these notification ads?  My phone is a rooted/unlocked/whatever HTC Droid Incredible running MIUI. What, exactly, is transferred along supply lines? Supply routes are great when a settlement is just starting out to get things off the ground, but what is specifically transferred along them? I know anything on the  Junk, Aid and Mods tabs are transferred, and Fusion cores and Power Armor pieces aren't. Does that mean weapons, armor and ammo aren't transferred at all?  And what about Food and Water resources? Can I build a farming community with a surplus of food and use that to feed a merchant-only settlement, or are local crops always required? Ditto water. Debug a java application without starting the JVM with debug arguments Normally to attach a debuger to a running jvm you would need start the jvm with arguments such as the following:  &gt; java -Xdebug -Xrunjdwp:transport=dt_socket,address=1000,server=y,suspend=n   Now if I want to debug a process that wasn't started in debug mode, what can I do?  This situation arrises when a production system (i.e. started without debug args) exhibits a 'random' (I use the term loosely) bug. So I can't restart the jvm with the appropriate arguments, because nobody knows how to reproduce the bug again. Is it impossible to attach to the JVM in this situation?  Just to clarify it is not possible to use tools like jdb to attach to already running JVMs unless they were started in debug mode  from the JVM man page     Another way to use jdb is by attaching it to a Java VM that is   already running. A VM that is to be   debugged with jdb must be started with   the following options: Can I use Wi-Fi and cable (Ethernet) networking at same time? I am on an intranet that is not connected to the Internet and a Wi-Fi router with connection to the Internet. When I am connected to the wireless network, I can browse the Internet, but I cannot browse my LAN with my Ethernet cable connected.  How can I browse the Internet via my Wi-Fi router and at the same time browse my local LAN web application via my connected Ethernet cable? There has got to be the establishment of a universal auxiliary language.   Does the verb got add more to the context or is it there just for emphasis? Is it even grammatical?  Using Google-Ngrams I found a few similar versions as follow: . For example;   For many from the North, however, it has seemed difficult and there has seemed to be a problem. There has come to be a convolution between this become enmeshed concept of marriage as it exists in the sacred and how it exists in the secular. Most of the time since I have been here, there has appeared to be considerable feeling in the minds of a few. There has had to be some negotiation, obviously, but I think we provided what our soldiers need and what our country needs.   In general, I wanna know if 'have/has'+past-participle+'to be' is grammatical. Non-na­tive speak­ers of­ten get con­fused about what the var­i­ous tens­es  and as­pects mean in English. With in­put from some of the folk here I've put to­geth­er a di­a­gram that I hope will pro­vide some clar­i­ty on the mat­ter.  I of­fer it as the first an­swer to this ques­tion. Con­sid­er it a liv­ing doc­u­ment. In­put is wel­come, and good sug­ges­tions will be  in­cor­po­rat­ed in­to the di­a­gram.    No­ta bene: What this is not is a dis­cus­sion of whether there are  more than two tens­es in English. , to which this ques­tion is not in­tend­ed to sup­ply ar­gu­ments one way or the oth­er.  Here, the aim is to pro­vide an overview of what con­struc­tions English-speak­ing peo­ple use for con­vey­ing in­for­ma­tion about ac­tions re­fer­ring to past, present, and fu­ture, and to pro­vide it first and fore­most to pre­cise­ly the peo­ple who are like­ly to use "tense" as a catch-all term in their search, rather than to lin­guists who know bet­ter.  Break­ing News There is now an ex­cel­lent ELU blog ar­ti­cle ti­tled  . It is high­ly rec­om­mend­ed read­ing. Is there any online resource that can tell me what visa rules are for passport holders of a specific country? When thinking about travelling, I often have to think about a place to visit, and then look up visa rules for that particular country. This can be a fairly painful process because official government sites can often be hard to find, and advice on (say) guidebooks or Wikitravel tends to be generic.  Is there any resource where I can enter my nationality/residency, and then look up a list of visa rules for various countries? What is a good data plan for Internet surfing in northern Italy? I've checked the webpages of some their providers, but franly, just like in the case of those in my own language, I literally cannot find my way around them. So if you wouldn't mind sharing a word of two or advice.  I'm looking for a good solution for mobile internet surfing in northern Italy, that can be connected to a laptop (you know, that usb stick with a SIM card inside kind of thing). 15 Gb or so at some decent speed. Can you perhaps give a recommendation or two of what to get?    Edit: Just to define what I'm looking for exactly. A data plan of 15 Gb with an internet key (usb stick into which a SMS card goes) that you plug into a laptop. Preferably non-contractual, so I can cancel when I leave. I am not interested in surfing on my mobile phone since due to size I still prefer the smaller Nokia-like models for calls (smaller to carry) - no internet on them. Seeking neighborhood boundaries globally? Besides Zillow's creative-commons licensed  shapefiles, what sources of neighborhood boundaries are there? Not just in the US, but all over the world.  Free/open source is ideal, but paid sources could be interesting too. How to delete all files in a current directory starting with a dot? Enumerate within TikZ node Why is the picture not inserted? I'm playing as a khajit in skyrim, going to assassinate Beitlid in Dawnstar. Now, the first time I did it on her porch and just killed her with the Blade of Woe. I got caught somehow, whatever, so I loaded a previous save because mid-jailbreak the guards decided to just attack instead of attempt an arrest.  Then I tried sniping her... and now my arrows have FED, Flight Erectile Dysfunction. They fly... like two feet before suddenly dropping off. It's weird. It doesn't matter how long I hold the trigger, it just droops. How to convert strings into integers in Python? Human vs. alien to avoid extinction by omnipotent being Sequence of triangles with exponentiated sides Let $a,b,c\in\Bbb R^+$. For any given $n\in\Bbb N$ there exists a triangle with sides $a^n,b^n,c^n$. Show that at least two of $a,b,c$ are equal.   I know that you can create inequalities for $a^n,b^n,c^n$, but what's next? Bold name in bib when having a prefix in last name