dropbox

Dropbox app destined to interact with only one dropbox account

烂漫一生 提交于 2019-12-03 14:04:53
问题 My need is to have a simple web form that also lets people upload some pdf's. What I was thinking I could do (because of the size and number of uploaded files) is to tie the backend of this app to either my dropbox account or my box.com account. Both services offer similar API's to build apps. However they both assume I want to interact with people's dropbox/box account. I think I kinda want the reverse of that. People would upload files to a web server but I want to upload them

Unsync'd Git Repository in Dropbox

江枫思渺然 提交于 2019-12-03 13:23:15
问题 I have a git repository (and working directory) that is stored in my Dropbox so I can move back and forth between computers without having to commit or stash (read: without any effort at all). This is working great except for one minor annoyance that is becoming a major annoyance. Every so often, I'll leave one computer in a fully committed state only to pick up on the other computer and find that a git status reports changes. Inevitably, those changes are related to permissions. What I'm not

Using Dropbox as git working directory across multiple machines - commits don't sync perfectly

风格不统一 提交于 2019-12-03 12:23:56
问题 First off, I'd like to emphasize that this question is NOT about hosting my central repo on Dropbox, and that I'm fairly new to using git. None of the other questions involving Dropbox and git that I could find really answer my question; they're all either about hosting your repository with Dropbox or whether or not it's a "good idea" to use the two in conjunction, neither of which is what I'm asking about here. My question is as follows: I have two computers, each dual-booting Windows and

Using libcurl to upload files to DropBox

好久不见. 提交于 2019-12-03 11:53:40
I'm trying to use the libcurl in a C/C++ application to post files to DropBox. I would like to use the "/files (POST)" API as documented here... https://www.dropbox.com/developers/reference/api#files-POST I am having problems with properly authenticating (OAuth) this call. It is unclear to me how to properly create the authentication signature. From some a sample I saw, it looked like they were reading in the whole file to create the HMAC-SHA1 encoding on. This seems problematic on large files. Does anyone have experience or insight using this API or something similar? I have just use the

Using Dropbox's zxcvbn password strength estimator

让人想犯罪 __ 提交于 2019-12-03 10:40:41
问题 I'm trying to get zxcvbn, Dropbox's password strength estimator, to work right... but I'm having some issues! I've included the asynchronous loader. My next problem is that I don't know enough JS to figure out how to actually use this thing.... <input id="password" name="password" size="35" class="textInput required" type="password"> is it used as some kind of monitor on that field? Thanks for the help, I'm still learning JS/jQuery... 回答1: <input id="password" name="password" size="35" class=

Using iOS Dropbox SDK to do a Chunked Upload of Core Data

不羁岁月 提交于 2019-12-03 09:53:26
问题 I have an iOS app that uses Core Data for persistent data storage. I integrated Dropbox as a way for users to perform a a backup of the persistent store file (appname.sqlite). A UIButton calls a method to see if a file already exists on Dropbox: if([[DBSession sharedSession]isLinked]) { NSString *folderName = [[self.dateFormatter stringFromDate:[NSDate date]] stringByReplacingOccurrencesOfString:@"/" withString:@"-"]; NSString *destinationPath = [NSString stringWithFormat:@"/GradeBook Pro

share folder via Dropbox Ruby API

帅比萌擦擦* 提交于 2019-12-03 09:11:32
I want to share a dropbox folder via the Ruby API. Is it possible now or is there anyway? Thanks There is always a way, but in this case it would require you to login programmatically via cURL and pass back and forth the data needed. I am trying to figure that out now myself. [Edit] Since there's still interest in this thread I'll post the basic instructions, it may have changed since I did this, but this is what was working 6 months ago. 1) You need to log in and remember your cookies. The login URL is (was) https://www.dropbox.com/login The data you need to post to the login page is below

Git and Dropbox - local repo

落花浮王杯 提交于 2019-12-03 09:02:35
I have read noumerous threads and watched many videos on combining Dropbox and Git functionality. One such thread is this: Using Git and Dropbox together effectively? Here is what i want to do: I am currently working on a large personal project (only me, no need for encryption). Work is done on two desktop computers (Win 7, Ubuntu) and one laptop (OSx). I wish to have my files accesible from anywhere and under version control (git) It would be great to have web-access to all the files (trough Dropbox.com), so there would be no need to install Git if I were to eg. borrow a computer. Most of the

How does Dropbox work? [closed]

可紊 提交于 2019-12-03 07:22:32
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . How does Dropbox work? Is it just an FTP client with an easy-to-use web interface and support for many plarforms? What makes it so useful to programmers, even for those who are working on web-based applications and who have FTP access to a server by default? Does Dropbox come with

Recursive touch to fix syncing between computers [closed]

心已入冬 提交于 2019-12-03 06:42:53
I'm looking for a way from the command-line to touch every file in a directory (and subdirectories) due to a mistake of mine a synced repo of mine has gotten a bit out of step on my development machines. I've now through some unpleasant voodoo managed to get it back into a clean state on one machine, before I do the next sync, I want to prioritise everything time wise on this machine. Is there an easy way to touch all the files? Or am I better doing a manual sync of the directory? (I'm using dropbox for syncing for reference) You could use find along with xargs to touch every file in the