How do I get current datetime on the Windows command line, in a suitable format for using in a filen

How do I get current datetime on the Windows command line, in a suitable format for using in a filen

Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npocmaka's https://stackoverflow.com/a/1

The program 'rails' can be found in the following packages - issue with some app and RVM?

The program 'rails' can be found in the following packages - issue with some app and RVM?

I just downloaded an app code from github and when I am trying to run the command rails s, I am getting this error - The program 'rails' can be found in the following packages: * rails * ruby-railties-3.2This is specific to this app only, c

Android emulator won't boot up

Android emulator won't boot up

I'm trying to install android sdk and run my first application on my PC (Win7 64 bit). I followed instructions on http://developer.android.com from the beginning to http://developer.android.com/training/basics/firstapp/running-app.html When

Why am I getting Unexpected token '\\u0000' when using npm install -g package

Why am I getting Unexpected token '\\u0000' when using npm install -g package

This is probably a Windows specific issue but I haven't found any information when googling this issue. I had been using ionic framework which relies on Cordova (or Phonegap). However, the problem is not specific to any of these packages.

Let Emacs move the cursor off-screen

Let Emacs move the cursor off-screen

Is it possible to let Emacs have the cursor be moved off-screen, like most GUI text editors work? This is one of the biggest things that bothers me when I use Emacs over any GUI editor. When I scroll down, the cursor is "pushed forward" by

Visual Studio 2010: Why aren't key combinations available?

Visual Studio 2010: Why aren't key combinations available?

I am trying to use VS 2010 for writing C. Frequently, I try to use a hotkey combination, and I get an error message of the form: The key combination (key, key) is bound to command (Command) which is not currently available.Why is this? E

android.os.Bundle cannot be resolved in libgdx Android project

android.os.Bundle cannot be resolved in libgdx Android project

I've just started using Libgdx to practice making games and I used the project creation .jar provided on the site to create the initial projects. However an error shows up in the Android project which says: android.os.Bundle cannot be res

Ubuntu 12.10 - Ruby gem rmagick missing dependency issue

Ubuntu 12.10 - Ruby gem rmagick missing dependency issue

Like many others I'm having trouble installing rmagick on Ubuntu when running bundle install. I get this error on the bundle install command:Installing rmagick (2.13.1) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native

Phonegap video capture crashes

Phonegap video capture crashes

I've made a relatively simple phonegap app, with the ability to capture images and videos and upload them to a server.Images work fine, however when I call to capture video the camera UI appears, and when I accept the video the app crashes

Possible way to detect sim card detection in ios?

Possible way to detect sim card detection in ios?

I have a iphone app that has the capability to send messages. I want to alert user when sim card is not available in iphone. So i tried below three function to check sim card availabiltyClass messageClass = (NSClassFromString(@"MFMessageCom

IPython 4 shell does not work with Sublime REPL

IPython 4 shell does not work with Sublime REPL

I am having problems with running the IPython shell from the Sublime REPL package. Here is what I get: C:\Anaconda\lib\site-packages\IPython\config.py:13: ShimWarning: The`IPython.config` package has been deprecated. You should import from

Create JAR file without including external dependencies

Create JAR file without including external dependencies

Is it possible to create a JAR file that requires external dependencies without including those dependencies in the JAR file? My google-fu has failed to give me an answer; everything that I have found shows how to include them in the JAR fi

How to populate gridview with mysql?

How to populate gridview with mysql?

I just know how to populate gridview with asp:SqlDataSource But I have a column of TemplateField in my gridview, when I need modify my SQL for alter grid content, I lose my TemplateField, so I think learn populate my gridview with C#Someone

Xcode 4.3 and iPhone Simulator 4.2

Xcode 4.3 and iPhone Simulator 4.2

Is there a way to install iPhone Simulator 4.2 in Xcode 4.3 for Lion?I only can find how to install it in Xcode 4.2, but not Xcode 4.3 for Lion. 1:I have found a way to install iPhone simulator 4.2 to Xcode 4.3:Follow the instructions by

Unable to load the repository(PyDev for eclipse)

Unable to load the repository(PyDev for eclipse)

I encountered the problem. When i am trying to create new PyDev project, an error occurs:Error: Unable to load the repository http://pydev.org/updates Unknown Host: http://pydev.org/updates/content.xml When i open this link(http://pydev.org

Google analytics: Tracking Not Installed

Google analytics: Tracking Not Installed

I am trying to setup Google Analytics on my site, however it will not detect that it is being tracked. I have placed the code they provided in my header.php right before the as recommended:Not really sure what else to do.. 1:It took a d

Django error: got multiple values for keyword argument

Django error: got multiple values for keyword argument

I get the following error when instantiating a Django form with a the constructor overriden:__init__() got multiple values for keyword argument 'collection_type'The __init__() function (shown below) is exactly as written this but with # cod

Why is there no 64-bit version of VS2013?

Why is there no 64-bit version of VS2013?

I downloaded Visual Studio 2013 from DreamSpark but it's the 32-bit version and I couldn't find any 64-bit version. Is there none, and if so why is there no 64-bit version of Visual Studio? 1:First, there is a 64-bit C++ compiler that co

Android Studio: “Update & Restart” doesn't work

Android Studio: “Update & Restart” doesn't work

Every morning after start of Android Studio I became a dialog with information about new version of Android Studio (Beta). If I click on "Update & Restart" the patch will be downloaded (I see the progress bar and the growing file size). Aft

Determining version of easy_install/setuptools

Determining version of easy_install/setuptools

I'm trying to install couchapp, which uses easy_install - and is quite explicit in stating a particular version of easy_install/setuptools is needed: 0.6c6. I seem to have easy_install already on my Mac, but there's no command-line argument

windows scrapyd-deploy is not recognized

windows scrapyd-deploy is not recognized

I have install the scrapyd like thispip install scrapydI want to use scrapyd-deploy when i type scrapydi got this exception in cmd: 'scrapyd' is not recognized as an internal or external command, operable program or batch file. 1:I ran

AngularJS and Windows 8 route error

AngularJS and Windows 8 route error

I'm trying to create a HTML5/JS/CSS3 App with angularJS on Windows 8.1 with visual studio 2012. I'm currently stuck on sending over parameters to other views.When googleing I see several examples using link When I do this in my Windows 8 ap

How do I uninstall subversion on OS X

How do I uninstall subversion on OS X

I did svn --version on command line and it says it is 1.17.10.I want to uninstall it completely, so I can re-install 1.16.12How do I do that in OS X?Thanks 1:As said Mike Christensen, in order to uninstall it, you just need to delete the

Pygame in Windows: ImportError: DLL load failed

Pygame in Windows: ImportError: DLL load failed

I just installed PyGame 1.9.1 (onto an existing python 2.6.4). Python and it standard libraries work, however, there is a problem with python even being able to find the pygame modules (correctly).Traceback (most recent call last): File "C

Prestashop cant login in admin

Prestashop cant login in admin

Several days ago I couldn't access the admin panel on my site based on prestashop platform.After entering login and password, I was redirected to login page again and everything repeated. The site is hosted on a dedicated server, where some