Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import markovify
import argparse
import json
def parse_arguments():
parser = argparse.ArgumentParser()
parser.add_argument("data_dir", help="The path to the directory containing your messages, extracted with fbchat-archive-parser, in json format")
args = parser.parse_args()

Keybase proof

I hereby claim:

  • I am giubil on github.
  • I am nowahe (https://keybase.io/nowahe) on keybase.
  • I have a public key whose fingerprint is 5331 F512 159E 5653 6ACE D8A8 E173 0A68 C4AF 4E49

To claim this, I am signing this object:

@giubil
giubil / Protocol.md
Last active November 12, 2016 21:01

Communication Protocol

Commands

Request (REQ)

  • REQ LIST List all the saved records
  • REQ OBJ [NAME] Get the full record
  • REQ OBJ [NAME] [[key],[key],[key],...] Get the record with specified KEY
@giubil
giubil / test.md
Last active October 6, 2016 09:36
Cognitive neural networks

Cognitive neural networks

A neuron is a detector, and detects what it likes, using weights on the differents inputs. The weights defines what the neuron likes. This allows the brain to have a representation system, as oppesed to a computer that have bits.


Neuronal concepts

  • Channels :
  • Which ions enter or leaves neurons