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

Reading RC channels from mega 2560

I'm trying to read signals from fs-ct6b using Mega 2560 with this code: int val; int ch_in[6] = {2, 3, 4, 5, 6, 7}; int ch_out[6] = {8, 9, 10, 11, 12, 13}; void setup() { for (int i = 0; i < 6; i++){ pinMode(ch_in[i], INPUT); …
Dev
  • 117
  • 3
  • 11
0
votes
1 answer

Qt setting an app icon for a windows app .rc file not found

I followed everything described here to set an app icon. Created .rc file / placed it in the same directory where .pro file is. Added the following line to the .rc file IDI_ICON1 ICON DISCARDABLE "myappico.ico" Added the…
Tim Tuffley
  • 605
  • 1
  • 6
  • 20
0
votes
1 answer

MongoDB, an Ubuntu user other than root, and storing the PID file in /var/run/mongodb

I am having trouble storing the PID file for mongod in the directory /var/run/mongodb and getting the mongod process to start on boot as a user other than root. I have installed MongoDB v2.6.3 on Ubuntu v14.04; created a linux user called mongodb;…
Shaun Scovil
  • 3,905
  • 5
  • 39
  • 58
0
votes
1 answer

Automatic launch a script at boot using rc.local with multiple screens that starts a sh file

I am close to giving up on screen and look for alternatives. I have two Minecraft servers running on my server. A DireWolf20 and a EpicCraft. Sometimes I need to reboot the server, and every time I need to manually login via SSH and start screen 2…
Exill
  • 3
  • 1
  • 3
0
votes
1 answer

LinqToEntitiesMetadataProvider for RIA Services in Visual Studio 2010 RC

I'm having trouble moving from Visual Studio 2010 Beta 2 to Visual Studio 2010RC. Did all the adjustments regarding assemblies and namespaces but i cannot figure out how to get the following decorator resolved (for…
Savvas Sopiadis
  • 8,213
  • 10
  • 34
  • 53
0
votes
2 answers

Why aren't timestamps being interpreted if I run `history -r` from my .bashrc?

Okay, so something weird seems to be going on. When I run history -r interactively, it works as expected: $ printf %b '#1401928364\necho\n' > /tmp/hist # Make a test history file with timestamp information. $ history -r /tmp/hist # Read it into…
James Haigh
  • 1,192
  • 1
  • 12
  • 25
0
votes
1 answer

Which shell does rails use by default (because its not recognizing my ~/.bash_profile` aliases)

Don't ask me too much about why I'm doing this, but I have a shell alias that opens up apple notes for me alias notes='open /Applications/Notes.app' This works from the command line if I put it in my ~/.bash_profile script. When inside of a rails…
boulder_ruby
  • 38,457
  • 9
  • 79
  • 100
0
votes
4 answers

Add text instead of image in ASP navigation system

I'm currently working on a site that uses ASP and I think a 'custom' CMS. I've got this navigation in a file called Rcp.Master -
Stuart Robson
  • 1,149
  • 4
  • 22
  • 42
0
votes
1 answer

Strange apache behaviour when lauching an external binary called by a perl script

I am currently setting up a web service powered by apache and running on CENTOS 6.4. This service uses perl scripts (cgi-bin) launching in particular external homemade fortran compiled binaries. Here is the issue: when I boot my server, everything…
Ledoc
  • 1
  • 1
0
votes
1 answer

"No Output" Return Code Shell Script

I'm trying to create a script that will kill a process and confirm the process is running before issuing the kill -9 command, I'm running into a bug where it always assumes there is output. #!/bin/sh rc=$? #Ask to check for a process to…
0
votes
1 answer

Autorun a script in the background at boot and suppress output if all goes well

I'm using Raspbian on the Pi and have a script to control some home automation stuff. The script is designed to be a continuous loop monitoring the serial port and sending requests and logging events as it goes. By default it prints some output…
Madivad
  • 2,999
  • 7
  • 33
  • 60
0
votes
1 answer

Retrieve 5th item's price value using selenium webdriver

Say I have multiple price quotes from multiple retailers, how will I retrieve the 5th value from a particular retailer - say Target or Walmart ? I can get to the 5th entry using the matching image logo bit how do I retrieve the value ? Adding Html…
Zuckerberg
  • 205
  • 6
  • 15
0
votes
1 answer

How to use counter in xpath

I am using the following code to get the id of a row that is randomly generated: string[] rowIds = new string[numofRowsPassengerTable]; for (int counter=1; counter < numofRowsPassengerTable; counter++) { rowIds[counter] =…
sam
  • 4,594
  • 12
  • 61
  • 111
0
votes
1 answer

Selenium RC xpath different from firefox/xpath visualizers?

I have some question regarding how the selenium RC xpath. I have made some xpath string to match certain fields regardless of ids ( all are generated automatically). My Xpath is matching an element in the table with certain conditions. Here is my…
Shuffler
  • 173
  • 2
  • 11
0
votes
1 answer

c# Selenium RC "OR" statement using xpath

I'm currently developing some tests using Selenium RC. I have to problem regarding selenium Xpath "OR" statement with xpath input and textareas. Getting to the point. I have designed 2 xpaths textarea:…
Shuffler
  • 173
  • 2
  • 11