pod init
use_frameworks!
target 'YOUR_PROJECT_NAME' do
| import xlrd | |
| book = xlrd.open_workbook(__name__, encoding_override="cp932") | |
| sheet = book.sheet_by_name("シート名") | |
| # 行数・列数取得 | |
| rows = sheet.nrows | |
| cols = sheet.ncols | |
| # 値の取得 |
| @ECHO OFF | |
| SET BASE_DIR=%~DP0 | |
| CD /d %BASE_DIR% | |
| REM *************************************************************************** | |
| REM コマンドプロンプトのタイトルをフォルダ名に変更します。 | |
| :CMD_TITLE | |
| set x=%BASE_DIR:~0,-1% | |
| for /F "delims=" %%a in ('echo "%x%"') do SET DIRNAME=%%~na |
https://github.com/WinRb/vagrant-windows/
| * rubyinstaller-2.0.0-p481 を `C:\Ruby` にインストール | |
| * DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe を解凍して、 ruby dk.rb init -> ruby dk.rb install | |
| * gem install fluentd-0.10.42.gem | |
| この時点の `C:\Ruby\lib\ruby\gems\2.0.0\gems` は以下の通り。 | |
| * cool.io-1.2.3-x86-mingw32 | |
| * ffi-1.9.3-x86-mingw32 | |
| * fluentd-0.10.42 | |
| * http_parser.rb-0.5.3-x86-mingw32 | |
| * msgpack-0.5.8-x86-mingw32 | |
| * rake-0.9.6 |
| winrm -r:127.0.0.1:15985 -u:vagrant -p:vagrant [COMMAND] |
| @powershell -NoProfile -ExecutionPolicy unrestricted -File "path/to/powershell.ps1" |
| Get-WmiObject -Class Win32_NetworkAdapter -Filter "NetConnectionID = 'ローカル エリア接続'" | %{ | |
| $_.NetConnectionID = 'Connection2' | |
| $_.Put() | |
| } |