I know of PDFMod, which I rather like except it has one flaw, I can't seem to be able to add bookmarks before pre-existing bookmarks (see the attached image if this is unclear).   I've looked at this question:  -   That question does not deal specifically with bookmark editing, neither does it specify which software is freely available and which isn't.  I should add that I'm incompetent when it comes to installing software so any software that's not available in the Software Centre requires you to detail exactly how I'm meant to install it. Plus, I would specifically like a software that can handle large (like >80 MB) PDF files without lagging like crazy or closing down.
I know that there is a very similar question, but I'm not interested in highlighting. What I'm looking for is some tool in Linux to edit pdf files. I've tried pdfedit which did the work for me, but if freezes after a few edits. I've tried this tool under Ubuntu 9.10 and under KDE Fedora 14 and the same thing happens. I've tried Okular but the notations are too big to fill out exercises from pdf workbooks.    Is there any tool that suits this job? I don't care whether it is open source or I have to pay a reasonable price for it.
Elevating process privilege programmatically? Brownian motion - Hölder continuity Creating if-else condition with ArcGIS API for JavaScript combo boxes? How do I upgrade from 12.10 to 13.04? Redirect the output of a command in `time command` I am trying to time something using:  /usr/bin/time myCommand   However, since /usr/bin/time writes to stderr, if myCommand also writes to stderr, I will get more than just time's output on the stream. What I want to do is, redirect all of myCommand's output to /dev/null, but still write time's output to stderr. Using an example myCommand that writes to stderr of ls /nofile, we see that (obviously) there is no output at all with the following:  $ /usr/bin/time ls /nofile 2&gt; /dev/null $   Without any redirection, we see both the output from ls (to stderr) and the output from time (also to stderr):  $ /usr/bin/time ls /nofile ls: cannot access /nofile: No such file or directory 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 3776maxresident)k 0inputs+0outputs (0major+278minor)pagefaults 0swaps   What I want is something that simply produces:  $ /usr/bin/time ls /nofile &gt; RedirectThatImAskingFor 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 3776maxresident)k 0inputs+0outputs (0major+278minor)pagefaults 0swaps   Any ideas? Get Currently Executing Class/Method Name? I have seen a few different flavors of exception logging utility out there, and a common concept is to capture the class and method that were running when the exception was thrown. In the case that made me wonder this, the logger is used for more than just exceptions. It has method signatures like:  public static void logMessage     (LoggingLevel loggingLevel, String className, String methodName, String message)   It seems to me that we should be able to get the className and methodName parameters programatically. Can it be done? How? LINQ's Distinct() on a particular property I'm using Windows 7 as the host machine with VMWare Workstation 9. I created a virtual machine Ubuntu Desktop 12.04 LTS 64 bit version. There are two options for log in, Ubuntu and Ubuntu 2D. Whenever I log in to Ubuntu, the task bar will not show up, is like having a black margin all around the desktop background and only the center is visible.  I wish I could attached a pic, but I need at least 10 reputation.  When I move my mouse over the left side of the desktop I can see that something is there but it is shown only as a black square. I tried deleting the virtual machine I created for Ubuntu and re-installed it, but it keeps appearing like that.  When I switched to log in with the Ubuntu 2D version everything worked alright. I could see the task bar, the icons, the clock etc. What might be causing this problem? How to manipulate 2D plots? The forgetful functor $\mathsf{Groups} \to \mathsf{Sets}$ admits a left adjoint, namely, "forming the free group" functor.  I was wondering if this has a left adjoint.  This seems unlikely, but I don't have a proof.  Is there a functor $\mathsf{Sets} \to \mathsf{Groups}$ that admits a left adjoint at all? Proof using Cauchy Integral Theorem Forms: Modal dialog or separate page in single page app? In my application, I have pages that show lists of some objects, for example "People" or "Contracts".  From these pages, the user may create a new object.  Often these objects only have a handful of properties, maybe 4 or 5.  My question is about the best approach for the forms used for creation of new objects.  Sometimes I have used a separate page, especially when the number of properties is greater than 5-6.  Sometimes I have used a modal dialog.  I have even seen some applications that insert an empty row into a table and you fill-in the values.  (I will not be doing that!)  Any UX-preferences or suggestions for what approach to take?  Also- is it important to be consistent between different types of objects?  Or is a mix of approaches OK?  The technology of my application (Ember.js, single-page app) allows me to navigate to a different page instantly, so any timing difference between approaches is not a factor.  In fact, the animation of the Bootstrap dialog takes longer than the page transition.  The application is a back-office administrative system for insurance companies. Einstein's first postulate implies the second? Context Around this Code: I am making a schedulable class run each Sunday to track a couple of metrics important to the team.   Question: I am looking to consolidate DML operations and a big part of this is understanding pass by reference vs pass by value.  I want to pass the salesOps user object to the method SDREfficiencyLastWeek. I made the return type void, because I figured that I will be passing this by reference and I can make all the updates in the method without having to anything.   Why I am confused:    I read the above article and am thrown off by the following statement:  "Non-primitive data type arguments, such as sObjects, are also passed into methods by value. "   If the object is indeed passed by reference, then the query for the salesOps user in my code should be sufficient enough to edit all fields on that object without actually having to state each field in the query.  global class SDREfficientMetricsSchedulable implements Schedulable  {     global void execute(SchedulableContext sc)      {         User salesOps = [SELECT ID FROM USER WHERE id = '0056A000002Z3p9QAC'];         List&lt;String&gt; queries = new List&lt;String&gt;();          String contactsWorked_lastWeek  = 'select count(id) results from contact where LastActivityDate = last_week';         queries.add(contactsWorked_lastWeek);          String demosSet_lastWeek            = 'select count(id) results from form__c where CreatedDate = last_week';         queries.add(demosSet_lastWeek);          String demosCompleted_lastWeek  = 'select count(id) results from opportunity where (stagename = \'Unqualified Demo Completed\'  OR stagename = \'Qualified Demo Completed\' )  and RecordTypeId = \'0126A000000yudDQAQ\' and CloseDate = last_week';         queries.add(demosCompleted_lastWeek);          String qualifiedDemos_lastWeek  = 'select count(id) results  from opportunity where RecordTypeId = \'0126A0000004Ao6QAE\' and isclosed = false and  SDR_Owner__c != null and CreatedDate = last_week';         queries.add(qualifiedDemos_lastWeek);          String closedWon_lastWeek       = 'select count(id) results  from opportunity where RecordTypeId = \'0126A0000004Ao6QAE\' and iswon = true and  SDR_Owner__c != null and CloseDate = last_week';         queries.add(qualifiedDemos_lastWeek);            SDREfficiencyLastWeek(queries, salesOps);          update salesOps;     }       public void SDREfficiencyLastWeek(List&lt;String&gt; queries, User salesOps )     {        }  } Limit of $\frac{\log(n!)}{n\log(n)}$ as $n\to\infty$. root@SERVER ~$ df Filesystem  512-blocks  Free    %Used   Iused   %Iused  Mounted on /dev/YXCV   655360      365632  45% 6322    13% / /dev/ASDF   3801088     670648  83% 41759   32% /usr /dev/ASR    1048576     500496  53% 5555    9%  /var   How can I pipe the df command's output to only display lines that have more usage than 80%?  e.g.: it would only display:  /dev/ASDF   3801088     670648  83% 41759   32% /usr There was recently another release of , but it is  a pain to have to manually go to their website and download the packages every time there is a new release. Is there a PPA that always has the latest version of LibreOffice? Prove that $\binom{n}{r} + \binom{n}{r+1} = \binom{n+1}{r+1}  $  Thanks in advance, my professor asked us to this a couple weeks ago, but I was enable to get to the right answer.   Good luck!  Here is what I got up to;  $\frac{(n+1)!}{(n-r)!(r+1)!} = \frac{(n)!}{(r)!(n-r)!} + \frac{(n)!}{(r+1)!(n-r-1)!}    $ "Oriented" vs. "orientated" What are the origins of the word orientated?  As far as I know, the correct spelling is oriented and orientated is not an alternative spelling but an error that is in common use.  Is it for example more commonly used in a certain country or by a certain people? Is there a reason for people choosing to say or write orientated instead of oriented? Print only the Nth line before each line that matches a pattern I'm trying to print only the &lt;N&gt;th line before a search pattern. grep -B&lt;N&gt; prints all the &lt;N&gt; lines before the search pattern. I saw the awk code  that can print only the &lt;N&gt;th line after the search pattern.  awk 'c&amp;&amp;!--c;/pattern/{c=N}' file   How to modify this to print only the &lt;N&gt;th line before each line that matches pattern ? For example, here is my input file  ... ...    0.50007496  0.42473932  0.01527831    0.99997456  0.97033575  0.44364198 Direct configuration=     1    0.16929051  0.16544726  0.16608723    0.16984300  0.16855274  0.50171112 ... ...    0.50089841  0.42608090  0.01499159    0.99982054  0.97154975  0.44403547 Direct configuration=     2    0.16931296  0.16553376  0.16600890    0.16999941  0.16847055  0.50170694   ...   I need a command that can give me back the 2nd line before the search string Direct configuration. I'm trying to run this in SUSE-Linux