A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
# 普段はこう書いている | |
install: --no-rdoc --no-ri | |
update: --no-rdoc --no-ri | |
search: --remote | |
specification: --remote |
default['nginx']['version'] = "1.2.0" | |
default['nginx']['passenger']['version'] = "3.0.12" |
values = [1, 2, 3] | |
others = [1.0, 2.0, 3.0] | |
(values.length == others.length) && values.each_with_index.all?{|v, idx|v == others.fetch(idx)} |
#List vms | |
VBoxManage list vms | |
#get status of time sync | |
VBoxManage getextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled | |
#NOTE: Make sure to restart the VM after changing these settings. | |
#disable time sync | |
VBoxManage setextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled 1 |
class Object | |
def pipe | |
yield self | |
end | |
end | |
# From https://github.com/rspec/rspec-rails/pull/766/files | |
# Without Object#pipe | |
types = begin |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>BeBe Sample</title> | |
<style> | |
h1 { font-size: 120%; } | |
</style> | |
<script src="js/jquery-1.9.1.js"></script> | |
<script> |
require 'httpclient' | |
require 'json' | |
module HTTP | |
class Message | |
# Returns JSON object of message body | |
alias original_content content | |
def content | |
if JSONClient::CONTENT_TYPE_JSON_REGEX =~ content_type | |
JSON.parse(original_content) |
// Polyfill because Safari's HTMLCollections are not iterable | |
if (typeof HTMLCollection.prototype[Symbol.iterator] !== 'function') { | |
HTMLCollection.prototype[Symbol.iterator] = function () { | |
let i = 0; | |
return { | |
next: () => ({done: i >= this.length, value: this.item(i++)}) | |
} | |
}; | |
} |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
無人島にAさん、Bさん、Cさんが流れついたとする。国へ帰る見込みがほとんどなく当然その状況では誰も日本円他法定通貨は欲しがらずまったく価値がない状況だとする | |
Aさん食料つくる | |
Bさん飲料つくる | |
Cさん食料つくる | |
という感じで漂着当初は食いつなぐために日々その日の全ての時間をついやしていました。当然みんなでその日得られた飲食物をわけあってました。 | |
しばらくすると食料と飲料の生産効率があがり貯蔵できるようになってきました。そうなると余った時間を使って嗜好品も生産するようになってきました。 | |
ここで3人は通貨みたいなものが必要だねという話になりました。 | |
はじめはそこらにあった100個の貝殻を通貨とみたてて3人の合意のもと流通させてみました。当初は予想通りうまく流通して飲食物や嗜好品が交換されてそれに伴い |