- Create or find a gist that you own.
- Clone your gist (replace
<hash>with your gist's hash):# with ssh git clone git@gist.github.com:<hash>.git mygist # with https
git clone https://gist.github.com/.git mygist
<hash> with your gist's hash):
# with ssh
git clone git@gist.github.com:<hash>.git mygist
# with httpsgit 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: |