command-line-tool

command line tools for new 10.9 OSX for ruby gems?

耗尽温柔 提交于 2019-12-17 10:21:40
问题 After installing OSX Mavericks 10.9 demo, Im getting this after running bundle Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/sandric/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb extconf.rb:17: Use RbConfig instead of obsolete and deprecated Config. checking for socket() in -lsocket... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details

Node-sass is not recognized by command line

别说谁变了你拦得住时间么 提交于 2019-12-12 08:34:26
问题 I'm trying to set up node-sass, following the instructions on CSS-Tricks. Node and npm are installed correctly, and the node-sass installation worked too. When I go to run node-sass --output-style compressed -o dist/css src/scss , though, I get an error message stating 'node-sass' is not recognized as an internal or external command, operable program or batch file. I've done a fair bit of Googling and searched Stack Overflow directly. My question isn't about "node" not being recognised as a

Android Studio: How to build command-line Android activity with no view (NOT how to build *with* command line)

依然范特西╮ 提交于 2019-12-12 00:16:51
问题 I need to build a command-line tool that I can run in an Android shell. This question is not about how to build using command-line tools, which is pretty much all I find when I search SO/google for this question. What I can do: Write a simple Java jar that runs from app_process What I want: A tool that uses Android libraries (such as the packagemanager) that runs from the command line (such as an 'adb shell') and then exits - so not an App, doesn't have a view and isn't really following the

How does one display * when typing a password in a C/C++ command-line tool? [duplicate]

寵の児 提交于 2019-12-11 03:27:56
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Read a password from std::cin Replace input with “ * ” C++ I'm looking for the C/C++ comparable way of doing <input type="password" /> for allowing the user to type in their password after a prompt in a command-line tool written in C. string username; string password; cout << "Username: "; getline(cin, username); cout << "Password: "; [<input type="password" />] getline(cin, password); 来源: https://stackoverflow

The package “BluetoothSDK.pkg” is untrusted

眉间皱痕 提交于 2019-12-11 01:59:50
问题 I have just reset my OS to 10.7 (latest my mac can go), and downloaded Xcode. Whenever I try to install the older iOS simulators I get an error The package “iPhoneSimulator… .pkg” is untrusted. And when installing command line tools, I get the error The package “BluetoothSDK.pkg” is untrusted. How can I install these? BTW I got Xcode 4.6 回答1: I had the same problem installing the Command Line Tools. Then I found a binary at https://developer.apple.com/downloads/ that worked. Look for Command

Installing command line tools Xcode 5

无人久伴 提交于 2019-12-10 13:32:31
问题 I have tried and tried (looked at many headings for this) and I still don't have an answer to my problem. I am trying to install the Pebble SDK 1.12 and install command line tools of Xcode 5. Everytime I try xcode-select --install in terminal I get "Can't install software because it is not currently available in the Software Update server" I have tried to reinstall Xcode and that didn't work. When I got to Xcode-preferences-downloads there isn't a section for the command line tools. I have

Read a file in a macOS Command Line Tool project

梦想与她 提交于 2019-12-10 01:54:49
问题 I've added a few JSON files to my macOS Command Line Tool project, but I can't seem to find them the usual way. if let path = Bundle.main.path(forResource: "Data", ofType: "json") { if let contents = try? String(contentsOfFile: path) { print (contents) } else { print("Could not load contents of file") } } else { print("Could not find path") } This code works absolutely fine when used in a View based application, but always prints "Could not find path" in the command line tool. Does anyone

PSEXEC - “The Handle is invalid” When running the command as System User

白昼怎懂夜的黑 提交于 2019-12-06 18:29:58
问题 This is the command that works fine if run from a user-spawned command prompt: PSEXEC \\xxx.xxx.xxx.xxx -u xxxx -p xxxx -accepteula cmd /c "TYPE C:\Pyxislog\PYXIS01.log|Find/i "%ID%"" >nul However, if I try to run this from a system-invoked cmd prompt I get this: Couldn't access 10.219.149.65: The handle is invalid. Connecting to 10.219.149.65... It has to run as a system user, since it will be deployed via a remote software tool which runs as a system user. Is this a limitation of psexec?

Converting xlsx to xls using Microsoft Office Compitablity Pack's excelcnv

浪尽此生 提交于 2019-12-06 11:34:45
问题 The internet says that you can convert xlsx files to xls files using Microsoft Office Compitablity like this: "C:\Program Files\Microsoft Office\Office14\excelcnv" -nme -oice D:\test\new.xlsx D:\test\old.xls However, this works backwards - it converts xls files to xlsx files. Does anyone know the excelcnv switches to convert xlsx to xls? 回答1: For me, using the compatibility (conversion) pack for Office 2003, simply switching the places of the parameters in the example you cite works; e.g. if

Is it possible to clone existing cloud code already deployed on server side, through the Parse command line tool?

∥☆過路亽.° 提交于 2019-12-05 18:22:37
How can I clone an existing Parse Cloud Project files to my computer with the command line tool? I tried parse new and selected a project but it created a folder with new files, not the files that I already had in the Parse Cloud. Note: I did not find clue regarding that point in the Parse cloud code documentation neither via Google. Thanks! With the new release of parse-cli, this is possible now. Make sure your cli is at least at version 2.2.5 Follow below instructions to download cloud code files on your new machine: parse new then choose e for existing app, then choose your app. This will