Questions tagged [rc]

An "rc" file is a file read at startup of a program. It is also the name of the Plan 9 Shell.

Historically, in the days when Unix and other software was distributed on tapes, a tape archive often contained a file named "rc" containing run commands or run code to compile and install the software.

rc, the Plan 9 Shell

257 questions
1
vote
2 answers

How can I test DHTML with Selenium RC?

I'm having problems testing parts of my html pages with Selenium RC. If an element is present in the page and is visible when the page is loaded then there is no problem, Selenium RC can access it and can get its value or write into it (if it's a…
Florin
  • 319
  • 1
  • 7
  • 21
1
vote
2 answers

How can I access the data in a Cassandra Table using RCassandra

I need to get the data in a column of a table Cassandra Database. I am using RCassandra for this. After getting the data I need to do some text mining on it. Please suggest me how do connect to cassandra, and get the data into my R Script using…
1
vote
1 answer

How to set a .rc file conditionally

I am using babel and have a .babelrc file for its configuration: { "stage": 0, "ignore": [ "node_modules", "bower_components", "testing", "test" ] } However, when I'm developing locally, having this .babelrc file disallows me…
Anthony
  • 13,434
  • 14
  • 60
  • 80
1
vote
1 answer

reading gpio with php exec failing on rc.local raspberry

I have an infinite loop in a PHP script that read my gpio (with wiringPI) in this manner $newstatus = trim(exec("gpio read ".$gpioline[$i])); and this line in rc.local to start on boot php /root/CheckGPIO.php & the issue is that when the script is…
FrancYescO
  • 67
  • 8
1
vote
2 answers

freebsd rc scripts and the env(1) shebang pattern do not work together

I have a python script which I want to start using a rc(8) script in FreeBSD. The python script uses the #!/usr/bin/env python2 pattern for portability purposes. (Different *nix's put interpreter binaries in different locations on the…
Jev Björsell
  • 891
  • 1
  • 9
  • 25
1
vote
1 answer

Vim: last word on user specific settings?

I have a nice .vimrc file with my preferred settings. One of the settings is tabstop=4. But when I'm on a server that I often work on, the tabstop setting that I apply in my ~/.vimrc gets clobbered by a script that's loaded later…
Edward Newell
  • 17,203
  • 7
  • 34
  • 36
1
vote
1 answer

How to highlight rulerformat

I want highlight the rulerformat in my .vimrc. I have set ruler set rulerformat=%55(%{strftime('%a\ %b\ %e\ %I:%M\ %p')}\ %5l,%-6(%c%V%)\ %P%) I have subsequently tried all of the following: hi rulerformat ctermbg=1 hi rulerformat ctermbg=red hi…
dylnmc
  • 3,810
  • 4
  • 26
  • 42
1
vote
1 answer

How can I make a transfer function for an RC circuit in python

I'm fairly new to programming, but this problem happens in python and in excel as well. I'm using the following formulas for the RC transfer function s/(s+1) for High Pass 1/(s+1) for Low Pass with s = jwRC below is the code I used in python from…
user4984565
1
vote
0 answers

Selenium Server (RC) Output Results in Different Format from HTML i.e. Junit XML

I have managed to automate my Selenium Suite (run using Selenium Server, formally RC) so that it runs each night and the resulting report is in HTML format. The command I am running is: java -jar selenium-server-standalone-2.44.0.jar -htmlSuite…
dunkyduncs
  • 175
  • 1
  • 1
  • 8
1
vote
1 answer

Fetching file path from a Perl '.rc' file

So I have a Perl '.rc' file (let's call it 'path.rc' with Perl syntax) which has this line: $RC{model_root} = '/nfs/fm/disks/fm_fabric_00011/abc_rel//xy/xy-abc1-15aa05e' I need to fetch the files from directory 'xy-abc1-15aa05e'. I am not supposed…
chmod
  • 85
  • 1
  • 9
1
vote
0 answers

How to display control defined in rc file of C++ project in WPF C# project

In my case, I have project A (in C#) that call a library from project B(C++). A interacted with B by C++/CLI method. In project B, we applied this code to avoid alert exception like this…
Hung Phan
  • 33
  • 2
1
vote
1 answer

LInux script error return codes

I have the following code .. while read copy do cp -v $copy | tee -a $LOGFILE echo $? if [[ $? -ne 0 ]] then echo "Error copying files. Exiting ..." | tee -a $LOGFILE exit 1 fi done < copy_new_files.tmp .. and I…
1
vote
0 answers

SVG element not found selenium RC

I am using selenium RC's getAttribute method to get the color of SVG element. The HTML code goes like this:
user1140969
  • 105
  • 6
1
vote
1 answer

vhdl checking a range with if statements

I am quiet new to VHDL, so i am having trouble with this issue. A section of my program is to measure the time it takes for a capacitor to charge, and then see which range the charge time falls under. What i want to see is if count falls under the…
EcEng
  • 23
  • 2
  • 7
1
vote
1 answer

How to store Partitioned data using pig in RC Format?

I was wondering if there is a UDF or something that can store my data in a partitioned fashion in RC Format. I know there is org.apache.pig.piggybank.storage.MultiStorage but it only does it for some compression format. I want to store my data in RC…
Emtiaz
  • 141
  • 1
  • 5