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
// Copyright 2013 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
// ignore_for_file: public_member_api_docs | |
/// An example of using the plugin, controlling lifecycle and playback of the | |
/// video. | |
library; |
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
// Copyright 2013 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'dart:async'; | |
import 'dart:io'; | |
import 'package:camera/camera.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; |
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
import 'package:flutter/material.dart'; | |
void main() { | |
// 1. 必要最小限で実行 | |
runApp( | |
MaterialApp( | |
home: Scaffold( | |
backgroundColor: Colors.black, | |
body: RichText( | |
text: const TextSpan(text: 'Hello World'), |
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
OSを構成する基本機能の一つであるソフトウェアで、 | |
CPUやメモリなどのリソースへのアクセスを行う。 | |
そのため、デバイスドライバやミドルウェアはカーネルの機能を用いて作成される。 | |
例えば、カーネルは割込みハンドラの監視・制御を行う機能を提供している。 | |
割込みが発生すると、カーネルは中断された処理の再開に必要なデータを保存し、 | |
発生した割込みに対応する割込みハンドラを起動する。 | |
ほかにも、プロセス間通信や、システムコールなどを提供している。 |
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
def fizz_buzz(start, stop, fizz, buzz): | |
ans = list(range(start, stop + 1)) | |
for n in range(start, stop + 1): | |
isFizz = n % fizz == 0 | |
isBuzz = n % buzz == 0 | |
if isFizz and isBuzz: | |
ans[n-1] = 'FizzBuzz' | |
elif isFizz: | |
ans[n-1] = 'Fizz' | |
elif isBuzz: |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.