Skip to content

Instantly share code, notes, and snippets.

PROJECT_ID = "avolkov-31337"
PIPELINE_ROOT = "gs://avolkov/tmp/vertex"
REGION = "us-central1"
from typing import NamedTuple
import kfp
from kfp.components import load_component_from_url, InputPath, OutputPath, create_component_from_func
from kfp.v2.google import experimental
@create_component_from_func
@Ark-kun
Ark-kun / gist:9279034
Last active August 29, 2015 13:56 — forked from jaredpar/gist:9278669
function f1() { return @("hello"); }
function f2() { return @("hello", "world"); }
$a = @(f1);
write-host $a.Length # prints 1
$a = @(f2);
write-host $a.Length # prints 2
@Ark-kun
Ark-kun / MonoGame.Framework - Windows except Android
Created June 18, 2013 16:42
Public API members of the Windows version of MonoGame.Framework.dll which are missing in the Android version.
System.Boolean Microsoft.Xna.Framework.Audio.SoundEffect::get_IsDisposed()
System.String Microsoft.Xna.Framework.Content.ContentTypeReader::Normalize(System.String,System.String[])
Microsoft.Xna.Framework.FrameworkDispatcher
System.Void Microsoft.Xna.Framework.FrameworkDispatcher::Update()
Microsoft.Xna.Framework.GameWindow Microsoft.Xna.Framework.Game::get_Window()
Microsoft.Xna.Framework.GameWindow Microsoft.Xna.Framework.GamerServices.Guide::get_Window()
@Ark-kun
Ark-kun / MonoGame.Framework.skeleton.portable.dll.log
Created June 9, 2013 13:41
Log produced by applying piranha to the Windows version of the MonoGame.Framework.dll piranha.exe make-portable-skeleton --profile ".NETPortable,Version=v4.0,Profile=Profile96" -i MonoGame.Framework.dll -o MonoGame.Framework.skeleton.portable.dll
MakePortableSkeletonProcessor: Started MakePortableSkeletonProcessor.
MakeSkeletonProcessor: Started MakeSkeletonProcessor.
RemoveAllResourcesProcessor: Started RemoveAllResourcesProcessor.
RemoveAllResourcesProcessor: Finished RemoveAllResourcesProcessor.
EnsureParameterlessConstructorsProcessor: Started EnsureParameterlessConstructorsProcessor.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Content.ContentTypeReader.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Content.ContentManager.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Graphics.Texture3D.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Graphics.TextureCube.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Graphics.
@Ark-kun
Ark-kun / gist:5669311
Created May 29, 2013 10:15
Types used by the Windows/MonoGameFramework.dll library after piranha.exe remove-code-members-types (when it worked properly).
[MonoGame.Framework]Enumerator
[MonoGame.Framework]GateType
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioChannels
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioEmitter
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioListener
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioStopOptions
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.InstancePlayLimitException
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.NoAudioHardwareException
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.SoundEffect
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.SoundEffectInstance