This file contains hidden or 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
set ssid to (do shell script "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport --getinfo") | |
if ssid contains "家のSSID" then | |
tell application "Finder" | |
delay 10 | |
mount volume "afp://サーバのアドレス/ディレクトリ(任意)" | |
-- 複数マウントしたいときは上の行をコピペして増やす | |
end tell | |
end if |
This file contains hidden or 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
<!doctype html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="style.css"> | |
<script src="jquery-1.10.0.js"></script> | |
<script src="jquery.tabs.js"></script> | |
<script> | |
$(function () { | |
$("nav").tabs({ |
This file contains hidden or 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 | |
name=`basename $0` | |
prlctl list --info "${1}" > /dev/null | |
if [ "$?" -eq 0 ] ; then | |
os="$1" | |
id=`prlctl snapshot-list "${os}" | grep -oE '\*{.*\}' | tr -d '*{}'` | |
action="$2" |
NewerOlder