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

Make Ctrl-p and Ctrl-n search the shell history filtered by typed characters

I love that emacs key bindings also work in the ubuntu shell by default. However, I would also like to have those two keys partially search through the shell history but filtered based on what was already typed in. If enabled in /etc/inputrc, the…
CD86
  • 979
  • 10
  • 27
2
votes
1 answer

Is there any way to borrow a RefCell immutably and mutably at the same time?

I have a piece of code which needs to operate on a list. This list contains items which come from another source and need to be processed and eventually removed. The list is also passed along to multiple functions which decide whether to add or…
Dandry
  • 495
  • 12
  • 26
2
votes
1 answer

Cronjob continuously reduces free disk space

I have a .NET Core 3.0 Console App, running on a Ubuntu 18.04 server. There is a simple launcher script in my home folder, called my-app.sh: cd /home/service/my-app ./My-App I wanted to start the file after reboot, so I created a cronjob for the…
Andi
  • 3,234
  • 4
  • 32
  • 37
2
votes
0 answers

VC++ 2017 : Error trying to compile .rc file with RC

I am trying to compile a .rc file to link the generated .res file to my linker to get my project resources to be included in my .exe. The problem that I have is that I can't get RC to compile my .rc file. I always get the same error message :…
prof_chen
  • 21
  • 3
2
votes
1 answer

GPSD cannot start properly on boot

I'm on a Raspberry PI Zero W (Raspbian NOOBS v2.9.0) The GPS module is a Neo 6M GPS…
user2959923
  • 144
  • 1
  • 2
  • 14
2
votes
1 answer

Git branch in the prompt

Could anyone explain why the branch name is not showing up on my (bash) prompt? I am using ubuntu 16.10. I tried to use the instructions from this site. # Git branch in prompt. parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e…
user8364555
2
votes
0 answers

Source .pdbrc on mac to add tab completion to python debugger with anaconda

I have put a file in my $HOME folder called .pdbrc that has the following code inside of it: import rlcompleter pdb.Pdb.complete = rlcompleter.Completer(locals()).complete However, when I run the python debugger with a program, it does not "source"…
ronnyb
  • 78
  • 1
  • 7
2
votes
3 answers

Angular 2 New router - detect 404

Is it possible to detect with the new router of Angular2 if the current route exists or if it ends into a 404 error? So I can set it back to the default route "/". I found nothing, I searched for an hour but found only things for the deprecated…
CreepPlays
  • 23
  • 4
2
votes
1 answer

Angular2 RC1 multi level routerLink directive

still struggling with the new component router as of Angular2 RC.1. My app's components are assembled in this manner: Main - NavigationBarComponent - ContentComponent - UserComponent - UserSettingsComponent -…
Jan B.
  • 6,030
  • 5
  • 32
  • 53
2
votes
1 answer

script bundles of angular2 rc

I try to migrate my app to RC 0 from 0.17 and I have some questions. In 0.17 we use those scripts (bundles)
Velidan
  • 5,526
  • 10
  • 48
  • 86
2
votes
4 answers

Run python script from rc.local does not execute

I want to run a python script on boot of ubuntu 14.04LTS. My rc.local file is as follows: sudo /home/hduser/morey/zookeeper-3.3.6/bin/zkServer.sh start echo "test" > /home/hduser/test3 sudo /home/hduser/morey/kafka/bin/kafka-server-start.sh…
aladeen
  • 297
  • 7
  • 18
2
votes
1 answer

How to handle type and input into WYSWYG editor such as tinymce when testing using selenium RC?

is there any solution to this problem i use : $this->type('contentform', 'i need to print this and go on with my testing'); but after i do submit it failed while when i do it manually it work. i'm using this code for submit:…
justjoe
  • 5,454
  • 9
  • 44
  • 64
2
votes
1 answer

Run python script from rc.local does not write file

I want to run a python script at boot of Lubuntu 15.04. This python script writes some string into a text file placed in /home/aUser/aFile.txt My /etc/rc.local file is: #!/bin/sh -e python /home/aUser/theScript.py & exit 0 And the script…
WoDoSc
  • 2,598
  • 1
  • 13
  • 26
2
votes
0 answers

How to extend trial license for VS 2015 RC for offline PC?

I was using VS 2015 CTP to try the migration of my project some time ago. After MS released VS 2015 RC I uninstalled CTP and installed VS 2015 RC. When I start installed VS, I'm getting the window: License: Prerelease software This license has…
2
votes
2 answers

Why does this macro evaluating wrong?

I made an application, and i have to create two separete builds for it. One for 32bit and one for 64bit. In the property of the file, i'd like to include some descriptions, like the original filename, where i'd like to set the architecture(x64 or…
kampi
  • 2,362
  • 12
  • 52
  • 91