cloud

Upload files on cloud using email address

被刻印的时光 ゝ 提交于 2019-12-04 05:05:28
问题 So I am not sure if it is possible and if it is making sense at all. I am trying to learn and use cloud space in my application. So as a sample I was trying to create an application to upload files in Google Drive. I registered my application and used some references given by Google. And I am able to upload files now. I registered my app using myname@gmail.com and used Client_Id and Client_Secret given in my account to create the app. When I upload the files, files get uploaded to my myname

Google Cloud Storage Javascript Usage

女生的网名这么多〃 提交于 2019-12-04 04:53:34
i am trying to upload images into buckets on Google Cloud Storage using the JSON API , using the Javascript sample: Api Javascript Sample I am able to upload pictures but it asks me to log in on my google account. Tthe sample has an Authorization button, which I understand manages the OAuth credentials. function checkAuth() { gapi.auth.authorize({ client_id: clientId, scope: scopes, immediate: true }, handleAuthResult); } The problem is: I want to authenticate without having the pop up screen, that means without login in with Google. Because my client doesn't know the email or password, I want

SecurityManager for a cloud service “sandbox”

限于喜欢 提交于 2019-12-04 04:47:47
All, I'm working on the design of a cloud-based service that will provide the option to execute some "plugin" code submitted by clients. In order to make this work it is essential that the plugins can't threaten system integrity or have any ability to access the data of other clients. Ideally I'd like it to be possible for clients to submit a simple jar file (containing a class conforming to some pre-defined interface) which would then be run within a sandbox. The client code should be allowed to: Take as much CPU time as it needs on a single thread Perform any calculations using standard java

Android Backup API

倾然丶 夕夏残阳落幕 提交于 2019-12-04 03:12:39
Can anyone explain what exactly the Android Backup API is used for? I have read Using the Backup API and Data Backup from the Developer Docs, but it is still unclear to me. When is data backed up & restored? Specifically in these situations: A user installs my app on Device 1, data is backed up, and the user then installs my app on Device 2. Is user data from Device 1 automatically put on Device 2? If so, does this occur when the app is installed or when it is launched? My app is installed on 2 devices. When a change is made on Device 1 is it automatically made on Device 2? If not, is it at

“tag cloud” generators?

孤街醉人 提交于 2019-12-04 02:28:43
I would like to add a "tag cloud" to a project I'm working on. I see tons of them via google, but they seem to mostly be "enter an url" type. Here's an example of what I mean: I'm looking for one which either has either a nice web-accessible api a standalone local executable (linux preferred) a linkable library (c,python preferred) of course, other options and suggestions appreciated! update: it seems what I am looking for is commonly called a tag cloud and not a text cloud , even though I am interested in using it to view blocks of text. update 2: the Most Excellent Jonathan Feinberg and IBM

Error H14 (No web processes running) deploy on Heroku

这一生的挚爱 提交于 2019-12-04 02:23:26
I try to create simple java App on Heroku. I following step by step from http://samuelsharaf.wordpress.com/2011/11/06/create-a-simple-java-web-app-using-maven-and-upload-to-heroku/ to do it. But when i try to deploy my app on heroku project i got error message like bellow when i try to view log $ heroku logs -t 2012-07-10T02:15:14+00:00 heroku[slugc]: Slug compilation started 2012-07-10T02:15:27+00:00 heroku[api]: Add shared-database:5mb add-on by anwar@meruvian.org 2012-07-10T02:15:27+00:00 heroku[api]: Release v2 created by anwar@meruvian.org 2012-07-10T02:15:27+00:00 heroku[api]: Add MAVEN

Download .vhd image from Azure to local machine, and upload to another Azure account

与世无争的帅哥 提交于 2019-12-03 22:34:17
I'd like to download a VM image to my local machine, so I can use it locally and upload it to another credential of Azure. I know that there is blob URL but wget didn't help to download it, because it occurs <Error> <Code>ResourceNotFound</Code> <Message> The specified resource does not exist. RequestId:e7ffa746-b35c-44f3-a354-af2abfdaa823 Time:2012-09-27T18:07:00.3196644Z </Message> </Error> Any ideas? I also tried to migrate a VM image from one Azure account to another using Azure CMDLets, but got trouble because CMDLets doesn't work properly in multiple credentials. From the Windows Azure

How to Get data from Azure DB Table to an Android app?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 21:02:05
问题 I'm new to azure, I don't know how to connect to a Table I created on an Azure Database. I want to get the table data (SELECT *) and populate them in a GridView in android. I know the 'populating' part using an adapter, all I want to know is how to connect and receive the data from the Table :) I've tried THIS tutorial by Microsoft however, I'm facing some difficulties when applying the same tutorial to my scenario. Here's what I tried: @Override protected void onCreate(Bundle

Cloud computing over Client-server: differences, cons and pros? [closed]

◇◆丶佛笑我妖孽 提交于 2019-12-03 17:25:12
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . As far as I know, Cloud computing might be a evolution in software architect, and it will replace some current architectures, such as client-server. These two architecture seem to share similarities for me (I know very little about both), but I don't know the differences

What is the easiest way to run python scripts in a cloud server?

眉间皱痕 提交于 2019-12-03 17:13:00
问题 I have a web crawling python script that takes hours to complete, and is infeasible to run in its entirety on my local machine. Is there a convenient way to deploy this to a simple web server? The script basically downloads webpages into text files. How would this be best accomplished? Thanks! 回答1: Since you said that performance is a problem and you are doing web-scraping, first thing to try is a Scrapy framework - it is a very fast and easy to use web-scraping framework. scrapyd tool would