Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

time

A collection of 4 posts
Check Computer Started without Admin Provileges
admin

Check Computer Started without Admin Provileges

TL;DR: open the Event viewer, select the Windows Logs > System and Filter Current Log to the desired interval. Or you can scroll to the earliest entry of the day you need (more irritating because the event window doesn't refresh when scrolling). The other day I needed
Sep 12, 2017 2 min read
Convert Timestamp to DateTime for Pandas DataFrame
dataframe

Convert Timestamp to DateTime for Pandas DataFrame

To convert a pandas data frame value from unix timestamp to python datetime you need to use: pd.to_datetime(df['timestamp'], unit='s') where: * timestamp is the column containing the timestamp value * unit='s' defines the unit of the timestamp (seconds in this
Aug 8, 2017 1 min read
Synology and "Sparsebundle is Already in Use" Error
error

Synology and "Sparsebundle is Already in Use" Error

Today one of my Sinology drives failed. When I've replaced it, I got an error from my Mac's Time Machine about a "sparsebundle is already in use". I saw a discussion saying the solution was to close/reopen TM connection. With Synology, I only
Apr 10, 2015 1 min read
Get most recent modification date for a folder in python
date

Get most recent modification date for a folder in python

Finding out when a directory was most recently modified should be relatively easy; just perform a dir or a ls -l and you should have it. Sometimes you actually do, but not always (I remember my assembly days when I would write cool programs to manipulate the FAT information on
May 27, 2013 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost