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 entrez_rs::eutils::{EFetch, Eutils, DB}; | |
use entrez_rs::parser::pubmed::PubmedArticleSet; | |
fn main() { | |
let xml = EFetch::new(DB::Pubmed, vec!["5337378", "33448306"]) | |
.run() | |
.expect("Connection error"); | |
let parsed = PubmedArticleSet::read(&xml).expect("Parsing error"); |
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
############################################################### | |
# A skin for a terminal with a light background | |
# This skin uses RGB values so won't work for some | |
# terminals. | |
# | |
# Contributed by [@apraga](https://github.com/apraga) | |
############################################################### | |
skin: { | |
default: rgb(251,241,199) none |
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
# Copyright 1999-2023 Gentoo Authors | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=8 | |
inherit git-r3 linux-mod linux-info | |
DESCRIPTION="Driver for the rtl8723 wireless chipset" | |
HOMEPAGE="https://github.com/lwfinger/rtl8723bu" |
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
{ | |
inputs = { | |
nixpkgs.url = "nixpkgs/nixos-unstable"; | |
}; | |
description = "test"; | |
outputs = { self, nixpkgs }: | |
let |
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
import qualified Data.Text.IO as TIO | |
import Data.Maybe | |
import Data.Time | |
import Data.Time (defaultTimeLocale) | |
import Control.Monad | |
-- show | |
import Text.Parsec | |
import Control.Applicative |
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
{ lib, pkgs, config, modulesPath, ... }: | |
with lib; | |
let | |
nixos-wsl = import ./nixos-wsl; | |
in | |
{ | |
imports = [ | |
"${modulesPath}/profiles/minimal.nix" | |
./cachix.nix |
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
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ...}: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
# Avoid compilation for emacs nativecomp |
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
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/5qml11z03vjrk9hgvm0y3amwfgc5dzy3-ExomeDepth_1.1.15.tar.gz | |
source root is ExomeDepth | |
setting SOURCE_DATE_EPOCH to timestamp 1578531002 of file ExomeDepth/MD5 | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
@nix { "action": "setPhase", "phase": "buildPhase" } |
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
import Data.List.Split | |
import Data.Time | |
import Data.Time.Clock.POSIX | |
import Data.Maybe | |
import Control.Monad | |
import qualified Data.Text as T | |
import qualified Data.Text.IO as TIO | |
import Data.UUID | |
import Data.UUID.V4 |
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
filetype plugin indent on " Load plugins according to detected filetype. | |
syntax on " Enable syntax highlighting. | |
set incsearch " Highlight while searching with / or ?. | |
set hlsearch " Keep matches highlighted. | |
set ignorecase smartcase " Better search | |
set relativenumber | |
" Plugins | |
call plug#begin('~/.vim/plugged') | |
" Plug 'SirVer/ultisnips' " Track the engine. |
NewerOlder