Skip to content

Instantly share code, notes, and snippets.

View organic-nailer's full-sized avatar

Fastriver organic-nailer

View GitHub Profile
@organic-nailer
organic-nailer / grammar.kt
Created February 5, 2023 23:44
Dart文法
import Symbols.*
enum class Symbols {
FinalConstVarOrType,
VarOrType,
InitializedVariableDeclaration,
InitializedIdentifier,
InitializedIdentifierList,
FunctionSignature,
FormalParameterPart,
@organic-nailer
organic-nailer / main.dart
Created November 25, 2022 13:52
Web_Flutter_5_rev2_ボタン
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace, prefer_const_literals_to_create_immutables
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@organic-nailer
organic-nailer / main.dart
Created November 25, 2022 13:45
Web_Flutter_5_rev2_問題の自動作成
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace, prefer_const_literals_to_create_immutables
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@organic-nailer
organic-nailer / main.dart
Last active November 25, 2022 13:21
Web_Flutter_5_rev2_ボタンの配置
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace, prefer_const_literals_to_create_immutables
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
@organic-nailer
organic-nailer / main.dart
Created November 25, 2022 13:11
Web_Flutter_5_rev2_テキストを配置
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
@organic-nailer
organic-nailer / open3d_asyncio.py
Last active September 30, 2022 09:04
イベントループをメインスレッドで用意して画面描画とデータ更新をしたいのだよ
from queue import Queue
import time
from typing import Callable, Tuple
import open3d as o3d
from scipy.spatial.transform import Rotation
import asyncio
from threading import Thread, Event
class App:
def __init__(self):
import time
from board import SCL, SDA
import busio
from adafruit_motor import servo
from adafruit_pca9685 import PCA9685
class RDS5160:
def __init__(self, pca, channel_number):
@organic-nailer
organic-nailer / game_page.dart
Last active June 4, 2022 11:43
Web_Flutter_5_印を置けるようにする
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@organic-nailer
organic-nailer / game_page.dart
Created June 4, 2022 08:46
Web_Flutter_5_マス目を作る
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@organic-nailer
organic-nailer / game_page.dart
Created June 4, 2022 08:23
Web_Flutter_5_要素を並べる
// ignore_for_file: library_private_types_in_public_api, use_key_in_widget_constructors, prefer_const_constructors, avoid_print, sized_box_for_whitespace
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override