毎日モザイク

White Room Layout Works

2013-02-05T03:14:34+09:00 [Tue]
--> [Ubuntu]

いらんかったんや……

申請しろというのは古いFAQで、現在は自分で設定できるようになっていました。

逆引き設定ができるようになってからのFAQも既に古いFAQで、設定画面が違っていましたw

GUI設定はそこら辺が難しい……

キャプチャを撮って説明を書いて……。管理者の人も大変だろうな。

2013-02-02T11:15:26+09:00 [Sat]
--> [Ubuntu]

あるわけがないw

思い出してみたら、逆引の登録の申請も委譲の申請もした記憶がないw

申請せねば……。

デフォルトで設定してあるサービスばっかり使ってたので、すっかり抜け落ちてた……。

2013-01-31T06:27:58+09:00 [Thu]
--> [Ubuntu]

逆引きがない……

会社のレンタルサーバの移転で、DNSの設定が簡単そうだったのでonamaeさんのレンタルDNSにしてみました。

AレコードとMXとspfレコードを書いたら終了。らくちんw で、最近は$TTLが非常に短く設定されているので、数分で新サーバに切り替わりました。勝ったw

って、あれ? .in-addr.arpaを書いた記憶が無い……。

onamaeさんのレンタルDNSをプライマリにすると逆引きの設定がないのでした……。

yahooさんは割と緩くて、これでもpassが付きますが、gmailではsoftfailと普通の対応。スパムギリギリです。

忙しいので、しばらくはこのまま運用して、スパム扱いが多いようだったらレンタルサーバ側にプライマリの設定をしよう。

2013-01-07T03:34:35+09:00 [Mon]
--> [日常]

あけまして。

おめでとうございます。

本年もよろしくお願いいたします。

2012-06-22T13:34:54+09:00 [Fri]

indesign 角丸修正

サイズ変更時にめんどくさいので、変更してからもう一度やればいいように変更。

■の外側に追加する方は大きさが変わるんで放置。位置決めが変わらない内側で何とかするタイプだけ。

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
tell application "Adobe InDesign CS5"
    tell document 1
        try
            set ss to object reference of selection
        on error
            display dialog "選択されていません" buttons {"キャンセル"} default button 1
        end try
        set {button returned:btres} to display dialog "上下or左右" buttons {"上下", "左右", "キャンセル"} default button 3
        repeat with s in ss
            convert shape s given convert to rectangle
            set r to rotation angle of s
            tell application "Adobe InDesign CS5"
                set myRotateMatrix_org to make transformation matrix with properties {counterclockwise rotation angle:r}
                set myRotateMatrix_flat to make transformation matrix with properties {counterclockwise rotation angle:-r}
            end tell
            transform s in pasteboard coordinates from center anchor with matrix myRotateMatrix_flat
            set {y, x, yy, xx} to geometric bounds of s
            set {pr1, pr2, ps} to {{y, x, yy, x + yy - y}, {y, xx - (yy - y), yy, xx}, {y, x + ((yy - y) / 2), yy, xx - ((yy - y) / 2)}}
            if btres = "上下" then set {pr1, pr2, ps} to {{y, x, y + xx - x, xx}, {yy - (xx - x), x, yy, xx}, {y + ((xx - x) / 2), x, yy - ((xx - x) / 2), xx}}
            set r1 to duplicate s
            convert shape r1 given convert to oval
            set geometric bounds of r1 to pr1
            set r2 to duplicate s
            convert shape r2 given convert to oval
            set geometric bounds of r2 to pr2
            set geometric bounds of s to ps
            set ns to add path s with {r1, r2}
            transform ns in pasteboard coordinates from center anchor with matrix myRotateMatrix_org
        end repeat
    end tell
end tell