Disable the right click, ctrl +c , ctrl+v and selection functionalities
How to Disable Copy Paste (Browser)
How to skip kernel update? 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. Trying to find the original story (I read it in Russian translation, original was most likely English unless it was Lem).  The story plot had artificial birds designed to serve as cops. The birds started attacking humans who were percieved as being aggressive towards anything alive. So they created more advanced birds to protect against the first ones. This worked for a while until the second kind started attacking humans as well. It ended with the idea that they would need another generation to attack the second-generation birds.  The story wasn't very long. I read it a while back (mid-1980s, which means the original was written even earlier, probably before 1980).  Despite a somewhat Asimov-like "misbehaving robots" topic, I'm pretty sure it wasn't Asimov. Windows 7: Disable Lock Workstation After 10 Minutes Using Group Policy On my Windows 7 PC the system becomes locked after 10 minutes of inactivity. Usually I would find this setting next to the screen-saver configuration. The setting is grayed out, however.  I think this is because of corporate group policy. As I am an administrator on this computer I should be able to reconfigure the group policy setting using gpedit.msc.  What is the group policy setting that I need to change to prevent automatic locking of my workstation?  Edit: I don't have configured a screen-saver. I also want to continue to be able to lock the workstation manually. How do I start Nautilus as root? I've got a problem with Nautilus in Ubuntu 12.04 LTS.  When I run the command gksu nautilus /, the password ask box appears and I type my super-user password, then the password box disappears and Nautilus is not opened.  When I try to open Nautilus as a normal user in with the command nautilus, the folder is opened.  When I try in terminal   $ sudo nautilus   I got the following error  $ sudo nautilus /  ** (nautilus:8523): WARNING **: Command line `dbus-launch --autolaunch=2c8ce9b7da2257c2609b749700000007 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n Could not parse arguments: Cannot open display:   How can I fix this error? What makes matter travel along geodesics? The relativistic explanation of gravity is geometric, the motion of a body in a field of space-time distortion can be described as being at rest and travelling along a geodesic of that field, but why does it travel along that geodesic? What causes it to move? LINQ to SQL Where Clause Optional Criteria I am working with a LINQ to SQL query and have run into an issue where I have 4 optional fields to filter the data result on.  By optional, I mean has the choice to enter a value or not.  Specifically, a few text boxes that could have a value or have an empty string and a few drop down lists that could have had a value selected or maybe not...  For example:      using (TagsModelDataContext db = new TagsModelDataContext())      {         var query = from tags in db.TagsHeaders                     where tags.CST.Equals(this.SelectedCust.CustCode.ToUpper())                      &amp;&amp; Utility.GetDate(DateTime.Parse(this.txtOrderDateFrom.Text)) &lt;= tags.ORDDTE                     &amp;&amp; Utility.GetDate(DateTime.Parse(this.txtOrderDateTo.Text)) &gt;= tags.ORDDTE                     select tags;         this.Results = query.ToADOTable(rec =&gt; new object[] { query });     }   Now I need to add the following fields/filters, but only if they are supplied by the user.   Product Number - Comes from another table that can be joined to TagsHeaders. PO Number - a field within the TagsHeaders table. Order Number - Similar to PO #, just different column. Product Status - If the user selected this from a drop down, need to apply selected value here.   The query I already have is working great, but to complete the function, need to be able to add these 4 other items in the where clause, just don't know how! I'v found this proposition.  If $G$ is a finite  group , $ A \subset G $ a subset and $|A| &gt; \frac{|G|}{2} $ then $AA = G $.  Why this is true ? Compile error with \href ToC and \apacite I would like to edit my document but I have a compile error somewhere between the \href and the apacite but can't locate it. I've tried blocking out code and taking out references, with varying results.  \documentclass[a4paper,12pt]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc}  % TOC, Citations, Refereneces, and Appendicies \usepackage{apacite} % \cite{ref1,ref2} %Warning - unsupported tocstyle code \usepackage[tocindentauto]{tocstyle}     \renewcommand{\thesection}{\Roman{section}}      \renewcommand{\thesubsection}{\arabic{subsection}.}     \renewcommand{\thesubsubsection}{\roman{subsubsection}.} %\usepackage{hyperref} %\urlstyle{same} %\hypersetup{ %   colorlinks=true, %   urlcolor=cyan, %   linkcolor=blue, %   citecolor=green, %   filecolor=magenta, %   pdftitle={Sharelatex Example}, %   pdfpagemode=FullScreen, %} \usepackage[toc,page]{appendix}  \begin{document}    ...to be installed \cite{church13,hershkowits97}. \bibliographystyle{apacite} \bibliography{bibliography} \end{document}   Here are the bibliography.bib entries then  @ARTICLE{church13,    author       = {K.H. Church and H. Tsang and R. Rodrigiguez and P. Defembaugh and R. Rumpf},    year         = 2013,    title        = {Printed circuit structures, the evolution of printed circuit boards},    journal      = {Circuit Insight},    volume       = {},    number       = {},    pages        = {},    howpublished = {},     url          = {http://www.808multimedia.com/winnt/kernel.htm}, }  @ARTICLE{hershkowits97,    author       = {N. Hershkowits and R.A. Breun},    year         = {1997},    title        = {Diagnostics for plasma processing (etch plasmas) (invited)},    journal      = {Review of Scientific Instrumentation},    volume       = {68},    number       = {1},    pages        = {880--885},    howpublished = {}, } Time complexity of nested for-loop I need to calculate the time complexity of the following code:  for (i = 1; i &lt;= n; i++) {   for(j = 1; j &lt;= i; j++)   {    // Some code   } }   Is it O(n^2)? Looking for story title - younger gen waters down age-slowing drink of older gen, crammed into small apartment I remember a short story in which multiple generations of people being crammed into a small apartment in a city. The magical drink that either reduced or completely stopped aging was something like a soda that came in a six pack. The story focused on visual aspects of the drink at some point. The younger family members complained that their elders were living too long and apparently decided to water down the soda, I think that conclusion was ultimately left up to the reader. Many thanks for any help tracking down this story, might be one of Kurt Vonnegut's perhaps? How do I disable the alt-right click keyboard binding? Using Oneiric 11.10 and Unity. I want to disable the context menu that appears with Alt+RightClick. Alt+RightClick is a much used shortcut in Blender. It's possible to remap keys in Blender, but I was hoping to be able to turn it off in Ubuntu so that Blender get scontrol. I update my Blender installation often, so it's more convenient not to have to change settings every time. What's the difference between the atomic and nonatomic attributes? What do atomic and nonatomic mean in property declarations?  @property(nonatomic, retain) UITextField *userName; @property(atomic, retain) UITextField *userName; @property(retain) UITextField *userName;   What is the operational difference between these three? Custom post type - posts list - white screen of death i am getting a weird error - white screen in the list of posts for a specific Custom post type (just for that one)   tried deactivating all the plugins tried checking for error (debugging = true)   Still nothing the page just doesnt echos anything... (nothing in source too)  I am talking about such a url in the admin:     Here is register_post_type part i am using:    function register_submodelcpt() {     $labels = array(         'name'                  =&gt; __('Sub Models', THEME_NAME),         'singular_name'         =&gt; __('Sub Models', THEME_NAME),         'add_new'               =&gt; __('New Model', THEME_NAME),         'add_new_item'          =&gt; __('Add new Model', THEME_NAME),         'edit_item'             =&gt; __('Edit Model', THEME_NAME),         'new_item'              =&gt; __('New Model', THEME_NAME),         'all_items'             =&gt; __('All Sub Models', THEME_NAME),         'view_item'             =&gt; __('Watch Model', THEME_NAME),         'search_items'          =&gt; __('Search Models', THEME_NAME),         'not_found'             =&gt;  __('No Models found', THEME_NAME),         'not_found_in_trash'    =&gt; __('No Models found in trash', THEME_NAME),          'parent_item_colon'     =&gt; '',         'menu_name'             =&gt; __('Sub Models', THEME_NAME),      );      $args = array(         'labels'                =&gt; $labels,         'public'                =&gt; true,         'publicly_queryable'    =&gt; true,         'show_ui'               =&gt; true,          'show_in_menu'          =&gt; true,          'query_var'             =&gt; true,         'rewrite'               =&gt; array('slug' =&gt; 'submodels'),         'capability_type'       =&gt; 'post',         'has_archive'           =&gt; true,          'hierarchical'          =&gt; true,         'menu_position'         =&gt; 5,         'menu_icon'             =&gt; get_stylesheet_directory_uri().'/images/cpt/subcars.png',                     'supports'              =&gt; array('title', 'thumbnail', 'revisions', 'page-attributes')     );      register_post_type('submodelscpt',$args); } add_action('init', 'register_submodelcpt');   Did anyone encounter such an issuse? can you think of a reason this might happen?   Another weird thing when i change this:    To this:     The posts list loads correctly... Let $A$ be a square matrix of order $n$ such that $A^2 = I$.  Prove that if $1$ is the only eigenvalue of $A$, then $A = I$. Prove that $A$ is diagonalizable.   For  (1), I know that there are two eigenvalues which are $1$ and $-1$, how do I go about proving what the question asks me? This is something that I always find a bit hard to explain to others:  Why do XML namespaces exist?  When should we use them and when should we not? What are the common pitfalls when working with namespaces in XML?   Also, how do they relate to XML schemas? Should XSD schemas always be associated with a namespace? npm commands not working on WSL with zsh Add Virtualbox Shortcut in Unity Launcher to boot to a VM Can I create a shortcut to a virtualbox OS in the unity sidebar without it being on the desktop too.  I tried to right click in virtualbox and create shortcut on desktop then move it. but if i do it then delete the desktop shortcut it renders the unity shortcut useless.  Any ideas? In C# check that filename is *possibly* valid (not that it exists) Is there a method in the System.IO namespace that checks the validity of a filename?  For example, C:\foo\bar would validate and :"~-* would not  Or a little trickier, X:\foo\bar would validate is there is an X: drive on the system, but wouldn't otherwise.  I suppose I could write such a method myself, but I'm more interested in a built-in one. Suppose you cut a five year old's hair, save it for 10 years, and then use it for a Polyjuice transformation. What age do you turn into: The toddler or the teenager?