Can I backup photos stored on parse.com? - parse-platform

We can export parse.com database data as JSON, but how can you export pictures stored there together with text data?
I was looking at the settings and couldn't find anything what would help with that.

There is no way to do it automatically via an export button, however it is fairly easy to do manually.
You'll want to iterate through your table and pull down each item individually via the ParseFile interface.
Depending on what platform you are using, you could use the OSX or C# APIs. Or just go with using Python.

Related

unity dynamic ui save

I am developing with unity is dynamically generated the ui part of my application.
This ui is created by pulling information from the server.
The ui device I created is being recorded.
Whenever there is a change, I pull ui from the server, but if there is no change, I want it to run directly from the device. I need information on this subject.
Welcome to Stackoverflow Alper. In order to achieve this, you need to store the data and see if there are any changes from the previous launch. The easiest way to do this is by using PlayerPrefs which is pretty straightforward.
PlayerPrefs.SetInt("someName", varName);
and similar if you want to save string:
PlayerPrefs.SetString("someAnotherName", stringVarName);
Then if you want to access it you can use:
PlayerPrefs.GetInt("someName");
PlayerPrefs.GetString("someAnotherName");
Have in mind that PlayerPrefs is not secure and can be accessed very easy outside of your application. If the information you are going to store have something private I suggest you to use SQLite.

Is there a way to programmaticaly upload a whole skill to DialogFlow?

I want to generate the whole action JSONs in code, and then upload them, instead of working through the console.
There is an option to download the whole package as a zipped JSON and theoretically you can also upload. That might supply a hint on how to create the JSONs.
However, these files have all kinds of IDs for the different building blocks, such as Intents or Entity. So, when I export from DialogFlow, of course I get IDs for these.
But, if I want to create a new google action, do I generate these action IDs myself?
Is there documentation on what the structure of these JSONs should be?
The format used by the export/import process is not documented, and while you can try to work with it, there is no guarantee that it will continue to work in the future.
Depending on your needs, it may be better to work with the Dialogflow API (the former API of API.ai). This provides an API to build and modify Intents and Entities (and do some other things). It isn't clear, however, that this provides access to the settings for various integrations.

How to get data from grid and download them like .csv file in ExtJS 4.2

I have a Ext.grid.Panel and I fill it with store that is populated from database. And there is an export button. When the user click on the Export button, I want the data from grid should start downloading like .csv file
The best solution to creating any type of file (Excel, CSV, PDF, whatever) is going to be leveraging your application server to create and serve up the file for download. There are literally thousands of libraries across most of the popular server-side languages that can create just about any kind of file that you'd want to create.
So ultimately this has nothing to do with Ext JS or even JavaScript. All that your export button should do, IMO, is to create an AJAX request which triggers the process (query, transform results, publish to a correct content type, stream to browser) that will be needed to generate the content from your application server technology.
Sometimes you can't leverage an application server such as when your back end is a micro controller or you can't get the back end people to make the change.
I've not used this, but it looks nice:
http://www.sencha.com/forum/showthread.php?136598-Export-store-to-Excel

Is there a way to access Dynamic Navigation settings with the Google Search Appliance API?

I would like to use the GSA API to read and write the Dynamic Navigation settings. From the API documentation, it looks like this isn't possible. Screen scraping is another option, but most of the page content is built client-side with JavaScript, which makes normal command-line screen scraping very difficult.
Is there an undocumented feature of the API perhaps, or some other way to access settings that aren't covered in the API?
The unofficial gsa-admin-toolkit project has a gsa_admin.py script which can import and export configuration files, and, most importantly, re-sign them. Before, editing an exported config file wasn't an option because they contain a checksum or hash. They get corrupted when edited.
This tool allows editing of the config file, re-signing, and importing back to the GSA.

Adding google apps script though google API?

I am writing a program that creates a new spreadsheet, then exports data from our servers to this spreadsheet using Google API. Then the user should edit this data and reupload it back to our server.I would like to add data validations on some fields and also freeze the top row. I understand this can only be achieved through scripts and not though Google Spreadsheet API. My question: is it possible to attach a script when I create a spreadsheet? If not, are there other ways to achieve my goals? Thanks!!!
There's no way to insert or modify any script on an existing spreadsheet via any API.
But there's a good workaround for those who are creating a new spreadsheet, like you. Instead of creating a new spreadsheet you can copy a blank one that already has the desired script in it, effectively creating new spreadsheets with scripts in it.
In your case this workaround may not even be necessary. Scripts attached to any spreadsheet (or site) can open any spreadsheets that you have access normally, they do not need to be inserted on the target document.
So, if all you want to do is some formatting before handling the file to the user, you don't need to insert your script in it.

Resources