https://play.google.com/intl/en_us/badges/
npm installnpm run dl-badges
https://play.google.com/intl/en_us/badges/
npm installnpm run dl-badges| #include "DigiKeyboard.h" | |
| //Command key is ord 37 and as a modifier 0x00000008 | |
| //See NX_DEVICELCMDKEYMASK http://svn.red-bean.com/bob/SDL-altivec/trunk/src/video/quartz/SDL_QuartzEvents.m | |
| //For a look at available keys https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/DigiKeyboard.h | |
| #define MOD_CMD_LEFT 0x00000008 | |
| boolean do_hack = true; | |
| void setup() { |
| sudo apt-get update | |
| sudo apt-get install build-essential chrpath libssl-dev libxft-dev -y | |
| sudo apt-get install libfreetype6 libfreetype6-dev -y | |
| sudo apt-get install libfontconfig1 libfontconfig1-dev -y | |
| cd ~ | |
| export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64" | |
| wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2 | |
| sudo tar xvjf $PHANTOM_JS.tar.bz2 | |
| sudo mv $PHANTOM_JS /usr/local/share | |
| sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin |
| class MainActivity extends Activity { | |
| // mEntries in this case is just an ArrayList store | |
| private ArrayList<String> mEntries; | |
| // ... | |
| // Fetch method | |
| private void fetch(RequestQueue requestQueue) { | |
| JsonArrayRequest request = new JsonArrayRequest("http://example.com/feed.json", | |
| new Response.Listener<JSONArray>() { |