Skip to content

Instantly share code, notes, and snippets.

View varmil's full-sized avatar
🏠
Working from home

Akihiro Yamamoto varmil

🏠
Working from home
View GitHub Profile
@tily
tily / scaling_isomorphic_javascript_code.ja.markdown
Last active May 1, 2023 09:03
サバクラ両方で動く JavaScript の大規模開発を行うために

サバクラ両方で動く JavaScript の大規模開発を行うために

原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)

考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。

過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。

@paulirish
paulirish / rAF.js
Last active March 22, 2024 00:00
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@n1k0
n1k0 / 404checker.js
Created January 11, 2013 10:55
A CasperJS script to check for 404 & 500 internal links on a given website
/**
* This casper scipt checks for 404 internal links for a given root url.
*
* Usage:
*
* $ casperjs 404checker.js http://mysite.tld/
* $ casperjs 404checker.js http://mysite.tld/ --max-depth=42
*/
/*global URI*/
@repeatedly
repeatedly / msgpack_issue_121.md
Last active November 30, 2021 02:09
MessagePackが文字列とバイナリをわけないのは問題?

MessagePackが文字列とバイナリをわけないのは問題?

msgpack/msgpack#121

Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案

(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう

そもそもMessagePackとは

@kaishuu0123
kaishuu0123 / xv6.md
Last active April 23, 2022 15:56
xv6 を読む
@hulufei
hulufei / fixed position relative to parent.md
Last active June 26, 2018 05:37
Fixed element relative to it's parent

第一种方法

<div class="container">
  <div class="fixed">content</div>
</div>
.fixed {
@mizchi
mizchi / 「フロントエンドデベロッパー面接時の質問事項」への解答.md
Last active February 15, 2024 21:29
「フロントエンドデベロッパー面接時の質問事項」への解答
@Buravo46
Buravo46 / Singleton.cs
Last active February 8, 2022 16:05
【C#】ジェネリックなシングルトンパターンのテンプレート
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
/*===============================================================*/
/**
* ジェネリックなシングルトンパターン
* 参考URL : http://msdn.microsoft.com/ja-jp/library/ms998558.aspx
* このジェネリッククラスはclassとnewの型パラメーターの制約をしている
@keiichiw
keiichiw / Makefile
Last active November 2, 2017 10:13
demonstration of xv6 ported to GAIA processor
# If you execute `make run`, xv6 will be compiled by UCC and boot up in the simulator.
# You need OCaml and clang to compile UCC.
all: ucc xv6
ucc:
git clone git@github.com:kw-udon/ucc.git
make -C ./ucc/
xv6:
@mizchi
mizchi / フロントエンドを楽にするために.md
Last active December 14, 2023 11:57
フロントエンドを楽にするために

フロントエンドを楽にするために

Qiitaを支えたい技術 at 時雨祭

About

  • HN: mizchi
  • Qiitaの方からきました(入社半年たったらしい)
  • Reactオジサンはそろそろ飽きてきた
  • Angularに興味が無いのでこっちにきた