{"id":1240,"date":"2021-01-28T13:04:25","date_gmt":"2021-01-28T17:04:25","guid":{"rendered":"http:\/\/www.jfciii.com\/blog\/?p=1240"},"modified":"2025-01-09T11:02:01","modified_gmt":"2025-01-09T15:02:01","slug":"how-im-using-github","status":"publish","type":"post","link":"http:\/\/www.jfciii.com\/blog\/2021\/01\/28\/how-im-using-github\/","title":{"rendered":"How I&#8217;m Using GitHub"},"content":{"rendered":"<p>I have had a GitHub account since March 6, 2013, but I never used it until much later in 2016.<\/p>\n<p>I started working on a list of places to eat when I traveled and using GitHub to backup\/store my code.<\/p>\n<h2>First GitHub Use<\/h2>\n<p>My first use of GitHub was on September 30, 2016, when I created my first repro for the place to eat project. At some point, I purchased the domain name <a href=\"http:\/\/gottaeathere.com\/\">GottaEatHere.com<\/a> to put the information on. I bought a bunch more domains because I wasn&#8217;t sure what I wanted to call the application.<\/p>\n<h2>Reason for Using GitHub<\/h2>\n<p>The reason I started the project was for the An Event Apart and Microsoft 10K Apart contest. Besides, people had been asking me for recommendations of where to eat. So I figured I build a small web-based application to kills two birds with one stone. The contest was where people had to build an application in less than 10 kilobytes (KB) of code.<\/p>\n<p>I spent some time upfront figuring out how best to do that. I wanted to learn PHP or at least get better at it, so that&#8217;s where I started.<\/p>\n<h2>Planning the Application<\/h2>\n<p>My first thoughts were I would need two or three Kb for CSS. Then another three Kb for my HTML template, and the remaining Kb for logic to render the pages content.<\/p>\n<p>I decided to use JSON files because I wasn&#8217;t sure if a database would count against the total of 10 Kb. Which allowed me to learn something else new too.<\/p>\n<p>I worked to get my PHP application to render a list of five or six cities, and I think five restaurants I loved going to. Each city had its know JSON file, and they were half Kb in size or something like that.<\/p>\n<p>The 10 Kb or less version of the application had a lot less information per city and restaurant. I think it had a name, address, phone number, URL, and a short description. Now it has a bunch o other information.<\/p>\n<p>A person chooses a city was from a drop-down list. Then the PHP would read the JSON file for the city that a person picked. Then render the restaurants for that city. Nothing fancy, but it got the job done. I didn&#8217;t expect to win anything, and I didn&#8217;t.<\/p>\n<p>Of course, the whole time, I was making sure it was as accessible as possible.<\/p>\n<h2>Using GitHub Daily<\/h2>\n<p>On November 18, 2016, I started making more commits to add more places to eat along with more cities, along with information.<\/p>\n<p>November 18th was the day I started making at least one commit or added an issue to GitHub every day. It might have been for new fields, cities, states, etc., to GitHub every day.<\/p>\n<p>Over the last four and a half or so years, I have only missed doing something on GitHub about a dozen times. So that works out to three or four times a year. I&#8217;m okay with that and don&#8217;t lose sleep over it if I do. Some of the updates and issues were related to my slides, and others were for code examples for the slides.<\/p>\n<p>My use of GitHub is still through their desktop application. It lets me create new repro&#8217;s, create issues for new features, cites, restaurants, etc.<\/p>\n<p>With only me working on the projects, I have not had to worry about creating branches, merging others&#8217; code, etc. At some point, I need to learn how to do that through the application or the command line.<\/p>\n<h2>Need to Learn More Git<\/h2>\n<p>So here&#8217;s to learning more Git. Be it through the GitHub application or, more importantly, through the command line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have had a GitHub account since March 6, 2013, but I never used it until much later in 2016. I started working on a list of places to eat when I traveled and using GitHub to backup\/store my code. &hellip; <a href=\"http:\/\/www.jfciii.com\/blog\/2021\/01\/28\/how-im-using-github\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[203,263,13,280,316,318,317],"tags":[],"class_list":["post-1240","post","type-post","status-publish","format-standard","hentry","category-203","category-263","category-aneventapart","category-code","category-github","category-gotta-eat-here","category-microsoft"],"_links":{"self":[{"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/posts\/1240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/comments?post=1240"}],"version-history":[{"count":4,"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/posts\/1240\/revisions"}],"predecessor-version":[{"id":1287,"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/posts\/1240\/revisions\/1287"}],"wp:attachment":[{"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/media?parent=1240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/categories?post=1240"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jfciii.com\/blog\/wp-json\/wp\/v2\/tags?post=1240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}