Skip to content

Instantly share code, notes, and snippets.

View tabvn's full-sized avatar

Toan tabvn

  • Danang, Vietnam
View GitHub Profile
#include <iostream>
using namespace std;
template <class T>
class Fraction {
private:
T tu,mau;
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Device {
private:
string code;
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Author {
private:
string name, id, email;
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Author {
private:
string name, id, email;
@tabvn
tabvn / g
Created July 10, 2019 10:40
g
# Write your query or mutation here
query me {
me {
id
firstName
lastName
email
created
updated
}
# Write your query or mutation here
query me {
me {
id
firstName
lastName
email
created
updated
roles
query forumTopic{
forumTopic(id:1){
id
body
author{
id
username
firstName
lastName
}
query findFriends{
findFriends(search: "", limit:null, offset: null){
id
firstName
username
avatar
email
}
}
mutation createMessage{
createMessage(roomId:18, body:"Hi there how are you?", messageType: "default"){
id
body
messageType
author{
id
username
avatar
isOnline
query post{
post(id: 53){
id
body
postType
created
updated
pinned
commentCount