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
from datetime import datetime, timedelta | |
from enum import Enum | |
from queue import PriorityQueue | |
from time import mktime | |
from typing import Optional | |
import bge | |
from rx.core.typing import AbsoluteTime, RelativeTime, ScheduledAction, TState | |
from rx.disposable import Disposable | |
from rx.scheduler import ScheduledItem |
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
diff --git a/source/blender/blenkernel/intern/python_component.c b/source/blender/blenkernel/intern/python_component.c | |
index f288f091f8f..d66de7ae3ed 100644 | |
--- a/source/blender/blenkernel/intern/python_component.c | |
+++ b/source/blender/blenkernel/intern/python_component.c | |
@@ -43,6 +43,7 @@ | |
#ifdef WITH_PYTHON | |
# include "Python.h" | |
+# include "../../python/intern/bpy_rna.h" | |
# include "generic/bpy_internal_import.h" |
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
class Fixture: | |
value = rv.from_value(1) | |
doubled = rv.map(value)(ops.map(lambda v: v * 2)) | |
numbers = rv.combine(value, doubled)(lambda o: rx.combine_latest(*o)) | |
combined = rv.combine_latest(value, doubled)(ops.map(lambda v: f"value = {v[0]}, doubled = {v[1]}")) | |
zipped = rv.zip(value, doubled)(ops.map(lambda v: f"{v[0]} * 2 = {v[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 static System.Linq.Enumerable; | |
using System.Linq; | |
using AlleyCat.Common; | |
using AlleyCat.Event; | |
using Godot; | |
using Godot.Collections; | |
using JetBrains.Annotations; | |
using LanguageExt; |
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
protected virtual void OnAnimation(float delta) | |
{ | |
if (!Skeleton.FindClosestAncestor<INamed>().Exists(n => n.DisplayName == "Player")) | |
{ | |
LookAt(Skeleton.FindPlayer<IHumanoid>().Map(p => p.Vision.Viewpoint)); | |
} | |
EyeTrackingTarget.Iter(target => | |
{ | |
Range<float> AddRange(Range<float> range1, Range<float> range2) => |
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
var loader = ResourceUtils | |
.Load<PackedScene>("res://Data/Scenes/Character Creator.tscn") | |
.ToObservable(this.GetScheduler()); | |
var progress = loader.SelectMany(v => v.LeftAsEnumerable().ToObservable()); | |
var scene = loader.SelectMany(v => v.RightAsEnumerable().ToObservable()); | |
progress.Subscribe(e => GD.Print($"- Progress: {e.Done} of {e.Total}")); | |
scene.Subscribe(s => GD.Print($"- Finished loading: {s}")); |
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.IO; | |
using System.Threading.Tasks; | |
using AlleyCat.Autowire; | |
using AlleyCat.Common; | |
using Godot; | |
namespace AlleyCat.IO | |
{ | |
[Singleton(typeof(IResourceMonitor))] |
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
{ | |
"locale" : "ko", | |
"translator_name" : "Xavier Cho", | |
"Loading datasources...." : "데이터 원본을 읽어오는 중입니다...", | |
"New query" : "새 질의", | |
"Open query": "질의 열기", | |
"Logout" : "로그아웃", | |
"About" : "정보", | |
"Issue Tracker" : "문제점 보고", | |
"lt" : "한국어", |
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
/* | |
* ==================================================================== | |
* This software is subject to the terms of the Common Public License | |
* Agreement, available at the following URL: | |
* http://www.opensource.org/licenses/cpl.html . | |
* You must accept the terms of that agreement to use this software. | |
* ==================================================================== | |
*/ | |
package com.eyeq.pivot4j.el; |
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
package com.greencatsoft.greenlight.grammar | |
import scala.language.implicitConversions | |
import com.greencatsoft.greenlight.{ TestRegistry, TestReporter } | |
import com.greencatsoft.greenlight.grammar.ModalVerb.{ Can, Must, Should } | |
import com.greencatsoft.greenlight.grammar.Specification.{ CaseDescription, WhatIsExpected } | |
import com.greencatsoft.greenlight.grammar.Statement.{ Assertation, CaseDefinition } | |
import com.greencatsoft.greenlight.grammar.Verb.FollowedByNegation | |
import com.greencatsoft.greenlight.matcher.Matcher |
NewerOlder