Skip to content

Instantly share code, notes, and snippets.

View eungjun-yi's full-sized avatar

Yi EungJun eungjun-yi

View GitHub Profile
echo "https://api.github.com/orgs/naver/repos
https://api.github.com/organizations/6589568/repos?page=2
https://api.github.com/organizations/6589568/repos?page=3
https://api.github.com/organizations/6589568/repos?page=4
https://api.github.com/organizations/6589568/repos?page=5" | xargs -i curl {} | jq '.[].stargazers_count' | awk '{sum+=$1}; END {print sum}'
fun isYes(answer: String): Boolean {
return when(answer) {
"yes" -> true
else -> false
}
}