GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fexed/scripts: Personal scripts, tailored to my needs that may be useful for others

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
bash
bash
 
 
python
python
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

A list of scripts that I wrote for personal use. These are particularly tailored to my needs and often come with no documentation, but may be of inspiration to some of you.

Bash

  • count.sh is a script that enumerates files in the current dir with a depth of 2 and lists how many files are in each directory. I use this to see how many photo I take each month, so I run in a directory with a three sort of like this:
  .
  |- 2020
  |   |- 01_Gennaio
  |   |- 02_Febbraio
  |   | ...
  |
  ...

Getting an output like

.                   67040
./2020              11589
./2020/01_Gennaio   418
./2020/02_Febbraio  156
...

I use this in a more CSV format, import to a spreadsheet and make some graphs image

  • diskstats.sh gathers data from the disks on my home server and puts in some easy-to-reach files, which I then use to plot the available space on the landing page of my personal home server.

Python

  • photohandler.py runs each time I send a photo to my Telegram bot, placing it in my photo directory tree in the right folder. For example, a photo named PXL_20231026_105444.jpg will be placed inside photos/2023/10_Ottobre/20231026/
  • photo_tiles.py produces a grid of tiles like GitHub's contributions per month, based on an hardcoded dataset. Example below photos
  • piwigo/piwigo_fixer.py fixes the missing creation dates of my piwigo database, filling with the date corresponding to the parent folder. E.g., the previous photo would be assigned a creation date of October 26, 2023.
  • piwigo/piwigo_howmanywithouttag.py prints the number of photos in my piwigo database that have no tag
  • piwigo/piwigo_randomwithouttag.py prints the absolute path of a photo with no tag from my piwigo database

About

Personal scripts, tailored to my needs that may be useful for others

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.