Skip to content

Instantly share code, notes, and snippets.


Kenta SUZUKI suzuken

View GitHub Profile
Billz95 / .php_cs.dist
Last active Nov 21, 2020
A Customised fixer for PHP-CS-Fixer to use `prettier`'s php plugin to pre-process the code before getting analysed by other fixers. This would enable `php-cs-fixer` to take advantage of `prettier`'s ability of managing long line.
View .php_cs.dist
require_once __DIR__.'/relative/path/to/PrettierPHPFixer/File';
return PhpCsFixer\Config::create()
(new PrettierPHPFixer()),
'Prettier/php' => true,
stevenringo /
Created Dec 3, 2017
Links to YouTube recordings of AWS re:Invent 2017 sessions

| Title | Description


Principles of Adult Behavior

  1. Be patient. No matter what.
  2. Don’t badmouth: Assign responsibility, not blame. Say nothing of another you wouldn’t say to him.
  3. Never assume the motives of others are, to them, less noble than yours are to you.
  4. Expand your sense of the possible.
  5. Don’t trouble yourself with matters you truly cannot change.
  6. Expect no more of anyone than you can deliver yourself.
  7. Tolerate ambiguity.
  8. Laugh at yourself frequently.
View MacbookAir mid 2013 に Windows10 と FF11 をインストールする話 #ajiting Advent Calendar 2015 .md

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

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

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

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


ashigeru /
Last active Dec 6, 2018
Prestoソースコードリーディング#2 メモ

Presto メモ

  • presto 0.60
  • [ QueryResource , TaskResource )


なんかそのまま mvn clean install eclipse:eclipse -DskipTests コマンド叩いても checkstyle で落ちたので:

mvn clean install -DskipTests
mvn eclipse:eclipse -Dcheckstyle.skip
danparsons / gist:3195652
Created Jul 29, 2012
How to stream the London 2012 Olympics
View gist:3195652

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.

View gist:2212589
> perl -E 'say "生" & "死"'
生 Life U+751F \xe7\x94\x9f 11100111 10010100 10011111
死 Death U+6B7B \xe6\xad\xbb 11100110 10101101 10111011
愛 Love u+611B \xe6\x84\x9b 11100110 10000100 10011011
simenbrekken / project-item.js
Created Nov 28, 2011
Backbone.js child views example
View project-item.js
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 / ctags
Created Oct 11, 2011
ctags file
View ctags
--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/
You can’t perform that action at this time.