Mix.install([
{:kino, "~> 0.6.1"},
{:kino_vega_lite, "~> 0.1.1"},
{:axon, "~> 0.1.0"},
{:exla, "~> 0.2.2"},
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
using System.Collections.Concurrent; | |
using Silk.NET.Core; | |
using Silk.NET.Core.Native; | |
using Silk.NET.Vulkan; | |
using Buffer = Silk.NET.Vulkan.Buffer; | |
using Semaphore = Silk.NET.Vulkan.Semaphore; | |
unsafe | |
{ |
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 gloo_timers::callback::Timeout; | |
use std::mem::replace; | |
use std::ops::DerefMut; | |
use yew::{ | |
prelude::*, | |
suspense::{Suspension, SuspensionHandle, SuspensionResult}, | |
}; | |
#[hook] | |
fn use_delay(ms: u32) -> SuspensionResult<bool> { |
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
" Place in ~/.config/nvim/init.vim | |
" Install https://github.com/Shougo/dein.vim | |
"den Scripts----------------------------- | |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: | |
set runtimepath+=/home/kaije/.vim/dein/repos/github.com/Shougo/dein.vim |
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
using System.Diagnostics; | |
namespace Implementation; | |
public class Day4 | |
{ | |
public static int Part1(string input) | |
{ | |
var lines = input.Split('\n').Where(x => x is not null).ToArray(); | |
var drawOrder = lines[0].Split(',').Select(int.Parse).ToArray(); |
(Ich empfehle diesen Text hier zu lesen)
Videre ist eine simple Vulkan-basierte Darstellungsbibliothek (Rendering engine), die eine einfache, aber effektive API verfügbar macht.
Videre kann von Programmierern ohne Grafik-Erfahrung für Prototypen, wissenschaftliche Darstellungen, etc. verwendet werden.
Videre basiert auf Silk.NET
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
using System; | |
using System.Buffers; | |
using System.Buffers.Binary; | |
using System.IO.Pipelines; | |
using System.Numerics; | |
using System.Threading.Tasks; | |
namespace PipelinesDemo | |
{ | |
class Program |
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
<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp3.1</TargetFramework> | |
<LangVersion>8</LangVersion> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="System.IO.Pipelines" Version="4.7.1" /> |
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
using System; | |
using System.Collections.Generic; | |
using Unity.Burst; | |
using Unity.Collections; | |
using Unity.Entities; | |
using Unity.Jobs; | |
using Unity.Mathematics; | |
using Unity.Transforms; | |
using UnityEngine; | |
using static Unity.Mathematics.math; |