Skip to content

Instantly share code, notes, and snippets.

View thydel's full-sized avatar

Thierry Delamare thydel

  • Epiconcept
  • Paris France
View GitHub Profile
@thydel
thydel / vsphere_info.py
Created May 7, 2018 12:48 — forked from deviantony/vsphere_info.py
VMWare Vsphere info in Python using pyvmomi
#!/usr/bin/env python
import pyVmomi
import argparse
import atexit
import itertools
from pyVmomi import vim, vmodl
from pyVim.connect import SmartConnect, Disconnect
import humanize
@thydel
thydel / fix_eoi.py
Created February 26, 2018 13:05 — forked from bcyrill/fix_eoi.py
Python script to inject the EOI marker into panoramic photos created by the S7 camera. In addition the script allows to dump the Samsung specific data that is added to the image
#!/usr/bin/python
# The Samsung trailer format is based on the implementation from ExifTool
# http://www.sno.phy.queensu.ca/~phil/exiftool/
import mmap
import struct
import os
import sys
@thydel
thydel / ansible-summary.md
Last active January 23, 2017 15:45 — forked from klen/ansible-summary.md
An Ansible summary

An Ansible summary

Patterns

  • all (or *)
  • hostname: foo.example.com
  • groupname: webservers
  • or: webservers:dbserver
  • exclude: webserver:!phoenix
  • intersection: webservers:&staging