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
// Super schnelles Anfänger Tutorial Copy/Borrowing/Ownership/Lifetimes/Move-Semantik/Affine Typsysteme | |
fn main() { | |
//schritt1(); // Ownership | |
//schritt2(); // Move-Semantik, Affines Typsystem und Copy | |
//schritt3(); // Borrowing | |
//schritt4(); // Lifetimes | |
} |
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
Command line (with current working directory = .): | |
/usr/bin/perl ./Configure linux-x86_64 --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic | |
Perl information: | |
/usr/bin/perl | |
5.30.0 for x86_64-linux-thread-multi |
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
let isEmpty (sc:IEnumerable<Char>) = | |
//Seq.isEmpty (sc) | |
sc.Contains('4') | |
let input = | |
Enumerable.Range(1,6) | |
|> Seq.map (fun (i) -> (i.ToString(),i)) | |
|> Seq.map (fun (s,i) -> (s |> Seq.map id,i)) | |
let output = |
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
// fetch Google.Protobuf and KRPC.Client from nuget gallery | |
// namespace imports: | |
//KRPC.Client | |
//KRPC.Client.Services.SpaceCenter | |
//System | |
// removed due to ambiguity with linq expressions: KRPC.Client.Services.KRPC | |
class GDLV3_To_KEO | |
{ | |
public static readonly System.Net.IPAddress kspKrpcServer = System.Net.IPAddress.Parse("ipv4/ipv6 of KSP with kRPC"); |
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
// fetch Google.Protobuf and KRPC.Client from nuget gallery | |
// namespace imports: | |
//KRPC.Client | |
//KRPC.Client.Services.SpaceCenter | |
//System | |
// removed due to ambiguity with linq expressions: KRPC.Client.Services.KRPC | |
// based on https://krpc.github.io/krpc/tutorials/suborbital-flight.html, LGPL | |
class SubOrbitalFlight | |
{ |
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
// c# companion script | |
// SpriteUVToShader.cs -------------------------------------------------------------------------------------------------------------------------------- // | |
// Save you your project, add to your SpriteRenderer gameObject | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
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
<Query Kind="FSharpProgram"> | |
<NuGetReference>Suave</NuGetReference> | |
</Query> | |
open System | |
open System.Net | |
open System.Threading | |
open Suave | |
[<EntryPoint>] |
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
// MIT License - Copyright (c) 2016 Can Güney Aksakalli | |
// https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net.Sockets; | |
using System.Net; | |
using System.IO; |
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
/* | |
<Query Kind="Program"> | |
<Reference><RuntimeDirectory>\System.Net.Http.dll</Reference> | |
<NuGetReference>Google.Apis.YouTube.v3</NuGetReference> | |
<Namespace>Google.Apis.Auth.OAuth2</Namespace> | |
<Namespace>Google.Apis.YouTube.v3</Namespace> | |
<Namespace>Google.Apis.Services</Namespace> | |
<Namespace>System.Threading.Tasks</Namespace> | |
<Namespace>Google.Apis.YouTube.v3.Data</Namespace> | |
</Query> |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\exefile\shell\Decompile with dnSpy] | |
[HKEY_CLASSES_ROOT\exefile\shell\Decompile with dnSpy\command] | |
@="\"C:\\Tools\\dnSpy\\dnSpy.exe\" \"%1\"" | |
[HKEY_CLASSES_ROOT\dllfile\shell\Decompile with dnSpy] | |
[HKEY_CLASSES_ROOT\dllfile\shell\Decompile with dnSpy\command] |
NewerOlder