Skip to content

Instantly share code, notes, and snippets.

@sanzoghenzo
sanzoghenzo / boxstarter.txt
Last active September 22, 2018 11:43
BoxStarter Configuration for unattended bootstrap
Disable-GameBarTips
Disable-BingSearch
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps
Set-WindowsExplorerOptions -DisableShowHiddenFilesFoldersDrives -DisableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableExpandToOpenFolder
Set-TaskbarOptions -Size Large -Lock -Dock Bottom -Combine Always
cinst 7zip
cinst notepadplusplus
cinst pdfcreator
cinst googlechrome
@sanzoghenzo
sanzoghenzo / do2gj.py
Created September 25, 2019 21:51
Day One Classic to GitJournal
"""
Convert Day One Classic/Narrate journal entries to GitJournal entries.
Parse the plist XML files to extract useful metadata to be added as yaml headers for the markdown file.
Handle sifttter-redux XML indentation problems by removing leading whitespaces.
"""
import glob
import io
import os
import plistlib
@sanzoghenzo
sanzoghenzo / compare.py
Last active September 4, 2024 06:55
Compare Excel sheets with Pandas
"""
Compare two Excel sheets
Inspired by https://pbpython.com/excel-diff-pandas-update.html
For the documentation, download this file and type:
python compare.py --help
"""
import argparse
import pandas as pd
@sanzoghenzo
sanzoghenzo / keybase.md
Created May 9, 2020 10:07
Keybase proof

Keybase proof

I hereby claim:

  • I am sanzoghenzo on github.
  • I am sanzoghenzo (https://keybase.io/sanzoghenzo) on keybase.
  • I have a public key ASDDwGaIcKSDoEmDvkWvAvb-4lH3NJYXbKmWdEda2EAVqgo

To claim this, I am signing this object:

@sanzoghenzo
sanzoghenzo / poetry ann pyswsutils output
Created August 19, 2020 09:09
poetry dependency with extra issue
Using virtualenv: C:\Users\a.ghensi\AppData\Local\pypoetry\Cache\virtualenvs\test-poetry-_wgRV3sz-py3.7
sws: 3 packages found for pyswsutils *
Using version ^2.1.0 for pyswsutils
Updating dependencies
Resolving dependencies...
1: fact: test-poetry is 0.1.0
1: derived: test-poetry
1: fact: test-poetry depends on pyswsutils (^2.1.0)
1: fact: test-poetry depends on pytest (^5.2)