キットに付属のオーディオを探すようになっているので標準的なオーディオでも使えるように調整
/boot/config.txtの#を外す
dtparam=audio=on| #!/usr/bin/env bash | |
| # | |
| # bisects the package set on PKG | |
| # | |
| # Usage | |
| # 1. Copy this script to the root of nixpkgs as check.sh (do not commit!) | |
| # 2. Set the variable PKG to the package you want to bisect. use nixosTests.PKG for tests. | |
| # 3. Start git bisect with `git bisect start` and `git bisect good ...`, `git bisect bad ...` | |
| # 4. Run this bisect script with `git bisect run bash check.sh -A package [options]` | |
| # 5. Profit! |
| import json | |
| import re | |
| from bs4 import BeautifulSoup, UnicodeDammit | |
| import requests | |
| from pathlib import Path | |
| cache_file = Path("paper_data_cache.json") | |
| output_dir = Path("markdown") |
| #include <stdio.h> | |
| int main() { | |
| // a=5,b=3のとき | |
| // c=a+bは8になってほしい! | |
| int a = 5; | |
| int b = 3; | |
| int c = a - b; | |
| if (c == 8) { | |
| printf("成功! c = 8\n"); |
| #include <stdio.h> | |
| int main() { | |
| printf("Hello World!\n"); | |
| return 0; | |
| } |
| function cargo --wraps=cargo | |
| if test -f mold && ! contains -- --release $argv | |
| command mold --run cargo $argv | |
| else | |
| command cargo $argv | |
| end | |
| end |
| using DSP | |
| using RecipesBase | |
| @recipe function plot( | |
| f::FilterCoefficients; | |
| xguide = "Real part", | |
| yguide = "Imaginary part", | |
| legend = true, | |
| unitcolor = :auto, | |
| zerocolor = :auto, |
| #include <stdio.h> | |
| int fib2 (int); | |
| int main () { printf ("%d\n", fib2 (3)); } | |
| int fib2 (int n) { | |
| int stack[100], sp = 0, r = 0, flg = 0; | |
| while (1) { |