Skip to content

Instantly share code, notes, and snippets.

@codeb2cc
Created March 12, 2013 05:11
Show Gist options
  • Save codeb2cc/5140528 to your computer and use it in GitHub Desktop.
Save codeb2cc/5140528 to your computer and use it in GitHub Desktop.
function getAstro(m, d) {
return "魔羯水瓶双鱼牡羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(m*2-(d<"102123444543".charAt(m-1)- -19)*2,2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment