- Create or find a gist that you own.
- Clone your gist (replace
<hash>
with your gist's hash):# with ssh git clone [email protected]:<hash>.git mygist # with https
git clone https://gist.github.com/.git mygist
<hash>
with your gist's hash):
# with ssh
git clone [email protected]:<hash>.git mygist
# with https
git clone https://gist.github.com/.git mygist
#include <stdio.h> | |
#include <string.h> | |
#include <sys/system_properties.h> | |
/* Get device name | |
-- | |
1/ Compile with the Android NDK Toolchain: | |
arm-linux-androideabi-gcc -static pname.c -o pname | |
2/ Transfer on device: |