Displaying 4 results from an estimated 4 matches for "end_example".
2019 Aug 06
1
Wiki edit: HowTos/Grub2
...i contribution(s): In
<https://wiki.centos.org/HowTos/Grub2>, in section 2 titled "2. How to
Define the Default Entries", in the first code block, the command given
is:
#+BEGIN_EXAMPLE
awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
#+END_EXAMPLE
I propose it should be the following:
#+BEGIN_EXAMPLE
awk -F\' '$1=="menuentry "{print i++ " : " $2}' /boot/grub2/grub.cfg
#+END_EXAMPLE
Thanks for the helpful guides. I look forward to contributing more in
the future!
--
Mitchell Roe (he/him/his)
mitchell.roe...
2015 Oct 01
0
BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround
...8 [CATGAGGC]
[5] 709112 709119 8 [CATGAGGC]
... ... ... ... ...
[141] 22209984 22209991 8 [CATGAGGC]
[142] 22371543 22371550 8 [CATGAGGC]
[143] 22554991 22554998 8 [CATGAGGC]
[144] 22618578 22618585 8 [CATGAGGC]
[145] 22897728 22897735 8 [CATGAGGC]
#+end_example
But alas rather appears as:
#+RESULTS:
#+begin_example
... ... ... ... ...
[141] 22209984 22209991 8 [CATGAGGC]
[142] 22371543 22371550 8 [CATGAGGC]
[143] 22554991 22554998 8 [CATGAGGC]
[144] 22618578 22618585 8 [CATGAGGC]
[145] 22897728 22897735 8 [CATGAGGC]
#+e...
2008 Jun 28
19
Stopping example execution?
Hello, I''m wondering If I am missing something here when creating an example that sets an expecation at the top or beginning of an action but requires you to stub / mock everything that follows.
Example:
I want to test that a certain controller is running a before_filter...thats easy:
- controller.should_receive(:require_user)
- do_get
But now i''ve got to mock / stub
2010 Oct 15
0
nomianl response model
...Then you can go back to the table to edit, then rerun R, ...
I append an example below.
There is a load of tutorial info at
http://orgmode.org/worg/org-tutorials/index.php
HTH,
Chuck
#+begin_example
#+tblname: simpleDF
| a | b | c |
|---+---+---|
| 1 | 2 | 3 |
| 5 | 4 | 2 |
|---+---+---|
#+end_example
#+begin_src R :var df=simpleDF :results output :colnames yes
summary( df )
#+end_src
#+results:
: a b c
: Min. :1 Min. :2.0 Min. :2.00
: 1st Qu.:2 1st Qu.:2.5 1st Qu.:2.25
: Median :3 Median :3.0 Median :2.50
: Mean :3 Mean :3.0 Mea...