Questions tagged [bin]

"Bin" is short for binary. It generally refers to the built applications (also know as binaries) that do something for a specific system. In SO "bin" can refer to a standard directory name where one put all the binary files for a program. This would be the executable itself and any dll's that the program uses.

is short for binary. It generally refers to the built applications (also know as binaries) that do something for a specific system. In SO can refer to a standard directory name where one put all the binary files for a program. This would be the executable itself and any 's that the program uses.

The name goes back to the early days of the UNIX OS where /bin, /usr/bin or /usr/local/bin were directories where executable binaries were stored. In Java, this name is used to designate where executable files are stored within the Java home directory.

773 questions
77
votes
4 answers

Where does the slf4j log file get saved?

I have the followed imports: import org.slf4j.Logger; import org.slf4j.LoggerFactory; and the following instantiation: private static Logger logger = LoggerFactory.getLogger(Test.class); and the following in my Main method: logger.info("SOME…
user2763361
  • 3,789
  • 11
  • 45
  • 81
76
votes
4 answers

Dll in both the bin and the gac, which one gets used?

We have a web application that's deployed to many websites with only frontend changes, the shared backend portion has it's DLL in the GAC so we only have to update that one dll and all the sites get the update. Is there a way to override the GAC…
John Boker
  • 82,559
  • 17
  • 97
  • 130
66
votes
8 answers

Golang equivalent of npm install -g

If I had a compiled Golang program that I wanted to install such that I could run it with a bash command from anywhere on my computer, how would I do that? For example, in nodejs npm install -g express Installs express such that I can run the…
Ryan
  • 1,131
  • 3
  • 13
  • 17
37
votes
2 answers

Read VBA macros (or vbaProject.bin) of an Excel file without opening it in MS Excel

I would like to analyze Excel files, especially those which contain VBA programs inside. because I plan to run this analysis on lots of Excel files one by one, I don't want to open these files within Microsoft Excel to analyze them. One difficulty…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
33
votes
13 answers

try to change bin log directory: mysql-bin.index not found (Errcode: 13)

MySQL 5.1.54 Ubuntu 11.04 I'am try to change bin log directory in my.conf as: [mysqld] log_bin=/home/developer/logs/mysql/mysql-bin.log After this changes MySQL server can't start with error: /usr/sbin/mysqld: File…
solo117
  • 1,069
  • 2
  • 11
  • 12
29
votes
2 answers

Does any change in any file inside bin folder cause application recycle in ASP.NET web application?

I know that in ASP.NET web application, changing a DLL file located in the bin folder causes an application recycle. But I wonder, as the subject implies, whether any file changes cause such behavior? Are simple text files included in this…
Ron Klein
  • 9,178
  • 9
  • 55
  • 88
27
votes
10 answers

C# how convert large HEX string to binary

I have a string with 14 characters . This is a hex represantation of 7bytes. I want to convert it to binary. I tried using Convert.ToString(Convert.ToInt32(hexstring, 16), 2); For small strings this works but for 14 characters it will not work…
jayt csharp
  • 435
  • 3
  • 8
  • 12
25
votes
4 answers

npm package.json bin won't work on Windows

I am trying to start my cli tool via the package.json bin property. I have the following: ... "name": "mycli", "bin": "./bin/mycli", ... When I open the cmd in the package path and type: "mycli" it says that the command is not recognized. Should I…
funerr
  • 7,212
  • 14
  • 81
  • 129
25
votes
2 answers

Upgrading to Mountain Lion and XCode 4 broke my "make"?

TL/DR: I upgraded stuff and now I can't run "make" - wtf? I just upgraded from Mac OS X 10.6 to 10.8 Mountain Lion, and then installed XCode 4 (formerly I had Developer/Applications/Xcode (3.something). XCode 4 installed through the App Store…
Geoff
  • 9,470
  • 13
  • 52
  • 67
24
votes
2 answers

What is the difference between: rails vs. bin/rails?

as freshman, I come across many unclear details. One of those is bin-thing. I've been wondering what's the difference between: rails generate... and bin/rails generate... ? They seem to behave the same when I run those commands in console. There…
zombie_ghast
  • 1,713
  • 15
  • 21
23
votes
9 answers

How can I get the path of the PHP binary from PHP?

How can I get the binary path of php from PHP? I saw it in phpinfo(), but I need another method that gets it in Linux and Windows systems.
Wiliam
  • 3,714
  • 7
  • 36
  • 56
22
votes
2 answers

What is a bin folder for in Android?

I heard that a bin folder is a binary and is executable. But I'm not quite sure how it affects my project as a whole? It seems to duplicate all my image resources besides having my apk in it thereby almost more than doubling my project size. Can…
Ahmed Faisal
  • 4,397
  • 12
  • 45
  • 74
22
votes
5 answers

Why is my expect script failing on line 1?

The very first line of my expect script fails. Here are the entire contents of my script and it fails: #!/usr/bin/expect -f And it fails right off the bat with ": no such file or directory as my response. Expect is in fact installed and is…
Dennis Day
  • 607
  • 2
  • 5
  • 13
22
votes
2 answers

What scripts would go into a bin folder of a Python package?

I'm learning about Python Packages from Learn Python the Hard Way and one of the exercises it says: Put a script in the bin directory that you can run To me, it seems kind of vague. I'm not exactly sure what kind of scripts would go into the bin…
user884542
15
votes
3 answers

How to join two binary files on Windows

I created two binary files. I would like to concatenate both of them into one with the second one starting at offset firstFile.Size in the resulting file. I tried using a command in cygwin on Windows. I entered the following command in cmd cat…
preciousbetine
  • 2,959
  • 3
  • 13
  • 29
1
2 3
51 52