- まとめた目的
- プロジェクトのルートディレクトリにsubtree先を展開できないかなーという話を検証したので、その記録
subtreedDir/ /A /B とかがあるとき、それをsubtreeとして呼び出す、childプロジェクトがあるとする。このとき、
child/
class NewsFeed | |
attr_accessor :title, :memo | |
def initialize(title, memo) | |
@title = title | |
@memo = memo | |
end | |
def title | |
@title | |
end |
そもそも サービスってなんやねん | |
- デーモンです | |
- デーモンって? | |
- バックグラウンドプロセスとして動作するプログラムを意味する。 ユーザーが直接対話的に制御するプログラムではない。 | |
- へー。 | |
- これをいろいろ扱えるのがdaemontoolsか。 |
$ openssl genrsa 2048 > server.key | |
$ openssl req -new -key server.key > server.csr | |
$ openssl x509 -days 3650 -req -signkey server.key < server.csr > server.crt |
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
test := make(map[string]interface{}) | |
test["test"] = "yoyo" | |
tetete(test) |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
hash = {"some_key" => "value", | |
"nested" => {"key1" => "val1", | |
"key2" => "val2", | |
"key3" => { | |
"nenene" => "aa" | |
}}} | |
class Hash | |
def insert_before(key, kvpair) |
#!/usr/bin/env ruby | |
# DECRYPT | |
require 'openssl' | |
require 'base64' | |
private_key_file = 'private.pem'; | |
password = 'boost facile' |
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Left</name> | |
<identifier>private.left</identifier> | |
<autogen> | |
__KeyToKey__ KeyCode::K, ModifierFlag::COMMAND_R, KeyCode::CURSOR_LEFT | |
</autogen> | |
</item> |