Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a Kotlin project, I am running a simple main function, and I want to start it by reading a YAML file, that is located at the same directory, and saving it into some kind of a data structure, similar to dictionary in Python. How can I do it?
Reading seems like the same for reading any other file, after that the parsing and mapping depend on you
File("/{fullPath}/{ProjectName}/src/reader/example.yaml").forEachLine {
println(it)
}
So I'm using the full path but you can surely optimized that according to your enviroment
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
love the data and how sorted and process, and how can controlled.
I wanna to know if can build own server, and how can upload the data in it.
That depends on the type of data that you want to store.
Assuming you simply want to upload and store files on a server, then you can consider using minio. You can run it locally by following the instructions described here.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Given the documentation above, does this mean it is not possible to write to an existing .xlsm file, not modifying previously existent information?
No, it means that if there is a file with the same name, it will not warn you, it will just replace the file.
You can modify existing excel files, however, it doesn't save modifications, rather it overwrites the old file with a new file with modifications.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I want to know if there's a way to create a file that only my application can read but other programs (eg: notepad) can't
For example:
i create a config file from my application, and if i open it with notepad it will be garbled nonsense, like:
½ÁoLG0%Ö9)9Ìm•~0ý<öKfƒ”ü9´~<ƒ\,Aëxzºv‡#u}ž¹ñ7µK³¨]fÛn {盞Ժî*Ò\úǃ«E%ñ
x#Â˼†ZÜŸ¹>ÇðÏ•Þ¢dóü0¹ñS`|ÛV‰‡Fëm¬2°,üdVNÆ$å^Rf¾!v¼ñ
¡ýù´ÿËjC&¤œšÍÉ]ËÈFæTñq%#++ÜÝ[êq"#hbÍj‰Œ‚äd¡†¸<×sæå‘óùOë\2rxy
You're looking for encryption, if you want something readable only to your application but not the end user.
I don't know VB.NET but a quick google search shows me this question which has a pretty well written answer, that seems to explain how to encrypt a file in VB.NET
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I've spent a few off-clock hours looking for a stupid easy way to take my JSON Schema file as input and generate some kind of human-friendly output. I don't even care what format that output is at this point, as long as it is complete-ish. Thanks for any insight.
Have a look at the following util from cloudflare: https://github.com/cloudflare/doca
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 9 years ago.
Improve this question
I know that the best way of accomplishing similar tasks is to save intermediate results into a file and restore the state from that file. But out of curiosity, I just wonder whether there is a way to save a process and retrieve it after a reboot. That's all.
Problem solved. I create a dump file of my process and get the address of my variables. Then I extract all the data I need from the file.