Skip to content

Instantly share code, notes, and snippets.

View chayanforyou's full-sized avatar
🤖
Learning...

Chayan Mistry chayanforyou

🤖
Learning...
View GitHub Profile
@chayanforyou
chayanforyou / android_tools.sh
Created September 15, 2024 14:04 — forked from kriware/android_tools.sh
Auto install tools for android reversing in Ubuntu 20.04
#!/bin/bash
###################################################################
#Description : Script for install tools for android reversing
# Testing in Ubuntu 20.04
# Run as root
# Tools:
# - APKtool
# - Jadx
# - adb
@chayanforyou
chayanforyou / ideviceforward
Created October 27, 2024 14:02 — forked from gabrc52/ideviceforward
Forward iOS device from host to guest (OSX-KVM)
#!/bin/bash
# Debug
set -o xtrace
GUEST_IP=192.168.122.221
HOST_IP=192.168.122.1
# Wipe the current usbfluxd, usbmuxd, and socat:
sudo killall usbfluxd
def nec_generate(command_hex: str):
HEADER = ["0158", "00B0"] # 9ms + 4.5ms
BIT_0 = ["0017", "0017"]
BIT_1 = ["0017", "0041"]
STOP = ["0017"]
TAIL = ["05A5", "0158", "0056", "0017", "0E5B"]
# Pronto preamble
pronto = ["0000", "006C", "0022", "0002"]
pronto.extend(HEADER)
@chayanforyou
chayanforyou / pid_algorithm.md
Last active May 12, 2025 09:03
বাংলায় PID Algorithm

🧠 PID Controller কী?

PID মানে:

  • P = Proportional
  • I = Integral
  • D = Derivative

PID Controller এমন একটা অ্যালগরিদম যেটা কোনও সিস্টেমকে (যেমন গাড়ি, ফ্যান, তাপমাত্রা কন্ট্রোল, ইত্যাদি) ঠিক মত নিয়ন্ত্রণ করতে সাহায্য করে।