Heroku and OpenCV with Python

Heroku and OpenCV with Python

I'm trying to install OpenCV on Heroku so my Python web app can use OpenCV. How can I go about doing this?Thanks! 1:Links posted by friism didin't work for me, so I created a custom buildpack that should be more than enough for the situ

Skip local installation of Gulp

Skip local installation of Gulp

Can I somehow skip local installation of Gulp to the project? I installed Gulp globally, added it to package.json as a dependency. But still Gulp wants to be installed locally also with the Local gulp not found in ... message. If I do local

Homebrew install issues

Homebrew install issues

I am having some trouble with brew installs. So I have done the following:Uninstalled homebrew with: $ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanupReinstalled homebrew with: $ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebre

“IOError: decoder zip not available” : Ubuntu Python PIL

“IOError: decoder zip not available” : Ubuntu Python PIL

I am trying to get the sample heatmap.py running from:http://jjguy.com/heatmap/#image.pyimport heatmapimport randomif __name__ == "__main__": pts = [] for x in range(400): pts.append((random.random(), random.random() ))

npm install giving error while accessing GIT url

npm install giving error while accessing GIT url

my package.json has the following dependency, { "name": "AppName", "version": "0.0.0", "description": "App Description", "author": "@author", "dependencies": {}, "devDependencies": { "css-flip": "git://github.com/geedmo/

CSSMERR_TP_NOT_TRUSTED error

CSSMERR_TP_NOT_TRUSTED error

I did everything according to documentation.i marked both the Apple WorldWide Developer certificate as always trusted..and the iPhone Distribution one as Always trusted, but i faced following error message./Users/keyss/Desktop/Deep/Free_Ver

How to read a file from remote system using java?

How to read a file from remote system using java?

I have a file copied in one computer and I need to access the file from other computer.I am not sure, which protocol or which technology to use for this?Please provide me any hints for this..Update:I am using Ubuntu Linux system. I used the

'jquery' is not a valid script name. The name must end in '.js'

'jquery' is not a valid script name. The name must end in '.js'

My ASP.Net project is working well, when suddenly we had a power failure. When I ran my web app, it is now showing a lot of Could not load assembly Sanitizer..." then "Could not load "HtmlAgility...errors. I was able to resolve these prev

How to ignore directories with Composer?

How to ignore directories with Composer?

I'd like to release a PHP library and submit it on Packagist to have it installable via Composer.My library has the following structure:lib/tests/composer.jsonREADME.mdBasically, whenever I include this library in a project's composer.json,

How do I call an API Gateway with Cognito credentials in Python

How do I call an API Gateway with Cognito credentials in Python

I've managed to setup an API Gateway secured with Cognito. The unauthenticated user role has an access policy that should grant it access to the gateway. I've also managed to use boto3 to retrieve an identity ID from the pool and obtain the

Android Market Application Updates [closed]

Android Market Application Updates [closed]

Quick question about android market application updates. If I have an app on the market and release an update, is there a way to ensure that the users download the new update? I.e. Does the app tells the user there is an update, or does it

What is the best way to serialize SVG from the client DOM?

What is the best way to serialize SVG from the client DOM?

I am working on interactive SVG/AJAX interfaces where elements are created and repositioned on-the-fly by users. I'd like to support the ability for users to export their current view to a PNG image and/or an SVG document. I'd really like t

Is it possible to Test iPhone Application on Actual Device rather than Simulator?

Is it possible to Test iPhone Application on Actual Device rather than Simulator?

I wants to test my own application to my actual iPhone Device rather then simulator.So, is there any chance to do so with ?I have an apple developer account.. But don't know the procedure, Please help me if u have any solutions..Thanks in a

How can I save protractor test results

How can I save protractor test results

Is there a way to output protractor test results to a file to be viewed outside of the command line after a test is run, including seeing detailed failures? 1:I found a nice clean way of saving the test results in a orderly fashion using

PHP Source Encryption - Effectiveness and Disadvantages

PHP Source Encryption - Effectiveness and Disadvantages

I have some PHP source code that I'm hosting with hosting company XYZ. I'm using a PHP encryption software like Zend Guard or ionCube to protect the source from being viewed by anyone (sysadmin or hacker that hacks the sysadmin).How easy/ha

How to install atmosphere packages without meteorite?

How to install atmosphere packages without meteorite?

mrt currently has a bug with spaces in Volume names on the Mac https://github.com/oortcloud/meteorite/issues/172.Until that is fixed, how can I manually install packages from atmosphere? 1:You can create a directory called /packages in y

Ember.js: HtmlBars and the Handlebars.compile command

Ember.js: HtmlBars and the Handlebars.compile command

I get the following error when running my app:Uncaught Error: Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.It is related to this piece of code:var CarouselVi

Qt Creator - how to set application icon for ubuntu linux?

Qt Creator - how to set application icon for ubuntu linux?

I have seen the original question qt-creator-how-to-set-application-iconbut it did not help me because i am building an app in ubuntu and the Qt`s Documentationis not clear for me..Is there anynone, who has done it?Whats the method?Thanks i

Local solar time function from UTC and longitude

Local solar time function from UTC and longitude

I'm wondering if there is a python function/module that calculates the local time after midnight (or local solar time) given the UTC time and longitude? It doesn't need to take into account daylight saving time.Thanks in advance. 1:Or if

While executing gem, unknown command

While executing gem, unknown command

Whenever I enter a gem command, such asgem "tilt"orgem "mysql"I get this error:While executing gem ... Unknown command tiltWhen I run gem list, both tilt and mysql show up on the list, so they are installed. In fact, I get this error with e

How add commands to cygwin - npm

How add commands to cygwin - npm

I use cygwin on windows 8.1 to have an Unix shell. But I cannot run commands such as npm from it.What should I do to do it? Add some kind of env var to cygwin? Why it doesn't use windows PATH?Edit:Actually I think that I misunderstood the p

Can node.js run in any hosting provider?

Can node.js run in any hosting provider?

Sorry for this newbie question. Can node.js run in any hosting provider like Fastdomain? We have an account in fastdomain where we upload our Website made in PHP. I allowed SSH in our host and tried installing node.js but it didn't work. I'

how to get tz_info object corresponding to current timezone?

how to get tz_info object corresponding to current timezone?

Is there a cross-platform function in python (or pytz) that returns a tzinfo object corresponding to the timezone currently set on the computer?environment variables cannot be counted on as they are not cross-platform 1:>>> import dateti

MSBuild 12 in TeamCity not finding reference assemblies for .NET 4.5.1

MSBuild 12 in TeamCity not finding reference assemblies for .NET 4.5.1

I'm getting the following warning messages in my TeamCity build log: [GetReferenceAssemblyPaths] C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(989, 5): warning MSB3644: The reference assemblies for framewo

Post UIImage to Instagram using Swift similar to SLComposeViewController

Post UIImage to Instagram using Swift similar to SLComposeViewController

I have an iOS Xcode 7 Swift 2 project I'm working on. The app posts photos to Facebook and Twitter using:var shareToFacebook: SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook)and var shareToTwitter: S