I'm using Ubuntu without trying to make the Bluetooth work (because I don't really need it) for more than a year, and I'm aware it doesn't work because my wireless adapter isn't originally compatible with Linux. So on every kernel upgrade I reinstall the MT7630E driver which comes from  in order to use the Wi-Fi, but I stopped worrying about making the Bluetooth work as well...  Until on a reboot the Bluetooth started to work (I found out because I had a the tray icon which is usually not there), and I thought that was a good thing up to when I plugged of the Ethernet cable and noticed the Wi-Fi didn't work (i.e. no option to turn it on, like when I have to reinstall the driver). So I just rebooted, because I have more use of Wi-Fi than Bluetooth, and all was back as usual (Wi-Fi, no Bluetooth).  As I said I don't really mind that the Bluetooth works or not (better if it does though), but why would it work once and not the rest of the time ?    The only "special" actions prior to this event, that I can think of, are :   I installed grub-customizer (which I no longer had since a fresh install a month ago) ; I rebooted under Windows 10, which I don't use often (so this is why I hadn't installed grub-customizer yet) ; Did what I had to do on Windows (maybe some upgrades as well) I rebooted back to Ubuntu (I always reboot and don't shut down to ensure there is not hardware conflict - due to hibernation or I don't know what - when I switch between OSs).   And then was the Bluetooth working.
It worked with the pre-installed Ubuntu, but after re-installing Ubuntu dual-boot with Windows 8.1, the WiFi is not working.  Is there a driver for this adapter that will work on Ubuntu 12.04?
Determine if Type is a pointer in a template function Attack moving or Attack Canceling I watch streams sometimes and i see the high elo Ranged AD move between each shot. Do they gain anything with this? And if so whats a good way to practice it. How to fix the MBR for Windows 7? I have installed Ubuntu as dualboot with Windows 7. Now I'm no longer using Ubuntu so i removed the Ubuntu partition and added the unallocated space to my Windows 7 partition. But after I restart my computer it goes directly to the error:   error: unknown filesystem grub rescue &gt;   I don't have the original Windows CD to fix the MBR. Is there a way to fix this error without using the Windows CD? How to make tr aware of non-ascii(unicode) characters? How to change password using usermod? I am superadmin of a server and like to change password of an existing user . How can I do that ?  I tried   usermod -p 'new-password' john   but it didn't worked ? How to read dash files How can I read a dash file from the terminal other than delimiting it with ./  For example to read a - file we can read it by   cat ./-file_name  Q: Is there an alternative way to achieve the same thing? How to limit Docker total resources? I'm trying to limit the total resources accessible from docker (for example only 90% of the RAM and 1500% of the CPU). I cannot use CPU and RAM limit when I'm launching my containers, that's why I need to limit the total resources available for docker containers.  I have around 20 containers which can consume the maximum CPU and memory but not at the same time, so I cannot set the CPU and RAM limit, that's why I need to limit the total resource used by docker  First of all I've created a slice: I tried the instruction above, but impossible to limit both the RAM and the CPU usage  # /etc/systemd/system/docker_limit.slice [Unit] Description=Slice that limits docker resources Before=slices.target  [Slice] CPUAccounting=true CPUQuota=700% #Memory Management MemoryAccounting=true MemoryHigh=20G MemoryMax=25G MemoryMaxSwap=10G   And my daemon.json  {   "insecure-registries" : [ "url1", "url2"],   "cgroup-parent": "docker_limit.slice" }   But when I try from a container:  stress --vm-bytes $(awk '/MemAvailable/{printf "%d\n", $2 * 0.9;}' &lt; /proc/meminfo)k --vm-keep -m 1   I can see from docker stats it's using 111Go of Ram (full capacity of my server)  stress --cpu 16   I can see from docker stats it's using near 1600 % (full capacity of my server)  I think I've missed something but I don't know what What makes frictional force the centripetal force of a car turning along a curve? As friction is the opposing force and acts anti-parallel so there is no component of frictional force towards the center,right? Then how can frictional force be centripetal force? Avoid footnotes from appearing before mark I have these \footnotetext and \footnotemark as illustrated in the figure below. I used these tags to enforce my own numbering (and because using only \footnote was not working the way I expected).    The code I use for generating the mark is:   \caption{Lista de notas presentes em um piano de 88 teclas,  com notação em Inglês, frequência em Hertz e comprimento de  onda em centímetros.\protect\footnotemark[1]}   Is there any way I can enforce my \footnotetext to appear in the same page as my \footnotemark? I've generated some JSON and I'm trying to pull it into an object in JavaScript. I keep getting errors. Here's what I have:  var data = '{"count" : 1, "stack" : "sometext\n\n"}'; var dataObj = eval('('+data+')');   This gives me an error:   unterminated string literal   With JSON.parse(data), I see similar error messages: "Unexpected token ↵" in Chrome, and "unterminated string literal" in Firefox and IE.  When I take out the \n after sometext the error goes away in both cases. I can't seem to figure out why the \n makes eval and JSON.parse fail. What are Extension Tubes? What are Extension Tubes? I'm seeing an odd character like a very flat U, where there should be a space, with the listings package. See example below. Does anyone have any idea why this is happening, or how to get rid or work around it?  \documentclass{standalone} \usepackage{underscore} \usepackage{listings} \usepackage[usenames,dvipsnames, rgb, svgnames, x11names]{xcolor} % Text layout \topmargin 0.0cm \oddsidemargin 0.5cm \evensidemargin 0.5cm \textwidth 16cm \textheight 21cm  \lstnewenvironment{cmd}[1][]{%   \lstset{language=sh, backgroundcolor=\color{LightSteelBlue1}, #1}} {}  \begin{document} \begin{cmd}[caption=Configuration file section including filters] [affy6] [...]     [[hapmap]]     phenofiles = "data/Hapmap6.0/Pheno/hapmappheno_909.csv",     genofile = "/data/snppy/Hapmap6.0/Geno/birdseed-v2.calls.txt"     anno_filter = "chromosome = 5"     idlink_filter = "studyid = 'CEU'"     some_other_stuff = "foo = bar" \end{cmd} \end{document} How do I check if an integer is even or odd? How can I check if a given number is even or odd in C? Are the following sentences grammatical or not? If not, does substituting a to-infinite make them grammatical? (Optional: designate if the sentence expresses purpose, reason, aim, or function)  1 I have decided to purchase a jet for getting to NYC and back more quickly. 2 I have decided to buy a jet for having a quicker way to get to NYC and back.  This is my only reason and aim; this will be the jet's only purpose and function.  3 I hate hairdryers, so I am buying a space heater for drying my hair more naturally, and that is my only aim &amp; purpose &amp; reason and that will be its only function 4 For having a lasting shine in your hair, buy ShineOn Shampoo. 5 My neighbor and I have decided to cooperate more for having a better life together.   Research done: ELL  (Note the  here is a restatement of Cambridge Dictionary's ) ELL  ELL  BBC English  (Currently the best site I've found.) ELU  All of which have answers that I find  (i) incomplete (ii) contradictory (iii) terribly confusing, if not (iv) wrong. To sort through the haze, I am focusing on one issue. Background Some sources say that you need to use a to-infinitive for expressing purpose, aim, function, reason, etc. I find these to be rather hazy distinctions, given that the ODO defines  as The reason for which something is done or created or for which something exists and the same work lists as : aim, reason, function, etc. It is my assertion that at least some of the following sentences demonstrate that one can use the -ing form (be it a gerund, verbal noun, participle) to express individual purpose (aim, reason, function, intention, whatever you want to call it). Do you agree, or not? Why (not)?  In shorter terms, are the sentences grammatical? or do we have to substitute a to-infinitive (including in order to + infinitive) to make them grammatical? (Optional: designate if the sentence expresses purpose, reason, aim, function, etc.) How to modify a text file? What Scoping Class Will  Use? In reading through the release notes I was excited to discover the introduction of a new  tag. That should help lower the barriers to entry! However, the release notes do not specify what the name of the scoping class should be. And since , we're left guessing.  To be explicit about what I'm trying to understand, take  for example:  &lt;apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0"&gt;     &lt;html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en"&gt;         &lt;head&gt;             ...             &lt;apex:stylesheet value="{!URLFOR($Resource.REPLACE_WITH_NAME_OF_SLDS_STATIC_RESOURCE, 'assets/styles/salesforce-lightning-design-system-vf.min.css')}" /&gt;         &lt;/head&gt;         &lt;body&gt;              &lt;!-- REQUIRED SLDS WRAPPER --&gt;             &lt;div class="REPLACE_WITH_NAME_OF_CUSTOM_SCOPING_CLASS"&gt;             ...         &lt;/body&gt;     &lt;/html&gt; &lt;/apex:page&gt;   If I replace the &lt;apex:stylesheet&gt; with &lt;apex:slds&gt;, what should I specify for REPLACE_WITH_NAME_OF_CUSTOM_SCOPING_CLASS? I have 3 folders with large amount of data in each which has to be maintained seperately. Can I create a sym link or shortcut.in windows which should show me the merged contents of the 3 folders. I am not looking for library conf in Win7.   Any suggestion is highly appreciated. I encountered this particular combinatorial identity :$$\begin{align}&amp;1\dbinom{n-1}{r-1}+2\dbinom{n-2}{r-1}+\cdots+(n+1-r)\dbinom{r-1}{r-1}\\=&amp;\dbinom{n}{r}+\dbinom{n-1}{r}+\cdots+\dbinom{r}{r}\\=&amp; \dbinom{n+1}{r+1}\end{align}$$How does one figure it out? Can you connect to a LAN server without being on the same internet connection Can someone please give me the prerequisites and mathematics required for string theory? Are there some good references to study it, both online and in a book? Please consider I am a newbie in string theory, and only about up to the level explained in Hawking's Brief History of Time and Penrose's Road to Reality. I would prefer something which does not omit rigor, but builds it up.Also, are there good online lectures on this?  (I have covered most of GR, but I am not really comfortable with advanced Quantum mechanics. I have studied QM only from Griffith's book, and a few McGraw hill lecture notes.)