Skip to content

Instantly share code, notes, and snippets.

@sujitrp
sujitrp / AdbCommands
Created August 14, 2019 13:38 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@sujitrp
sujitrp / clearRAM.sh
Created August 18, 2018 09:58 — forked from pklaus/clearRAM.sh
A Script to Clear Cached RAM on Linux
#!/bin/bash
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux
## By Philipp Klaus
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/>
if [ "$(whoami)" != "root" ]
then
echo "You have to run this script as Superuser!"
exit 1
fi
@sujitrp
sujitrp / powerMon.fzz
Created December 28, 2017 05:54 — forked from ItKindaWorks/powerMon.fzz
A simple arduino and ESP8266 program to read and average 2 current transformers and a voltage transformer for monitoring whole house power usage.