Skip to content

Instantly share code, notes, and snippets.

View iakat's full-sized avatar
📸

Katia Esposito iakat

📸
  • 07:23 (UTC +01:00)
View GitHub Profile
@iakat
iakat / isitarm64imageready.sh
Last active July 25, 2023 20:43
kubernetes check if all images have arm64
#!/bin/bash
# Copyright 2023 kat
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@iakat
iakat / archive.py
Created July 26, 2023 15:30
archive.py
# warning! name me archive.py
# Copyright 2023 katia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
~/g/personal/bobcamera docker 🗑 ✏️ 🤷‍ v docker run tmp
+ source /workspace/bobcamera/src/ros2/install/setup.bash
++ COLCON_CURRENT_PREFIX=/opt/ros/iron
++ _colcon_prefix_chain_bash_source_script /opt/ros/iron/local_setup.bash
++ '[' -f /opt/ros/iron/local_setup.bash ']'
++ '[' -n '' ']'
++ . /opt/ros/iron/local_setup.bash
+++ AMENT_SHELL=bash
+++++ dirname /opt/ros/iron/local_setup.bash
++++ builtin cd /opt/ros/iron
[INFO] [launch]: All log files can be found below /root/.ros/log/2023-09-16-18-47-41-739921-cb60d5face3b-1
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [launch.user]: Source launch argument = VIDEO source.
[INFO] [launch.user]: Optimisation enabled.
[INFO] [launch.user]: Visualiser disabled.
[INFO] [component_container-1]: process started with pid [38]
[INFO] [component_container-2]: process started with pid [40]
[INFO] [component_container-3]: process started with pid [42]
[INFO] [rosbridge_websocket-4]: process started with pid [44]
[INFO] [rosapi_node-5]: process started with pid [46]
@iakat
iakat / sshot
Last active March 23, 2024 10:50
sshot
#!/usr/bin/env bash
set -ex
# https://creativecommons.org/public-domain/cc0/
# sshot - screenshot and upload to rclone remote
# made by katia
# This script takes 2 arguemnts
# 1. rclone remote
# 2. url prefix
@iakat
iakat / wg-fullmesh.py
Last active June 30, 2024 15:35
wg-fullmesh
# wg-fullmesh.py
# requires pip package wgconfig
# CC0 - public domain - made by github.com/iakat
import configparser
import json
import pathlib
import subprocess
import sys
from functools import partial
@iakat
iakat / adsb-feeder-image-loggy.sh
Last active April 9, 2024 10:59
adsb-feeder-image-loggy.sh
#!/bin/bash
# CC0 - public domain
# We read the file
SANITISED_LOG=$(cat /opt/adsb/adsb-setup.log)
# We set vars to empty
SANITISE_VARS="""FEEDER_LAT FEEDER_LONG ADSBLOL_UUID AF_MICRO_IP ULTRAFEEDER_UUID FEEDER_1090UK_API_KEY
FEEDER_ADSBHUB_STATION_KEY FEEDER_FR24_SHARING_KEY FEEDER_FR24_UAT_SHARING_KEY
FEEDER_PLANEWATCH_API_KEY FEEDER_RADARBOX_SHARING_KEY FEEDER_RV_FEEDER_KEY
_ADSB_STATE_SSH_KEY FEEDER_PIAWARE_FEEDER_ID FEEDER_RADARBOX_SHARING_KEY FEEDER_RADARBOX_SN"""