cloud

Using TF.exe with Team Foundation Service?

眉间皱痕 提交于 2019-12-10 09:43:10
问题 We're moving our build from Team Build (Team Foundation Service) to a local build machine using Jenkins CI for build. However, we still want to use the Cloud for Source Control. So now we need to access the cloud TFS to get the latest build. Jenkins has an TFS Plugin, but that was made for TFS 2008. Now I have the problem that I'm not able to access the cloud TFS with TF.exe from VS2012. I found an article here that showed me the difference between TFS 2008 and 2010 (I need to add /tfs

【CF 应用开发大赛】自定义收藏夹 && 小便笺 && 个人笔记

不羁的心 提交于 2019-12-10 08:12:47
应用URL地址: http://sunlight.cloudfoundry.com (默认账号— 用户:friends 、密码: loveyou ) 应用名称 : 自定义收藏夹 && 小便笺 && 个人笔记 (因为啥都不像,所以很难取名字) 应用说明及使用场景: 管理自己乱糟糟的收藏夹。同 时尽量保护自己上网冲浪时的注意力(因为你同一时间只面对你的一部分收藏) 管理自己的一些小计划。这是 写个人笔记 应用所使用的技术及软件 : 软件:mysql + eclipse + aptana studio + myeclipse 技术:struts2.X + dbutils + "static" + jsp +js(jQuery) (很多是跟红薯的代码学的) 创新点(亮点) :主要是为了自己搭个框架,梳理知识点和学些新东西,没有考虑亮点。 截图: 自定义收藏夹: 便笺: 笔记: 简单自助后台: 一些背景: 因为期末,要复习考试,另外专业的各种课程设计有好几个,所以时间不多。很多设计好的功能还没实现。一些实现了但是较多bug的功能也暂时砍掉了,等放假再实现。 暂时没有精力兼容IE 来源: oschina 链接: https://my.oschina.net/u/273800/blog/100151

How to connect Azure Storage to read .txt files from blob storage

雨燕双飞 提交于 2019-12-10 06:39:43
问题 Could anyone let me know how to read a text file from Azure Blob Storage? 回答1: It's pretty easy: string text = CloudStorageAccount.Parse("<your connection string>").CreateCloudBlobClient().GetBlobReference("path/to/the/blob.txt").DownloadText(); Of course, if the blob is in a public container, you can just do: string text = new WebClient().DownloadString("http://youraccount.blob.core.windows.net/path/to/blob.txt"); 回答2: // connect to development storage. To connect to azure storage use

CloudBlob.DownloadToStream returns null

≡放荡痞女 提交于 2019-12-10 02:04:08
问题 I'm trying to download a file from cloudBlob via stream. I refer to this article CloudBlob Here is the code to download the blob public Stream DownloadBlobAsStream(CloudStorageAccount account, string blobUri) { Stream mem = new MemoryStream(); CloudBlobClient blobclient = account.CreateCloudBlobClient(); CloudBlockBlob blob = blobclient.GetBlockBlobReference(blobUri); if (blob != null) blob.DownloadToStream(mem); return mem; } And the code to convert it into byte array public static byte[]

Best way to retrieve/format data using Firebase Java API

☆樱花仙子☆ 提交于 2019-12-09 17:01:10
问题 I'm using Firebase for data storage on an Android project, and using the Firebase Java API to deal with data. I'm not sure I'm doing it as efficiently as possible, though, and I'd like some advice on best practices for retrieving and formatting data. My Firebase repository looks something like this.... -POLLS NUMPOLLS - 5 (pollskey) - NAME - Poll1 NUMELECTIONS - 2 ELECTIONS (electionskey) - NAME - Election1 NUMNOMINATIONS - 2 NUMVOTERS - 2 NUMBERTOELECT - 1 VOTERS - (votesrkey) - NAME -

Google Cloud Storage Javascript Usage

夙愿已清 提交于 2019-12-09 16:42:52
问题 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,

How can I back up my Windows Azure table storage?

[亡魂溺海] 提交于 2019-12-09 14:29:02
问题 I would like to be able to back up my table storage and also I have a need to move the data (export and import) from my production to development environment on my desktop. Does anyone know of any tools or method that I can use to this. 回答1: You can use Cerebrata's Azure Management Cmdlets product. It allows you to download and restore your Azure table storage (and many more things). You can download it from here. 回答2: http://clumsyleaf.com/products/tablexplorer TableXplorer will let you

Hosting Web Service/WCF Service?

╄→гoц情女王★ 提交于 2019-12-09 13:40:00
问题 I'm new to Windows Azure and I'm trying to deploy my web application to Windows Azure. In my app I used some web services, now I would like to know how can I build them in windows azure and include that web reference in my web app? Some tutorials said that I have to import my current web service into a Cloud Service Project as a WebRole but in my web serivce folder, there's no csproj file. Thanks! 回答1: I found out that I just have to create a new Window Azure Project and add a WCF Service Web

Downloading files using google-api-php-client

让人想犯罪 __ 提交于 2019-12-09 12:55:41
问题 I'm having an issue trying to download a file from Google Cloud Storage using the php client found at https://code.google.com/p/google-api-php-client/ I have authenticated myself ok and using the following code I can return an object which contains the link to my file $this->storageService = new Google_StorageService($this->client); $this->objects = $this->storageService->objects; $options = array( 'prefix' => 'REPORT_NAME_2013-07-01' ); $bucket_contents = $this->objects->listObjects($bucket,

Connecting Android app to amazon RDS

核能气质少年 提交于 2019-12-09 11:52:16
问题 I have an Android application and I want to move my local database in the cloud. I decided for a SQL database and not for a NoSQL, because I want to execute complex queries. I created a database instance in RDS from Amazon and I populated the database. Now I want to connect my mobile app to my cloud database. I sow samples for NoSQL database connection, but I wasn't able to find examples for RDS. I saw that it is recommended to create a web service and connect to that web service, but it