Skip to content

Instantly share code, notes, and snippets.

View EmilienMottet's full-sized avatar
🚴
Focusing

Emilien Mottet EmilienMottet

🚴
Focusing
View GitHub Profile
@EmilienMottet
EmilienMottet / elixir-format.el
Created February 26, 2019 14:59
use with asdf shim, use mix format instead of elixir mix format
;;; elixir-format.el --- Emacs plugin to mix format Elixir files
;; Copyright 2017-2018 Anil Wadghule, Christian Kruse
;; This file is NOT part of GNU Emacs.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
@EmilienMottet
EmilienMottet / elixir-format.el
Created February 26, 2019 14:59
use with asdf shim, use mix format instead of elixir mix format
;;; elixir-format.el --- Emacs plugin to mix format Elixir files
;; Copyright 2017-2018 Anil Wadghule, Christian Kruse
;; This file is NOT part of GNU Emacs.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
@EmilienMottet
EmilienMottet / summary-graphql.md
Last active September 7, 2018 12:47
about graphql

Presentation graphql

same with Rest

  • expose data throw http

diff with Rest

  • authorization (in model, Bearer)
  • cache
  • Globally Unique IDs
# Make sure mod_ssl, mod_rewrite, mod_headers, mod_proxy,
# mod_proxy_http and mod_proxy_balancer are enabled
<VirtualHost *:80>
ServerName huginn.example.org
RedirectPermanent / https://huginn.example.org/
</VirtualHost>
<VirtualHost *:443>
ServerName huginn.example.org
DocumentRoot /path/to/huginn/public
@EmilienMottet
EmilienMottet / .gdbinit
Created June 26, 2018 20:35
.gdbinit / ensimag projet système
file kernel/kernel.bin
add-symbol-file user/user.debug 0x1000000 #adress user beginning
target remote | exec qemu-system-i386 -S -gdb stdio -kernel kernel/kernel.bin
dir kernel
dir user