プロジェクトのディレクトリかユーザホームディレクトリに.bowerrcファイルを作る。
- Windowsのユーザホームの確認の仕方
> echo %HOMEPATH%
import * as THREE from 'three' | |
import { Points, useGLTF } from '@react-three/drei' | |
import { GLTF } from 'three-stdlib' | |
import { useFrame, useLoader } from '@react-three/fiber' | |
import { useMemo, useRef } from 'react' | |
import { EffectComposer, SelectiveBloom } from '@react-three/postprocessing' | |
type GLTFResult = GLTF & { | |
nodes: { | |
Object_2: THREE.Mesh |
navigator.serviceWorker.getRegistrations().then(function(registrations) { | |
// 登録されているworkerを全て削除する | |
for(let registration of registrations) { | |
registration.unregister(); | |
} | |
}); | |
caches.keys().then(function(keys) { | |
var promises = []; | |
// キャッシュストレージを全て削除する | |
keys.forEach(function(cacheName) { |
原著者: | Adrian Holovaty |
---|---|
原文: | Why I left Heroku, and notes on my new AWS setup |
金曜日、私は Heroku から Amazon Web Services(AWS) を直接使うように Soundslice を移行しました。私はこの変更ができてとても、そうとても嬉しくて、私がどうやったかということと、もし皆さんが同じような立場だったら何故それを検討すべきかということについて広く伝えたいと思います。
package main | |
/* | |
Go のインタフェース設計 | |
参考 | |
https://code.google.com/p/go-wiki/wiki/GoForCPPProgrammers | |
http://jordanorelli.tumblr.com/post/32665860244/how-to-use-interfaces-in-go | |
http://research.swtch.com/interfaces | |
http://www.airs.com/blog/archives/277 |
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
# Animation frames... | |
# Color ASCII escape sequences, gzipped and base64 encoded, because | |
# I thought 300 lines of animation frames was a little much. | |
my @frames = ( q( | |
H4sIAHywIU8AA+1d23XkOA797xT8oxBst+11z4QyMVQO+7ExbIAbydrdVXqCeJOEKNQZnzMURIq4 | |
BEAU6jb19M/b59/vfz/fnv78z8uvj9u0+zz98yUFrrI6PG473nX8wA/68cSYI+fze/hlNkvz9fWV |