Skip to content

Instantly share code, notes, and snippets.

View nondanee's full-sized avatar
💪

Nzix nondanee

💪
  • Hangzhou, China
View GitHub Profile
@nondanee
nondanee / gfm.css
Last active December 15, 2017 11:54
github favoured markdown style
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; line-height: 1.5; color: #24292e; background-color: #fff; }
.container { width: 980px; margin: 20px auto; }
.readme .markdown-body, .readme .plain { padding: 45px; word-wrap: break-word; background-color: #fff; border: 1px solid #ddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; }
.markdown-body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; line-height: 1.5; word-wrap: break-word; }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; }
@nondanee
nondanee / JumpToVote.js
Last active October 17, 2018 06:07
do tutor counselor in UESTC without mianliao app
(function JumpToVote(){
let username = "???"
let password = "???"
let xhr = new XMLHttpRequest()
xhr.onreadystatechange = function(){
if(xhr.readyState == 4 && xhr.status == 200){
let data = JSON.parse(xhr.responseText)
let token = data.response.token
let uid = data.response.uid
window.location.href = `http://dev.tjut.cc:92/?uid=${uid}&token=${token}&source=ml`