{"repo": "answers111/answers111.github.io", "files": {"_config.yml": {"d366d57e20b241c678ea2bdcd5de12d402e8919a": {"t": 1785603897.8261085, "n": 9263, "h": "9e5fa35f72ea053a", "c": "# Welcome to Jekyll!\n#\n# This config file is meant for settings that affect your entire site, values\n# which you are expected to set up once and rarely need to edit after that.\n# For technical reasons, this file is *NOT* reloaded automatically when you use\n# `jekyll serve -l -H localhost`. If you change this file, please restart the \n# server process.\n\n# Basic Site Settings\nlocale : \"en-US\"\ntitle : \"Zhaojian Yu\"\ntitle_separator : \"-\"\nname : &name \"Zhaojian Yu\"\ndescription : &description \"Graduate student at Tsinghua University\"\nurl : https://answers111.github.io # the base hostname & protocol for your site e.g. \"https://mmistakes.github.io\"\nbaseurl : \"\" # the subpath of your site, e.g. \"/blog\"\nrepository : \"answers111/answers111.github.io\"\n\n# Site Author - The following control what appear as part of the author content on the side bar.\n# If a field is blank the icon and link will not appear, otherwise it will be shown.\n# Additional customization can be done by editing /_includes/author-profile.html\nauthor:\n # Biographic information\n avatar : \"profile.png\"\n name : \"Zhaojian Yu\"\n pronouns : # example: \"she/her\" \n bio : \"Graduate student at Tsinghua University\"\n location : \"Shenzhen China\"\n employer : \n uri : # URL\n email : \"yzj23@mails.tsinghua.edu.cn\" \n\n # Academic websites\n arxiv : # URL - Update with the correct link to your profile\n googlescholar : # \"https://scholar.google.com/citations?user=PS_CX0AAAAAJ\"\n impactstory : # URL\n orcid : # \"http://orcid.org/yourorcidurl\"\n semantic : # URL\n pubmed : # \"https://www.ncbi.nlm.nih.gov/pubmed/?term=john+snow\"\n researchgate : # URL\n\n # Repositories and software development\n bitbucket : # Username - Update with your username on the site\n codepen : # Username\n dribbble : # Username\n github : \"answers111\"\n kaggle : # Username \n stackoverflow : # User number or user number and name (i.e., use \"1\" or \"1/jeff-atwood\") \n\n # Social media\n bluesky : #\"bsky.app\" # Replace this with you Bluesky username\n facebook : # Username\n flickr : # Username\n foursquare : # Username\n goodreads : # Username\n google_plus : # Username\n keybase : # Username\n instagram : # Username\n lastfm : # Username\n linkedin : # Username\n mastodon : # URL\n medium : # URL\n pinterest : # Username\n soundcloud : # Username\n steam : # Username\n telegram : # URL\n tumblr : # Username\n twitter : \"yfngnin4\"\n vine : # Username\n weibo : # Username\n wikipedia : # Username\n xing : # Username\n youtube : # Username\n zhihu : # URL\n\n\n# Site Settings\nteaser : # filename of teaser fallback teaser image placed in /images/, .e.g. \"500x300.png\"\nbreadcrumbs : false # true, false (default)\nwords_per_minute : 160\nfuture : true\nread_more : \"disabled\" # if enabled, adds \"Read more\" links to excerpts\ntalkmap_link : false #change to true to add link to talkmap on talks page\ncomments:\n provider : # false (default), \"disqus\", \"discourse\", \"facebook\", \"google-plus\", \"staticman\", \"custom\"\n disqus:\n shortname :\n discourse:\n server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org\n facebook:\n appid :\n num_posts : # 5 (default)\n colorscheme : # \"light\" (default), \"dark\"\nstaticman:\n allowedFields : ['name', 'email', 'url', 'message']\n branch : \"gh-pages\" # \"master\", \"gh-pages\"\n commitMessage : \"New comment.\"\n filename : comment-{@timestamp}\n format : \"yml\"\n moderation : true\n path : \"_data/comments/{options.slug}\"\n requiredFields : ['name', 'email', 'message']\n transforms:\n email : \"md5\"\n generatedFields:\n date:\n type : \"date\"\n options:\n format : \"iso8601\" # \"iso8601\" (default), \"timestamp-seconds\", \"timestamp-milliseconds\"\natom_feed:\n hide : false # change to true to hide the RSS feed in the footer\n path : # blank (default) uses feed.xml\n\n\n# SEO Related\ngoogle_site_verification :\nbing_site_verification :\nalexa_site_verification :\nyandex_site_verification :\n\n\n# Social Sharing\ntwitter:\n username : &twitter\nfacebook:\n username :\n app_id :\n publisher :\nog_image : # Open Graph/Twitter default site image\n# For specifying social profiles\n# - https://developers.google.com/structured-data/customize/social-profiles\nsocial:\n type : # Person or Organization (defaults to Person)\n name : # If the user or organization name differs from the site's name\n links: # An array of links to social media profiles\n\n\n# Analytics\nanalytics:\n provider : \"false\" # false (default), \"google\", \"google-universal\", \"google-analytics-4\", \"custom\"\n google:\n tracking_id :\n\n\n# Reading Files\ninclude:\n - .htaccess\n - _pages\n - files\nexclude:\n - \"*.sublime-project\"\n - \"*.sublime-workspace\"\n - .asset-cache\n - .bundle\n - .jekyll-assets-cache\n - .sass-cache\n - CHANGELOG\n - Capfile\n - Gemfile\n - Gruntfile.js\n - LICENSE\n - README\n - Rakefile\n - assets/js/_main.js\n - assets/js/plugins\n - assets/js/vendor\n - config\n - gulpfile.js\n - log\n - node_modules\n - package.json\n - tmp\n - vendor\nkeep_files:\n - .git\n - .svn\nencoding: \"utf-8\"\nmarkdown_ext: \"markdown,mkdown,mkdn,mkd,md\"\n\n\n# Conversion\nmarkdown: kramdown\nhighlighter: rouge\nlsi: false\nexcerpt_separator: \"\\n\\n\"\nincremental: false\n\n\n# Markdown Processing\nkramdown:\n input: GFM\n hard_wrap: false\n auto_ids: true\n footnote_nr: 1\n entity_output: as_char\n toc_levels: 1..6\n smart_quotes: lsquo,rsquo,ldquo,rdquo\n enable_coderay: false\n\n\n# Collections\ncollections:\n teaching:\n output: true\n permalink: /:collection/:path/\n publications:\n output: true\n permalink: /:collection/:path/\n portfolio:\n output: true\n permalink: /:collection/:path/\n talks:\n output: true\n permalink: /:collection/:path/\n\n\n# Defaults\ndefaults:\n # _posts\n - scope:\n path: \"\"\n type: posts\n values:\n layout: single\n author_profile: true\n read_time: true\n comments: true\n share: true\n related: true\n # _pages\n - scope:\n path: \"\"\n type: pages\n values:\n layout: single\n author_profile: true\n # _teaching\n - scope:\n path: \"\"\n type: teaching\n values:\n layout: single\n author_profile: true\n share: true\n comments: true\n # _publications\n - scope:\n path: \"\"\n type: publications\n values:\n layout: single\n author_profile: true\n share: true\n comments: true\n # _portfolio\n - scope:\n path: \"\"\n type: portfolio\n values:\n layout: single\n author_profile: true\n share: true\n comment: true\n # _talks\n - scope:\n path: \"\"\n type: talks\n values:\n layout: talk\n author_profile: true\n share: true\n\n\n# Sass/SCSS\nsass:\n sass_dir: _sass\n style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style\n\n\n# Outputting\npermalink: /:categories/:title/\n# paginate: 5 # amount of posts to show\n# paginate_path: /page:num/\ntimezone: America/Los_Angeles # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\n\n# Plugins\nplugins:\n - jekyll-paginate\n - jekyll-sitemap\n - jekyll-gist\n - jekyll-feed\n - jekyll-redirect-from\n# mimic GitHub Pages with --safe\nwhitelist:\n - jekyll-paginate\n - jekyll-sitemap\n - jekyll-gist\n - jekyll-feed\n - jemoji\n\n\n# Archives\n# Type\n# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)\n# - Jekyll Archives plugin archive pages ~> type: jekyll-archives\n# Path (examples)\n# - Archive page should exist at path when using Liquid method or you can\n# expect broken links (especially with breadcrumbs enabled)\n# - /tags/my-awesome-tag/index.html ~> path: /tags/\n# - path: /categories/\n# - path: /\ncategory_archive:\n type: liquid\n path: /categories/\ntag_archive:\n type: liquid\n path: /tags/\n# https://github.com/jekyll/jekyll-archives\n# jekyll-archives:\n# enabled:\n# - categories\n# - tags\n# layouts:\n# category: archive-taxonomy\n# tag: archive-taxonomy\n# permalinks:\n# category: /categories/:name/\n# tag: /tags/:name/\n\n\n# HTML Compression\n# - http://jch.penibelst.de/\ncompress_html:\n clippings: all\n ignore:\n envs: development\n"}}, "package.json": {"1d3960792e012fba8caa7a5d31cbfeffc56eb533": {"t": 1785603898.965609, "n": 1203, "h": "3892145bca96e12a", "c": "{\n \"name\": \"academic-pages\",\n \"version\": \"0.8.1.1\",\n \"description\": \"Academic Pages Mistakes Jekyll theme npm build scripts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/academicpages/academicpages.github.io\"\n },\n \"keywords\": [\n \"jekyll\",\n \"theme\",\n \"minimal\"\n ],\n \"contributors\": [\n \"Michael Rose\",\n \"Robert Zupko\"\n ],\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/academicpages/academicpages.github.io/issues\"\n },\n \"homepage\": \"https://github.com/academicpages/academicpages.github.io\",\n \"engines\": {\n \"node\": \">= 0.10.0\"\n },\n \"dependencies\": {\n \"jquery\": \"^3.7.1\"\n },\n \"devDependencies\": {\n \"onchange\": \"^7.1.0\",\n \"uglify-js\": \"^3.17.4\"\n },\n \"scripts\": {\n \"uglify\": \"uglifyjs node_modules/jquery/dist/jquery.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/plugins/stickyfill.min.js assets/js/_main.js -c -m -o assets/js/main.min.js\",\n \"watch:js\": \"onchange \\\"assets/js/**/*.js\\\" -e \\\"assets/js/main.min.js\\\" -- npm run build:js\",\n \"build:js\": \"npm run uglify\"\n }\n}\n"}}, "talkmap.py": {"803c5f45d40845b60ae91bca31d011821e8cddc9": {"t": 1785603900.2174392, "n": 1188, "h": "b2e0fcc2ac016f0e", "c": "\n\n# # Leaflet cluster map of talk locations\n#\n# (c) 2016-2017 R. Stuart Geiger, released under the MIT license\n#\n# Run this from the _talks/ directory, which contains .md files of all your talks. \n# This scrapes the location YAML field from each .md file, geolocates it with\n# geopy/Nominatim, and uses the getorg library to output data, HTML,\n# and Javascript for a standalone cluster map.\n#\n# Requires: glob, getorg, geopy\n\nimport glob\nimport getorg\nfrom geopy import Nominatim\n\ng = glob.glob(\"*.md\")\n\n\ngeocoder = Nominatim()\nlocation_dict = {}\nlocation = \"\"\npermalink = \"\"\ntitle = \"\"\n\n\nfor file in g:\n with open(file, 'r') as f:\n lines = f.read()\n if lines.find('location: \"') > 1:\n loc_start = lines.find('location: \"') + 11\n lines_trim = lines[loc_start:]\n loc_end = lines_trim.find('\"')\n location = lines_trim[:loc_end]\n \n \n location_dict[location] = geocoder.geocode(location)\n print(location, \"\\n\", location_dict[location])\n\n\nm = getorg.orgmap.create_map_obj()\ngetorg.orgmap.output_html_cluster_map(location_dict, folder_name=\"../talkmap\", hashed_usernames=False)\n\n\n\n\n"}}}}