{"id":81,"date":"2023-09-25T06:11:49","date_gmt":"2023-09-25T06:11:49","guid":{"rendered":"https:\/\/lickylip.net\/?p=81"},"modified":"2023-09-25T06:11:49","modified_gmt":"2023-09-25T06:11:49","slug":"what-i-learned-week-38","status":"publish","type":"post","link":"https:\/\/lickylip.net\/index.php\/2023\/09\/25\/what-i-learned-week-38\/","title":{"rendered":"What I Learned &#8211; Week 38"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Clasp<\/h2>\n\n\n\n<p>Clasp is a command line app for syncing with Apps Script projects. It allows me to edit apps script locally in a IDE like VS Code and then use git for change management. It&#8217;s been a real eye opener in terms of managing my apps script projects so I&#8217;m excited to use this going forward and I&#8217;ll try and publish some of the invoicing stuff I&#8217;ve been working on on github.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git\/Github<\/h2>\n\n\n\n<p>I&#8217;ve been using github for ages to get various projects installed on my machine but I never really used it for managing my own projects. After getting VS Code set up for using CLASP I thought I might as well put some of the projects I&#8217;m working on up to github. It&#8217;s been reall good to get to know it and I&#8217;ll hopefully be publishing some of the projects on my site soon<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Uploading Files via Apps Script<\/h2>\n\n\n\n<p>This one took me most of the week to figure out. There were various suggestions online as to how to do it via a web app. I got the web app working multiple times but as soon as I added in the file upload part of the form the whole thing stopped working. In the end I just used a google form with an onSubmit() function to upload the file and then get the file details for processing once it was uploaded. Thiat seems to have worked very well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clasp Clasp is a command line app for syncing with Apps Script projects. It allows me to edit apps script locally in a IDE like VS Code and then use git for change management. It&#8217;s been a real eye opener in terms of managing my apps script projects so I&#8217;m excited to use this going &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lickylip.net\/index.php\/2023\/09\/25\/what-i-learned-week-38\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;What I Learned &#8211; Week 38&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-blog"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":1,"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/posts\/81\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lickylip.net\/index.php\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}