This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rdflib | |
import polars | |
# Chargement de la terminologie | |
g = rdflib.Graph() | |
g.parse("adicap.rdf") | |
# Requete SPARQL pour récupérer les variables d'interets | |
query = """ | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rdflib | |
import polars | |
# Chargement de la terminologie | |
g = rdflib.Graph() | |
g.parse("atc.rdf") | |
# Requete SPARQL pour récupérer les variables d'interets | |
query = """ | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rdflib | |
import polars | |
# Chargement de la terminologie | |
g = rdflib.Graph() | |
g.parse("ccam.rdf") | |
# Requete SPARQL pour récupérer les variables d'interets | |
query = """ | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rdflib | |
import polars | |
# Chargement de la terminologie | |
g = rdflib.Graph() | |
g.parse("cim10.rdf") | |
# Requete SPARQL pour récupérer les variables d'interets | |
query = """ | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[language]] | |
name = "python" | |
roots = ["pyproject.toml", "setup.py", "Poetry.lock", ".git"] | |
language-server = { command = "pyright-langserver", args = ["--stdio"] } | |
auto-format = true | |
formatter = {command = 'black', args = ["--quiet", "-"]} | |
config = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theme="onedark" | |
[editor] | |
true-color=true | |
cursorline=true | |
mouse= true | |
bufferline="multiple" | |
[keys.insert] | |
C-c="normal_mode" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- MAP KEY | |
-- CONFIGURATION | |
vim.opt.number = true | |
vim.cmd [[colorscheme slate]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use vcf::{VCFReader,VCFRecord}; | |
use std::fs::File; | |
use std::fs::remove_file; | |
use std::io::BufReader; | |
use std::str::from_utf8; | |
use duckdb::{params, Connection}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim.opt.number = true | |
vim.opt.mouse = 'a' | |
vim.opt.ignorecase = true | |
vim.opt.hlsearch = false | |
vim.opt.tabstop = 2 | |
vim.opt.shiftwidth = 2 | |
vim.opt.expandtab = true | |
vim.opt.termguicolors = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- regex: ":tr\"(?P<text>.*)\"" | |
replace: "{{translate}}" | |
vars: | |
- name: translate | |
type: shell | |
params: | |
cmd: "python ~/translate.py \"{{text}}\"" |
NewerOlder