Clone, edit and push files that live in a Gist
GitHub Gists are full Git repositories, and can be cloned and pushed to. You can clone them anonymously (read-only) just using their URL: git clone…
26 posts tagged “github”.
GitHub Gists are full Git repositories, and can be cloned and pushed to. You can clone them anonymously (read-only) just using their URL: git clone…
GitHub Codespaces provides full development environments in your browser, and is free to use with anyone with a GitHub account.
For my auto-updating personal README I needed to fetch the latest release for every repository I have on GitHub. Since I have 316 public repos I wanted the most efficent way possible to do this.
It turns out GitHub Flavored Markdown can apply syntax highlighting to Python console examples, like this one: The trick is to use the following: pycon import csv with open('eggs.csv', newline='') as…
Microsoft recently released Edit, a new terminal text editor written in Rust. It's pretty nice - it's reminiscent of but with a retro MS DOS feel. I wanted to run it on my Apple Silicon Mac.
I wanted to ensure that when this template repository was used to create a new repo that repo would have a specific set of labels.
Matt Holt asked: Is there a tool that uses the GitHub API to generate a doc with all release notes from a repo?
I wanted to be able to fetch details of a list of different repositories from the GitHub GraphQL API by name in a single operation.
This is a quick trick for creating a cumulative chart of the total number of items created over time based just on their creation date.
For Datasette Desktop I wanted to run an action which, when I created a release, would build an asset for that release and then upload and attach it.
https://www.w3.org/History/1991-WWW-NeXT/Implementation/ It's served up as a browseable Apache directory listing, but that's not the most delightful way to browse code - clicking a link to a file…
I'm trying a new thing: a private daily planner, where each day I note down my goals for the day and make notes on my progress towards them as the day progresses.
I have my own private repository where I sometimes create research threads. Occasionally I want to transfer these to a public repository to publish their contents.
I figured out how to migrate a GitHub wiki (public or private) from one repository to another while preserving all history. The trick is that GitHub wikis are just Git repositories.
I like to write the release notes for my projects by hand, but sometimes it can be useful to have some help along the way. Today I figured out this recipe.
If you copy and paste from a web page - including a full table - into a GitHub issue comment GitHub converts it to the corresponding Markdown for you. Really quick way to construct Markdown tables.
GitHub's Dependabot can automatically file PRs with bumps to dependencies when new versions of them are available.
I found out today (via this post) about a dedicated interface for reporting bugs in GitHub to GitHub: https://support.github.com/contact/bug-report It includes full markdown support, which means you…
GitHub Projects has a mechanism for bulk updating the status of items, but it's pretty difficult to figure out how to do it. The trick is to use copy and paste.
My tools.simonwillison.net site is a growing collection of small HTML and JavaScript applications hosted as static files on GitHub Pages.