oki-miyuki / hnstemp Goto Github PK
View Code? Open in Web Editor NEWTemperture Watch Service for Windows.
Temperture Watch Service for Windows.
1.golang ウィンドウズ版をインストール https://golang.org/dl/ 2.goenv.bat を実行 GOROOT に golang をインストールしたディレクトリを設定 GOPATH に このでディレクトリを設定 HTTP_PROXY, HTTPS_PROXY でプロキシ設定 goenv.bat の set GOROOT=, set GOPATH=, set HTTP_PROXY= set HTTPS_PROXY= を書き換えて実行してください。 3.設定の修正 温度の条件を変更する場合は、 service.go の const ( // 警告温度 warningLimit = 33.5 // エラー温度 emergeLimit = 35.0 ) を修正します。 メール情報を変更する場合は sendmail.go 関数 sendMail の定数を書き換えます func sendMail(name string, title string, description string) error { from := "daemon@foo dot com" to := "tweet@foo dot com" user := "smtp user@foo dot com" password := "your password" subject := title server := "foo dot com" port := "587" 4.build.bat を実行 HnsTemp.exe が生成されます。 5.インストール HnsTemp.exe と USBMeter.DLL をコピーして HnsTemp install を実行します。 サービスとして登録されます。 HnsTempサービスを開いて自動実行に変更します。 HnsTemp remove でサービスから削除されます。 補足: USBMeter.dll は、下記のキットです。 http://strawberry-linux.com/catalog/items?code=52001
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.