高専カンファレンスとお酒が大好きな人達がはじめた個人的なプロジェクトです。KCFundsでは、経済的困難などの問題により、関東での高専カンファレンスに参加できない学生さんを支援します。
- 第一回目の応募を締め切りました。
- 第二回目の応募も締め切りました。
- 高専カンファレンス100 in 東京は無事に終了いたしました。
package packge.for.you | |
import android.view.View | |
import androidx.lifecycle.Lifecycle | |
import androidx.lifecycle.LifecycleOwner | |
import autodispose2.CompletableSubscribeProxy | |
import autodispose2.FlowableSubscribeProxy | |
import autodispose2.MaybeSubscribeProxy | |
import autodispose2.ObservableSubscribeProxy | |
import autodispose2.ScopeProvider |
import io.reactivex.Observable | |
/** | |
* RxJavaのStreamに流れる一つ前の値と現在の値をひとまとめにするための型 | |
*/ | |
data class Change<T : Any>( | |
val previous: T?, | |
val current: T, | |
) |
import io.reactivex.Single | |
import io.reactivex.rxkotlin.Singles | |
fun <T1 : Any, T2 : Any> Singles.zipDelayError( | |
s1: Single<T1>, | |
s2: Single<T2>, | |
): Single<Pair<T1, T2>> { | |
abstract class Value(val sortOrder: Int) { | |
abstract val value: Any | |
} |
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := mruby | |
LOCAL_SRC_FILES := /path/to/your/prebuilt/$(TARGET_ARCH_ABI)/libmruby.a | |
include $(PREBUILT_STATIC_LIBRARY) | |
include $(CLEAR_VARS) |
// | |
// このコードをXcode 7.2(7.2.1ではない)でDeployment Targetを7でビルドして、 | |
// iOS7.1.2のデバイスで実行するとfatalErrorが発生する。 | |
// | |
import UIKit | |
class Logger { | |
func put(message: String) { | |
print(message) |
MRuby::Build.new do |conf| | |
# load specific toolchain settings | |
# Gets set by the VS command prompts. | |
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] | |
toolchain :visualcpp | |
else | |
toolchain :gcc | |
end |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 3.4.0 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_ARM_HAS_SG_CHAIN=y | |
CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
CONFIG_GENERIC_GPIO=y | |
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set | |
CONFIG_GENERIC_CLOCKEVENTS=y |
# Fib 39 | |
def fib n | |
return n if n < 2 | |
fib(n-2) + fib(n-1) | |
end | |
t1 = Thread.new do | |
fib(39) | |
end |
#include "mruby.h" | |
#include "mruby/thread.h" | |
#include "mruby/variable.h" | |
#include "mruby/gc.h" | |
#ifdef ENABLE_THREAD | |
typedef struct mrb_thread_impl { | |
mrb_state *mrb; | |
mrb_gem_thread_t thread; |