Created
June 1, 2017 06:53
-
-
Save jpaulin/d25d25e51c2a0ae1de2377a1725307a0 to your computer and use it in GitHub Desktop.
Die, Android emulator (god powers)
This file contains hidden or 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
# Die, Android (on Ubuntu) -- This will be placed into your generic aliases collection | |
# Put to ~/.bash_aliases, and remember to source it in ~/.bashrc | |
alias 'dand=sudo killall -KILL qemu-system-i386' | |
# EDRA as an add-on, also into your ~/.bash_aliases | |
alias edra='vim ~/.bash_aliases; ba && hash -r' | |
# And ba - yet again it goes into ~/.bash_aliases | |
alias ba='. ~/bash_aliases; echo Realiased!' | |
# | |
# Now get an espresso! | |
# | |
# Check: 'alias' [Enter] | |
# | |
# The above 3 should be mentioned there | |
# Now you can just use 'edra' to edit & re-effectuate | |
# or 'dand' to kill the android emulator which is stuck |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The gist contains more than 1 unrelated alias definitions for the (Bash) shell.
"dand" is the beef here.
I originally created this for quickly killing the Android emulator process, which is called 'qemu-system-i386'. See, sometimes the emulator gets stuck pretty bad and it's boring to try and snatch it within the GUI. Terminal just makes it so much faster.