- 群馬大学情報学部 1年 山田ハヤオ/伊藤 駿
- Fascode Network所属
- フロントエンドからマイコンまで幅広く勉強中
- よく書く言語はGolangとシェルスクリプト
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 6.0.0 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="arm-linux-gnueabi-gcc (GCC) 14.2.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=140200 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=24100 |
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
# | |
# No change to .config | |
# | |
CALL scripts/atomic/check-atomics.sh | |
CALL scripts/checksyscalls.sh | |
CHK include/generated/compile.h | |
AR drivers/hwtracing/intel_th/built-in.a | |
CC drivers/platform/nintendo3ds/ctr_gpio.o | |
CC drivers/nvmem/core.o | |
CC drivers/platform/nintendo3ds/ctr_spi.o |
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
# CC0 | |
# https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt | |
import os | |
import hashlib | |
hashlist = [] | |
for file in sorted(os.listdir("."), reverse=True): | |
if os.path.isfile(file): |
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
#!/usr/bin/env bash | |
set -eEuo pipefail | |
file="${1-""}" | |
[[ -n "$file" ]] || { | |
echo "Usage: $0 <file>" >&2 | |
exit 1 | |
} | |
linecount=0 | |
while read -r txtline; do |
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
export type MenuAmount = "マシ" | "多め" | "マシマシ" | "かなり多め" | "普通" | "少なめ" | "無し"; | |
export type IsGarlicAdded = | |
| "全てマシ" | |
| "全て普通" | |
| "全て少なめ" | |
| { | |
ニンニク?: MenuAmount; | |
ヤサイ?: MenuAmount; | |
アブラ?: MenuAmount; |
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
#EXTM3U | |
#EXTVLCOPT:network-caching=1000 | |
#EXTINF:-1,地上波 - NHK総合1・東京 | |
http://192.168.0.10:40772/api/channels/GR/27/services/1024/stream/ | |
#EXTINF:-1,地上波 - NHK総合2・東京 | |
http://192.168.0.10:40772/api/channels/GR/27/services/1025/stream/ | |
#EXTINF:-1,地上波 - NHK携帯G・東京 | |
http://192.168.0.10:40772/api/channels/GR/27/services/1408/stream/ | |
#EXTINF:-1,地上波 - NHK総合1・前橋 | |
http://192.168.0.10:40772/api/channels/GR/18/services/25600/stream/ |
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
#!/usr/bin/env python3 | |
import math | |
import sys | |
def main() -> int: | |
if len(sys.argv) != 2: | |
print("error") | |
return 1 | |
num:int = int(sys.argv[1]) | |
primes:list[int]=factor(num) |
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
#!/bin/sh | |
# 参考 | |
# https://qiita.com/_-_-_-_-_/items/214d537aae2c1488692c | |
get_random(){ | |
od -v -An --width=1 -tu1 -N1 < /dev/urandom | \ | |
awk "{ print \$1 % 10 }" | |
} |
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 main | |
import ( | |
"fmt" | |
"math" | |
"math/rand" | |
"os" | |
"strconv" | |
) |
NewerOlder