mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 22:10:31 +02:00
chart
This commit is contained in:
parent
34639c88b9
commit
4336ce2972
3 changed files with 325 additions and 124 deletions
|
@ -23,7 +23,6 @@ setInterval(() => {
|
|||
|
||||
const ageElem = document.getElementById('age');
|
||||
let birthday = new Date('2008-12-13');
|
||||
let age = 0;
|
||||
|
||||
function updateAge(elem, fix, text) {
|
||||
const now = new Date();
|
||||
|
@ -112,7 +111,7 @@ function lan() {
|
|||
});
|
||||
}
|
||||
|
||||
window.onload = (event) => {
|
||||
window.onload = () => {
|
||||
lan();
|
||||
};
|
||||
|
||||
|
@ -241,7 +240,7 @@ function fetchWeather(location) {
|
|||
});
|
||||
}
|
||||
|
||||
wakatime.fetchWakatime("#wakapi", "zyqunix", "all_time");
|
||||
wakatime.fetchWakatime("#wakapi");
|
||||
|
||||
const messages = [
|
||||
"Coding",
|
||||
|
@ -349,4 +348,4 @@ document.addEventListener("keydown", function (e) {
|
|||
if (e.key === "Escape") closeOverlay("music-pop", "overlay");
|
||||
});
|
||||
|
||||
document.getElementById('refresh').addEventListener('click', fetchSong);
|
||||
document.getElementById('refresh').addEventListener('click', fetchSong);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue