Skip to content

Instantly share code, notes, and snippets.

View haijeploeg's full-sized avatar
🐒

Haije Ploeg haijeploeg

🐒
  • Warpnet B.V.
  • Netherlands
  • 04:04 (UTC +02:00)
  • LinkedIn in/haije
View GitHub Profile
@haijeploeg
haijeploeg / azure_rm_aks.py
Created February 25, 2025 07:46
#1823 azure_rm_common.py & azure_rm_aks.py
#!/usr/bin/python
#
# Copyright (c) 2018 Sertac Ozercan, <seozerca@microsoft.com>
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
@haijeploeg
haijeploeg / exif-takeout.sh
Created September 21, 2021 19:15
exif-takeout.sh
#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
dir=$1
function redraw_progress_bar {
local current=$1
local top=$2
@haijeploeg
haijeploeg / fancontroller.py
Created July 15, 2021 18:46
fancontroller banana pi/raspberry pi
#!/bin/env python
import os
import time
# Setup gpio 15 pin
os.popen("echo 15 >/sys/class/gpio/export")
os.popen("echo out >/sys/class/gpio/gpio15/direction")
while True: