1// get the ninja-keys element 2const ninja = document.querySelector('ninja-keys'); 3 4// add the home and posts menu items 5ninja.data = [{ 6 id: "nav-about", 7 title: "About", 8 section: "Navigation", 9 handler: () => { 10 window.location.href = "/"; 11 }, 12 },{id: "nav-portfolio", 13 title: "Portfolio", 14 description: "", 15 section: "Navigation", 16 handler: () => { 17 window.location.href = "/portfolio/"; 18 }, 19 },{id: "nav-writing-notes", 20 title: "Writing / Notes", 21 description: "", 22 section: "Navigation", 23 handler: () => { 24 window.location.href = "/blogs/"; 25 }, 26 },{id: "news-my-team-won-the-2nd-place-2-51-in-the-2024-sandia-national-lab-data-challenge", 27 title: 'My team won the 2nd place (2/51) in the 2024 Sandia National Lab...', 28 description: "", 29 section: "News",},{id: "news-my-team-won-the-1st-place-1-180-in-the-2025-illinois-statistics-datathon", 30 title: 'My team won the 1st place (1/180) in the 2025 Illinois Statistics Datathon...', 31 description: "", 32 section: "News",},{id: "news-i-received-the-distinguished-undergraduate-researcher-certificate-from-uiuc", 33 title: 'I received the Distinguished Undergraduate Researcher Certificate from UIUC.', 34 description: "", 35 section: "News",},{id: "news-i-received-the-edmund-j-james-scholar-certificate-from-uiuc", 36 title: 'I received the Edmund J James Scholar Certificate from UIUC.', 37 description: "", 38 section: "News",},{id: "news-our-paper-epd-solver-via-rdpo-has-been-accepted-to-ieee-tpami", 39 title: 'ð Our paper EPD-Solver via RDPO has been accepted to IEEE TPAMI.', 40 description: "", 41 section: "News",},{ 42 id: 'social-cv_pdf', 43 title: 'Cv_pdf', 44 section: 'Socials', 45 handler: () => { 46 window.open("", "_blank"); 47 }, 48 },{ 49 id: 'social-github', 50 title: 'GitHub', 51 section: 'Socials', 52 handler: () => { 53 window.open("https://github.com/Ziyuli1121", "_blank"); 54 }, 55 },{ 56 id: 'social-linkedin', 57 title: 'LinkedIn', 58 section: 'Socials', 59 handler: () => { 60 window.open("https://www.linkedin.com/in/ziyuperryli", "_blank"); 61 }, 62 },{ 63 id: 'social-x', 64 title: 'X', 65 section: 'Socials', 66 handler: () => { 67 window.open("https://twitter.com/ZiyuLi21", "_blank"); 68 }, 69 },{ 70 id: 'light-theme', 71 title: 'Change theme to light', 72 description: 'Change the theme of the site to Light', 73 section: 'Theme', 74 handler: () => { 75 setThemeSetting("light"); 76 }, 77 }, 78 { 79 id: 'dark-theme', 80 title: 'Change theme to dark', 81 description: 'Change the theme of the site to Dark', 82 section: 'Theme', 83 handler: () => { 84 setThemeSetting("dark"); 85 }, 86 }, 87 { 88 id: 'system-theme', 89 title: 'Use system default theme', 90 description: 'Change the theme of the site to System Default', 91 section: 'Theme', 92 handler: () => { 93 setThemeSetting("system"); 94 }, 95 },];
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.