Giter Club home page Giter Club logo

ptokax's Introduction

wall

Hey there! This is Shehar Yaar. A fourth-year undergraduate student at IIT Kharagpur.
I have knowledge and experience in Web Development, Software Development, Computer Networks and Distributed Systems.

Skills

Programming Languages C, Go, Javascript/Typescript, Python, Lua, Bash Scripting
Libraries and Frameworks React, NodeJS, FastAPI, POSIX and Linux APIs, Golang Web Frameworks (Gorilla)
Core CSE Skill Data Structures & Algorithms, Operating System Concepts and Inter-Process Communication (IPC), Computer Networks and Socket Programming, Distributed Systems
Cloud AWS, Docker, NGINX, Kubernetes, Git

Contributions to Open Source

Linux Kernel

Apache KVRocks

  • Add BIT support to BITPOS : #2170

Apache APISIX

  • feat(control): add plugins/reload to control api #10905
  • fix: grpc-web trailers #10851
  • docs: update dubbo-proxy doc #10822
  • fix: cache original_nodes with nodes #10722

NGINX

  • add cache metrics for NGINX plus #540

Kubearmor

  • ignore cluster access with save flag #388
  • add govulncheck scan to Makefile #262
  • go vulnerability scan #899

MetaKGP

libssh

  • remove support for DSA Keys #231

bendahl/uinput

  • add fetchSysPath #29

My notes and blogs

  1. Kernel Notes - Gitbook (ongoing)
  2. Converting and testing devicetree bindings to yaml - Gist
  3. Lua and Lua C API notes for GSoC 2024 project - Gist (ongoing)
  4. Docker Networking notes - Gist (ongoing)
  5. Blockchain Resources - Gist
  6. Frontend Notes (React + CSS) - Gist
  7. Notes on Golang concurrency - Gist
  8. IIT Kharagpur Network Analysis - Netlify

ptokax's People

Contributors

proffapt avatar rajivharlalka avatar sheharyaar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ptokax's Issues

Changing ports (Raspberry Pi)..?

Hi. Just installed this on my Pi Zero. Initially had a few errors while compiling, but re-ran it a few times and some of the files created (executables) and after a while the problems went away.

Now, however, I'm not entirely sure but either PtokaX is overwriting the cfg.pxt (Seems to very much so be the case when running the ./PtokaX), and if the service isn't stopped properly before changing it (file lock perhaps?)

However, initially I edited the file and added port 7878, but I was unable to enter this. I found that the cfg-file had been replaced several times, other and most of the times not.
When I then shrugged my shoulders and tried the default ports 1209 and 411 it just worked. Also saw something in a script file that the service had been allowed for ports below some 1xxx (thousand).

I'm no Linux expert, but also not born yesterday, still I'm at a loss here. Shouldn't I be able to use whichever port I want?
Should also point out that I've never used the Linux version before so the environment is still a bit alien compared to Windows, and I'm no real Linux enthusiast either, so my knowledge is somewhat limited, and usually Google helps compiling and fixing (some) errors or getting dumber by the line (of RTFM).

Urgent todos

  • Extract tar file and include source code in the repo
  • Update the script to point out to personal ptokax-script repo instead of hit-hi-fit-hai repo and include updated script

Add IP Scanning script

Current method : Check subnet of lan and nmap to find the Pi
Needed : A script (? maybe which uses netcat on pi to broadcast its ip address on the broadcast address of the subnet and a netcat listener on another device).

Automate {KOSS}Hub setup

POA

  • To create a systemd script which does the following job:
    • The .py script - runs everytime on booting
      • Detects if the pi has access to internet on boot-up or not.
      • If yes -> do nothing. If no -> delete the lines for static ip configuration in dhcpcd.conf.
      • starts the setup script, which configures current ip as static and starts ptokax service if not already.
    • The .sh script - install dependencies and executes the .py script.
  • Configure aliases instead of abstract path.
  • New ptokax-setup.sh for new needs
    • Automate the argument requirements for the setup-script.
    • Fix the bug - if it's not handled already - BUG
    • Check for every task if they are handled before or not

Testing w/o LED

  • ptokax-alias
  • ptokax-config.sh
  • ptokax-stop.sh
  • ./ptokax-start.sh
  • ./ptokax-setup.sh
  • systemd
    • ptokax.service
    • ptokax-startup-service.sh
    • ptokax-network-check.py
      • Network Access Check
      • ptokax-setup.sh
  • Improve script outputs from in script commands based on test runs.
  • Check the -ne $pid part.. in ipofpi.sh & ptokax-setup.sh and one more.. if they work or not..
  • setsid if it is available or not

LED

The goal is to..
Output logs into LED display with main focus on IP of PI- https://pypi.org/project/RPi.GPIO/.
For now it's POA has not been decided, but surely be done after w/o LED is deployment ready.

Why?

To make it plug and play job to setup DC++.

DC++ Rewrite : Proposal discussion

Proposal for a better alternative as there are new libraries like libp2p that are standardising p2p with good components. More discussion to follow in Discussions and projects.

LED display support

Somehow displaying the current ip of pi on a LED display, so that the process becomes 100% plug-n-play (combining with #8 )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.