Displaying 20 results from an estimated 7000 matches similar to: "[ext3] umount /var ext3 partition"
2015 Feb 22
5
unable to umount
Hi,
on an EL5 XEN DOM0 system I have following volume
$ df -h /srv
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 917G 858G 60G 94% /srv
that partition was used by virtual machines but they were all halted.
service xendomains stop
$ xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0
2007 Aug 01
3
Test Rendering nothing in Rails
Hi
In a controller I have method that is accessed via an AJAX call and
will conditionally do:
render :nothing => true
to test the condition hitting this line I was hoping to do something
like:
response.should render_template(:nothing)
How should I test this behaviour?
Cheers
Shane
2017 Sep 22
3
Subset
Super,
Thanks
On Fri, Sep 22, 2017 at 4:57 PM, Boris Steipe <boris.steipe at utoronto.ca>
wrote:
> > a <- c("<0.1", NA, 0.3, 5, "Nil")
> > a
> [1] "<0.1" NA "0.3" "5" "Nil"
>
> > b <- as.numeric(a)
> Warning message:
> NAs introduced by coercion
> > b
> [1] NA NA 0.3
2017 Sep 25
2
Subset
myDF <- data.frame(a = c("<0.1", NA, 0.3, 5, "Nil"),
b = c("<0.1", 1, 0.3, 5, "Nil"),
stringsAsFactors = FALSE)
# you can subset the b-column in several ways
myDF[ , 2]
myDF[ , "b"]
myDF$b
# using the column, you make a logical vector
! is.na(as.numeric(myDF$b))
# This can be used to select the
2007 Oct 02
4
align the runner
I saw from the thread "color output" that there is a plan to "align
the runner". Is there a place to see what that means? I am just
curious.
Thanks
Shane
2010 May 21
2
Can't umount flash drive because an application has it locked
This occasionally happens to me when I've been editing an OOo document
that resides on a flash drive I use with one of my laptops. I've
tried poking around in ps to find out which process has the drive
locked, and I can't figure it out. Nothing directly refers to the
flash drive except one of the hald processes, and it's just scanning
the drive (I tried killing that and it made
2013 Sep 26
1
R not ploting lines in the correct order
Hi,
I have a set of x, y points where x represents dates and y actual values. I
am trying to plot a line graph of the data with points on top, but R is
connecting the wrong points with lines. Does anyone know how I can rectify
this. Please see sample below:
x=
24/09/2009 09:13 16/10/2009 11:17 24/10/2009 21:43 11/09/2009
18:34 22/08/2009
15:45 10/08/2009 00:30 14/08/2009 14:52 24/09/2009
2017 Sep 25
0
Subset
Hi,
Lets say this was a dataframe where I had two columns
a <- c("<0.1", NA, 0.3, 5, "Nil")
b <- c("<0.1", 1, 0.3, 5, "Nil")
And I just want to remove the rows from the dataframe where there were NAs
in the b column, what is the syntax for doing that?
Thanks in advance
On Fri, Sep 22, 2017 at 5:04 PM, Shane Carey <careyshan at
2006 Jan 18
5
Perform action after in-place edit
I want to be able to call an action after performing an edit using the
in-place editor macro. I want to update multiple divs so I was
thinking about using an RJS template. However, I can''t figure out how
to trigger another action after the method created by
in_place_edit_for runs. Is there is an option on Ajax.InPlaceEditor
where I can inject some Element.update calls?
Thanks,
Shane
2012 Apr 19
5
Xen on EC2 | Debian Squeeze AMD 64
Hello ! I''m trying to run Xen on a EC2 AMI
debian-6.0-squeeze-base-x86_64-20110417 (ami-35b68141)
Following this how-to
http://www.howtoforge.com/paravirtualization-with-xen-4.0-on-debian-squeeze-amd64
After installing the packages, I get :
uname -a
Linux ip-10-241-22-60 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011
x86_64 GNU/Linux
uname -r
2.6.32-5-xen-amd64
Then I do :
2017 Sep 25
1
Subset
Always via logical expressions. In this case you can use the logical expression
myDF$b != "0"
to give you a vector of TRUE/FALSE
B.
> On Sep 25, 2017, at 8:00 AM, Shane Carey <careyshan at gmail.com> wrote:
>
> This is super, really helpfull. Sorry, one final question, lets say I wanted to remove 0's rather than NAs , what would it be?
>
> Thanks
>
2007 Sep 20
4
issues submitting a search form
Hello to the list and thanks to Aaron for the cool software.
I''ve been fooling around with Mechanize and Hpricot for a couple of
days and from the docs I''ve read, the following code SHOULD work but
doesn''t. I''ve tried the same code on a couple of different sites and I
get the same exception for each. Any pointers or suggestions are
appreciated.
2007 Jan 12
5
Integration Testing - Wait, Watir, or Selenium
I''m evaluating what to use for integration testing:
SafariWatir
- integrates nicely with RSpec
- doesn''t work with Ajax because of Safari event firing issues
Selenium
- Works with Ajax
- doesn''t integrate with RSpec
What is the best guess timeframe for RSpec integration testing?
Will it be able to test Ajax application in the early iterations?
Thanks,
Brian Yamabe
2017 Sep 25
0
Subset
This is super, really helpfull. Sorry, one final question, lets say I
wanted to remove 0's rather than NAs , what would it be?
Thanks
On Mon, Sep 25, 2017 at 12:41 PM, Boris Steipe <boris.steipe at utoronto.ca>
wrote:
> myDF <- data.frame(a = c("<0.1", NA, 0.3, 5, "Nil"),
> b = c("<0.1", 1, 0.3, 5, "Nil"),
>
2013 Jun 26
3
XYZ data
I have x, y, z data. The x, y fields dont change but Z does. How do I add a
very small number onto the end of each x, y data point.
For example:
Original (X) Original (Y) Original (Z)
15 20 30
15 20 40
New (X) New (Y)
2001 Aug 18
2
ext3->ext2->ext3 and unclean umount
Suppose I have the latest and greatest e2fsprogs.
>From reading the docs I understand that
1) boot ext3, clean umount
- you can remount ext3 or ext2
2) boot ext3, unclean umount
- you can remount ext3
- you can e2fsck and remount ext2
Does this mean that normal linux init script e2fsck will do it, in case fstab
says ext2? Or you should make sure to run e2fsck by hand with -f?
3) boot
2001 Oct 28
8
Ext3 partition not appearing in df output
Hello,
I converted my / partition to ext3 from ext2 today, and I'm using kernel
2.4.13+ext3 patch
I used tune2fs -j and set the filesystem to auto in fstab, and compiled ext2
as well as ext3 in the kernel
Upon rebooting, I tried df -hT to see if it had worked, and to my surprise it
didn't list my root partition
dmesg say it's fine (and btw everything works fine)
kjournald
2011 Aug 31
3
Converting anova/ancova summary to data frame
Hi!
Can anyone tell me how to convert the anova/ancova summary output into a data frame?
Thanks!
Shane Phillips
[[alternative HTML version deleted]]
2013 Mar 26
6
How do I show real values on a log10 histogram
Hi,
I have a histogram with values logged to the base 10
hist(log10(x),breaks=60)
How do I show the log values on the x-axis and a second x-axis showing the
real values?
Thanks
--
Shane
[[alternative HTML version deleted]]
2006 Aug 06
2
Acts as Most Popular plugin
Make your models feel like they are in high school again. This plugin
retrieves the most frequently occurring values for each column. It
adds methods of the form most_popular_[pluralized_column_name]. Check
out
<http://shanesbrain.net/articles/2006/08/04/acts-as-most-popular-rails-plugin>
for sample usage.
The plugin is mostly just a group_by in disguise. It is probably
overkill if you