- dockerインストール直後、dockerコマンドは
sudo
を付けないと実行できない - この状態で
bin/create-config
コマンドを実行すると、fluentd設定ファイルの出力でpermission denied
となる- pocci/create-service.ja.md at master · xpfriend/pocci
- ファイル出力先のディレクトリはrootユーザで作成されるが、ファイル出力処理は権限の無いユーザで実行されるため
- docker groupにコマンド実行ユーザを追加することで、sudo無しでdockerコマンドを実行できるようにすることで解決
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import wx | |
app = wx.App(False) | |
frame = wx.Frame(None, wx.ID_ANY, "Hello World") | |
frame.Show(True) | |
app.MainLoop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import net.arnx.jsonic.JSON | |
import net.arnx.jsonic.JSONWriter | |
def dot = /C:\Users\kaakaa_hoe\Documents\java\jdeps_tree\summary.dot/ as File | |
def deps = new Dependencies() | |
dot.eachLine{ line -> | |
if(isContents(line)) { | |
def e = line[0..-2].replaceAll(/"/, '').split('->') | |
deps.add(e) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 参考: http://mikamikuh.hatenablog.com/entry/2013/06/24/234405 | |
apply plugin: 'java' | |
apply plugin: 'eclipse' | |
sourceSets { | |
main { | |
java.srcDir 'src' | |
resources { | |
include "META-INF/*", "plugin.xml", "icons/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Fluent | |
class SomeOutput < Output | |
Fluent::Plugin.register_output('letschat', self) | |
config_param :lcb_host, :string, :default => 'localhost' | |
config_param :lcb_port, :string, :default => '5000' | |
config_param :lcb_room, :string | |
config_param :lcb_user_token, :string | |
config_param :lcb_user_password, :string | |
config_param :lcb_keys, :string, :default => '' |
JDK 9: Highlights from The State of the Module System
- JigsawはJavaのビルトイン機能なので、多くの情報が出てくる。なので、OSGiを使うよりは先があるだろうという論調。
- ただ、JigsawはJava9以降でしか使えないが、OSGiはそれ以前のバージョンのJavaでも使用できる利点があるため、いますぐにJigsawへの移行を検討しなくてはいけないというわけではない
Tools to extract VBA Macro source code from MS Office Documents http://www.decalage.info/vba_tools
gsf-vba-dump - extract Visual Basic for Applications macros http://manpages.ubuntu.com/manpages/karmic/man1/gsf-vba-dump.1.html
tilarids/mso-dumper https://github.com/tilarids/mso-dumper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gradleでバージョンを上げるタスクを作成する | |
## 概要 | |
プロダクトのバージョンを上げるGradle タスクのサンプル | |
``` | |
$ gradle incrementMajorVersion | |
$ gradle incrementMinorVersion | |
``` |