Skip to content

Instantly share code, notes, and snippets.

View cia-rana's full-sized avatar
🌌
get everyone involved

Koya IWAMURA cia-rana

🌌
get everyone involved
View GitHub Profile
@cia-rana
cia-rana / CCSpreadVisualizer.js
Last active February 9, 2022 12:36
TamperMonkey
// ==UserScript==
// @name CCSpreadVisualizer
// @namespace http://hitoriblog.com/
// @version 0.4
// @description try to take over the world!
// @author moyashi
// @match https://coincheck.com/ja/exchange
// @grant none
// ==/UserScript==
@cia-rana
cia-rana / memo.md
Last active November 28, 2021 04:04
APNGの構造メモ

APNGの構造メモ

PNG

Portable Network Graphics。

全体構造

PNGの構造は非常に単純で、ファイルをPNG画像と認識するためのシグネチャと、様々なデータを表すチャンクからなる。

PNGの構造
シグネチャ
@cia-rana
cia-rana / memo.md
Last active August 13, 2021 16:58
テクニカルアーティストに関する記事まとめ

コロプラ

CGWORLD

  • 新卒からテクニカルアーティスト(TA)を育成するために必要なこと>>TAの素養ってなんだろう?
  • TAを増やす改善策は「余裕をもつこと」~若手テクニカルアーティストが大いに語ったラウンドテーブル~CEDEC 2018レポート(3)
@cia-rana
cia-rana / primeGenerator.clojure.go
Created May 29, 2017 18:54
Prime Number Generator with Sieve of Eratosthenes in Golang
package main
import (
"fmt"
)
type PrimeGenerator struct {
Next func() uint32
}
func NewPrimeGenerator() *PrimeGenerator {
@cia-rana
cia-rana / pixars_renderfarm.md
Last active January 3, 2021 12:52
Pixar のレンダーファームについて

Pixar のレンダーファームについて

With every project does Pixar’s render farm just get bigger and bigger? Or do all of the farm servers/graphics cards/processors get upgraded with the demands of the project? https://twitter.com/RizzoBlake/status/1345112368083300352

プロジェクトが進むごとにPixarのレンダーファームは徐々に大きくなっていくのでしょうか?また、サーバー、GPU、CPUのすべてが、プロジェクトの需要に応じてアップグレードされるのでしょうか?

1/ Our world works quite a bit differently than VFX in two major ways: we spend a lot of man hours on optimization, and our scheduler is all about sharing.

Due to optimization, by and large we make the film fit the box, aka each film at its peak gets the same number of cores.

// Ref. https://sekailab.com/wp/2020/03/25/deepl-translation-with-kindle-cloud-reader/
function () {
/* Kindle Translator V 0.4*/
/* based on ACRExtensions via https://github.com/binarycrafts/ACRExtensions */
var w = null;
var kDoc = null;
var kObj = null;
if (typeof window.KindleReaderContextMenu !== 'undefined') {
w = window;
} else if (window.length) {
@cia-rana
cia-rana / main.rb
Last active September 1, 2020 01:56
Google Trends API
require "net/http"
require "uri"
require "json"
require "openssl"
TIMEZONE = (-9 * 60).to_s
HL = "en"
keywords = ["bitcoin"]
@cia-rana
cia-rana / main.js
Last active August 30, 2020 19:11
YouTubeの消せる広告は一瞬で消すJS
setInterval(
()=>{
[
"ytp-ad-overlay-close-button",
"ytp-ad-skip-button"
]
.map(e=>Array.from(document.getElementsByClassName(e)))
.flat()
.forEach(e=>e.click())
},
@cia-rana
cia-rana / file0.go
Last active February 19, 2020 05:55
[Go]重み付き乱択アルゴリズムを整数だけで完結させる ref: https://qiita.com/cia_rana/items/dca5b008fcee67adda50
weights := []int{1, 2, 3, 4, 5, 6, 7, 8, 9}