INNER JOIN
Category.joins(:posts)
# SELECT categories.* FROM categories INNER JOIN posts ON posts.category_id = categories.id
##Jekyll Installation
mkdir my-awesome-blog
cd my-awesome-blog
git credential-osxkeychain erase
host=github.com
protocol=https
In distributed computing, a remote procedure call (RPC) is when a computer program causes a procedure (this is what it differs from REST) to execute in another address space (commonly on another computer on a shared network), which is coded as if it were a normal (local) procedure call, without the programmer explicitly coding the details for the remote interaction.
There are multiple implementation of RPC: ONC RPC, JSON-RPC, XML-RPC, gRPC, SOAP, etc.
In gRPC a client application can directly call methods on a server application on a different machine as if it was a local object, making it easier for you to create distributed applications and services. As in many RPC systems, gRPC is based around the idea of defining a service, specifying the methods that can be called remotely with their parameters and return types. On the server side, the server implements this interface and runs a gRPC server to handle client calls. On the client side, the client has a stub (referred to as just a client in some languages) that provides the same methods as the server.
gRPC clients and servers can communicate no matter what programming languages they're written in. For instance, you can easily create gRPC servers in C++ and clients in Ruby/Python.
gRPC uses (Protocol Buffers, aka. Protobuf)(https://github.com/google/protobuf), for data serialization.
# Place your file in ~/.config/hub | |
github.com: | |
- user: huynhquancam | |
oauth_token: XXX # personal token can be obtained from your Github > Settings > Security > Personal Token |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<breakfast_menu> | |
<food> | |
<name>Belgian Waffles</name> | |
<price>$5.95</price> | |
<description>Two of our famous Belgian Waffles with plenty of real maple syrup</description> | |
<calories>650</calories> | |
</food> | |
<food> | |
<name>Strawberry Belgian Waffles</name> |