Moved the code to the script repo ...
https://github.com/rosjat/scripts/tree/master/shell/docker/OCtoNC
Moved the code to the script repo ...
https://github.com/rosjat/scripts/tree/master/shell/docker/OCtoNC
| # simply add as many urls as you need and your standard browser should take care of the rest | |
| # maybe i go through the trouble to figure out how to pass user and password one day but i guess not | |
| # since HE is just to paranoid to let anyone do anything without there proprietary c**p | |
| $ilos = @("https://your.ilo.fqdn", "https://or.your.ilo.ip") | |
| $ilos | foreach-object -Process {Start-Process $_} |
| from trac.core import Component, implements | |
| from trac.ticket.api import ITicketChangeListener | |
| from trac.wiki.model import WikiPage | |
| import requests | |
| import json | |
| whook = "<enter your webhook url here>" | |
| def create_payload(ticket_id, values): |
| from __future__ import division | |
| BODYFAT_K_3P_CP_M = {'k0': 1.10938, | |
| 'k1': 0.0008267, | |
| 'k2': 0.0000016, | |
| 'ka': 0.0002574, } | |
| BODYFAT_K_3P_CP_F = {'k0': 1.0994921, | |
| 'k1': 0.0009929, |
| # This may help others to get started with there custom build process | |
| # | |
| # you find millions of post how to make a custom command and to run code | |
| # but if you want to somewhat alter the way how extentions are build or | |
| # not you may find yourself stuck ... like I was | |
| from distutils.command.build import build as _build | |
| from distutils.core import setup, Extension | |
| foo_module = Extension(name='foo', |