-
Notifications
You must be signed in to change notification settings - Fork 0
/
gh-profile.min.html
5 lines (5 loc) · 10.4 KB
/
gh-profile.min.html
1
2
3
4
5
---
layout: default
title: "gh-profile"
---
<div class="profile-header"><a target="_blank"id="avatar_a"href=""><img id="avatar_img"alt=""width="110"height="110"class="avatar avatar"src=""></a><h1 id="name_h1"></h1><h3 id="login_h3"></h3><ul class="details"id="ul"><li class="details-item user-profile-company"id="company_li"><svg class="octicon octicon-organization"viewBox="0 0 16 16"version="1.1"width="16"height="16"aria-hidden="true"><path fill-rule="evenodd"d="M16 12.999c0 .439-.45 1-1 1H7.995c-.539 0-.994-.447-.995-.999H1c-.54 0-1-.561-1-1 0-2.634 3-4 3-4s.229-.409 0-1c-.841-.621-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.442.58 2.5 3c.058 2.41-.159 2.379-1 3-.229.59 0 1 0 1s1.549.711 2.42 2.088C9.196 9.369 10 8.999 10 8.999s.229-.409 0-1c-.841-.62-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.437.581 2.495 3c.059 2.41-.158 2.38-1 3-.229.59 0 1 0 1s3.005 1.366 3.005 4z"></path></svg> <span id="company_span"></span></li><li class="details-item"id="location_li"><svg class="octicon octicon-location"viewbox="0 0 12 16"version="1.1"width="12"height="16"aria-hidden="true"><path fill-rule="evenodd"d="M6 0C2.69 0 0 2.5 0 5.5 0 10.02 6 16 6 16s6-5.98 6-10.5C12 2.5 9.31 0 6 0zm0 14.55C4.14 12.52 1 8.44 1 5.5 1 3.02 3.25 1 6 1c1.34 0 2.61.48 3.56 1.36.92.86 1.44 1.97 1.44 3.14 0 2.94-3.14 7.02-5 9.05zM8 5.5c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 .89 2 2z"></path></svg> <span id="location_span"></span></li><li class="details-item css-truncate"id="email_li"><svg class="octicon octicon-mail"viewBox="0 0 14 16"version="1.1"width="14"height="16"aria-hidden="true"><path fill-rule="evenodd"d="M0 4v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1zm13 0L7 9 1 4h12zM1 5.5l4 3-4 3v-6zM2 12l3.5-3L7 10.5 8.5 9l3.5 3H2zm11-.5l-4-3 4-3v6z"></path></svg> <a target="_blank"class="css-truncate-target email"href=""id="email_a"></a></li><li class="details-item css-truncate"id="blog_li"><svg class="octicon octicon-link"viewbox="0 0 16 16"version="1.1"width="16"height="16"aria-hidden="true"><path fill-rule="evenodd"d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg> <a target="_blank"id="blog_a"rel="nofollow me"class="css-truncate-target"href=""></a></li></ul></div><div class="divtable"><a target="_blank"id="repos_a"class="text-gray divtable-cell"><strong id="repos_strong">{public_repos}</strong><br/>Repos</a><a target="_blank"id="gists_a"class="text-gray divtable-cell"><strong id="gists_strong">{public_gists}</strong><br/>Gists</a><a target="_blank"id="followers_a"class="text-gray divtable-cell"><strong id="followers_strong">{followers}</strong><br/>Followers</a></div><div class="user-profile-bio f6 text-gray mt-2"id="bio_display"><div id="bio_div"></div></div><div class="user-following-container"id="follow_div"><div class="follow"><a target="_blank"class="btn btn-block"id="follow_a">Follow</a></div></div><div class="border-top py-3 clearfix"id="organizations_div"><h2 class="mb-1 h4">Organizations</h2></div><div class="Box mb-3"id="orgmember_div"><div class="Box-body"><a target="_blank"class="d-block text-gray-dark"href="/orgs/github/people"data-ga-click="Orgs, go to people, location:profile people module; text:People"id="orgmember_a"><span class="float-right f5 text-gray">More<svg class="octicon octicon-chevron-right"viewbox="0 0 8 16"version="1.1"width="8"height="16"aria-hidden="true"><path fill-rule="evenodd"d="M7.5 8l-5 5L1 11.5 4.75 8 1 4.5 2.5 3l5 5z"></path></svg></span><h4 class="f4 text-normal mb-3">People</h4></a><div class="member-avatar-group d-flex flex-wrap"id="org_member_list_div"></div></div></div><script>var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length){enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2)}if(enc4!=64){output=output+String.fromCharCode(chr3)}}output=Base64._utf8_decode(output);return output},_utf8_decode:function(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++}else if((c>191)&&(c<224)){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2}else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}}return string}};var params=function(){for(var t,e=[],r=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),a=0;a<r.length;a++)t=r[a].split("="),e.push(t[0]),e[t[0]]=t[1];return e}(),user=(params.user?params.user:null),org=(params.org?params.org:null),bio=(params.bio?(params.bio==="false"?false:true):false),locations=(params.locations?(params.locations==="false"?false:true):false),blog=(params.blog?(params.blog==="false"?false:true):false),email=(params.email?(params.email==="false"?false:true):false),company=(params.company?(params.company==="false"?false:true):false),iframeid=(params.iframeid?params.iframeid:""),follow=(params.follow?(params.follow==="false"?false:true):false),token=(params.token_encode?Base64.decode(params.token_encode):null),head=document.getElementsByTagName("head")[0];function addK(t){var n=parseInt(t,10);if(n<1000){return n}else{n=n/1000;return n.toFixed(1)+"k"}}function addCommas(t){return String(t).replace(/(\d)(?=(\d{3})+$)/g,"$1,")}function jsonp(t,e){var r=document.createElement("script");r.src=t+"?"+(token==null?"":("access_token="+token+"&"))+"callback="+(e?e:"callback");head.appendChild(r)}function contains(arr,str){for(var i=0;i<arr.length;i++){if(arr[i]==str){return true}else{return false}}}function matches(str){return String(str).replace(/@([\w][\w-]*)/g,"<a target=\"_blank\" class=\"user-mention\" href=\"https://github.com/$1\">@$1</a>")}function callback(t){document.getElementById("login_h3").innerHTML=addCommas(t.data.login);document.getElementById("name_h1").innerHTML=addCommas(t.data.name);document.getElementById("avatar_img").setAttribute("src",addCommas(t.data.avatar_url));document.getElementById("avatar_img").setAttribute("alt",addCommas(t.data.name));document.getElementById("avatar_a").setAttribute("href",addCommas(t.data.avatar_url));document.getElementById("repos_strong").innerHTML=addK(t.data.public_repos);document.getElementById("gists_strong").innerHTML=addK(t.data.public_gists);document.getElementById("followers_strong").innerHTML=addK(t.data.followers);document.getElementById("repos_a").setAttribute("href","https://github.com/{login}?tab=repositories".replace("{login}",addCommas(t.data.login)));document.getElementById("gists_a").setAttribute("href","https://gist.github.com/{login}".replace("{login}",addCommas(t.data.login)));document.getElementById("followers_a").setAttribute("href","https://github.com/{login}/followers".replace("{login}",addCommas(t.data.login)));if(locations){document.getElementById("location_span").innerHTML=addCommas(t.data.location)}else{document.getElementById("location_li").style.display="none"}if(blog){document.getElementById("blog_a").innerHTML=addCommas(t.data.blog);document.getElementById("blog_a").setAttribute("href",addCommas(t.data.blog))}else{document.getElementById("blog_li").style.display="none"}if(email){var a_element=document.getElementById("email_a");a_element.setAttribute("href","mailto:"+addCommas(t.data.email));a_element.innerHTML=addCommas(t.data.email)}else{document.getElementById("email_li").style.display="none"}if(company){document.getElementById("company_span").innerHTML=matches(addCommas(t.data.company))+(addCommas(t.data.site_admin)==="true"?"<span class=\"label bg-blue text-uppercase\">Staff</span>":"");jsonp(addCommas(t.data.organizations_url),"organization_query")}else{document.getElementById("company_li").style.display="none";document.getElementById("organizations_div").style.display="none"}if(bio){document.getElementById("bio_div").innerHTML=matches(addCommas(t.data.bio))}else{document.getElementById("bio_display").style.display="none"}if(follow){document.getElementById("follow_a").setAttribute("href","https://github.com/login?return_to=%2F"+addCommas(t.data.login))}else{document.getElementById("follow_div").style.display="none"}if(user==null){document.getElementById("organizations_div").style.display="none";document.getElementById("name_h1").innerHTML+=addCommas(t.data.is_verified)==="true"?"<span class=\"js-menu-target Label Label--outline text-green rounded-1\" aria-label=\"View verified domains\" aria-haspopup=\"true\" aria-expanded=\"false\">Verified</span>":"";document.getElementById("orgmember_a").setAttribute("href","https://github.com/orgs/"+addCommas(t.data.login)+"/people");jsonp("https://api.github.com/orgs/"+addCommas(t.data.login)+"/members","orgmember_query")}else{document.getElementById("orgmember_div").style.display="none"}}function organization_query(t){for(var i=0;i<t.data.length;i++){document.getElementById("organizations_div").innerHTML+=("<a target=\"_blank\" aria-label=\""+addCommas(t.data[i].login)+"\" itemprop=\"follows\" class=\"tooltipped tooltipped-n avatar-group-item\" href=\"https://github.com/"+addCommas(t.data[i].login)+"\"><img src=\""+addCommas(t.data[i].avatar_url)+"\" class=\"avatar\" width=\"35\" height=\"35\" alt=\"@"+addCommas(t.data[i].login)+"\"></a> ")}}function orgmember_query(t){for(var i=0;i<t.data.length;i++){document.getElementById("org_member_list_div").innerHTML+=("<a target=\"_blank\" href=\"https://github.com/"+addCommas(t.data[i].login)+"\" class=\"member-avatar\" data-ga-click=\"Orgs, go to person, location:profile people module; text:username\"><img class=\"avatar\" src=\""+addCommas(t.data[i].avatar_url)+"\" width=\"35\" height=\"35\" alt=\"@"+addCommas(t.data[i].login)+"\"></a> ")}}jsonp("https://api.github.com/"+(org?"orgs":"users")+"/"+(org?org:user));window.onload=function(){window.parent.document.getElementById(iframeid).height=Math.max(Math.max(document.body.clientHeight,document.body.offsetHeight),document.body.scrollHeight)};</script>