Sync Github Gists with Git Repo

3 min read Original article ↗

Sync Github Gists with Git Repo

I needed an easy way to sync github gists to my local machines and I couldn't find anything provided by gist, or any other open source projects out there so I put this little node app together quick.

Simply clone this repo and update the `users.json` file to sync all the associated public gists to your local machine.

https://github.com/aaronhoffman/gists

The node app uses the gists api and `git clone`s each gist into a folder with the same name as it's id:

Hope this helps!
Aaron

Popular posts from this blog

Complete Project Gutenberg Catalog in JSON

Image

Project Gutenberg is an amazing site containing over 57,000 free ebooks at the time of this writing. Recently I've been working on a project to create a database of book bibliographies. A database of book references from within other books. You'd be able to answer the query: Show me all the books that reference "Thinking Fast and Slow". I plan to use Project Gutenberg as the repository that I use to create the first version of this database. Project Gutenberg currently makes their complete project catalog available as a collection of RDF files found here: http://www.gutenberg.org/wiki/Gutenberg:Feeds RDF is not something I've worked with in the past, so I converted them to JSON files. You can download that set of files from here: https://sfp.blob.core.windows.net/public/gutenberg_catalog.zip Hope this helps, Aaron

Install and Setup Windows 10 for a Developer

Image

I have been writing code on the Microsoft Stack for around 10 years and have set up quite a few developer machines over the years. Starting with Windows XP, Visual Studio 2003, and SQL Server 2000, and on every version of Windows, VS, .NET, and SQL Server since. If there is a quirk with installing dev tools, I've likely run into it. I recently upgraded my primary dev machine to Windows 10, Visual Studio Enterprise 2015, and SQL Server 2014, and decided to capture the steps in this blog so I could point other people to it. Notice: Obviously, these are my preferences, and may not work for your situation. I am writing this post after running this setup for about a week* (edit: about 6 months now and still good). I will update this post as I continue to work with Windows 10. Objective From scratch, set up a developer machine with the following: 1. Windows 10 Pro 2. SQL Server 2014 Developer Edition 3. Visual Studio 2015 Enterprise Edition 4. Other dev tools (git, Sublime Tex...

Pixel Grid Images 8x8 pixel grid on 256 pixel image

Image

Working with some images of maps, I had a need for some pixel grid overlays. I couldn't find any with a quick google search so I made these in paint.net using the Grid Maker  plugin. Images below 8x8 pixel grid on 256 pixel image 8x8 pixel grid on 1024 pixel image 16x16 pixel grid on 256 pixel image 16x16 pixel grid on 1024 pixel image Hope this helps, Aaron