A variable is a storage location and an associated symbolic name (an identifier) which contains some known or unknown quantity or information

learn more… | top users | synonyms (1)

0
votes
1answer
6k views

Variable bit rates with “-vb” and “minrate”/“maxrate” settings in FFmpeg

For rendering, the time it takes is very different. -b 3500K -minrate 0K -maxrate 8000K takes 1hr 17min vb=3000k takes 2.5 hours What is vb 3000k and how is it different from -b 3500K -minrate 0K ...
1
vote
1answer
99 views

Querying variables in Excel

I am looking to query some variables in Excel using a formula. I have a database that has some IDs in it that I need pulled out. The problem is that the IDs vary in length and type. Here are some ...
0
votes
2answers
968 views

Positive result, negative result and current balance. How do you make starting balance show current result?

I have 3 columns: Column A shows positive result and if the result is negative then it is in a column B. Column B shows negative result and if the result is positive then it is in a column A. ...
1
vote
0answers
76 views

Windows: Monitor Access to Environment Variables?

Programs (on Windows) often expect certain environment variables to be set. However, the name of these environment variables is often not well documented. E.g.: Does Eclipse expect %MINGW_HOME% or ...
1
vote
1answer
1k views

Issue with $ARCH variable

I am using a .sh script and it requires the $ARCH variable. When I type echo $ARCH nothing shows up on screen. How can I make this variable work ?
0
votes
1answer
142 views

Match (highlight) invalid Hungarian notation variables syntax

We follow our own defined coding standard (Hungarian notation) as per our checklist, using Notepad++: Check that all variables are valid according to Hungarian notation identifier naming convention, ...
0
votes
0answers
80 views

Access environment variable on both OSX and Win7

I'm fairly sure this is impossible because of syntax issues, but here goes anyway... I'm using dropbox to sync some files that I need to access in both windows and osx. In the program I need to ...
1
vote
2answers
2k views

How to generate a round-numbers graph in Excel?

folks! Now, I have an Excel file with measurements I made of some color patches (I work at a Press company), with a device called spectrophotometer. Here it is: ...
1
vote
2answers
2k views

Batch to read text files and replace quotes with variables into new file

I have customer pizza lists that I have saved into 5 separate .txt files from my database in this format: Filename = 25Percent.TXT "555-1211" "555-1212" "555-1223" Each list is a phone number in ...
2
votes
2answers
2k views

is there any tool that allows redirecting output to env variable in windows *.cmd script?

I mean to use it like this: echo some data | this-tool-m-searching-for -vn myvariable or time | this-tool-m-searching-for -vn current_time etc.. and then echo %myvariable% would produce some ...
1
vote
0answers
3k views

Variables List Windows 7 x64 [closed]

Are you haveing trouble with the Variable codes and does this help? When I was asking about this I could not find anything as specific other then this. I found this list and hope its helpful. I found ...
8
votes
1answer
3k views

Why unload variables in Windows batch files

Is it considered necessary or good practice to unload variables used in Windows batch files? For example in the following code, is the set myFolder= at the end necessary? @echo off set ...
1
vote
1answer
637 views

Finding where a variable or object was declared Netbeans

In Netbeans PHP if you control + mouse1 click on an object or variable it will go to the initial declaration, if it's in the same script. But is there any way to make it go to the initial declaration ...
0
votes
1answer
150 views

Getting fcron and RVM work together

I'm trying to make RVM and fcron work together. Apparently fcron does not read directly or indirectly any sort of env variables. Which makes RVM futile and scripts fail. I have this script which ...
4
votes
1answer
12k views

Get file version from Windows command line for use in a variable?

How do grab the file version/product version from a file on the Windows 7 command line, to be used in a variable in a .bat file?
6
votes
2answers
2k views

How do I add “input” to my macro, to replace text in Notepad++?

I'm trying to make a macro with an 'input' pop-up dialog that synergizes with the replace feature. It should go something like: "Paste text->ask for input->replace variable in pasted text with input ...
2
votes
2answers
201 views

tilde expansion fails when running “cd -” in bash

Recently I find I can't use cd - to go back to last directory sometimes. It gives the error of -bash: cd: ~/whatever_dir: No such file or directory. A closer look shows that the error only happens if ...
4
votes
1answer
112 views

Using a system variable with spaces without truncating prematurely

I need to do something similar to this: dir > %USERNAME%.txt But what I get is that if the filename has a SPACE(" ") in it, then the name is cut there. I know that if I do this: set ...
2
votes
1answer
629 views

Linux change environmental variables without rebooting for all shells

I am using Fedora 14 and I changed my hostname in /etc/sysconfig/network and by using the hostname command. The shell prompts correctly display the new hostname. However the terminal titles still ...
3
votes
4answers
208 views

*NIX - does exporting a variable only last while machine is on?

I know that I can set a variable, 'export' the variables and put an alias statement in my .bash_rc file. So: When I just set a variable it just lasts for that session and is not visible to other ...
2
votes
1answer
2k views

Recursively add directory to $PATH variable

Is it possible to recursively add a directory to my $PATH variable? Let's say I have a directory structure like the following: /usr/local/bin - /nodejs-x.x - /redis-x.x - /mongodb-x-x ...
0
votes
3answers
748 views

How to set the arithmetic precision in “set” batch files variables?

How do I set a precision to the SET arithmetic operation on divisions? eg. SET /A t=3/4 But that gives result as '0' and not '0.75' ( I want at least 2 decimal places ) Or is there any other ...
34
votes
1answer
35k views

What is $* and $# in Linux?

What do the following environment variables in Linux mean? What is $* (dollar sign followed by an asterisk)? What is $# (dollar sign next to a hash mark/number sign/octothorpe/pound sign)?
1
vote
7answers
20k views

How to get LAN ip to a variable in a Windows batch file

I'm streaming audio from my Windows 7 laptop to a sound card attached to a router. I have a little batch script to start streaming. REM Kill any instances of vlc taskkill /im vlc.exe "c:\Program ...
1
vote
1answer
656 views

microsoft word variables across documents

Perhaps I'm just not Googling properly or not sure of exactly what I'm looking for, but I want to have global variables across multiple Microsoft Word documents. I also want to be able to update the ...
2
votes
4answers
2k views

Prevent users from being able to change JavaScript variables

Is it possible somehow to prevent users from being able to change JavaScript variables, trough the address bar or with programs like FireBug?
3
votes
5answers
2k views

xargs command works on ubuntu, but not mac

I have the following line of code that I use to update my personal date variable in my projects to today's current date. This line works in Ubuntu's terminal, but the Mac terminal seems to be far ...
1
vote
3answers
1k views

Highlight identical strings in vi(m)

One feature of Notepad++, which I find really useful and haven't found elsewhere, is the highlighting of other text that is identical to the one currently selected. Is there something similar ...
2
votes
2answers
10k views

How do I get Vim home directory?

I wanted to set the VIMHOME variable this way (common to Windows and Linux), let $VIMHOME=expand("%:p")."/..", so that VIMHOME is "~/.vim" in Linux or "path/to/vimfiles" in Windows. I put this in ...
5
votes
6answers
8k views

How do I set $ variables in unix?

For example there is a long path that I cd to very often. How do I store the path in a variable so that I can use it everytime? For example: I wan to be able to do this cd $path instead of cd ...
0
votes
1answer
97 views

BASH: Bracketing Parameters

Simply, whats the fundamental difference between $param and ${param} ?
1
vote
4answers
1k views

Color variables in photoshop?

I'm doing a lot of website design and I'm looking for a feature that would allow me to set the main colors of website in variables and use the variables in color overlays and such. It would make ...
1
vote
5answers
2k views

Do I need more RAM for programming if I switch to a 64 Bit OS?

Given that today (for performance reasons?) variables are usually aligned to the "bit-width" (I wanted to use "word-width" here, but on x86 a "word" is still 16 bits right?) of the processor, would ...