apparmorのポリシー(mysql-serverパッケージに入ってる/etc/apparmor.d/usr.sbin.mysqld
)が生きていて、systemdがmariadbの起動を検知できておらず、systemctl stop
相当の処理がかかったため。
これはそもそも恒久対応ではなかった。
この記事はKMCアドベントカレンダー19日目の記事です。
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
#! /bin/sh | |
git grep -q binding.pry | |
if [ $? -eq 0 ]; then | |
echo "binding.pry aru yo!" >&2 | |
exit 1 | |
fi |
echo "127.0.0.1\ttwitter.com | |
127.0.0.1\twww.facebook.com | |
127.0.0.1\tslack.com | |
127.0.0.1\tanond.hatelabo.jp" >> /etc/hosts |
/* | |
* Copyright (C) 2016 Jeff Gilfelt. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
2015年11月17日からインスタグラムの提供しているAPIの仕様が大幅に変更されました。
仕様変更する前までは、インスタグラムのアカウント所有者であれば誰でも、開発者登録をするだけでAPI機能の全てを使用することができましたが、今回の変更で、APIの正式利用にはインスタグラムにレビューの申請をして承認されることが必須となりました。
また、17日以前に作成したアプリケーション・サービスについても、2016年6月1日までに申請し承認されなければ、自動的にテスト(サンドボックス)モードに切り替わるようです。
英語でしか表記のなかった規約の一部を日本語に翻訳したので、まとめておきます。
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
Plugin.create :syugoga_ookiidesuyo do | |
command(:syugoga_ookiidesuyo, | |
name: '主語が大きいですよ', | |
condition: lambda{ |opt| opt.messages.size == 1 }, | |
visible: true, | |
role: :timeline) do |opt| | |
Service.primary.post message: "主語が大きいですよ #{opt.messages.first.parma_link}" | |
end | |
end |