View language.toml
This file contains 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 = "" |
View helix.yaml
This file contains 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" |
View init.lua
This file contains 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]] |
View VCF2duck.rs
This file contains 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}; |
View gist:d2c2358b9929c27cbf7a129c20eaf85e
This file contains 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 |
View base.yml
This file contains 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}}\"" |
View graph_pyside6.py
This file contains 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
from PySide6.QtWidgets import * | |
from PySide6.QtCore import * | |
from PySide6.QtGui import * | |
import math | |
import networkx as nx | |
import igraph as ig | |
class Node(QGraphicsItem): |
View owl2thesaurus.py
This file contains 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
from nxontology.imports import from_file | |
import networkx as nx | |
g = from_file("hp.owl") | |
space = 0 | |
previous_first ="" | |
previous_second ="" | |
tab = " " |
View vcf_classifieur.py
This file contains 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
from PySide2.QtWidgets import * | |
import sys | |
class MonWidget(QWidget): | |
def __init__(self, parent=None): | |
super().__init__(parent) | |
hlayout = QHBoxLayout() | |
self.left_button = QPushButton("<") |
View test.wig
This file contains 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
track type=wiggle_0 graphType=points name="truc" description="une description" visibility=full color=50,150,255 yLineMark=11.76 yLineOnOff=on | |
variableStep chrom=chr1 | |
[span=windowSize] | |
2488157 0.4818 | |
2488159 0.4818 | |
2491207 0.537 | |
2494787 0.5251 | |
6257857 0.488 | |
7434547 0.4077 |
NewerOlder