Skip to content

Instantly share code, notes, and snippets.

View kanishkanarch's full-sized avatar
🤯
Working 48/7

Kanishk Vishwakarma kanishkanarch

🤯
Working 48/7
View GitHub Profile
@kanishkanarch
kanishkanarch / RREF_VHES_xp12.py
Created March 13, 2025 15:22
XPlane 12 bug report supplement file
import socket, struct, time, numpy, math
beacon = {
"ip": "127.0.0.1",
"port": 49011
}
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
datarefs = [
("sim/flightmodel/position/latitude"),
@kanishkanarch
kanishkanarch / conda_error
Created May 14, 2024 10:20
Conda env create error
Error while loading conda entry point: conda-content-trust (OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.)
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
#!/usr/bin/env python3
import rospy
import time
from sensor_msgs.msg import Image
from airsim_ros_pkgs.msg import VelCmd
from cv_bridge import CvBridge
import numpy as np
import airsim
@kanishkanarch
kanishkanarch / main.py
Created August 10, 2022 14:40
Wandb sweep config errors
import wandb
import argparse
import gc
import os
import random
import traceback
from datetime import datetime
from time import time