Skip to content

Instantly share code, notes, and snippets.

View suzuken's full-sized avatar

Kenta SUZUKI suzuken

View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active April 25, 2024 23:45
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@pei0804
pei0804 / README.md
Last active March 13, 2024 08:45
pei0804 profile
@Billz95
Billz95 / .php_cs.dist
Last active January 15, 2024 02:58
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.
<?php
require_once __DIR__.'/relative/path/to/PrettierPHPFixer/File';
return PhpCsFixer\Config::create()
->registerCustomFixers([
(new PrettierPHPFixer()),
])
->setRules([
'Prettier/php' => true,
@stevenringo
stevenringo / reinvent-2017-youtube.md
Created December 3, 2017 23:01
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.

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年前のゲーム。

@ashigeru
ashigeru / memo.md
Last active December 30, 2020 14:33
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
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.

> 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
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);