Skip to content

Instantly share code, notes, and snippets.

@argrath
argrath / gist:7299717
Created November 4, 2013 08:31
TwitterIRCGateway ID64ビット化パッチのようなもの
diff --git a/ExtraAddIns/RevealOnewayFollowAddIn/RevealOnewayFollow.cs b/ExtraAddIns/RevealOnewayFollowAddIn/RevealOnewayFollow.cs
index 21a33be..5343f66 100644
--- a/ExtraAddIns/RevealOnewayFollowAddIn/RevealOnewayFollow.cs
+++ b/ExtraAddIns/RevealOnewayFollowAddIn/RevealOnewayFollow.cs
@@ -40,8 +40,8 @@ namespace Misuzilla.Applications.TwitterIrcGateway.AddIns
public class RevealOnewayFollow : AddInBase
{
- private List<Int32> _followerIds;
- internal List<Int32> FollowerIds { get { return _followerIds; } }
@argrath
argrath / package.json
Created September 24, 2015 15:31
package.json for Nocturn v0.1.4 on Windows
{
"name": "nocturn",
"version": "0.1.4",
"main": "app/main.js",
"repository": "k0kubun/nocturn",
"author": "k0kubun",
"license": "MIT",
"scripts": {
"start": "npm run compile && electron .",
"setup": "npm run setup:ghr && npm run setup:bower",
#!
use strict;
use warnings;
use Data::Dumper;
my %type = (
PROJECTILE => ')',
WEAPON => ')',
BOW => ')',
#!
use strict;
use warnings;
use Data::Dumper;
my %type = (
PROJECTILE => ')',
WEAPON => ')',
BOW => ')',
@argrath
argrath / app.psgi
Created April 19, 2017 12:46
Mastodonの更新通知を受けるテスト
use strict;
use warnings;
use Plack::Builder;
use Plack::App::PubSubHubbub::Subscriber;
use Plack::App::PubSubHubbub::Subscriber::Config;
use Plack::App::PubSubHubbub::Subscriber::Client;
use Data::Dumper;
@argrath
argrath / PubSubHubbub.pm
Created April 21, 2017 11:35
MojoliciousでMastodonの更新通知を受ける
package Mojolicious::Plugin::PubSubHubbub;
use Mojo::Base 'Mojolicious::Plugin';
use Mojo::UserAgent;
use Mojo::DOM;
use Mojo::ByteStream 'b';
use Mojo::Util qw/secure_compare hmac_sha1_sum/;
our $VERSION = '0.17';
# Todo:
@argrath
argrath / Vagrantfile
Last active September 26, 2017 18:58
Windowsホストのvagrantでmastodonを動かす https://argrath.ub32.org/annex/2017/04/24-01.html (1.6.1対応)
# -*- mode: ruby -*-
# vi: set ft=ruby :
ENV["PORT"] ||= "3000"
$provision = <<SCRIPT
# Add the yarn repo + yarn repo keys
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.yarnpkg.com/debian/ stable main'
@argrath
argrath / Vagrantfile
Created January 8, 2018 19:03
Run Mastodon with Vagrant on Windows host
# -*- mode: ruby -*-
# vi: set ft=ruby :
ENV["PORT"] ||= "3000"
$provision = <<SCRIPT
# Add the yarn repo + yarn repo keys
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.yarnpkg.com/debian/ stable main'
@argrath
argrath / yapcokinawa2frab.pl
Last active February 1, 2018 14:24
make frab.xml for YAPC::Okinawa 2018
use strict;
use warnings;
use JSON::PP qw(decode_json);
use XML::TreePP;
use LWP::Simple;
use utf8;

Objects in Space Cheet Sheet in Japanese (non-spoiler)

Objects in Space の操作方法に関するメモ書き。

β時点での自分用メモなので間違っているかもしれないし変更されているかもしれない。

一般

  • 一つの構造物(宇宙船とか、宇宙港とか)の中を移動するのはカーソル←→、エアロックを移動したりするのはエアロックをクリック
  • 宇宙飛行中は"."で時間を加速、","で減速。イベントがあると自動的に等速に戻る。