Skip to content

Instantly share code, notes, and snippets.

View skeletozaure's full-sized avatar

Cédric LEBOCQ skeletozaure

View GitHub Profile
@skeletozaure
skeletozaure / Hex2bas.py
Created March 8, 2023 17:13
Hex2Bas.py : Convert Intel Hex file to Basic for Mattel Aquarius
#
# HEX2BAS - Convert an Intel HEX file to a BASIC program for Mattel Aquarius computer
# Author: Cédric LEBOCQ
# Date: 2023-03-08
# Version: 1.0
#
import sys
def create_basic_program(hex_file_lines, base_address):
@skeletozaure
skeletozaure / helpers.py
Created January 19, 2022 08:30
Supports / Resistance automatic calculations using K-Means method
import math
import numpy as np
import pandas as pd
from sklearn.cluster import KMeans
import warnings
class Helpers():
def get_optimum_clusters(df):
@skeletozaure
skeletozaure / activenode.ps1
Created June 2, 2021 08:00
[Powershell] get cluster active node
(get-clustergroup | Where-Object name -eq 'Cluster Group').ownerNode.name