Skip to content

Instantly share code, notes, and snippets.

View tabvn's full-sized avatar

Toan tabvn

  • Danang, Vietnam
View GitHub Profile
query timeLine {
timeline(filter: "everyone") {
id
timeline {
entityId
entityType
entity{
...on User{
id
avatar
query tineline {
timeline(filter: "everyone", limit: 10, offset: 0) {
id
timeline {
id
entityType
entityId
entity {
__typename
... on User {
#include "Windows.h"
#include <iostream>
#include <conio.h>
#include <cmath>
#include <vector>
#include <string>
#include <sstream>
using namespace std;
#include <iostream>
#include <vector>
using namespace std;
struct Result
{
int fromIndex, len;
long long total;
import { split } from 'apollo-link';
import { HttpLink } from 'apollo-link-http';
import { WebSocketLink } from 'apollo-link-ws';
import { getMainDefinition } from 'apollo-utilities';
import {setContext} from 'apollo-link-context'
import {InMemoryCache} from 'apollo-cache-inmemory'
import {ApolloClient} from 'apollo-client'
const authLink = setContext((_, {headers}) => {
import React, {Component} from 'react'
import {apolloClient} from './client'
import {ApolloProvider} from '@apollo/react-hooks'
class App extends Component {
render() {
return (
<ApolloProvider client={apolloClient}>
using System;
using Newtonsoft.Json;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace bha
{
public class GraphQL
{
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace bha
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace bha
{"fields": [], "products": [{"tags": [], "title": "aaDe", "tagIds": [], "variants": [{"salePrice": 11, "regularPrice": 11, "productBaseVariantId": "bpoa7pjipt317j4an5e0"}, {"salePrice": 11, "regularPrice": 1, "productBaseVariantId": "bpoa7pjipt317j4an5fg"}, {"salePrice": 1, "regularPrice": 1, "productBaseVariantId": "bpoa7pjipt317j4an5h0"}, {"salePrice": 1, "regularPrice": 1, "productBaseVariantId": "bpoa7pjipt317j4an5ig"}], "collections": [], "description": "<p>Desc</p>\n", "collectionIds": [], "productBaseId": "bplfi8jipt33a3hlah4g", "shortDescription": "<p>short</p>\n"}, {"tags": [], "title": "aaDe", "tagIds": [], "variants": [{"salePrice": 2, "regularPrice": 2, "productBaseVariantId": "bplfiobipt33a3hlah8g"}, {"salePrice": 2, "regularPrice": 2, "productBaseVariantId": "bplfiobipt33a3hlah90"}, {"salePrice": 2, "regularPrice": 2, "productBaseVariantId": "bplfiobipt33a3hlah9g"}], "collections": [], "description": "<p>Desc</p>\n", "collectionIds": [], "productBaseId": "bplfiobipt33a3hlah7g", "shortDescription