Skip to content

Instantly share code, notes, and snippets.

View tsunammis's full-sized avatar
😉
Just happy

Stan Chollet tsunammis

😉
Just happy
View GitHub Profile
@tsunammis
tsunammis / gist:2a2dc4650ae4b7223aeb8f590277a434
Created March 1, 2023 16:40 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@tsunammis
tsunammis / directive.md
Last active May 15, 2019 13:29
Directive

One missing part needed by the community to provide external directives is a way to configure the directive.

Here is a draft of the API to provide configuration.

No more Directive abstract class

The Directive classes won't extend any tartiflette abstract classes. Instead, you will have to implement the methods you want to support depending on the feature you want to compliant with. (see above regarding the feature set)

from

@tsunammis
tsunammis / hello_world.py
Created March 9, 2019 08:37
Introducing Tartiflette: dailymotion's Open Source GraphQL Implementation for Python 3.6+
import asyncio
from tartiflette import Engine, Resolver
@Resolver("Query.hello")
async def resolver_hello(parent, args, ctx, info):
return "hello " + args["name"]
async def run():
@tsunammis
tsunammis / keybase.md
Created December 28, 2016 12:31
keybase.md

Keybase proof

I hereby claim:

  • I am tsunammis on github.
  • I am tsunammis (https://keybase.io/tsunammis) on keybase.
  • I have a public key ASDnJDJynjybzHT5K1n4QNXIZXSbaUXI8GFKbk8X-ozTrAo

To claim this, I am signing this object:

@tsunammis
tsunammis / nsq-controller.yaml
Created December 11, 2015 10:10
Cluster of NSQ on Kubernetes for multiple hosts (kubernetes.io)
apiVersion: v1
kind: ReplicationController
metadata:
name: nsq
spec:
replicas: 4
selector:
name: nsq
template:
metadata:
@tsunammis
tsunammis / your-virtualhost.conf
Created May 15, 2014 09:40
Apache Virtual Host with one domain under apache and a specific path to node.js app
<VirtualHost *:80>
ServerName yourdomain.com
DocumentRoot /var/www/yourdomaincom
# Path under Apache/PHP
# http://yourdomain.com/ -> PHP
<Directory /var/www/yourdomaincom>
Options Indexes FollowSymLinks MultiViews
AllowOverride None