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
1 answer

Arduino Ethernet BOARD and PHP or HTML (RC car)

I am all new to arduino, never used it before, and i need to use it for a project at school. The project consists of building an RC car, a PHP webpage, and controlling the RC car with this php webpage. The layout of the webpage is made, and so is…
1
vote
0 answers

Linux Desktop as root : /etc/rc.d/rc.local refuses to honor "sleep 10" command

adding this line gnome-terminal -e "gedit test.txt" to the /etc/rc.d/rc.local works fine. but can not get it to sleep 10 seconds before executing that command. tried sleep 10 gnome-terminal -e "gedit test.txt" did not work. tried…
Sumer Kolcak
  • 1
  • 2
  • 7
1
vote
2 answers

Implementing dialogs from resource

I'm currently trying to port an application from owl to vcl. In my old projekt-file I was able to load dialogs with something like TBatchAcDialog(TWindow* parent) : TAPDialog(parent, BATCH_DIALOG) However, using TTaskDialog instead it doesn't…
Julian
  • 493
  • 4
  • 22
1
vote
1 answer

How do you combine .rc with .cpp files to form .exe?

I have been trying to figure out, for a while now, how to set the Description, when looking in Task Manager, when compiling from the command prompt using g++. I found this resource example but when I run windres foo.rc foores.o, g++ -c foo.cpp, g++…
DSH
  • 25
  • 7
1
vote
5 answers

Timeout after opening the URL

I am using Selenium RC with Junit. After running following simple script i am getting timeout error. com.thoughtworks.selenium.SeleniumException: Timed out after 30000ms I have recorded the IDE script which work fine using IDE. When same code…
Sudhir Patil
  • 25
  • 3
  • 7
1
vote
1 answer

.netrc, .fetchmailrc, and non-hardcoded passwords

Is there any way .netrc or .fetchmailrc can fetch passwords from environment variables, or fetch them from a spawned/forked shell? mutt can do it with something like this: set my_pw_gmail=`some shell command that emits to stdout` Is there any…
RoUS
  • 1,888
  • 2
  • 14
  • 29
1
vote
0 answers

Selenium RC C# For each matching xpath node DO

What I'm trying to accomplish is for each element picked by xpath do some action. To be precise var localizator = LocalizatorGenerators.SelectOptionLocator(labelName); decimal totalElements =…
Shuffler
  • 173
  • 2
  • 11
1
vote
1 answer

Is there any number and size limit to embed rc entries to a Windows resource DLL file?

We may embed resource files through defining rc in a Windows DLL file. I am wondering if there are any limits of how many rc resource entries that may stores in a DLL? Or is there a limit to the file size of DLL file? Will there a significant speed…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
1
vote
1 answer

mediaelement.js multi video gallery flash fallback

Does anyone have a URL of a successful multivideo gallery using mediaelement.js where the same instance of MediaElementPlayer is reused and have it working with the Flash fallback for IE8 & 7? I have partial success changing the setSrc as a function…
1
vote
2 answers

Will rc.local block until command finish execution?

Will rc.local wait for each command to finish, or the commands are executed like exec() ?
Zaffy
  • 16,801
  • 8
  • 50
  • 77
0
votes
1 answer

selenium can not find html element on firefox

I try to verifiy in selenium RC with python: sel.is_element_present("//div[@id='USER_PHOTOS']/div[1]/span[1]/img) but looks like can not get it right. and tried this: sel.is_element_present("//div[@id='USER_PHOTOS']) it works. did anyone why it…
0
votes
1 answer

On OpenSuSE (or linux in general) where should a non-service startup script go?

On an OpenSuSE linux machine, I want to run a script when the machine is booted. As the script does not start a service, is /etc/rc.d the correct place for the script? Thanks.
user265330
  • 2,533
  • 6
  • 31
  • 42
0
votes
1 answer

How do I specify the order of "default" rvms?

I have RVM installed, with project rvmrc files enabled. In my bashrc I have: rvm use 1.9.2 However, in one of my project rvmrc files I have: rvm use 1.8.7 Which works great, however if I open up a new terminal window within the project I…
Yule
  • 9,668
  • 3
  • 51
  • 72
0
votes
1 answer

How to get rid of "Device busy" during reboot, redhat 5.1 without modifying rc.sysinit?

I have a samba mount located within /opt. I have a script in init.d called sysinit that is linked to in rc6.d. This gets called on a reboot (the first thing, I set it to K01sysinit) and it is supposed to unmount the /opt directory. However, on…
SSB
  • 349
  • 3
  • 18
0
votes
0 answers

Lmfit issue, the best fit curve is orders of magnitude away from the trial curve

I am trying to fit a measured data to an RC low pass filter equation using Lmfit. The code runs and the trial values for R and C I provided gives a plot close to the data but the best fit is a way out. I am not able to figure out why? Below is the…
Remos
  • 11
  • 3