Skip to content

Instantly share code, notes, and snippets.

View xiaotianxt's full-sized avatar
💭
I may be slow to respond.

Andy Tian xiaotianxt

💭
I may be slow to respond.
View GitHub Profile
@xiaotianxt
xiaotianxt / timemachine.log
Last active December 3, 2023 04:53
TimeMachine logs on my MacBook Air
2023-12-02 23:16:34 Skipping Time Machine backup: Computer is on battery power
2023-12-02 23:17:07 Mountpoint '/Volumes/TimeMachine' is still valid
2023-12-02 23:17:07 Starting session for '/System/Volumes/Data/Volumes/TimeMachine' with options: 4
2023-12-02 23:17:07 Accepting a new connection from 'Spotlight-mds' for service com.apple.backupd.session.xpc
2023-12-02 23:17:07 Session requested for Time Machine volume '/System/Volumes/Data/Volumes/TimeMachine'
2023-12-02 23:17:08 Session prepared 0 backups (12 cached dates) for /System/Volumes/Data/Volumes/TimeMachine (TMStructureType(_rawValue: APFSMachineStore))
2023-12-02 23:17:08 Prepared 0 backups!
2023-12-02 23:17:08 Limiting logging for limit: aFewTimes key: "Accepting a new connection from 'Spotlight-mds' for service com.apple.backupd.session.xpc"
2023-12-02 23:17:08 Backup list requested for machine store: /System/Volumes/Data/Volumes/TimeMachine
2023-12-02 23:17:08 Mounted '/Volumes/.timemachine/6E39146D-6B8F-4CEB-A915-DF973DB50CEE/2023-10-2
import os
from turtle import fd
import pandas as pd
import numpy as np
class Database:
FILENAME = 'db.csv'
def __init__(self, filename=FILENAME) -> None: