Coder Social home page Coder Social logo

kdeldycke / scripts Goto Github PK

View Code? Open in Web Editor NEW
62.0 10.0 28.0 211 KB

:snake: Utility scripts, patches and hacks.

Home Page: https://kevin.deldycke.com/code/

License: GNU General Public License v2.0

Python 87.40% Shell 0.29% PHP 12.32%
hack python shell-scripts miscellaneous-scripts

scripts's Introduction

My name is Kevin Deldycke, I'm a high-tech Engineering Manager.

Short Bio

I've held various positions in several industries and sectors as VP, Product Manager, Founding Engineer and Consultant.

After 15+ years of relevant engineering work, and 3+ years of hands-on management experience, I now build teams from scratch with self-sustaining culture, and my intent is to keep doing so.

Enabling engineers, leading managers, and make them feel productive is the most impactful thing I can bring to the table. So I'm always on the lookout for a high-tech management position, at a fast growing start-up with ambitious vision.

My most relevant experience was in growing a team from 0 to 12 at a world-class cloud computing provider. We built up the whole IAM ecosystem, as well as the Billing and Payment stack.

Achievements

More

Metrics

scripts's People

Contributors

arvendofloh avatar aspiers avatar kdeldycke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scripts's Issues

Backup script halts at rsyncing

As reported by AnΕΎe Jarni:

Sorry to bother you on your email regarding a probably obsolete project of yours, but I could not refuse to ask you this because I've spent a few days trying to fix this with no result...

It is about your system-backup.py script which does rsync and rdiff-backup over SSH. It has been working fine on a number of machines, but on the new hosting server, it just halts at rsyncing and stays there forever. It creates the directories, but fails to transfer any files. When I run the actual commands directly from bash, it completes normally without any stalling so I guess it's a python process management thing.

I would be glad if you could give me a few pointers or ideas from your experience, what the problem might be.

Thank you for your effort!

Merge backup scripts

I currently have 2 backup scripts: system-backup.py and website-backup.py. It's better to merge them to remove unnecessary code duplication.

Timestamp parsing error

Here is an error reported by mail by a user:

root@cub:/etc/getmail# /usr/bin/deldupmail.py -d /var/vmail/www.example.com/admin/Maildir/
Processing 64300 mails in /var/vmail/www.example.com/admin/Maildir
...........................................................................
Traceback (most recent call last):
  File "/usr/bin/deldupmail.py", line 468, in <module>
    main()
  File "/usr/bin/deldupmail.py", line 422, in main
    duplicates_run(opts, maildir_paths)
  File "/usr/bin/deldupmail.py", line 443, in duplicates_run
    mail_count += collate_folder_by_hash(mails_by_hash, maildir, opts.message_id)
  File "/usr/bin/deldupmail.py", line 263, in collate_folder_by_hash
    mail_hash, header_text = compute_hash_key(message, use_message_id)
  File "/usr/bin/deldupmail.py", line 249, in compute_hash_key
    canonical_headers_text = get_canonical_headers(message)
  File "/usr/bin/deldupmail.py", line 187, in get_canonical_headers
    canonical_value = get_canonical_header_value(header, value)
  File "/usr/bin/deldupmail.py", line 223, in get_canonical_header_value
    utc_timestamp = email.utils.mktime_tz(email.utils.parsedate_tz(value))
  File "/usr/lib/python2.7/email/_parseaddr.py", line 154, in mktime_tz
    if data[9] is None:
TypeError: 'NoneType' object has no attribute '__getitem__'
root@cub:/etc/getmail#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.