This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopt -s dotglob | |
sudo adduser adithya --disabled-password --gecos "" | |
sudo gpasswd -a adithya sudo | |
sudo mkdir /home/adithya/.ssh | |
sudo chmod 700 /home/adithya/.ssh/ | |
sudo sh -c "echo 'adithya ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" | |
# Now copy paste ssh pubkey here | |
nano /home/adithya/.ssh/authorized_keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find . -name '*so' | xargs strings | grep 'persist.radio' | |
persist.radio.voice.modem.index | |
persist.radio.multisim.config | |
persist.radio.ignore_ims_wlan | |
persist.radio.sglte_csfb | |
persist.radio.multisim.config | |
persist.radio.rat_on | |
persist.radio.kddi_hold_answ_on | |
persist.radio.ims_retry_3gpp | |
persist.radio.ims_retry_3gpp2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find . -name '*so' | xargs strings | grep '^persist\.' | |
persist.camera.pproc.debug.mask | |
persist.camera.dumpmetadata | |
persist.camera.pproc.debug.mask | |
persist.rmnet.data.enable | |
persist.data.netmgrd.qos.enable | |
persist.data.qmi.adb_logmask | |
persist.camera.imglib.dump | |
persist.camera.mobicat | |
persist.bluetooth.a4wp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find . -name '*so' | xargs strings | grep '^persist.' | |
persist.radio.ims.backcamera | |
persist.media.treble_omx | |
persist.ims.mm_maxqp | |
persist.vendor.qti.telephony.vt_cam_interface | |
persist.vendor.ims.use_modem_time | |
persist.vendor.ims.vt.enableadb | |
persist.vendor.ims.use_mdmtime | |
persist.vendor.ims.get_min_bitrate | |
persist.vendor.ims.enableltr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Number Start (sector) End (sector) Size Code Name | |
1 131072 262143 64.0 MiB 0700 modem | |
2 262144 262145 1024 bytes FFFF fsc | |
3 262146 262161 8.0 KiB FFFF ssd | |
4 262162 263185 512.0 KiB FFFF sbl1 | |
5 263186 264209 512.0 KiB 0700 sbl1bak | |
6 264210 265233 512.0 KiB FFFF rpm | |
7 265234 266257 512.0 KiB 0700 rpmbak | |
8 266258 267281 512.0 KiB FFFF tz | |
9 267282 268305 512.0 KiB 0700 tzbak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is Jenkins? | |
Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. (Wikipedia) | |
1. Install required packages | |
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt update | |
sudo apt install -y jenkins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Push commits to LOS Gerrit | |
git push ssh://<gerrit-user-id>@review.lineageos.org:29418/LineageOS/<repo-name> HEAD:refs/for/<branch> | |
git push ssh://[email protected]:29418/LineageOS/android_device_cyanogen_msm8916-common HEAD:refs/for/lineage-16.0 | |
git push ssh://[email protected]:29418/LineageOS/android_device_yu_lettuce HEAD:refs/for/lineage-16.0 | |
# Install change-id hooks first: | |
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 [email protected]:hooks/commit-msg ${gitdir}/hooks/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL1="https://android.googlesource.com/platform/manifest/+/refs/tags/android-10.0.0_r1" | |
URL2="https://android.googlesource.com/platform/manifest/+/refs/tags/android10-release" | |
start_sync () { | |
echo -e "\nYO BOIS! ANDROID 10 IS OUT! INITIATING SYNC NOW! \n" | |
repo init -u "https://android.googlesource.com/platform/manifest" -b $(basename "$1") | |
repofastsync | |
exit 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# LEDE Configuration | |
# | |
CONFIG_MODULES=y | |
CONFIG_HAVE_DOT_CONFIG=y | |
# CONFIG_TARGET_arm64 is not set | |
# CONFIG_TARGET_sunxi is not set | |
# CONFIG_TARGET_apm821xx is not set | |
# CONFIG_TARGET_ath25 is not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CS 2nd assessment marking pattern | |
---------------------------------- | |
16 marks - python revision | |
8 marks - complexity | |
- 5 marks for for calculating complexity + best & worst case | |
- 3 marks for complexity only | |
NOTE: step by step calculation needed for both | |
12 marks - matplotlob | |
- 2 marks - theory question |
OlderNewer