How to you edit the /etc/hosts file? My father put every video site on the internet on and he won't tell me how to get rid of it. I need an answer because tinypic and youtube are on it!
I'm new at Linux and I just download Ubuntu 12.04 LTS.  I found a spot that showed me how join my Windows Active Directory.  It has me add couple lines into the 'hosts' but I'm not able to edit the file because I do not have the permission.  I'm not the owner.  I use chmod with it rwx and still it will not let edit the file.  How do you change the permission?  Thanks
LWC to display salesforce objects as a picklist onclick I have a requirement where I need to display list of salesforce objects as a picklist when a radio button is clicked.  Being new to LWC development, I could not figure out what is the right approach to do so. I have come across  from Salesforce articles where we can display radio buttons but as per my scenario, i need to display list of all salesforce objects as picklist when a radio button option is selected.  Can anyone please suggest the right approach to do so. Should I flag/down-vote "Draft Answers"? I've been finding "answers" that are slapped together and submitted, with the sometimes explicit intention of "I'm going to edit this".  e.g.   This seems silly, and I think ought to be discouraged.  Is the proper response "oh, how annoying", commenting, down-voting, flagging?  I'm heistant on the last two becuase sometimes they are edited (sometimes within the 5min grace) and become good answers, and then there's an unnecessary dv or flag. How can I copy one side of a rig to the other? Metric on Cartesian Product I'm currently stuck on an exercise where I need to show that if $(M,d)$ and $(N,\rho)$ are metric spaces, then $d_2((a,x),(b,y)) := \sqrt{d(a,b)^2 + \rho(x,y)^2}$ defines a metric on $M\times N$. I've already shown that the basic criteria of a metric are met, but I still need to show that the triangle ineqaulity holds.  I've tried using the triangle inequality on $d$ and $\rho$ and estimating the square root with $\sqrt{a^2+b^2}\leq a+b$, but regardless of which order I've used them in, I seem to overestimate my target. I thought maybe I somehow need to use Cauchy-Schwarz, but I don't know how. I would like to know what would be the best way to do unit testing of a servlet.   Testing internal methods is not a problem as long as they don't refer to the servlet context, but what about testing the doGet/doPost methods as well as the internal method that refer to the context or make use of session parameters?  Is there a way to do this simply using classical tools such as JUnit, or preferrably TestNG? Did I need to embed a tomcat server or something like that? Exclude bounties from affecting privileges Why disable Fast Boot on Windows 8 when having dual booting? Why is everybody keep mentioning to disable Fast Boot on Windows 8 if you have installed alongside Ubuntu? Is it something that is recommended only for UEFI machines or is it a suggestion for Legacy BIOS machines as well? Is it because it makes the Windows partition inaccessible from Linux or there is another more serious reason to disable it? Difference between "did save" and "saved" What is the difference between the two following sentences?     1) Where did you save that file?   And      2) Where you saved that file ? How do I remove a summoned Ender Dragon with no AI? So I used the command /summon EnderDragon ~ ~ ~ {NoAI:1} so that I would have an Ender Dragon that would just sit there.    I then wanted to get rid of it, but doing /killall EnderDragon didn't work, neither did /killallnpc, and I can't seem to do any damage, even with a diamond sword and maximum strength using commands.    I'm not sure why I can't get rid of it; I think it's because the dragon has no AI, but I need to get rid of it somehow, any ideas? What are irreducibles in the ring $R$ of entire functions? Here's how far I have gone:  I first find the units in $R$. Let $f$ $ \in $ $R$ be a unit. Then $\exists$ $g$ $\in$ $R$ such that $fg=1$, i.e $f(z)g(z)=1$ $\forall$ $z$ $\in$ $\Bbb C$.  Then, $f(z)$ $=$ $\frac 1{g(z)}$ $\forall$ $z \in \Bbb C$. Hence $f(z),g(z) \neq 0$ $\forall$  $z \in \Bbb C$.  Now to find the irreducibles, let $f \in R$ be an irreducible. Hence whenever  $f(z)=g(z)h(z)$ for $g,h \in R$, then $g$ or $h$ is a unit.  Let $h$ be the unit and $\alpha$ be a zero of $f$. Then $f(\alpha)=g(\alpha)h(\alpha)=0$ $\Rightarrow$ $g(\alpha)=0$. Hence $z-\alpha$ is a factor of $g$. So $g(z)=(z-\alpha)^ng_1(z)$ for some $n \in \Bbb N$, where $g_1$ is unit. Since $f$ is irreducible, hence $n=1$.  I'm stuck here. What can be my next step? Centering polygon on specific coordinates using QGIS I need to place a set of polygons onto a set of points, so that each polygon is centered on its corresponding point. How do I do that? In MapInfo I can just manually edit the coordinates of the center, but there does not seem to be an equivalent in QGIS. After hitting 80% LTV, my mortgage lender refuses to remove PMI. Any recourse? Equivalent definitions for simple connectivity I have just got a new laptop, It is running Windows 7 Home Premium.  I have shrunk the windows partition to give me some empty space and now I want to install ubuntu.  From Windows my partitions look like:   So now in the ubuntu live cd If I hit install and go manual the partitioner looks like   So I thought I could just select the empty space and be away laughing, but when I hit it I get executing web service using postman How many attacks can a fighter with two-weapon fighting make at 5th level? In Batman #1 in the New 52, when we visit the Batcave for the first time, we see a dinosaur:     What... is up with that? It is a completely awesome cave decoration - but what else is it? Is it a non sequitur or is it a call back to an earlier storyline? I imagine it's the latter – a life-size T-rex model is an expensive piece of decor, even for Bruce Wayne.  Bonus points: are there any other relics from past storylines visible in this Batcave?  Update: here's a shot of the other panel that gives us a view of the "showroom" (including the huge dice). How to disable the "highlight changes" feature? Our admins deployed a new version of Notepad++ (version 6.3) on our machines, and this version is highlighting all changes done in a file by default. It does so by setting the background color of every modified line to a bright orange, which I find very distracting.  We  have dozens of plugins installed, but I double checked and we do not have the "Change Markers" plugin (which could be the culprit).  Any idea where I can disable this feature? Changing the highlight color could also be an option. Representing network flows? For a project I'm working on, I need to represent network flows over 1,000 zones with directionality.    Any suggestions on displaying the information in a nice and non overwhelming way?  Any examples on displaying network flows in heavy urban areas? Color suggestions and thickness schemes? any "not to dos" when representing network flows? This is a  about File Permission and Why 777 is "destructive".   I'm not asking how to fix this problem, as there are a ton of references of that already on Server Fault (reinstall OS). Why does it do anything destructive at all?  If you've ever ran this command you pretty much immediately destroy your operating system. I'm not clear why removing restrictions has any impact on existing processes. For example, if I don't have read access to something and after a quick mistype in the terminal suddenly I now have access well... why does that cause Linux to break?