mcrblg-header-image

search

How to Configure Mail Server Properly

Posted by in Software

1. Point your domain address to a nameserver. Managing name server is difficult so usually you stick to something like cloudflare to both protect against DDoS and do the name server job. 2. You need to set the PTR Record or rDNS. both terms are the same and used interchangeably. There are 3 notes here:…


VPS Domain Management

Posted by in Software

On Ubuntu 22.02. all apache config files are exist under available directory and you need to enable them by running a2ensite 000-default.conf /etc/apache2/sites-available/000-default.conf ————————– <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # Permissions settings <Directory /var/www/html> # Allow access to the directory and its content Options Indexes FollowSymLinks AllowOverride All #…


SSH with No Home Dir

Posted by in Software

1. Create user, -m means create no home dir. useradd -M <username> 2. Create ssh-key, -C is specifying the comment. ssh-keygen -t rsa -b 4096 -C “<comment>” 3. Download private key and put it in .ssh folder on client side. 4. Move public key to /etc/ssh/authorized_keys/. 5. Set permission. chown <username> /etc/ssh/authorized_keys/<username>.pub chmod 644 /etc/ssh/authorized_keys/<username>.pub…


Kaldi GMM

Posted by in Software, Speech Recognition

This is the golden formula in the speech recognition. The argmax function means find the value of w that makes p(x|w) maximum. Here x is observation acoustic signal. So basically we compute all possible sequence and then for each one of them calculate the possibility of seeing such an acoustic signal. This is a very…


Voltage Feedback Amplifier(VFB) vs Current Feedback Amplifier(CFB)

Posted by in Electrical Engineering, Hardware Design

Voltage Feedback Amplifier(VFB) or Current Feedback Amplifier(CFB). that is the question! This document will summarize the difference Current Feedback Amplifier Advantage No fixed gain bandwidth product (high gain and high bandwidth at the same time!) Ultra slew rate (Inverting configuration maximizes input slew rate) Disadvantage Only the non-inverting input is the high input impedance feedback…


Understanding Partitions in Android MediaTek Chips

Posted by in Android

Preloader: initial bootloader code that runs when the device is powered on. Vbmeta: Verified Boot metadata, which is used to verify the integrity of the boot image. Vbmeta_system: Verified Boot metadata for the system partition. Vbmeta_vendor: Verified Boot metadata for the vendor partition. Spmfw: Secure Partition Manager firmware. Lk: Little Kernel bootloader. Boot: kernel and…


Flash Samsung Galaxy A34 SP Flash Tool

Posted by in Android, Software

Scatter File To use the SP Flash tool you need to have a scatter file. One easy way to find that is to look out for other devices that use the same chipset but the manufacturer releases the firmware file including the scatter file one such manufacturer is Xiaomi but you may find other manufacturers…


Samsung MTK Force BRom (DM)

Posted by in Android, Software

Half of Samsung devices come with a MediaTek chip. These chips come with a special mode called BROM or emergency mode. This is something that by default is not enabled but if the device goes into broken mode it will activate to allow the device to be flashed without the need for a jtag connection….


How to Downgrade Samsung SW REV. CHECK FAIL

Posted by in Android

If you try to downgrade a new Samsung phone to an older firmware using Odin you are gonna get SW REV. CHECK FAIL. Fortunately, there’s a fix for this but it takes a little bit of patience Quick Guide Download and install 7-Zip Download the required tool. Extract the Ap_<Version>.tar.md5​ content in the same place…


Web Extension Console Firefox

Posted by in Software

Developing Firefox extensions could be rough but shouldn’t be. here are few techniques to smooth out the process 1. Dev Console Access all extension logs by visiting about:debugging#/runtime/this-firefox and clicking on the Inspect button to see console.log logs. For background scripts, you can see the logs also in the browser console by pressing Ctrl+Shift+J 2….


‹ previous posts
close
menu