-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpage-data.json
More file actions
1 lines (1 loc) · 10.8 KB
/
page-data.json
File metadata and controls
1 lines (1 loc) · 10.8 KB
1
{"componentChunkName":"component---src-templates-post-list-js","path":"/3","result":{"data":{"site":{"siteMetadata":{"title":"emeraldjava","author":"emeraldjava","labels":[{"tag":"run","tech":"Run","name":"FaRunning","size":20,"color":"red"},{"tag":"cycle","tech":"Cycle","name":"FaBicycle","size":20,"color":"blue"},{"tag":"nodejs","tech":"Node.js","name":"DiNodejsSmall","size":20,"color":"lightgreen"},{"tag":"git","tech":"Git","name":"DiGitMerge","size":20,"color":"white"},{"tag":"javascript","tech":"JavaScript","name":"DiJsBadge","size":20,"color":"yellow"},{"tag":"css","tech":"CSS","name":"DiCss3Full","size":20,"color":"teal"},{"tag":"beer","tech":"Beer","name":"FaBeer","size":20,"color":"deepskyblue"},{"tag":"ruby","tech":"Ruby","name":"DiRuby","size":20,"color":"crimson"},{"tag":"java","tech":"Java","name":"FaJava","size":20,"color":"wheat"},{"tag":"angular","tech":"Angular","name":"DiAngularSimple","size":20,"color":"red"},{"tag":"html","tech":"HTML","name":"FaHtml5","size":20,"color":"darkorange"},{"tag":"php","tech":"php","name":"DiPhp","size":20,"color":"violet"},{"tag":"mongodb","tech":"MongoDB","name":"DiMongodb","size":20,"color":"green"},{"tag":"vscode","tech":"VS Code","name":"DiVisualstudio","size":20,"color":"deepskyblue"}]}},"allMarkdownRemark":{"totalCount":21,"edges":[{"node":{"excerpt":"Enabling strava plugin again https://swas.io/blog/using-multiple-queries-on-gatsbyjs-createpages-node-api/ running two gatsby create page functions in gatby-node.js https://stackoverflow.com/questions…","html":"<p>Enabling strava plugin again</p>\n<p><a href=\"https://swas.io/blog/using-multiple-queries-on-gatsbyjs-createpages-node-api/\">https://swas.io/blog/using-multiple-queries-on-gatsbyjs-createpages-node-api/</a></p>\n<p>running two gatsby create page functions in gatby-node.js</p>\n<ul>\n<li><a href=\"https://stackoverflow.com/questions/57748844/how-do-i-use-multiple-createpage-routes-in-gatsby-node-js\">https://stackoverflow.com/questions/57748844/how-do-i-use-multiple-createpage-routes-in-gatsby-node-js</a></li>\n<li><a href=\"https://stackoverflow.com/questions/64536170/how-to-create-multiple-page-types-dynamically-in-gatsby-node-js\">https://stackoverflow.com/questions/64536170/how-to-create-multiple-page-types-dynamically-in-gatsby-node-js</a></li>\n<li><a href=\"https://swas.io/blog/using-multiple-queries-on-gatsbyjs-createpages-node-api/\">https://swas.io/blog/using-multiple-queries-on-gatsbyjs-createpages-node-api/</a></li>\n<li><a href=\"https://gist.github.com/tanaypratap/c676022402d4fadbe1dad4c1b1a78c21\">https://gist.github.com/tanaypratap/c676022402d4fadbe1dad4c1b1a78c21</a></li>\n</ul>\n<p>My .env file looks like</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">STRAVA_CLIENT_ID=xxxx\nSTRAVA_CLIENT_SECRET=78..78\nSTRAVA_TOKEN={\"access_token\":\"8a..b2\",\"refresh_token\":\"ij..gy\",\"expires_at\":1581439030,\"expires_in\":21600}</code></pre></div>\n<h2>token</h2>\n<p><a href=\"https://yizeng.me/2017/01/11/get-a-strava-api-access-token-with-write-permission/\">https://yizeng.me/2017/01/11/get-a-strava-api-access-token-with-write-permission/</a></p>\n<p>generate token</p>\n<p>STRAVA_CLIENT_ID=4945\nSTRAVA_CLIENT_SECRET=cd72dfedc320fd098fc2d5cf9af51c245fd9b042\nSTRAVA_TOKEN={“access_token”:“503671acabaf6e27d8aa5ed49dbb22cd3f31748b”,“refresh_token”:“2706dca4b78c29353ed03267c0df2f41759a0c68”,“expires_at”:1581439030,“expires_in”:21600}</p>\n<p>1 -</p>\n<p><a href=\"http://www.strava.com/oauth/authorize?client_id=4945&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all\">http://www.strava.com/oauth/authorize?client_id=4945&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all</a></p>\n<p>returns</p>\n<p><a href=\"http://localhost/exchange_token?state=&code=3135adf3d092a54b2c9952978757adc4dee11c07&scope=read,activity:read_all,profile:read_all,read_all\">http://localhost/exchange_token?state=&code=3135adf3d092a54b2c9952978757adc4dee11c07&scope=read,activity:read_all,profile:read_all,read_all</a></p>\n<p>code=3135adf3d092a54b2c9952978757adc4dee11c07</p>\n<p>2 Run CURL to</p>\n<p>curl -X POST <a href=\"https://www.strava.com/oauth/token\">https://www.strava.com/oauth/token</a> -F client_id=4945 -F client_secret=cd72dfedc320fd098fc2d5cf9af51c245fd9b042 -F code=3135adf3d092a54b2c9952978757adc4dee11c07 -F grant_type=authorization_code</p>\n<p>{“token_type”:“Bearer”,\n“expires_at”:1621798403,“expires_in”:21600,\n“refresh_token”:“f84937f098dc675364aed4b65acb9e66bf30924c”,\n“access_token”:“b898fbd9ea915f5a3b34cc8876dc0c9f3bca049b”,</p>\n<p>“athlete”:{“id”:7035778,“username”:“emeraldjava”,“resource_state”:2,“firstname”:“emerald”,“lastname”:“java”,“bio”:\"\",“city”:“Dublin”,“state”:“Dublin”,“country”:“Ireland”,“sex”:“M”,“premium”:true,“summit”:true,“created_at”:“2014-11-09T16:06:10Z”,“updated_at”:“2021-05-23T13:03:13Z”,“badge_type_id”:1,“weight”:73.4,“profile_medium”:”<a href=\"https://dgalywyr863hv.cloudfront.net/pictures/athletes/7035778/2122161/2/medium.jpg%22,%22profile%22:%22https://dgalywyr863hv.cloudfront.net/pictures/athletes/7035778/2122161/2/large.jpg%22,%22friend%22:null,%22follower%22:null%7D%7D%25\">https://dgalywyr863hv.cloudfront.net/pictures/athletes/7035778/2122161/2/medium.jpg”,“profile”:“https://dgalywyr863hv.cloudfront.net/pictures/athletes/7035778/2122161/2/large.jpg”,“friend”:null,“follower”:null}}%</a></p>","id":"6fa2b1b2-734a-58c9-abba-b51ad7f72a09","frontmatter":{"title":"openapi typescript","date":"May 01, 2021","tags":["supabase"]},"fields":{"slug":"/2021-05-23-enable-strava-plugin/"}}},{"node":{"excerpt":"Started looking supabase.io to get access to a Postgres DB as a service and play with their javascript UI client. supabase See https://github.com/AlanLyttonJones/Age-Grade-Tables Carbon See carbon.now…","html":"<p>Started looking <a href=\"https://supabase.io\">supabase.io</a> to get access to a Postgres DB as a service and play with their javascript UI client.</p>\n<table>\n<thead>\n<tr>\n<th><img src=\"./content/blog/2021-04-30.supabase.png\" alt=\"supabase\"></th>\n</tr>\n</thead>\n</table>\n<p>See <a href=\"https://github.com/AlanLyttonJones/Age-Grade-Tables\">https://github.com/AlanLyttonJones/Age-Grade-Tables</a></p>\n<h2>Carbon</h2>\n<p>See carbon.now.sh</p>\n<p>blob:<a href=\"https://carbon.now.sh/72027f28-1ae5-48c5-ba73-cb130ceca298\">https://carbon.now.sh/72027f28-1ae5-48c5-ba73-cb130ceca298</a></p>\n<h2>Upgrading Gatsby</h2>\n<p><a href=\"https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/\">https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/</a>\n<a href=\"https://github.com/gatsbyjs/gatsby-starter-default\">https://github.com/gatsbyjs/gatsby-starter-default</a></p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">npm install gatsby-plugin-image gatsby-plugin-sharp gatsby-source-filesystem gatsby-transformer-sharp</code></pre></div>\n<p>From <a href=\"https://letscodepare.com/blog/npm-resolving-eacces-permissions-denied\">https://letscodepare.com/blog/npm-resolving-eacces-permissions-denied</a> run commands</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">sudo chown -R $(whoami) ~/.npm\nsudo chown -R $(whoami) /usr/local/lib/node_modules/</code></pre></div>\n<p><a href=\"https://www.gatsbyjs.com/starters/gatsbyjs/gatsby-starter-blog/\">https://www.gatsbyjs.com/starters/gatsbyjs/gatsby-starter-blog/</a></p>","id":"57cc3a6a-31c8-5529-ba18-f3b34a28a902","frontmatter":{"title":"Supabase Starter","date":"April 30, 2021","tags":["supabase dev"]},"fields":{"slug":"/2021-04-30-supabase-starter/"}}},{"node":{"excerpt":"I was looking for a guide to configuring spring boot with spring batch admin which i found but then spotted a nice GitHub summary on damienbeaufils home page. Calling this API servive with my account…","html":"<p>I was looking for a guide to configuring <a href=\"https://github.com/damienbeaufils/spring-boot-with-spring-batch-admin\">spring boot with spring batch admin</a> which i found but then spotted a nice GitHub summary on <a href=\"https://github.com/damienbeaufils\">damienbeaufils</a> home page.</p>\n<p>Calling this API servive with my account details</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">https://github-readme-stats.vercel.app/api?username=emeraldjava&show_icons=true&count_private=true</code></pre></div>\n<p>returns a neat embedded image.<br>\nThanks Damien</p>\n<table>\n<thead>\n<tr>\n<th><img src=\"https://github-readme-stats.vercel.app/api?username=emeraldjava&show_icons=true&count_private=true\" alt=\"Alt name of image\"></th>\n</tr>\n</thead>\n</table>\n<p>To ensure the image gets space, we add it to a table.</p>\n<p>TODO - create a gatsby plugin which takes the url and embeds the image.</p>\n<p>With crappy dot line spacing below.</p>\n<p><img src=\"https://github-readme-stats.vercel.app/api?username=emeraldjava&show_icons=true&count_private=true\"> </img></p>\n<h1>StackOverFlow Flair</h1>\n<p>See <a href=\"https://stackoverflow.com/help/flair\">https://stackoverflow.com/help/flair</a></p>\n<p><a href=\"https://stackexchange.com/users/22565\"><img src=\"https://stackexchange.com/users/flair/22565.png\" width=\"208\" height=\"58\" alt=\"profile for emeraldjava on Stack Exchange, a network of free, community-driven Q&A sites\" title=\"profile for emeraldjava on Stack Exchange, a network of free, community-driven Q&A sites\"></a></p>\n<hr>\n<h1>Horizontal Rules</h1>\n<p>See <a href=\"https://www.markdownguide.org/basic-syntax/#horizontal-rules\">https://www.markdownguide.org/basic-syntax/#horizontal-rules</a></p>\n<h2></h2>\n<a href=\"https://github.com/emeraldjava/github-readme-stats\">\n <img align=\"center\" src=\"https://github-readme-stats.vercel.app/api?username=emeraldjava&show_icons=true&theme=dark&hide_border=true&custom_title=My%20GitHub%20Stats&include_all_commits=true\">\n</a>\n<a href=\"https://github.com/emeraldjava/github-readme-stats\">\n <img align=\"center\" src=\"https://github-readme-stats.vercel.app/api/top-langs/?username=emeraldjava&langs_count=4&theme=dark&hide_border=true\">\n</a>","id":"9a6280e3-ec44-517c-bceb-02e25954ca15","frontmatter":{"title":"Github Readme Stats","date":"April 25, 2021","tags":["github"]},"fields":{"slug":"/2021-04-25-github-readme-stats/"}}}]}},"pageContext":{"limit":3,"skip":6,"numPages":7,"currentPage":3}},"staticQueryHashes":["1507474683","63159454","81262063"]}