I have installed a ubuntu 14.04 in my company, and I want to block websites in my browser Firefox/Chorme, but how can I do this?   Thanks!
I bought my kids a PC and installed 12.04 (Unity) on it.  The bottom line is, I want my children to use the computer unsupervised while I have confidence they cannot access anything inappropriate.  What I have looked at:  I was looking at Scrubit a tool which allows me configure my wifi router to block content and this solution would also protect my other PC and mobile devices.  This may be overkill as I just want the solution to work on one PC.    I also did some Google searches and came across the application called .  My experience of OSS is that the best solutions frequently never appear first on a Google search list and in this case I need to trust the methods therefore my question is very specific.   I want to leverage your knowledge and experience to understand What is the best way to restrict adult content on 12.04 LTS as this is important to me.  It maybe a combination of things so please don't answer this question "try this or that", then give me some PPA unless you can share your experience of how good it is and of course if there are any constraints.
I've got two branches that are fully merged together. However, after the merge is done, I realise that one file has been messed up by the merge (someone else did an auto-format, gah), and it would just be easier to change to the new version in the other branch, and then reinsert my one line change after bringing it over into my branch. So what's the easiest way in Git to do this? $C^2 $embedded in holder space? I have a question on Holder space.Is the space $C^2(\mathbb{R}^n)$ embedded in $C^{1,\alpha}(\mathbb{R}^n)$? I think in the bounded domain case, this should be true. But what if in the case where the domain is not bounded? Thanks for any hint! How to identify polygons with "flag" sliver errors Working in ArcMap, I have come across errors in a polygon layer that I will call "flag slivers" (taken from similar language in parcels call "flag lots").  These sliver polygons (see image below) are typically composed of just one additional node that user has  accidentally added.    In the images below, the "flag" and the "flagpole" are one single-part feature where the "flagpole" just overlaps itself.  The left-hand image has a total of 5 nodes.     When seen alone the errors are very obvious, but when multiple polygons are adjacent, they are nearly impossible to see because they appear to be the boundary between 2 polygons.  This likely happens because they are using a shapefile based editor, and therefore I cannot implement any topology-based editing rules to prevent this from happening in the future.  Does anyone have a way of identifying and resolving these types of errors?  I would prefer an automated method of both identification and resolution since field users are the ones who created the errors, but I am stuck cleaning up after them.  Thanks. different result for yyyy-mm-dd and yyyy/mm/dd in javascript when passed to "new Date" tags of mundanity that are gratuitously applied to posts It's an additional unnecessary burden to the honest stacker during suggested edit duty. A question presents some code then the minor editor adds a tag like 'for-loop' or 'forms'.  These tags are so general that they only have a handful of followers. They serve no useful purpose and are the cause of many too minor edits. Why not permit culling of generic tags? Let $ \sigma(A)$ be the set of all eigenvalues of $A$. Show that $ \sigma(A) = \sigma\left(A^T\right)$ where $A^T$ is the transpose matrix of $A$. I have a site on my webhotel I would like to run some scheduled tasks on. What methods of achieving this would you recommend?  What I’ve thought out so far is having a script included in the top of every page and then let this script check whether it’s time to run this job or not.  This is just a quick example of what I was thinking about:  if ($alreadyDone == 0 &amp;&amp; time() &gt; $timeToRunMaintainance) {    runTask();    $timeToRunMaintainance = time() + $interval; }    Anything else I should take into consideration or is there a better method than this? How to mount a RAM disk on startup? I'm trying to mount a RAM disk on startup with this:  /Users/Aram/Development/Tools/ramdisk.sh  diskutil erasevolume HFS+ "RamDisk" `hdiutil attach -nomount ram://800000`   com.aram.ramdisk.plist  &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE plist PUBLIC "-//Apple//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;Label&lt;/key&gt;         &lt;string&gt;com.aram.ramdisk&lt;/string&gt;         &lt;key&gt;ProgramArguments&lt;/key&gt;         &lt;array&gt;             &lt;string&gt;/bin/sh&lt;/string&gt;             &lt;string&gt;/Users/Aram/Development/Tools/ramdisk.sh&lt;/string&gt;         &lt;/array&gt;         &lt;key&gt;RunAtLoad&lt;/key&gt;         &lt;true/&gt;     &lt;/dict&gt; &lt;/plist&gt;   And then running:   sudo chown root:wheel /Library/LaunchDaemons/com.aram.ramdisk.plist sudo launchctl load -w /Library/LaunchDaemons/com.aram.ramdisk.plist   But I get these in the console:  1/08/12 1:29:25.982 PM fseventsd[64]: could not open &lt;&lt;/Volumes/RamDisk/.fseventsd/fseventsd-uuid&gt;&gt; (No such file or directory) 1/08/12 1:29:25.982 PM fseventsd[64]: log dir: /Volumes/RamDisk/.fseventsd getting new uuid: 102D7293-F1F1-4640-AA50-D547C365339F  1/08/12 1:29:24.561 PM sudo[1193]:     Aram : TTY=ttys000 ; PWD=/Library/LaunchDaemons ; USER=root ; COMMAND=/bin/launchctl load -w /Library/LaunchDaemons/com.aram.ramdisk.plist  1/08/12 1:40:17.052 PM com.apple.launchd[1]: (com.aram.ramdisk) Throttling respawn: Will start in 8 seconds   It works if I set KeepAlive to true, but then it creates a RAM disk every 10 seconds.  Is there a way to delay the script for 10 seconds before running? Multirow and Multicolumn with missing lines I deleted an answer which had no upvotes or downvotes, but after some time I saw that my reputation was -2 and the reason is linked to my search engine.    I want to know why this happened and what "linked to my serach engine" means? Having briefly looked at Haskell recently, what would be a brief, succinct, practical explanation as to what a monad essentially is?  I have found most explanations I've come across to be fairly inaccessible and lacking in practical detail. On the Android app, could we have the ability to flag comments we've previously upvoted? This is a fairly regular need for me, and I ran into it again earlier: I flag comments as obsolete when they are, and fairly often, one of them will be a comment I've upvoted.  For an example of a typical case: a comment suggests a great improvement to a question, I upvote it, the author performs that improvement, the comment is now obsolete and (on my PC) I flag it as obsolete. The comments get cleaned up and the question moves on.  There's a request that's been around since 2011 for the site itself: . It's implemented by SOUP (as described ), but the Android app doesn't have a SOUP available to add this functionality to the app for me. Drop In Reputation - But No Record Of Why? Note: This question is specifically about installed, desktop software. There is  specifically about free cloud-based software and services.  What free programs should every GIS user have installed?  I'm not necessarily referring to ESRI extensions or open-source products, but others that increase your productivity and ability to handle GIS tasks.  For example:    for writing code snippets or editing XMLs.  or  for quick graphic editing. I use  daily and I think it's worth mentioning. It's not GIS-specific, but it's a great tool, especially if used independently and on multiple projects where purchasing time-management software isn't reasonable. While it's not focused on GIS development,  has proven to be very useful in terms of increasing productivity and monitoring system resources. I have created a GIS "sidebar" on my desktop that holds all of my development tools, as well as links to the online resources I used the most. It's nice to be able to use one location, rather than many (e.g. taskbar, bookmarks in browser, search engine). How to send text to Notepad in C#/Win32? I'm trying to use SendMessage to Notepad, so that I can insert written text without making Notepad the active window.  I have done something like this in the past using SendText, but that required giving Notepad focus.  Now, first I'm retrieving the Windows handle:  Process[] processes = Process.GetProcessesByName("notepad"); Console.WriteLine(processes[0].MainWindowHandle.ToString());   I've confirmed it's the right handle for Notepad, the same shown within Windows Task Manager.  [DllImport("User32.dll", EntryPoint = "SendMessage")] public static extern int SendMessage(int hWnd, int Msg, int wParam, int lParam);   From here, I haven't been able to get SendMessage to work in all my experimentation.  Am I going in the wrong direction? I've always wondered about this and never found a good solution.  But  reminded me of it.  When I have a URL on my website it can be displayed and accessed any of the following ways:  http://www.somesite.com/subdirectory http://www.somesite.com/subdirectory/ http://www.somesite.com/subdirectory/index.htm http://www.somesite.com/subdirectory/index.html http://www.somesite.com/subdirectory/index.php http://www.somesite.com/subdirectory/index.asp http://www.somesite.com/subdirectory/some-relevant-keywords http://www.somesite.com/subdirectory/some-relevant-keywords.htm http://www.somesite.com/subdirectory/index.php?page=some-relevant-keywords http://www.somesite.com/subdirectory/?page=some-relevant-keywords http://www.somesite.com/subdirectory/?page=some-relevant-keywords&amp;even=more-keywords   etc...   Now, I can understand the merits of adding keywords in the URL. Even the most basic SEO guide will mention to do just that. ... but for the sake of sanity, clarity, ease of reading, ease of use, and so on, including web compliance ...  Is it preferred to have a file-extension or not?  Really, deep down my logic tells me: yes, it should. The reason being is this stems back to the days of the past when the internet was mostly USENET, FIDONET, FTP and GOPHER.   See, if a URL has no filename, then it normally is considered a directory. This is where index.htm came about, because this by default lists the directory if no index file is found. However, soon enough, web programmers started overriding this and using index.htm to actually serve the content of that web directory as a page. The main difference, was markup language was added in, and this was parsed in the browser. With this markup language, the Content-Type:text/html; tag in the response header became the indicator to what filetype it was for any file. HTML seems to be the only "filetype" that just doesn't have consistently named extensions, except for when they are saved.  Unfortunately, once web pages became the main thing, it became a security error to actually display the directory contents, so everything stayed hidden with only the actual URL content being displayed.   Not to mention the cross-platform file-naming wars.. windows based require a 3 or less digit extension, and unix/mac can have more. So should it be .HTM or .HTML or NONE and let the platform decide?  So in essence, I guess what I am trying to figure out is beyond SEO and dealing more with aesthetics and web compliance. "Me and Joey's" or "mine and Joey's" Which of the following should I use?     Today is me and Joey's anniversary   Today is mine and Joey's anniversary I have defined my own language whose syntax is very close to the one of Pascal. I would like to type the following program for instance. Many people use the packages algorithmicx or algorithm2e to print programs, but it seems that we have to use their specific keywords of its syntax like procedure, end while.  I just want to indent spaces when needed, and bold some words when I want (sorry that I could not bold letters in the following figure). Do I have to use  texttt for each line? Also, with verbatim, I could not bold words...  Also, as the program is not large, I would need to put it on the left side of the page, and leave space for some explanasion text on its right hand side. So I  guss I need to get them all together, and use multicols.  Could anyone help?  program test                                      some text here var   i : integer;                                    ...    b : boolean; begin    i := 1;                                        ...    b := true;    while i &lt; 15 do       i := i  + 1;       b := not b                                  some text here    od end   Edit1: Following @Werner's tabbing solution, I have made the code a minipage:  \begin{minipage}[t]{0.48\linewidth}% \begin{tabbing} Werner's solution \end{tabbing} \end{minipage}\hfill \begin{minipage}[t]{0.48\linewidth} a paragraph \end{minipage}   Actually as the code shows, I want the texts to be another separated minipage on the right hand side of the code. I have then 2 questions:   is it reasonable to make 0.48\linewidth instead of 0.5\linewidth? 0.48\linewidth is a conventional choice? is it possible to make a frame around the code, and use \caption and \label to make it a reference (I prefer figures)? In SQL Server, how do I "floor" a DATETIME to the second/minute/hour/day/year?  Let's say that I have a date of 2008-09-17 12:56:53.430, then the output of flooring should be:   Year:  2008-01-01 00:00:00.000 Month: 2008-09-01 00:00:00.000 Day: 2008-09-17 00:00:00.000 Hour: 2008-09-17 12:00:00.000 Minute: 2008-09-17 12:56:00.000 Second: 2008-09-17 12:56:53.000 Meaning of Conditional sentences with 'should' and 'happen to'