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
423
votes
6 answers

What does "rc" mean in dot files

In my home folder in Linux I have several config files that have "rc" as a file name extension: $ ls -a ~/|pcregrep 'rc$' .bashrc .octaverc .perltidyrc .screenrc .vimrc What does the "rc" in these names mean?
bessarabov
  • 11,151
  • 10
  • 34
  • 59
34
votes
1 answer

Difference between plugins and presets in .babelrc

Situation So I have a .babelrc like this: { "presets": [ "es2015", "stage-2", "react" ], "plugins": [ "transform-decorators-legacy" ] } Question What is the difference between presets and plugins?…
totymedli
  • 29,531
  • 22
  • 131
  • 165
25
votes
5 answers

Start up script for node.js repl

Is there a way configure node.js's repl? I want to require jquery and underscore automatically whenever the repl starts. Is there a file (noderc?) that node.js loads when it starts the repl? The equivalent in Python is to edit…
hekevintran
  • 22,822
  • 32
  • 111
  • 180
18
votes
3 answers

How do I "get latest version" for TFS in Visual Studio 2015 RC

This might seem like a stupid question but I just installed VS 2015 RC and I cannot for the life of me figure out how I'm supposed to get the latest version from Team Foundation Server now. It seems the option has been removed from all right-mouse…
user3716312
  • 181
  • 1
  • 1
  • 6
17
votes
2 answers

How to add a line into rc.local with shell

I am working on a Ubuntu 12.04 and writing a environment-auto-build shell. In the shell I need to change something in rc.local. This is my rc.local now. #!/bin/sh -e #...... exit 0 I want to modify it like this: #!/bin/sh -e #...... nohup sh…
missingcat92
  • 787
  • 2
  • 10
  • 21
16
votes
4 answers

FileNotFoundError: [Errno 2] No such file or directory: 'latex': 'latex' (Python 3.6 issue)

I'm trying to use the latex interpreter for figure labels. I generate my figures using the matplotlib library. I am having trouble finding an answer to this common problem. I see many answers suggesting latex should be added to the path, how do we…
Alex
  • 161
  • 1
  • 1
  • 3
12
votes
3 answers

How to compile Delphi RES file from commandline

I never worked with Delphi before, so maybe the question looks a simple minded, But I need to change FileVersion in RES resource file parameter from command line...
S2201
  • 1,339
  • 3
  • 18
  • 35
11
votes
3 answers

Are resource files compiled as UNICODE or ANSI code-page?

First - my apologies if this has been answered a hundred times over! D'oh! But my search-fu apparently sucks, as I'm having no luck answering this basic question: How are resources stored in the EXE/DLL? As UNICODE (UCS-2, Windows native internal…
Mordachai
  • 9,412
  • 6
  • 60
  • 112
9
votes
3 answers

Error RC2135 in C++ project due to UTF-8 encoding of RC file

After switching from Visual Studio 2010 to 2012 I got 10 RC2135 errors that looked rather strange in one of my C++ projects. Error 1 error RC2135: file not found: 0x06 NamedPipesNative.rc 19 1 NamedPipesNative Error 2 error…
RenniePet
  • 11,420
  • 7
  • 80
  • 106
8
votes
3 answers

Upright mu in plot label: retaining original tick fonts

I have a problem which I thought would be more occurring. However, after scouring the internet for some time now I have not been able to find the solution to my problem. So here it goes: For a plot, created using matplotlib.pyplot I want to…
The Dude
  • 3,795
  • 5
  • 29
  • 47
8
votes
1 answer

Does matlab have a matlabrc file?

Today I stumbled upon this thread: http://www.mathworks.com/matlabcentral/newsreader/view_thread/112560 The question is basically how to make Matlab read your startup.m file regardless of where you start your matlab session. One of the solutions…
jmlopez
  • 4,853
  • 4
  • 40
  • 74
7
votes
4 answers

Can I pass a preprocessor definition to the resource compiler through the command line?

I'm currently trying to switch between a few different default Icons in a Visual C++ .rc file using #ifdef tags. The builds switching the #define value are being created through command line using MSBuild. The difficulty I have been running…
Maixy
  • 1,151
  • 2
  • 12
  • 27
7
votes
3 answers

maven versions release candidates and snapshot

My goal is to release a project which have a single dependency. I have a nexus repository where i deploy both snapshot and release versions. The one dependency I have has group:artifact:1.1.0-SNAPSHOT and the following Release Candidate is…
mirlitone
  • 155
  • 1
  • 1
  • 6
7
votes
2 answers

update-rc.d and init.d dependencies

So I'm trying to write some init.d scripts satisfying LSB so they run appropriately at startup and shutdown. Unfortunately, I'm having issues with LSB/update-rc.d to satisfy dependencies. # Required-Start: $network $local_fs hadoop-namenode…
ohshazbot
  • 894
  • 3
  • 8
  • 16
6
votes
2 answers

Remove {$R *.res} in package.dpk file will remove the rccompile in .dproj file

I use my own .rc file to generate custom resource entries including version info. My library.rc file is : #include "app.rc.h" VS_VERSION_INFO VERSIONINFO FILEVERSION _FileVersion PRODUCTVERSION _FileVersion FILEFLAGSMASK…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
1
2 3
17 18