Skip to content

Instantly share code, notes, and snippets.

View SaicharanKandukuri's full-sized avatar
💭
Been stuck trying to make a carrrer

Zman | サ イ チャラン SaicharanKandukuri

💭
Been stuck trying to make a carrrer
View GitHub Profile
@SaicharanKandukuri
SaicharanKandukuri / clz.sh
Created April 7, 2022 07:02
A Script for compressing folders with lz4
#!/usr/bin/env bash
# Usage: bash clz.sh foldername filenametocompress
target=$2
target_source=$1
tar \
--exclude="${target_source}"${0} \
--exclude="${target_source}${target}.tar.lz" \
--exclude-caches-all \
@SaicharanKandukuri
SaicharanKandukuri / ceasercypher.cpp
Last active June 2, 2022 02:52
My version of ceaser cypher in c++ with just alphabets with both upper & lower case
#include <iostream>
/*
(C) SaicharanKandukuri <[email protected]> 2022
please try not to copy paste this in your class 👌
*/
#define SHIFT 3 // hardoced ( XD )
using namespace std;
string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; // ALPHABETS for encryption
@SaicharanKandukuri
SaicharanKandukuri / restore.sh
Created June 2, 2022 02:49
A test script to restore udroid distros
#!/bin/bash
# Udroid restore utilty test
#
# Not ready yet!
#
TERMUX_STORAGE_PREFIX="/data/data/com.termux"
file=$1

Pumis research notes

a little effort to display my attendence in terminal 🤏 this process includes understanding how pumis works with the help of proxies and recreating requests

⚠️: this research is done only in authorised spaces of site. ( also iam 0 in aspx )

  • so pumis made with asp.net (Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0)
  • and its performs SSR most of the the time so its hard to get raw data ( site always returns always xhtml )
@SaicharanKandukuri
SaicharanKandukuri / gdsc.ascii
Created August 19, 2022 03:13
google developer logo in ascii made with jp2a
                         ';ccc:,               .;::::'.                        
                     ..;c
@SaicharanKandukuri
SaicharanKandukuri / termux proot options.txt
Created August 31, 2022 03:43
all the options used for running a linux distro with proot
proot \
-b /system \ # std mountpoint to /system => system root of android
-b /sys \ # std mountpoint to /sys => linux start /sys
-b /vendor \ # std mountpoint to /vendor => for libs ( which wont used in proot )
-b /proc \ # std linux proc mountpoint
-b /dev \ # std linux dev mountpoint
-b /dev/urandom:/dev/random \ # urandom mountpoint
-b /proc/self/fd/1:/dev/stdout \ # stdout mountpoint
-b /proc/self/fd/2:/dev/stderr \ # stderr mountpoint
-b /proc/self/fd/0:/dev/stdin \ # stdin mountpoint

Complexity => Medium

GitHub

  • To be able to use Git command line
  • Understand git system & logics ( how git is intended to use )
  • Creating a github profile
  • understanding github UI
  • how learning GitHub impacts standards of a person ( which later helps in industries )
  • Creating a repository
@SaicharanKandukuri
SaicharanKandukuri / null and 0 relation.js
Last active November 5, 2022 12:37
[null & 0 in javascript] code to show how strange relation between null & 0 works in javascript
/*
CODE to show how relation between null ( an object ) & 0 ( a Number ) works in JavaScript
code below is not fully implemented according to algorithm in ECMA-262 only the part where values of null & 0 satisfies are covered
REFER: https://262.ecma-international.org/5.1
(C) saicharankandukuri 2022
*/
const LOG = (buff) => console.log(buff);
#!/bin/bash
set -Eeuxo pipefail
# change it according to your perefed name
MACHINE_NAME="ubuntu-os"
QEMU_IMG="${MACHINE_NAME}.img"
SSH_PORT="5555"
OVMF_CODE="/usr/share/OVMF/OVMF_CODE_4M.ms.fd"
OVMF_VARS_ORIG="/usr/share/OVMF/OVMF_VARS_4M.ms.fd"