views:
- type: table
name: TODO
filters:
and:
- file.name != "TODOテンプレート"
- or:
- categories.contains(link("TODO"))
- finished.isEmpty()
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
| a = 0.0 | |
| b_rot = 0.0 | |
| # Pre-define some constants and arrays | |
| chars = ".,-~:;=!*#$@" | |
| out_buf = "" | |
| # Hide cursor and clear screen | |
| print "\x1b[?25l" | |
| print "\x1b[2J" |
今週のデイリーノートを分析してまとめてください。
- デイリーノートを今から添付します。
- 段落は切らずに箇条書きでまとめて。
- 全体で5行程度、コンパクトにお願いします。
- Markdown 形式でコピーできるように出力してください。
PowerShell 上で実行する。
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
| require 'processing' | |
| using Processing | |
| # エラーメッセージからは #version は警告で、texcoord__ や color__ の命名規則に "__" が使われているのが原因? | |
| # | |
| # terminate called after throwing an instance of 'Rucy::RubyException' | |
| # what(): src/shader_source.cpp:49: WARNING: 0:1: '' : #version directive missing | |
| # ERROR: 0:9: 'texcoord__' : two consecutive underscores are reserved for future use | |
| # ERROR: 0:10: 'color__' : two consecutive underscores are reserved for future use | |
| # |
- ゼロからの、レトロゲームエンジンの作り方 - Speaker Deck
- レトロゲームエンジン Reight の中に processing gem がある。
https://speakerdeck.com/tokujiros/zerokarano-retorogemuenzinnozuo-rifang?slide=18
- A Drawing Engine using OpenGL. https://github.com/xord/rays
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
| current directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2 | |
| C:/Ruby33-x64/bin/ruby.exe -rrubygems C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=C:/Ruby33-x64/lib/ruby/gems/3.3.0/extensions/x64-mingw-ucrt/3.3.0/rays-0.3.2 RUBYLIBDIR\=C:/Ruby33-x64/lib/ruby/gems/3.3.0/extensions/x64-mingw-ucrt/3.3.0/rays-0.3.2 | |
| git clone -c advice.detachedHead=false --depth 1 --branch 0.9.9.8 --recursive https://github.com/g-truc/glm vendor/glm | |
| Cloning into 'vendor/glm'... | |
| Updating files: 90% (1371/1517) | |
| Updating files: 91% (1381/1517) | |
| Updating files: 92% (1396/1517) | |
| Updating files: 93% (1411/1517) | |
| Updating files: 94% (1426/1517) | |
| Updating files: 95% (1442/1517) |
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
| ◯◯◯ Rubyスクリプトを作成してください。 | |
| このRubyスクリプトをrubyonbrowser上で実行させたいです。 | |
| URL は https://rubyonbrowser.ongaeshi.me/ | |
| 後ろにクエリ文字列 ?q2= | |
| コードテキストを URLエンコーディングした文字列を q2 のパラメータに設定 | |
| コードと生成したURLへのリンクの順に一回で出力してください。 |
Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
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
| def make_markdown_table(list) | |
| lines = list.split("\n") | |
| lines.map do |line| | |
| path = line.gsub("./", "") | |
| url = "https://github.com/DragonRuby/dragonruby-game-toolkit-contrib/blob/main/samples/#{path}/app/main.rb" | |
| "| [#{path}](#{url}) | | | " | |
| end.join("\n") | |
| end#{path} | |
| lists = <<EOS |
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
| def get_all_folders_recursive(directory) | |
| # ディレクトリ内の全エントリを取得 | |
| entries = Dir.entries(directory) | |
| # フォルダのみを抽出 | |
| folders = entries.select { |entry| File.directory?(File.join(directory, entry)) && entry != '.' && entry != '..' } | |
| # 現在のディレクトリ内のフォルダをリストに追加 | |
| result = folders.map { |folder| File.join(directory, folder) } |
NewerOlder
