Skip to content

Instantly share code, notes, and snippets.

View kota65535's full-sized avatar

Tomohiko Ozawa kota65535

  • Sony
  • Tokyo, Japan
  • 18:59 (UTC +09:00)
  • X @kota65535
View GitHub Profile
require 'frisky/ssdp'
require 'httpclient'
require 'nokogiri'
require 'json'
require 'pp'
# SSDPで所定のデバイスを検索
SSDP_SEARCH_TARGET = 'urn:schemas-sony-com:service:ScalarWebAPI:1'
SSDP_SEARCH_RETRY = 3
@kota65535
kota65535 / wificonn_linux.sh
Last active November 23, 2015 03:38
スクリプトで無線LANにWi-Fi接続する -Linux編 (Raspberry Pi対応)- ref: http://qiita.com/kota65535/items/9210727d807a31054842
#!/bin/bash
set -u
export LANG="C"
function usage() {
cat <<EOT
Usage: bash ${0##*/} <interface-name> <network-SSID> <password>
EOT
}
@kota65535
kota65535 / wificonn_mac.sh
Last active November 23, 2015 03:39
スクリプトで無線LANにWi-Fi接続する -Mac編- ref: http://qiita.com/kota65535/items/4cd13ac28de51648e370
#!/bin/bash
set -u
export LANG="C"
function usage() {
cat <<EOT
Usage: bash ${0##*/} <network-SSID> <password>
EOT
}