Skip to content

Instantly share code, notes, and snippets.

View jpambrun's full-sized avatar

Jean Francois Pambrun jpambrun

  • Canada
View GitHub Profile
set noautofocus
set autoupdategist
let barposition = "bottom"
let scrollstep = 350
set nosmoothscroll
set noautofocus
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "*://feedly.com/*", "*://*/*.pdf"]
let completionengines = ["google"]
@jpambrun
jpambrun / configuration.nix
Last active December 15, 2020 13:45
nixos conf
# 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
@jpambrun
jpambrun / index.html
Created July 5, 2022 19:51
webcodec cornerstone imageloader, works in chrome 105
<!DOCTYPE HTML>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
@jpambrun
jpambrun / dcm2json.js
Created April 5, 2024 18:21
dcm2json
import dicomParser from "npm:dicom-parser";
import { standardDataElements } from 'npm:dicom-data-dictionary'
const stdin = await Deno.readAll(Deno.stdin)
const dataSet = dicomParser.parseDicom(stdin, {
untilTag: "x7fe00010",
})
var options = {
omitPrivateAttibutes: true,