Github API PDF List and Show Firebase Web Application Series

Details:

I have posted the part 1, 2, 3, 4 of the series. Part 1 is just an overview of the tools and where to get them and part 2 is making the app front end using bootstrap template, part 3 is deploying the web application to firebase hosting and using postman to perform http get requests, part 4 is adding javascript and jquery code to get data using a github api method, perform regular expressions to get urls with pdf extension from text data, using regex get pdf file names from url links and finally adding the names to sidebar.

The live web Application is here:
https://awesome-books.firebaseapp.com

Link to github repo:
https://github.com/quickgrid/QGrid-Github-API-Book-List-and-View-App


Creating Github API PDF Search, List & Display App part 1 overview:

This tutorial covers all the tool and websites required to make this web project. Such as, postman, atom, firebase, github, nodejs, http-server, google developer console, regexr, bootstrap, mdn etc.


Creating github API PDF Search, List & Display App part 2 Front End Design:

This tutorial covers Usage of chrome developer tools, bootstrap example download and configure, atom editor usage,
including external icon from fontawesome, input suggestions, creating list items and providing
link for click on anchor.


Part 3 Creating Github API PDF App part 3 Firebase Hosting deploy & Postman Github GET Request:


Part 4 Creating Github API PDF Search, List & Display App part 4 jquery book on sidebar:

Posts list on http://quickgrid.blogspot.com

Dynamic Index of all published posts:

http://quickgrid.blogspot.com/p/archives.html

The site above list all the posts published automatically according to their date.

Current Posts:


Youtube:

Tutorial on pulling json data from uhunt, parsing in c# and showing on universal windows phone app.

Posts:

http://quickgrid.blogspot.com/2016/03/beginner-uhunt-api-usage-tutorial-for-windows-phone-8.1.html

http://quickgrid.blogspot.com/2016/03/operating-system-creating-child-process-and-tracing-output.html

http://quickgrid.blogspot.com/2016/03/cpp-html-code-parser-for-generating-Parent-Child-Relation-based-on-Space-Hierarchy.html

http://quickgrid.blogspot.com/2016/03/bash-shell-script-calculate-factorial.html

Resizing and Running Android Studio 2 Emulator using Telnet, Terminal, Command Prompt

One way to resize is to go to avd manager then click on pen icon to edit. Now change the scale settings based on screen resolution. Android studio use to have emulator configuration options in which I could pass arguments such as “-scale 0.8” to scale the emulator. But as of this writing Android studio no longer has that option. Another option is to connect via telnet and pass commands to it. Also more options are available read this.

Using Telnet:

First go to programs and features then select Telnet Client and Server then apply. Now open command prompt and type “telnet localhost 5554” if it is the first instance of the emulator. Increment by two for the next one and so on if multiple instances are running.

Type telent commands carefully. After making typo in command then fixing by backspace and insert doesn’t work. Just press enter and reenter the commands.

android emulator telnet scale command
android emulator telnet scale command

 

Using Terminal:

For using terminal and command prompt to run and scale the emulator the easiest thing to do is first do a run using the play button. No need to wait for the emulator to load. Just note the emulator path with its arguments in the run tab bottom of the screen.

Copy the whole command and go to terminal tab on android studio. Now paste it in terminal and change the scale factor.

android emulator path with arguments
android emulator path with arguments
paste emulator run command in terminal
paste emulator run command in terminal
change the scale factor of emulator run command in terminal
change the scale factor of emulator run command in terminal

 

Using Command Prompt:

Just open command prompt and paste in the same command copied as above. Then just change the scale part to best suit your screen resolution.

 run and scale android studio emulator from command prompt

run and scale android studio emulator from command prompt

 

Further Reading:

Read using the Emulator Console Part.
http://developer.android.com/tools/devices/emulator.html

Solution to no such directory or file when compiling with headers such as stdio.h stdlib.h on Linux

Solution to no such directory or file when compiling with headers such as stdio.h stdlib.h on Linux:

Say you have a c file “helloworld.c”. It contains header such as “stdio.h”, “stdlib.h”, but unable to compile with gcc. In order to solve it run this command on terminal,

sudo apt-get update && sudo apt-get --reinstall install libc6-dev

If it asks to [Y/n] press Y and continue installation. After installation is complete it should be able to compile properly.

compiling and running c program from terminal in linux
compiling and running c program from terminal in linux

Now just follow code shown above to run your code from terminal.