I hereby claim:
- I am kristof-mattei on github.
- I am kristofmattei (https://keybase.io/kristofmattei) on keybase.
- I have a public key ASAevan0fX1gq59VqKbRa6hprCvpUredN30hzoe7fBhaaQo
To claim this, I am signing this object:
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace ConsoleApplication41 | |
| { | |
| class Program | |
| { |
| module Engine.Functions | |
| let rec Calculate columns = | |
| match columns with | |
| | h::[] -> [ [ h ] ] | |
| | h::t -> | |
| let x = Calculate t | |
| List.fold (fun acc elem -> (h::elem)::acc) ([h]::x) x | |
| | [] -> [] |
| from neo4j import GraphDatabase | |
| driver = GraphDatabase.driver("bolt://localhost:7687", auth=("neo4j", "****")) | |
| query = """WITH {} AS x | |
| CALL apoc.util.validate(x IS NOT NULL, 'A query that fails', [x]) | |
| RETURN false""" | |
| def read_transaction(): | |
| def _callback(tx): |
| const max = 3; | |
| function get_functions() { | |
| lst = [] | |
| for (const i of [...Array(max).keys()]) { | |
| lst.push(() => i) | |
| } | |
| return lst | |
| } | |
| function* get_functions_yield() { |
| const { Octokit } = require("@octokit/rest"); | |
| const { serializeError } = require("serialize-error"); | |
| const octokit = new Octokit({ | |
| auth: "PUT TOKEN HERE" | |
| }); | |
| const baseRef = { | |
| owner: "Kristof-Mattei", |
| # sorry, python doesn't have a built-in table printer | |
| from tabulate import tabulate | |
| max = 3 | |
| def get_functions(): | |
| lst = [] | |
| for i in range(0, max): | |
| lst.append(lambda: i) | |
| return lst |
| # Rakefile | |
| require File.expand_path('../config/application', __FILE__) | |
| Rails.application.load_tasks | |
| # Replace yarn with npm | |
| Rake::Task['yarn:install'].clear if Rake::Task.task_defined?('yarn:install') | |
| Rake::Task['webpacker:yarn_install'].clear | |
| Rake::Task['webpacker:check_yarn'].clear |
I hereby claim:
To claim this, I am signing this object: