How to auto update readme file with specific data in files? - github

I'm new to github, and recently I finished an action with auto craw and process data on a daily basis. So, after with the workflow, I can have latest dataset.
My question is, in github readme file, is there a way to show the last date in my dataset.
For example, after my daily workflow finished, the last row of my dataset is '05/09/2022', and I want to see that on my readme file, without manually edit it.
I tried to google it, but haven't found anything, maybe because I don't know how to search the right question?
Was wondering if anyone know how to achieve this?
Thanks in advance.
Update:
I found a way to display code in readme file, called permalink, it could show exactly what i want, but i need it changed from code to data

There is a GitHub action that could help to maintain the README file base on some data files. For example, you can easily maintain a big Markdown-based table from some YAML files.
See also https://github.com/LinuxSuRen/yaml-readme

Related

How to update a JSON file automatically in a GitHub repo when another file is update manually

I am Peter and I am a Siri Shortcuts creator. What my problem is that I store my images (base64) in a json file. In my ‘shortcut’ I use a cache system so it won’t download every-time. What I want to do is every time a new version came out of that json file, I want to update another file with a version number (commit 1 is v1-V2, commit 2 is v2-v3 and so one). I want that version number to update automatically every time I update the base64 json file. I want that to happen so I can check in my shortcut every time if a cache update is needed.
I don’t know how to this so help would be appreciated!

how to edit or copy data loaded renames of my own published sheet/project in qliksense

This is the first time we decided to use QlikSense. So I am a newbie.
I have developed a sheet for a table report.
I loaded a lot of data and I made a lot of renames on the fields when they are loaded from the database to look pretier for searching in the Analytics tab.
In order to show my progress to my boss I had to publish my work. He wanted to use another type of user. So I published the App, but I lost the ability to edit anything especially the data loading. Unfortunately that means I have to restart my work.
Any suggestions on how to restore my progress?
(It sounds to be an off-topic question probably...because there is no code in here)

Tableau, can't publish to server

edit: Sorry about the wrong title before. StackOverflow had saved an old question I was going to ask, and I didn't notice the title
I'm working with Tableau and have created a couple of Dashboards and have included a data source. The Data source is fairly big, around 10.000.000 rows.
My problem is that when I try to publish it to Tableau Server, it gets stuck at "Sending data to server" (See included picture). The server is not down as I can publish other Dashboards, where a smaller data source is included.
Has someone here had similar problems? In that case how can I fix it?
Any help would be greatly appreciated.
You can try to cut your datasource to 1 raw and put all data back when it will be already published. It's should work for sources like table or views in database for example.

How to edit an existing pdf document in an iOS application using any third party libraries.

I would like to edit an existing pdf document,most probably comes from the server. My requirement is to edit the pdf document. Here editing means i want to add some text at some particular place. Whenever user clicks on a document at some place where he wishes to enter the text, keyboard should appear and can able to write some text. In the same way, he should be able to delete some of the text which he doesn't want to use in the existing document. After all these manipulations he should be able to save the document. I have been trying with fastpdfkit framework, everything is possible but entering text and deleting is not working which is the main requirement for me. Anybody who had worked with this kind of requirement could probably help me.
you can try with fastpdfkit.
Download the sample code form github and make use of it.
Try following demo of Leaves framework

How to attach file to a GitHub issue?

I migrated with a project from Bitbucket to GitHub and I cannot find a way to attach a file to an issue (ex: screenshot, specs, etc).
How to do it?
You upload it somewhere and add the link in a comment. GitHub's Issues is rather primitive and doesn't allow attaching files.
Update: You can post images to GitHub issues now. The easiest way is to copy the image (right click, Copy image) and then paste it into the text box where you describe the issue.
OR
Just drag and drop
As of December 7, 2012, you can attach images by drag/drop or use a file chooser. See https://github.com/blog/1347-issue-attachments for more details.
To attach a file to an issue or pull request conversation, drag and drop it into the comment box.
The maximum size for files is 25MB and the maximum size for images is 10MB.
ZenHub.io Chrome plug-in will enable you to add any type of file to a github issue. It's stored on ZenHub's AWS server instead of github.com. From their website...
GitHub only allows you to upload image files. ZenHub adds the ability
to upload any type of file into issues and comments, transferring
securely to Amazon S3. With this you can really take your workflow to
the next level; try using GitHub for everything! Centralized
collaboration and transparency are awesome.
Update:
As of 11/03/2015 you can now upload these types of files to github without any extension or plug-in: PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, or PDF
As an illustration of the previous answers, see this comment:
I create a repository called catfood http://github.com/blueheadpublishing/catfood/ where I keep misc stuff (like screenshots and other attachments).
That way I can reference them in issues.
See https://github.com/blueheadpublishing/bookshop/issues/10
Some images showing the types of layout templates we want to have generated by templates:
Example One - Three Percentage Columns
Example Two - Two Percentage Columns Left
Example Three - Two Percentage Columns Right
Back in 2009, GitHub expressed the intent to add attachment to issues.
Attachments are something we'd like to add.
That topic wasn't raised since in the GitHub group though...
The format for embedding images into a GitHub comment is:
Format: ![Alt Text](url)
Example: ![GitHub Logo](/images/logo.png)
Use gist.github.com to upload any contents like code, log, html files etc. and share the link.
It's a bit of a kludge but you could create a junk branch, then commit the file to that branch and purge it later.
EDIT: This script may be of use to you:
https://github.com/wereHamster/ghup
I found an easy way to embed images in issues using Skitch. Just set up Skitch sharing and auto-copy the URL to the clipboard. Then paste it in when writing up the issue. I blogged about it here.
One quick/easy hack is to upload your attachment (say PDF or Office doc) to Dropbox, then include the Dropbox URL in the Github issue.
Mildly easier than using S3; many organizations are already using Dropbox; and Dropbox has good support for viewing many documents inline in the browser already.
8 years later (Dec. 2020), you can not only drag and drop images to PR/issues, but also... videos!
And in May 2021, this is now generally available.
Video upload public beta
You can now upload .mp4 and .mov files to issue, pull request, and discussion comments to share reproduction steps, design ideas, and experience details with your team.
The public beta will gradually rollout to all GitHub accounts over the coming week.
OK, here's what I use for screenshots.
http://www.techsmith.com/jing.html
It's free, fast, automatically uploads the image and pastes a URL link to your clipboard which you can Ctrl-V into the GitHub issue instantly.
It was a big sigh of relief when I discovered this :)
If your image is already uploaded to github, then you can attach raw link to issues. For example, if your image's location in github is:
https://github.com/Qlio/someproj/blob/master/assets/image.png
then you can can change blob to raw like this:
https://github.com/Qlio/someproj/raw/master/assets/image.png
and then you can use this link to show image:
![My cool Image](https://github.com/Qlio/someproj/raw/master/assets/image.png)