You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
/* Github Calendar */varusername="hacdias";varurl="https://github.com/"+username;varfetchCalendar=()=>httpsRequest(url,(body)=>{let$=cheerio.load(body);letcal=$("#contributions-calendar");$("#contributions-calendar .left.text-muted").html(`Summary of pull requests, issues opened, and commits made by <a href="https://github.com/${username}" target="blank">@${username}</a>`);if(cal.find("include-fragment").length){setTimeout(fetchCalendar,500);}else{leth=$('.js-calendar-graph-svg').attr('height');letw=$('.js-calendar-graph-svg').attr('width');$('.js-calendar-graph-svg').attr('viewBox','0 0 '+w+' '+h);fs.writeFile("layouts/partials/github.html",$("#contributions-calendar").html());}});fetchCalendar();
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Base code to convert to PHP:
The text was updated successfully, but these errors were encountered: