Skip to content

Instantly share code, notes, and snippets.

Avatar
🇩🇪
studying Deutch

kalle (jag) jilleJr

🇩🇪
studying Deutch
View GitHub Profile
@jilleJr
jilleJr / Dockerfile
Last active March 6, 2022 11:47 — forked from Inkimar/gist:2c25f3543428f69c12d8db348d606501
Dockerfile, ukraina
View Dockerfile
FROM rocker/r-ubuntu:20.04
LABEL maintainer="inkimar <inkimar>"
RUN apt-get update && apt-get install -y --no-install-recommends \
sudo \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
libudunits2-dev \
@jilleJr
jilleJr / README.md
Last active November 9, 2020 15:45
JSON/YAML schema for .wharf-ci.yml files
View README.md

The language server from Red Hat, that most editors use to have YAML syntax and intellisense, has support for JSON schemas.

This file is an attempt on such a schema. Would be nice to autogenerate these in the future, but having it at all is a nice first step. We might want to move this into the https://gitlab.dgc.local/tools/wharf-project project group, and optionally deploy and version this together with the https://gitlab.dgc.local/tools/wharf-project/cmd project...

How to use in Visual Studio Code

  1. Install the "YAML" extension (id: redhat.vscode-yaml, link: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml)

  2. Add the following to your user settings:

View Prompts.fs
module Koffee.Prompts
open VinylUI
type ModifierKeys = System.Windows.Input.ModifierKeys
type Key = System.Windows.Input.Key
module ClosablePrompt =
let closePrompt handleEvt (model: MainModel) =
handleEvt()
View Issue63.cs
using System;
using System.Collections.Generic;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Utilities;
using NUnit.Framework;
using UnityEngine.Scripting;
namespace Tests
{
@jilleJr
jilleJr / README.md
Created March 16, 2020 17:11
Visual Studio Developer PowerShell in Windows Terminal
View README.md

Just a small profile template to get the Visual Studio Developer command prompt environment, but in PowerShell, but in the Windows Terminal. Cake on cake 🍰

Profile installation

Add the following profile to your Windows Terminal profiles.json file.

Old profiles syntax

@jilleJr
jilleJr / Get-AssemblyInfo.ps1
Last active January 6, 2020 15:07
Assembly describer for powershell
View Get-AssemblyInfo.ps1
# Source: https://gist.github.com/jilleJr/66c3bdddf2c60c0dcb5f9cb21cb6a19f
function Get-AssemblyInfo {
param (
[Parameter(Mandatory, ValueFromPipeline)]
[ValidateNotNullOrEmpty()]
[System.IO.FileInfo]
$Path
)