約 3,110,102 件
https://w.atwiki.jp/m_shige1979/pages/1436.html
Node.js インストール 実行方法 Webサーバ Hello Worldサーバ requireで分割 ルーティング リクエストハンドラ リクエストハンドラで表示内容を制御 ブロッキングの問題及びノンブロッキング GET、POSTリクエストパラメータの取得 formidableモジュールを使用して、アップロード 一部のファイルが存在する場合に表示 アプリケーション Express モジュール 標準モジュール npmによるインストール 参考 http //www.nodebeginner.org/index-jp.html
https://w.atwiki.jp/keiplus/pages/229.html
設定ファイル(node系) nodejs 設定 本項は書きたての記事です。正確な情報は公式サイト、公式ドキュメント、記載の参照サイトでご確認ください。 目次 + 読む 設定ファイル(node系)目次 .browserlistrc .browserlistrc AutoprefixerでCSSにどのベンダープレフィックスを付けるか?を決める設定ファイル 対応: autoprefixer,babel, postcss-preset-env, eslint-plugin-compat, stylelint-no-unsupported-browser-features, postcss-normalize, obsolete-webpack-plugin .browserslistrcで対象ブラウザを指定する - Qiita https //qiita.com/takeshisakuma/items/0bc1c39ee976bd1f52d7
https://w.atwiki.jp/javadsge/pages/2801.html
var html = " !doctype html " + " html head title Hello world /title /head " + " body h1 Hello, world! /h1 /body /html "; var http = require( http ); http.createServer(function (req, res) { res.writeHead(200, { Content-Type text/html }); res.end(html); }).listen(1337, 127.0.0.1 ); console.log( http //127.0.0.1 1337/ );
https://w.atwiki.jp/friendog/pages/17.html
http //www.nodebeginner.org/index-jp.html http //d.hatena.ne.jp/megadreams/20120602/1338599386 http //d.hatena.ne.jp/megadreams/20120602/1338600499 http //www.yuiblog.com/blog/2010/05/20/video-dahl/
https://w.atwiki.jp/m_shige1979/pages/1087.html
Node.js 初期設定
https://w.atwiki.jp/ohden/pages/1154.html
NestJS https //nestjs.com https //docs.nestjs.com NestJS公式ドキュメント訳 NestJS環境構築 generator tips CORS対応 413が返ってきてPOSTできない Session dataを利用したい SessionData 追加が必要 VSCode debug .vscode/launch.json node/module/NestJS/tips/ 更新日: 2023年10月14日 (土) 23時43分05秒 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/ohden/pages/1062.html
nodeJS tips install install_nodenv_WSL 更新日: 2023年09月04日 (月) 22時38分23秒 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/javadsge/pages/2794.html
(1)プログラム code (2)グラフ (3)出所 (4)メモ (5)作業記録 (6)参考文献 imageプラグインエラー ご指定のURLはサポートしていません。png, jpg, gif などの画像URLを指定してください。 -
https://w.atwiki.jp/ohden/pages/1060.html
nodeJS install for Ubuntu(WSL) Windows10(64bit) 21H2(19044.1645) instal msが書いてますのでそれに従ってやってみる。 https //docs.microsoft.com/ja-jp/windows/dev-environment/javascript/nodejs-on-wsl install nvm $ curl -o- https //raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash terminal再起動して、以下を実行。nvmって帰って来たら正常にinstallできてる。 $ command -v nvm nvm install nodeJS LTS版をinstallしてみる。 $ nvm install --lts Downloading and installing node v16.15.0... Downloading https //nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.xz... ############################################################################################################################################### 100.0% Computing checksum with sha256sum Checksums matched! Now using node v16.15.0 (npm v8.5.5) Creating default alias default - lts/* (- v16.15.0) 入ったか確認。 $ nvm ls - v16.15.0 default - lts/* (- v16.15.0) iojs - N/A (default) unstable - N/A (default) node - stable (- v16.15.0) (default) stable - 16.15 (- v16.15.0) (default) lts/* - lts/gallium (- v16.15.0) lts/argon - v4.9.1 (- N/A) lts/boron - v6.17.1 (- N/A) lts/carbon - v8.17.0 (- N/A) lts/dubnium - v10.24.1 (- N/A) lts/erbium - v12.22.12 (- N/A) lts/fermium - v14.19.2 (- N/A) lts/gallium - v16.15.0 $ node --version v16.15.0 更新日: 2023年09月04日 (月) 22時38分45秒 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/cod4mod/pages/64.html
Overview Nodes are placed in Radiant and serve several purposes • To define spaces that can be navigated by AI (pathnodes) • To define locations where the AI can take cover (covernodes) • To define locations where an AI will play an animation or other scripted event (scripted nodes) • To define areas where the AI can navigate (traverse) a specific obstacle or space (negotiation nodes) ノードが Radiant に置かれて、そしていくつかの目的を満たします: AI(pathnodes)によってつき進まれることができるスペースを定義するために AIが援護行為(covernodes)をすることができるロケーションを明確にするために AI がアニメーションをプレーするであろうロケーションあるいは他の原稿どおりの事象(原稿どおりのノード)を明確にするために AIが操縦することができるエリア(横断)を定義するために、特定の障害物あるいはスペース(交渉ノード) Cover Nodes Cover Nodes will be used to define locations where friendly and enemy AI will try to take cover. Place nodes in Radiant by doing the following カバーノードがフレンドリーと敵のAIがカバーをとろうとするであろうロケーションを明確にするために使われるでしょう。 次のことをすることによって、ノードを Radiant に置いてください: 1. Place the node right click in the orthographic view pane and select "node -- cover -- type_of_node ". Deciding the type of cover node depends on the geometry where the node is placed (discussed below). 1.ノード:右クリックを orthographic ビューパネルに置いて、そして「ノード - > カバー - > type_of_node を -」選択してください。 ノードが置かれる(下に論じられます)カバーノード保有、ジオメトリ、のタイプを決定します。 2. Snap to grid it is usually good practice to make sure the node is snapped to the grid, especially if the node needs to be flush against geometry that is on the grid. Select the node and hit "ctrl + g" to snap it to whatever grid you have selected. 2.グリッドにスナップしてください:ノードがグリッドにスナップされることを確認すること、特にもしノード必要性であるならグリッドの上にあるジオメトリにつけてであることは通常良い習慣です。 ノードとヒット「Ctrl + g」をあなたが選択したどんなグリッドにでもそれをスナップするよう選んでください。 3. Point in a direction select the node and give it a direction using the angles buttons on the entity pane (shortcut n) or rotate the node using the shortcut “shift + d”. The node should be pointing in the direction of the cover geometry itself. 3.方向でのポイント:ノードを選択して、そしてそれに方向使用方法、エンティティパネル(ショートカット:n歳)の上のアングルボタン、を与えるか、あるいはノード使用、ショートカット「変化 + d」、を回転させてください。 ノードはジオメトリ自身をカバーの方向に向けているべきです。 4. Preview You can preview roughly how the AI will look at the node by cycling through the "cycle preview model" button in the top right of the icon toolbar at the top of Radiant. 4.プレビュー:あなたは、 Radiant. のトップの聖像ツールバーの右上端に「循環プレビューモデル」ボタンを巡回することによって、およそAIがノードを見るであろう方法をプレビューすることができます 5. Set special properties (optional) In the case of certain cover nodes such as cover_left and cover_right, the designer can specify that the AI will only stand or crouch at the node by selecting ticking the DONT_STAND or DONT_CROUCH checkboxes in the entity property pane. 5.(オプションの)特別なプロパティを設定してください: cover_left と cover_right のようなある特定のカバーノードに関しては、設計者は、エンティティプロパティパネルで DONT_STAND あるいは DONT_CROUCH チェックボックスにチェックして選択することによって、ノードにおいてAIがただ立つだけであるか、あるいはかがむであろうことを明示することができます。 Cover Nodes Types node_cover_crouch AI will lean and crouch against this cover and pop up to engage enemies. Place cover_crouch nodes flush against the surface behind which the AI will take cover and rotate to point in the direction of the cover geometry. 36 units high is a good standard height for this type of cover to ensure the AI is concealed but can still fire over it effectively. node_cover_crouch AIが寄りかかって、そして敵を引き込むために上へこのカバーとポップに対してかがむでしょう。 それの後ろにAIが指さすのにカバーと回転を要するであろう表面に対して平らな cover_crouch ノードをカバージオメトリの方向に置いてください。 36のユニット最高がAIが隠されることを保証するこのタイプのカバーのための良いスタンダード全高です、しかし効果的にそれの上に発砲を静かにさせることができます。 node_cover_stand AI will lean against this cover and pop up to engage enemies. Place this node flush against the surface behind which the AI will take cover and rotate to point in the direction of the cover geometry. 48 units high is a good standard height for this standing cover to ensure the AI is concealed but can still fire over it effectively. node_cover_stand AIが敵を引き込むために上へこのカバーとポップに対して傾斜するでしょう。 それの後ろにAIが指さすのにカバーと回転を要するであろう表面に対して平らなこのノードをカバージオメトリの方向に置いてください。 48のユニット最高がAIが隠されることを保証するこの永続的なカバーのための良いスタンダード全高です、しかし効果的にそれの上に発砲を静かにさせることができます。 node_cover_prone AI will lay prone and engage enemies. Place this node on relatively flat surfaces and rotate in the direction where the AI will fire. node_cover_prone AIが敵がうつ伏せになるように置いて、そして引き込むでしょう。 このノードを比較的平面と回転の上にAIが発砲するであろう方向に置いてください。 node_cover_right/left Used for standing cover where the AI will strafe out from behind to engage enemies. Useful for doorways and corners. The "right" and "left" refer to which direction the AI will strafe out to reveal themselves as they engage the enemy. Facing a doorframe, for example, a node_cover_right would be placed on the left side of the door frame. Place this node flush against the surface behind which the AI will take cover and rotate to point in the direction of the cover geometry. node_cover_right/left AIが敵を引き込むために後ろから外に機銃掃射するであろう立ったままのカバーのために使われます。 出入り口とコーナーのために有用です。 「右翼」と「左翼」はそれらが敵を引き込むようにAIが(彼・それ)ら自身を開示するために外にどの方向を機銃掃射するであろうかについて言及します。 doorframe に直面して、例えば、 node_cover_right がドア列の左側の上に置かれるでしょう。 それの後ろにAIが指さすのにカバーと回転を要するであろう表面に対して平らなこのノードをカバージオメトリの方向に置いてください。 Concealment Nodes Use concealment nodes instead of cover nodes in areas where there is no solid geometry for the AI to lean against (such as vegetation or terrain irregularities). Keep in mind that these nodes are not very attractive to the AI due to their placement near weak cover, so they will tend to seek out solid cover nodes instead. Right click in the orthographic view pane and select "node -- concealment -- type_of_concealment_node ". (植物あるいは地形不規則さのように)傾斜するべきAIのためのソリッドジオメトリがないところ(に・で)カバーノードの代わりに地域で隠匿ノードを使ってください。 これらのノードが弱いカバーの近くで(彼・それ)らの配置のためにAIにそれほど魅力的ではありません、それでそれらがその代わりにソリッドカバーノードを探し求める傾向があるであろうということを念頭においてください。 orthographic ビューパネルを右クリックして、そして「node - > concealment - > type_of_concealment_node 」を選択してください。 Pathnodes Place pathnodes at regular intervals (128 units) throughout the map to define the areas where the AI can navigate. For example, if an AI wishes to navigate to a cover_crouch node 500 units away to take cover, there will need to be enough node_pathnodes between himself and the destination, otherwise there will be console errors warning you that he cannot successfully navigate. AIが操縦することができるエリアを定義するためにマップを通じてパスノードを通常の間隔(128のユニット)に置いてください。 例えば、もし AI が cover_crouch ノードにナビゲートすることを望むなら、そこにカバーをとるために、離れている500のユニットが必要性が彼自身と目的地の間に十分な node_pathnodes であるのを可能にして、さもなければそこにあなたに彼が成功裏にナビゲートすることができないことを警告するコンソールエラーでしょう。 1. Place the nodes Right click in the orthographic view pane and select "node -- pathnode". Place pathnodes at regular intervals (128 units) throughout the map and ensure they do not overlap with any other nodes. 1.ノード:右クリックを orthographic ビューパネルに置いて、そして「ノード - > パスノード -」を選択してください。 マップを通じてパスノードを通常の間隔(128のユニット)に置いて、そしてそれらが他のいかなるノードとも重ならないことを保証してください。 2. Test Node Placement Ensure that the "connect paths" checkbox is selected in CoD4 Compile Tools hit the "compile bsp" button. When the map is loaded, bring down the console and type ai_shownodes 1, then fly around the map (type cg_ufo in the console) to see if all of the paths are properly connected (see picture below). Examine the cyan colored navigation mesh that has been created. and look for red "X" marks which indicate a node that the AI cannot reach.To view more of the mesh at a time, type ai_shownodesdist 1024 (or some other high number). 2.テストノード配置:「連結パス」チェックボックスが CoD4 コンパイルツール瞬断、「コンパイル bsp」ボタン、に選択されることを保証してください。 マップがロードされるとき、下にコンソールを持って来て、そして ai_shownodes 1をタイプしてください、それからパスのすべてが適切に接続されているかどうか見る(下にピクチャを見ます)ためにマップ(コンソールでのタイプ cg_ufo)のまわりを飛びまわってください。 AIが reach.To することができないノードを指し示す「X」マークがいっそうメッシュについて一度に見る赤、タイプ ai_shownodesdist 1024(あるいは何か他の高い数)のための created. と外見であったシアン色のナビゲーションメッシュを調べてください。 3. Refine Node Placement Add or remove nodes to make an efficient navigation mesh. For nodes that appear as red "X" marks, it usually means there needs to be one or more pathnodes added to reach it, or it is in an inaccessible location. If the node in question is behind a barrier or on an elevated shelf where the AI would need to climb, it may require the use of a negotiation node (traverse) prefab (explained below). 3.ノード配置を改善してください:効率的ナビゲーションをメッシュにするためにノードを加えるか、あるいは取り去ってください。 赤い「X」マーク、1つであることは通常そこに必要性を意味する、あるいは pathnodes がそれ、あるいはそれに届くために加えたさらに多くがアクセスできないロケーションであるように、現われるノードのためです。 もし問題のノードがAIがそうするであろうところ(に・で)防護壁の後ろあるいは高尚なシェルフの上であるなら、登るべき必要性、それは(下に説明された)交渉ノード(横断)プレハブの使用を必要とするかもしれません。 Viewing the navigation mesh creates by pathnode placement in-game using ai_shownodes 1 and ai_shownodesdist 1024 ナビゲーションメッシュがパスノード配置ゲーム内使用 ai_shownodes 1と ai_shownodesdist 1024のそばに引き起こす表示 Setting Default Nodes AI that are present upon map loading (or that are spawned during map progression) can be targeted to a specific node that they will navigate to. 存在している設置デフォルト Nodes AIがマップロードの上です(あるいはそれマッププログレッションの間に生成されます)それらがナビゲートするであろう特定のノードに対象を定められることができる. 1. Create a test map with a network of path nodes and several different cover nodes. 1.パスノードといくつかの異なったカバーノードのネットワークでテストマップを作成してください。 2. Place several friendly AI in the map and set them as spawnersfrom a spawn trigger. 2.スポーントリガーを spawnersfrom するようにいくつかのフレンドリーAIをマップに置いて、そしてそれらを設定してください。 3. Target a friendly AI to a specific cover node by selecting the AI, then the node, then using the shortcut for ConnectSelection ( usually "W" by default). You should see a colored line appear between the AI and the targeted node. 3.AI、それからノード、それから使用、 ConnectSelection のためのショートカット(通常棄権による「W」)、選択することによって、特定のカバーノードにフレンドリー AI の対象を定めてください。 あなたは着色されたラインがAIと目標を定められたノードの間に現われるのを見るべきです。 4. Repeat this targeting process for other AI in the map, targeting different cover nodes (or path nodes). 4.異なったカバーノード(あるいはパスノード)に目標を定めて、マップで他のAIのこの目標設定プロセスを繰り返してください。 5. Compile the BSP (ensure that the "connect paths" checkbox is selected) and observe where the friendly AI navigate to upon spawning. 5.BSPをコンパイルしてください(「連結パス」チェックボックスが選択されることを保証してください)、そして産むや否やフレンドリーAIがナビゲートするところがそうするのに気付いてください。 Negotiation Node (Traverse) Prefabs There are several prefabs that contain pre-made negotiation node combinations and settings that are to be used for specific AI navigation requirements such as hopping over a low wall, sliding over a car, jumping off a ledge, etc. 低レベルの壁を越えて飛び乗ること、車両の上に滑ること、岩棚からジャンプすることなどのような特定のAI航法要求事項のための使われるはずである既成交渉ノード結合と設定値を含んでいるいくつかのプレハブがあります。 Launch Radiant and open the test map "test_traverses.map" located in map_source to examine each type of traverse prefab. You can also run this map in-game and observe how each AI navigates over specific obstacles using the traverse prefab (approach each obstacle to spawn the individual AI that will navigate across it). Radiant を始動して、そしてそれぞれのタイプの横断プレハブを調べるために map_source に置かれているテストマップ「test_traverses.map」を開いてください。 あなたは同じくこのマップゲーム内行なって、そしてそれぞれのAIがどのように特定の障害物の上に使用、横断プレハブ、を通り抜けるか観察する(それの向こう側にナビゲートするであろうスポーン、個別のAI、にそれぞれの障害物に接近します)ことができます。 With the map open, the traverse prefabs are (as pictured left to right in the screengrab above) マップが開いているという状態で、横断プレハブは(右に上記の screengrab に残されているのを想像されるように)です: • jumpdown_96.map - AI will jump down from a 96 unit high ledge • jumpdown_56.map - AI will jump down from a 56 unit high ledge • jumpdown_40.map - AI will jump down from a 40 unit high ledge • stepup_52.map - AI will step up to a 52 unit high ledge • wall_over_40.map - AI will hop over a 40 unit high wall • window_over_40.map - AI will hop over a 40 unit high window frame • slide_across_car.map - AI will slide across a car hood Placing a traverse prefab • jumpdown_96.map - 96の単位最高水平棚から下へのAI意志ジャンプ • jumpdown_56.map - 56の単位最高水平棚から下へのAI意志ジャンプ • jumpdown_40.map - 40の単位最高水平棚から下へのAI意志ジャンプ • stepup_52.map - AIが52の単位最高水平棚に歩み寄るでしょう • wall_over_40.map - AIが40以上の単位最高の壁をひょいと跳ぶでしょう • window_over_40.map - AIが40以上の単位最高ウィンドウフレームをひょいと跳ぶでしょう • slide_across_car.map - AIが横断プレハブを置いている自動車ボンネットの向こう側に滑るでしょう 1. Select traverse prefab right clicking in the orthographic view pane and select "misc -- prefabs". In the dialog box, navigate to \map_source\prefabs\traverse and select an appropriate traverse prefab. 1.選り抜きの横断プレハブ: orthographic ビューパネルを右クリックしていて、そして選り抜きの「misc - > prefabs」の。 問答で、ボックス、\に map_source \ prefabs \ traverse をナビゲートして、そして適切な横断プレハブを選択してください。 2. Place prefab Place the prefab on the geometry/obstacle using the test map "test_traverses.map" as a reference. Be sure to rotate the prefab in the direction in which the AI should approach it (the arrows on the negotiation nodes point in the direction the AI will execute the traverse). Ensure there are enough path nodes to allow AI to navigate to the traverse. 2.場所プレハブ:レファレンスとしてプレハブをジオメトリ / 障害物使用、テストマップ「test_traverses.map」、の上に置いてください。 AIがそれに接近するべきである方向(ノードが方向、AI、に向ける交渉に関する矢印は横移動部を実行するでしょう)でプレハブを回転させることを確かにしてください。 横断にナビゲートするべきAIを許すのに十分なパスノードがあることを保証してください。 (Original "http //www.infinityward.com/wiki/index.php?title=Nodes") 名前 すべて読む