- versionは0.7a
- scalaz-streamではなくscalaz-concurrentにあるクラス
- scalaz-streamは、これと
Taskにかなり依存してるので、まずはこれらを理解することが重要
| git_protocol: ssh | |
| aliases: | |
| personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status' | |
| work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status' |
| version: "0.2" | |
| env: | |
| shell: bash | |
| phases: | |
| install: | |
| commands: | |
| - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
| - source $HOME/.cargo/env |
Task にかなり依存してるので、まずはこれらを理解することが重要| Perl ワンライナーサンプル集 | |
| ■概要 | |
| 障害解析のためのログの調査、非互換対応でのソースコードの調査といった | |
| テキスト処理で使った Perl ワンライナーのサンプル集です。 | |
| Perl ワンライナーは以下の点が良いと思います。 | |
| ・Perl は Oracle Database (10g以降) に同梱されている。 | |
| 従って、Windows プラットフォームでも使える。 |
| #!/bin/bash | |
| #Thanks to this page: http://chris-allen-lane.com/2012/12/phonegap-compiling-a-release-apk-without-using-phonegap-build/ | |
| #USAGE! | |
| # 1. Replace <AndroidKeyName> with the filename of the keyfile generated (see url) | |
| # 2. Replace <ProjectName> with the project name in the generated file form cordova, see path/to/my/project/platforms/android/bin and look for an APK if you need help | |
| # 3. Replace <AndroidKeyNameAlias> from the alias used when generating the key (see url again!) | |
| # 4. Edit path/to/my/project/platforms/android/AndroidManifest.xml and change "debuggable=false" (search for it!) | |
| # 5. Check path/to/my/project/Release/android for your sparkling new apk! | |
| # | |
| # This worked and was uploadable to the google play store. |
| #!/usr/bin/perl -w | |
| #usage: perl td2json.pl < jvm-thread-dump.log | |
| use strict; | |
| use warnings; | |
| use JSON; | |
| my $buf = ''; | |
| my $row = 0; | |
| my $thread_info = {}; |
| 「Fluentd & Treasure Data でこっそり始めるログ集計」 | |
| CROOZ 株式会社 | |
| 池田 朋大( @mikeda ) | |
| FluentdとTreasureDataプラットフォームを使って、1インフラエンジニアが勢いでログ集計システムを作ってみたお話です | |
| --- | |
| ■発表の人 | |
| インフラエンジニア | |
| fluentd 歴3ヶ月 |
| # Thomas Parslow http://almostobsolete.net | |
| # Just a work in progress and adapted to what I need right now. | |
| # It does uploads (via a file-like object that you write to) and | |
| # I've started on downloads. Needs the development version of Boto from Github. | |
| # | |
| # Example: | |
| # | |
| # glacierconn = GlacierConnection(AWS_ACCESS_KEY, AWS_SECRET_ACCESS_KEY) | |
| # writer = GlacierWriter(glacierconn, GLACIER_VAULT) | |
| # writer.write(somedata) |