Skip to content

Instantly share code, notes, and snippets.

View suzuken's full-sized avatar

Kenta SUZUKI suzuken

View GitHub Profile
@simenbrekken
simenbrekken / project-item.js
Created November 28, 2011 09:11
Backbone.js child views example
var View = Backbone.View.extend({
tagName: 'tr',
template: Handlebars.compile($('#project-list-item').html()),
events: {
'click .delete': 'destroy'
},
initialize: function() {
this.model.bind('change', this.render, this);
this.model.bind('destroy', this.remove, this);
@schmmd
schmmd / ctags
Created October 11, 2011 05:05
ctags file
--langdef=scala
--langmap=scala:.scala
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*class[ \t]+([a-zA-Z0-9_]+)/\4/c,classes/
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*object[ \t]+([a-zA-Z0-9_]+)/\4/c,objects/
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*case class[ \t]+([a-zA-Z0-9_]+)/\4/c,case classes/
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*case object[ \t]+([a-zA-Z0-9_]+)/\4/c,case objects/
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*trait[ \t]+([a-zA-Z0-9_]+)/\4/t,traits/
--regex-scala=/^[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\1/T,types/
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*def[ \t]+([a-zA-Z0-9_]+)/\3/m,methods/
--regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*val[ \t]+([a-zA-Z0-9_]+)/\3/l,constants/
@danparsons
danparsons / gist:3195652
Created July 29, 2012 01:46
How to stream the London 2012 Olympics

How to stream the London 2012 Olympics

There have been several HOWTOs posted regarding streaming the 2012 Olympics using HTTP / SOCKS proxies via SSH and other similar methods. None of these actually work using the latest Flash on Mountain Lion (with Firefox, Chrome or Safari). Additionally, the third-party streaming sites don't provide BBC's amazing interface, which lets you quickly skip to individual competitors and events. However, setting up an OpenVPN server does work, with some tweaks. You'll get the exact same UX that people in England receive.

MacbookAir mid 2013 に Windows10 と FF11 をインストールする話

ドーモ、皆=さん。 @ajiyoshi です。

この記事は #ajiting アドベントカレンダーの 12/18分です。

FF11というMMORPGがあります。2002年発売のゲームですから、もう13年も運営している長寿命のゲームです。2015年11月にシナリオの最終更新があり、以降のアップグレードはキャンペーンやバランス調整等のみとなる予定です。 かなり長期間遊んだゲームで、個人的に思い入れ深いゲームの一つです。せっかくなので、最終シナリオを堪能したくなり、再びFF11に舞い戻ってみました。

FF11はもともとPS2でリリースされたゲームですが、すでにPS2版のサービスは終了していて、PC版のみのサービスとなっています。Mac版は提供されていないのでプレイするにはWindowsPCが必要です。WindowsPCも持っていますが、どうせなら普段持ち歩いているMacbookAirでプレイしたいものです。調べてみるとBootcampでWindowsをインストールすれば、MacbookAirで快適に動作するようです。さすが13年前のゲーム。