This project originally started as a way for me to control my non-smart TV and AC with Alexa which I completed and wrote about in my previous post. But my strive for perfection turned into a 3-4 month project to add the ability to use Apple’s Home app to control all the smart devices inContinue reading “Controlling IoT devices with Alexa and Apple Home Together”
Author Archives: Gaurav
Building Alexa universal IR remote, to control TV or AC with ESP8266 (Wemos D1 mini)
(I have bolded the important details if you want to do this project and I added images, cause I find it to be helpful) This is my first main project after getting started with Arduino, which is fairly easy in theory, but allowed me to learn a lot as a beginner. But essentially, I recordContinue reading “Building Alexa universal IR remote, to control TV or AC with ESP8266 (Wemos D1 mini)”
My Experience: LPIC-2 Exam 1 (201-450)
This exam… this exam was definitely one of the hardest exams I have taken so far. After I was done with my LPIC-1/CompTIA Linux+ I decided that it would only make sense to also get LPIC-2 done! Since LPIC-1 was relatively easy I instantly jumped to the conclusion that LPIC-2 will also be near theContinue reading “My Experience: LPIC-2 Exam 1 (201-450)”
Installing TWRP Recovery on Samsung Galaxy Note 3
Requirements: Computer With Windows Installed Samsung Galaxy Note 3 Drivers Odin v3.07 http://adf.ly/1PVZOs Galaxy Note 3 LTE SM-N9005 (Might Work for other, but this is the one I used) TWRP 3.0.0 Download twrp-3.0.0-0-hlte.img.tar (click “Download twrp-3.0.0-0-hlte.img.tar”) (This is the version that worked for me, the NEWER ones DIDN’T) Before we get started make sure you knowContinue reading “Installing TWRP Recovery on Samsung Galaxy Note 3”
Flash OS image to USB drive with dd command
Open Terminal Type sudo su to enter root and type in your password Type diskutil on Mac or lsblk on linux to determine the name of flash drive for example disk4 or disk2. Mac Linux Next we have to flash image to the flash driver with dd. Mac dd if=<OS_Image_File> of=<disk_path> bs=1m conv=sync Linux ddContinue reading “Flash OS image to USB drive with dd command”
Study Guide for CompTIA Linux+ LX0-103 and LX0-104
This is the study guide I created when I was studying for the Comptia Linux+ / LPIC-1 exam. This guide is for both exams LX0-103 and LX0-104. The resources I used was the book CompTIA Linux+/LPIC-1 Certification All-in-One Exam Guide and the acloud.guru course Certified CompTIA Linux+ and Certified LPIC-1: System Administrator. However, if youContinue reading “Study Guide for CompTIA Linux+ LX0-103 and LX0-104”
Steps to compiling the Linux kernel
STEP 1: Switch to root user This is needed because we are working in the /usr/src directory which requires root access sudo su STEP 2: Download kernel source code from https://www.kernel.org and move to /usr/src This is usually tar.xz or tar.gz file cd /usr/src wget <kernel_download_URL_link> STEP 3: Extract contents from tar file For tar.xz:Continue reading “Steps to compiling the Linux kernel”
Good Shell Scripting Practices
Just some notes on good practices when shell scripting… It is a good idea to comment your code (this is for programming in general). Have a header with name of script, author, modification date and parameters being used. Variable declaration comments should be on the same line. While other comments can be on a separateContinue reading “Good Shell Scripting Practices”
Multiple Copies (cp) of a File with Bash
The syntax of the script will be: ./mcp main_file copy1 copy2 copy3 … ./mcp is the script name, main_file is the file that will be copied and copy1, copy2, copy3 and so on are the copies of main_file. I started the script off by getting the main_file in $1 and with shift separating it from the copies: #!/bin/bash file=$1 shift My secondContinue reading “Multiple Copies (cp) of a File with Bash”
Learning Linux: Linux Processes
These notes cover the basics of processes, signals and their control keys and some concept on processes. add & at the end of a command to run the process in the background Process IDs referee to processes in the entire system. Job numbers refers to processes running in the background of the current shell. JobContinue reading “Learning Linux: Linux Processes”