Booting a linux file system with crosvm
provided in android. ( experiment )
# ~2GB size
dd if=/dev/zero of=udroid_image.ext4.img bs=1M count=2000
# format to ext4
#!/bin/bash | |
MIRROR="http://archive.ubuntu.com/ubuntu" | |
SUITE="jammy" | |
# check for sudo | |
[[ $EUID != 0 ]] && echo "Please run as sudo.." | |
# backup existing sources |
#!/sbin/sh | |
#-----------Dynamic Installer Configs-----------# | |
#The #MAGISK tag is required, dont remove it | |
#MAGISK | |
setdefault magisk_support on | |
setdefault ensure_root on | |
setdefault import_addons off | |
setdefault apex_mount off | |
setdefault extraction_speed default | |
setdefault permissions "0:0:0755:0644" |
zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
it has C-like syntax, cross-platform and cross-compile support
that means developers don't need to maintain toolchain for every platform and cpu architecture
Our zig journey so far
as part of our OSD Internship, we started learning zig language ( a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.) a c-like language with inbuilt cross-platform & cross-compile building support.
here are my notes on basics https://gist.github.com/SaicharanKandukuri/33c0fef784f59af4b31732914bab39c6
Zig introduces some special language features like: special controls in loops
Here is my analysis on note apps ( like evernote, onenote, etc.). what can they do.
Basically an app allows to crate notes and store them
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
The languages used in make
bun
which is faster thannode
anddeno
@import("<name>")
function to a variable#!/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" |
ssh-keygen -t ed25519 -C "yourgmailadress@gmail.com"
replace yourgmailadress@gmail.com with your mail address