This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import argparse | |
def compare_excels(excel_file1, column_index1, excel_file2, column_index2, output_file): | |
try: | |
# Read the Excel files into pandas DataFrames | |
df1 = pd.read_excel(excel_file1) | |
df2 = pd.read_excel(excel_file2) | |
# Extract the values from the specified columns in Excel 1 and Excel 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import argparse | |
def compare_excels(excel_file1, column_index1, excel_file2, column_index2): | |
try: | |
# Read the Excel files into pandas DataFrames | |
df1 = pd.read_excel(excel_file1) | |
df2 = pd.read_excel(excel_file2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# --------------------------------------------------------------------------- | |
# Created By : Jille | |
# This is meant specifically for calculating CRC32_ADLATUS for a file | |
import sys | |
import crcmod | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
ConnectToEcuUDS('09') ; | |
IF ISCONNECTEDTOECU THEN | |
BEGIN | |
WRITELN('CONNECTED') ; | |
if dologin(31347) then writeln ('login OK') else writeln ('login nok') ; | |
WRITELN('Writing Ambient color list'); | |
if WriteDataByID(2600,'201923fffffffcff5d7dfc000ec434228c688ad8e8235b5429bdab3998f5') then writeln('adaptation 1 ok') else writeln('adaptation nok') ; | |
WRITELN('Writing LIN Ambient color list'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code will give each byte (or short or long) a color, which represents the value. | |
// 010 editor will display a color in the hex view, which can help to identify | |
// some logical structure inside a binary file. | |
local int i; | |
local int color=0; | |
while (!FEof()){ | |
FSeek(i); | |
if (size == 0){ |