This file contains hidden or 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
| 正直でストレートな物言いをします。 | |
| 曖昧な概念や比喩で難しい説明が行われている場合、 | |
| 以下の問い生成プロトコルを実行せよ。 | |
| 1. 文中の曖昧語・比喩語・定義不明語を8〜12個抽出し、意味の幅を列挙する。 | |
| 2. それらを意味の近さでグルーピングし、各グループの役割を要約する。 | |
| 3. 説明が成立するための暗黙の前提を3〜5個列挙する。 | |
| 4. 各前提が破れた場合に起きうる違和感・逆転・錯覚を示す。 | |
| 5. 元の文章を相対化・反転した再解釈文を作る。 | |
| 6. 解釈分岐を2〜4個示し、それぞれに深い問いを1つ立てる。 |
This file contains hidden or 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 math | |
| import pcbnew | |
| # ----------------- KiCad9 helpers ----------------- | |
| def v2i_mm(x_mm: float, y_mm: float) -> "pcbnew.VECTOR2I": | |
| return pcbnew.VECTOR2I(pcbnew.FromMM(x_mm), pcbnew.FromMM(y_mm)) | |
| def mm_to_iu(mm: float) -> int: | |
| return int(pcbnew.FromMM(mm)) |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>オーロラフィルムシェーダー - シンプル版</title> | |
| <style>body { margin: 0; overflow: hidden; }</style> | |
| <script type="importmap"> | |
| { | |
| "imports": { | |
| "three": "https://unpkg.com/three@0.150.1/build/three.module.js" |
This file contains hidden or 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 numpy as np | |
| from mocca2.classes import Data2D | |
| import re | |
| def parse_labsolutions(file, encoding="ShiftJIS"): | |
| """Reads the .txt Lab Solutions file""" | |
| f = open(file, "r", encoding=encoding) | |
| for line in f: | |
| if "[PDA 3D" == line[:7]: | |
| break |
This file contains hidden or 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
| #include <avr/io.h> | |
| #include <avr/interrupt.h> | |
| #include <avr/wdt.h> | |
| #include <avr/sleep.h> | |
| #define sbi(x, b) (x) |= 1 << (b) | |
| #define cbi(x, b) (x) &= ~(1 << (b)) | |
| ISR(WDT_vect) {} // ウォッチドックたいま割込 | |
| // WDTタイマ割込があるまで眠る操作 (INT0のLowレベル/ピン変化割込でも起きるので併用時注意) |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <script type="importmap"> { "imports": { | |
| "three": "https://cdn.jsdelivr.net/npm/three@0.169/build/three.module.js", | |
| "three/addons/": "https://cdn.jsdelivr.net/npm/three@0.169/examples/jsm/" } } </script> | |
| <script type="module"> |
This file contains hidden or 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 pandas as pd | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import matplotlib.cm as cm | |
| from scipy.spatial.transform import Rotation as R | |
| #データのもってきかた | |
| #https://heasarc.gsfc.nasa.gov/cgi-bin/W3Browse/w3query.pl?&tablehead=name%3Dheasarc_hipparcos%26description%3DHipparcos+Main+Catalog%26url%3Dhttp%3A%2F%2Fheasarc.gsfc.nasa.gov%2FW3Browse%2Fstar-catalog%2Fhipparcos.html%26archive%3D%26radius%3D1%26mission%3DSTAR%2BCATALOG%26priority%3D3&mission=STAR+CATALOG&Action=More+Options&Action=Parameter+Search&ConeAdd=1 |
This file contains hidden or 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 | |
| export DEBIAN_FRONTEND=noninteractive | |
| apt update || exit 1 | |
| apt -y install libnss-ldapd libpam-ldapd ldap-utils || exit 1 | |
| echo ' | |
| uid nslcd | |
| gid nslcd | |
| uri ldap://[QNAP(LDAPサーバ)のIPアドレス]/ | |
| base dc=some,dc=domain,dc=jp←QNAPの設定からコピー |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Stopwatch</title> | |
| <style> | |
| :root { | |
| margin: 0; | |
| padding: 0; |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <script src="https://unpkg.com/three@0.147.0/build/three.min.js"></script> | |
| <script> | |
| //videoタグにUSBカメラ画像を流し込む | |
| window.addEventListener('DOMContentLoaded', init); | |
| function init_video() { |
NewerOlder