On Android, Chrome make sure WebVR flags and GameController flags are turned on in chrome://flags
- Download AFrame boilerplate
- Download nGrok to allow http access to localhost
Use cntrl+alt+i
to bring up the visual inspector
(.*?)$ | |
//Note the space at the beginning | |
^[A-Za-z]+ |
On Android, Chrome make sure WebVR flags and GameController flags are turned on in chrome://flags
Use cntrl+alt+i
to bring up the visual inspector
git push heroku `git subtree split --prefix tutorbotapiservice master`:master
(add --force if needed)
Best way to share javascript code? Create your own npm module
Program = Data Structures + Logic / Code
The core working of the internet is based on the idea of client / server communication. The client is anything close to the user (a web browser, an app, a terminal with ssh) and a server that can respond to client queries.
Clients can talk to servers via a variety of protocols. The protocols are just a way for the client and server to agree on how to send data back and forth. Its like you and I talking. We can agree that we use English and with a friend of mine I can use Hindi.
Different Client / Server protocols include:
class Man < Animal | |
def get_name | |
@name | |
end | |
end | |
Man.new = m | |
m.get_name |
class User | |
attr_accessor :first_name, :last_name | |
def self.set_species (s) | |
@@species = s | |
end |