Skip to content

Instantly share code, notes, and snippets.

💭
Hacking

Jari Turkia HQJaTu

💭
Hacking
Block or report user

Report or block HQJaTu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@HQJaTu
HQJaTu / gist:cd66cf659b8ee633685b43c5e7e92f05
Last active Feb 5, 2019 — forked from vpetersson/gist:f20efe6194460cc28d49
Parse and dump a sitemap (using Python)
View gist:cd66cf659b8ee633685b43c5e7e92f05
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Inspired by Craig Addyman (http://www.craigaddyman.com/parse-an-xml-sitemap-with-python/)
Enhanced by Viktor Petersson (http://viktorpetersson.com) / @vpetersson
Enhanced by Jari Turkia (https://blog.hqcodeshop.fi/) / @HQJaTu
"""
from bs4 import BeautifulSoup
@HQJaTu
HQJaTu / ipmi-updater.py
Last active Sep 25, 2019
Supermicro IPMI certificate updater
View ipmi-updater.py
#!/usr/bin/env python3
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=python
# This file is part of Supermicro IPMI certificate updater.
# Supermicro IPMI certificate updater is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
@HQJaTu
HQJaTu / trigger-Azure-CDN-certificate-update.ps1
Created Jun 18, 2019
Azure CDN certificate update trigger
View trigger-Azure-CDN-certificate-update.ps1
#Requires -Version 6.0
<#
The MIT License (MIT)
Copyright (c) 2019 Jari Turkia (jatu@hqcodeshop.fi)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
You can’t perform that action at this time.