Skip to content

Instantly share code, notes, and snippets.

use strict;
use warnings;
use utf8;
my @result = (
undef, 'Fizz', 'Buzz', 'FizzBuzz',
'セブン', undef, undef, undef,
'イレブン', undef, undef, undef,
'セブンイレブン', undef, undef, 'いい気分',
);
@argrath
argrath / memo.md
Last active May 12, 2020 21:09
jitsi-meet on debian 32bit

/usr/share/jitsi-videobridge/jvb.sh

Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap

/var/log/jitsi/*.log

/etc/jitsi/

/usr/share/jitsi-videobridge/jvb.sh

@argrath
argrath / win32-internet-https.pl
Created November 16, 2019 18:09
Win32::Internetでhttpsアクセスするテスト。httpでアクセスしてもhttpsにリダイレクトするサイトならこのままで動く?
use strict;
use warnings;
use Win32::Internet;
my $REQ;
my $HTTP;
my $INET = new Win32::Internet();
$INET->HTTP($HTTP, "gmail.com");
$HTTP->OpenRequest($REQ, "/");
タイトル 資料URL
PerlウェブサービスにDocker,ECS,CDKを導入して開発に集中できる環境作りをしよう https://docs.google.com/presentation/d/e/2PACX-1vQ9L2ugbZP_hhNKyhZ-AoODK-I1v4Qea3j60qfsgMBglz7sE2iMC7CqltLuCkF8TrXpTEYoSGfi0pJ_/embed?start=false&loop=false&delayms=15000#slide=id.g6fcd66308a_1_0
Rust に入門したくて!libperl を bindgen して Perl の ASTを舐め始めた話 https://hkoba.github.io/slides/yapcjapan2019nagoya/#/
(my$name="Perl 6")~~s/Perl\s*6/Raku/;
Makefile生活 https://www.slideshare.net/azumakuniyuki/life-with-makefile
10年でどう変わった? はてなブックマークでのPerlの使い方 https://speakerdeck.com/tarao/10nian-dedoubian-watuta-hatenabutukumakudefalseperlfalseshi-ifang
他言語ユーザから見たPerlのおもしろさ https://speakerdeck.com/utgwkk/yapc-nagoya-tiny-2019
40分で学ぶPerl入門
Perlにおける動的なモジュールロードのメリットとデメリットについて https://speakerdeck.com/ybrliiu/perlniokerudong-de-namoziyururodofalsemeritutotodemerituto
似ているけどちょっと違うものたちをモデリングする技術 https://scrapbox.io/hitode909/%E4%BC%BC%E3%81%A6%E3%81%84%E3%82%8B%E3%81%91%E3%81%A9%E3%81%A1%E3%82%87%E3%81%A3%E3%81%A8%E9%81%95%E3%81%86%E3%82%82%E3%81%AE%E3%81%9F%E3%81%A1%E3%82
@argrath
argrath / test.md
Last active June 18, 2019 15:52
LibO bug
  • セルに以下を入力
=((((1 + SQRT(5))/2)^25 - ((1 - SQRT(5))/2)^25) / SQRT(5))
  • セルの書式設定->小数点以下の桁数を15
  • 小数点以下は全て0であるべきだが10桁目が1になる
// ==UserScript==
// @id iitc-plugin-graph-difference
// @name IITC plugin: Graph Difference
// @category Tweaks
// @version 0.2019060
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @description Graph difference
// @include https://*.ingress.com/intel*
// @include http://*.ingress.com/intel*
// @match https://*.ingress.com/intel*
@argrath
argrath / builderscon2frab.pl
Created August 26, 2018 11:27
make frab.xml for builderscon tokyo 2018
use strict;
use warnings;
use JSON::PP qw(decode_json);
use XML::TreePP;
use LWP::UserAgent;
#use utf8;
* mDNSで相手を検索(mDNSを使うのはIPを知ることまで)
* SSLで接続
* 特定のコマンド列をProtoBufでシリアル化して送信
* コマンドは「話すべきmp3データとかのURL」を送るのでhttpサーバが必要
* 動的生成するならそこの考慮が必要
https://qiita.com/vanx2/items/3c20bf8e4111da9eb68d
https://prozorec.hatenablog.com/entry/2017/06/07/093638

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

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

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

一般

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