blob: 0f48950da4a9e6f9634152acd56b0b5830ff6767 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/zsh
#github=github.com/users/syui/contributions_calendar_data
f=${0:a:h:h}/static/json/datas.json
u=gitlab.com/u/$USER/calendar
t=`curl -sL $u|grep '{"'`
echo ${t%,}|jq .
echo ${t%,} >! $f
|