- 可能な限り短時間で完成させる
- GoogleCalenderの複数の予定が読み込める
- 分刻みのタイムテーブルを作成して予定を埋めていく事で空き時間の計算をする
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
(* | |
以下のようにAutomatorに設定する | |
1. シェルスクリプトを実行 (update-smbpasswd.sh) | |
2. AppleScriptを実行 (after-update.applescript) | |
3. ループ (ループして自動的に停止:30分) | |
*) | |
on run {input, parameters} | |
if input is not in {{}, {""}, ""} then | |
set AppleScript's text item delimiters to return |
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
#!/bin/bash | |
URL=http://peatix.com/event/87412/view | |
XPATH='//*[@id="tix-249035"]' | |
if [[ -n $(curl -s "$URL" | xmllint --nowarning --html -xpath "$XPATH" - 2>/dev/null | fgrep 'SOLD OUT') ]]; then | |
echo "YAPC2015 SOLD OUT" | |
else | |
echo "YAPC2015 BUY NOW" | |
fi |
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
#!/bin/bash | |
apiurl="https://example.backlog.jp/api/v2/" | |
project="1" | |
apikey="apikey" | |
jqbody=".[].summary, .[].assignee.name, .[].dueDate" | |
function sendMailTalknote() { | |
head="Content-Type: text/plain; charset=ISO-2022-JP"; | |
from="From: notifier@example.com" |
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
#!/bin/bash | |
# | |
# send_rss_to_talknote.sh [Mail] [RSS] | |
# | |
# RSS Example: | |
# http://postd.cc/feed/ | |
# http://b.hatena.ne.jp/hotentry/it.rss | |
# | |
function getRss() { |
- TamperMonkeyをインストール
- nippo_supporter.user.jsにアクセスしてインストール
- http://192.168.1.58/XGweb/login.asp から「就業週報・月報」を開く
- http://192.168.1.20/ip_web/scripts/MN000000.aspx から日報入力をする
- 月毎にMP割合を聞かれるので入力をする