投稿時間:2020-06-07 00:33:20 RSSフィード2020-06-07 00:00 分まとめ(39件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita 銀河の画像を複数枚タイル状に表示する方法 https://qiita.com/yu_og/items/7730ce8e5a4278b28dac それらの天体のfitsファイルを順に保存していく。 2020-06-06 23:58:39
python Pythonタグが付けられた新着投稿 - Qiita ELMo, BERT, USEを使って文章の異常検知をする https://qiita.com/jovyan/items/bdfd3c660173be20932a 前回の記事で示した結果では、異常度の分布に対するカイ乗分布の当てはまりが良く、正常データと異常データの分布がかなりはっきりと分かれていたので、上述の方法で決めた閾値で高い精度が得られていました。 2020-06-06 23:48:17
python Pythonタグが付けられた新着投稿 - Qiita 部屋の不快指数を定期的に測定して、危険な値ならLINE通知を送るシステムをRaspberryPiで作ってみた https://qiita.com/kabu0404/items/7030e531b7c97263f70e 部屋の不快指数を定期的に測定して、危険な値ならLINE通知を送るシステムをRaspberryPiで作ってみたきっかけ今年も暑くなってきたけれど、クーラーってどれくらいの暑さで使うのがいいんだろう不快指数を測定して「危ないからクーラー使え」って通知が来たらきっと楽だよな……屋内でも熱中症の危険がある日本の夏、命を救うことが出来るシステム……かもしれないラズパイにセンサ接続して疎通だけならやってたし、作ってみるかシステム概要図注意試行錯誤しながらのメモを元に書いた記事なので、手順に抜け漏れがあるかもしれません……使った物RaspberryPiZeroWHAEBMEBME使用温湿度・気圧センサモジュールキットLINENortifyラズパイ用OSの準備Winで作業OSをSDカードに書き出しRaspberryPiImagerをダウンロードしてインストール起動してOSと書き出しするsdカードを指定して実行OSを書き出したSDカードのルートにファイル生成ssh空ファイルでOKwpasupplicantconfwpasupplicantconfcountryJPctrlinterfaceDIRvarrunwpasupplicantGROUPnetdevupdateconfignetworkssidSSIDpsk暗号化キーラズパイ起動後設定linuxraspberrypi作業sshアクセスLinuxlinuxsshpiraspberrypilocalpassraspberryラズパイ初期設定raspberrypiraspberrypisudoユーザ作成sudoadduserkabusudousermodaGsudokabusukabu諸々更新sudoaptupdatesudoaptupgradeタイムゾーンロケール設定sudotimedatectlsettimezoneAsiaTokyosudolocalectlsetlocalejaJPUTF最終的にsudoraspiconfigでいじったかも公開鍵でのssh接続linux過去にsshkeygentrsaしてたので既存の公開鍵を送るcdsshscpidrsapubkaburaspberrypilocalsshraspberrypicdchmodsshcdsshcatidrsapubgtgtauthorizedkeyschmodauthorizedkeysrmfvsshidrsapubBME設定BMEの接続ブレッドボード経由で下表のように接続BME側ピン番号VDDVGNDGNDCSBSDIICSDASDOGNDSCKICSCL※スイッチサイエンス版の製品だとピンが一本多いので注意BMEの疎通raspberrypispiicを有効化localeを直すsudoraspiconfigsudochmoddevic接続状態を確認icdetectyabcdefに接続されていることを確認レジスタ内容を確認icdumpyxNosizespecifiedusingbytedataaccessabcdefabcdefaeffceaepnVfddbedffffffacadbdampabcKbfffffTcffdeeffffffffffffgWAfffレジスタ設定動作設定系レジスタの値確認echonxFicgetyxxFechonxFicgetyxxFechonxFicgetyxxF動作設定系レジスタの値設定icsetyx内部アドレス値icsetyxxFxAicsetyxxFxicsetyxxFx設定値は特殊なことをしたくなければ上記の設定でOKなはず温度・湿度・気圧の値取得icdumprxFxFEyxNosizespecifiedusingbytedataaccessabcdefabcdeffbTtbこんな感じで値が取得できていればOKのはず他のレジスタの値を利用して上手いことやるときれいにデータが出力できるらしいPythonでの測定値取得準備キットは秋月電子の製品ですが、センサー自体は同じなのでSWITCHSCIENCEのサンプルコードを活用していますraspberrypimkdirictestcdictestwgetunzipmasterzip展開後必要となるのはictestBMEPythonbmesamplepyのみなので任意のDir配下にtouchしたファイルにコード内容をコピペで十分cdBMEPythonsudopythonbmesamplepytemp℃pressurehPahumLINE通知用のトークン取得PythonでLINEメッセージ送信を参考にトークンを取得しましたLINE通知用の追加コーディング気温・湿度用関数をコンソール出力から値返却に変更bmesamplepy気温用関数defcompensateTadcT中略printtempf℃temperaturereturntemperature湿度用関数defcompensateHadcH中略printhumfvarhreturnvarhデータ取得関数でLINE通知用関数を呼び出しbmesamplepydefreadData中略tempcompensateTtempraw気圧は使用しないcompensatePpresrawhumcompensateHhumraw不快指数を計算し超なら通知を送るdiscomfortIndextemphumtempifdiscomfortIndexgtsendNoticetemphumdiscomfortIndexLINE通知送信用関数を追加PythonでLINEメッセージ送信を参考にコーディングしましたbmesamplepydefsendNoticetemphumdiscomfortIndexurltoken通知用のトークンを設定headersAuthorizationBearertokennowdatetimedatetimenowmessagern日付nowstrftimeYmdrn時刻nowstrftimeHMSrn指数fdiscomfortIndexrn気温f℃temprn湿度fhumpayloadmessagemessagerrequestsposturlheadersheadersparamspayload定期実行の設定RaspberryPiで初めてcrontabを使う前にを参考にcronで定期実行を設定lineNoticeCron分間隔で実行する例kabusudopythonhomekabuictestBMEPythonbmesamplepy実行結果作ってみた感想LINENortifyトークン取得したらリクエスト送るだけでOKだったので楽グループのトークルームにも通知を送信可能らしいので結構使えるかも。 2020-06-06 23:43:16
js JavaScriptタグが付けられた新着投稿 - Qiita npm installでインストールできるモジュールを作るまでの流れについて https://qiita.com/aqmr-kino/items/2c98e6926684f981ed95 npminstallgitインストールしたモジュールの使い方npmでパッケージとしてインストールしたモジュールは一般的なnpmパッケージと同様にrequireで読み込み、パッケージ内でexportされている各関数やクラスを利用することができる。 2020-06-06 23:57:53
js JavaScriptタグが付けられた新着投稿 - Qiita JavaScript タイマーの使い方 https://qiita.com/toshimin/items/15261824456665e4dcd4 2020-06-06 23:47:23
js JavaScriptタグが付けられた新着投稿 - Qiita jQueryをシンボリックリンクするのがいいと思いますがどうか? https://qiita.com/YAJIMA/items/245539b34dee67b9a091 jQueryをシンボリックリンクするのがいいと思いますがどうかディレクトリをまるっと上書きするパターンvarwwwhtmlindexhtmljsjqueryjsindexhtmlltscripttypetextjavascriptsrcjsjqueryjsgtltscriptgtよくあるパターン。 2020-06-06 23:37:13
js JavaScriptタグが付けられた新着投稿 - Qiita Angular JSビルドステーション https://qiita.com/8amjp/items/4613240320a7796cefc0 お聞きください。 2020-06-06 23:08:46
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ファイルにある画像を読み込み、表示と配列情報を出力したいがエラーが出てしまう https://teratail.com/questions/268104?rss=all 2020-06-06 23:54:35
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ファイルをsftpで転送する際にエラーがでる。 https://teratail.com/questions/268103?rss=all laravel 2020-06-06 23:52:02
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) categoryの中間テーブルの値を保存したい https://teratail.com/questions/268102?rss=all categoryの中間テーブルの値を保存したい投稿時にカテゴリidも一緒に紐付けして保存したいのですが保存されずに困っております。 2020-06-06 23:49:32
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) IsADirectoryError: [Errno 21] Is a directory: 'sakura_image'を解決したいです。 https://teratail.com/questions/268101?rss=all IsADirectoryErrorErrnoIsadirectoryxsakuraimagexを解決したいです。 2020-06-06 23:40:41
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) AWS S3+RDSでのデータのやり取りについて https://teratail.com/questions/268100?rss=all AWSSRDSでのデータのやり取りについてAWSおよびインフラの知識が疎くて申し訳ありません。 2020-06-06 23:36:07
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) positionタグ https://teratail.com/questions/268099?rss=all nbsppositionrelativenbsp 2020-06-06 23:34:51
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Jqueryで取得した外部htmlにcssを適用する方法 https://teratail.com/questions/268098?rss=all Jqueryで取得した外部htmlにcssを適用する方法プログラミング初心者です。 2020-06-06 23:33:51
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) WordPress で the_content() の loop が一部だけうまくいきません https://teratail.com/questions/268097?rss=all WordPressでthecontentのloopが一部だけうまくいきませんWordPressnbsp初心者です。 2020-06-06 23:14:58
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 【助けて下さい😭】初心者Githubの接続ができません。 https://teratail.com/questions/268096?rss=all 【助けて下さい】初心者Githubの接続ができません。 2020-06-06 23:10:35
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) CSS内のプロパティの必要性 https://teratail.com/questions/268095?rss=all 2020-06-06 23:04:42
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) link_toでdeleteメソッドが飛ばせない(Rails6+webpacker) https://teratail.com/questions/268094?rss=all linktoでdeleteメソッドが飛ばせないRailswebpacker前提・実現したいことRailsで簡単なブログの作成をしております。 2020-06-06 23:01:32
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) vscodeでパイソンがうまくいきません https://teratail.com/questions/268093?rss=all 無知で申し訳ないのですが、ターミナルにある文字をCtrlClickすると、「このファイルはパイナリか、サポートされていないテキストエンコードを使用しているため、エディターに表示されません」や「launcherを開くことができません。 2020-06-06 23:00:17
Azure Azureタグが付けられた新着投稿 - Qiita Azure Private LinkをTerraformスクリプトを用いて構築する https://qiita.com/mochizukithr/items/aaf55a4ed9d5b6625461 この点以外はTerraform公式ドキュメントにあるサンプルを切り貼りしてつなぎ合わせれば完成します冒頭に記載した「AzurePortalで構築する場合はウィザードにしがって進めれば構築できる」というのは、AzurePortalでPrivateLinkを構築した場合はプライベートDNSサーバが自動で作成されるためです今回のようにTerraformスクリプトを用いて構築する場合はTerraformスクリプトの中でプライベートDNSも併せて構築し、かつPrivateLinkに必要なDNSレコードの設定が必要ですちゃんとMSのドキュメントを読んでから構築すれば躓き無くできるのですが、いつものノリでTerraform公式ドキュメントるサンプルを見ながら作るとハマりポイントでした。 2020-06-06 23:07:58
Git Gitタグが付けられた新着投稿 - Qiita Git for Windows アップデートコマンド https://qiita.com/thankkingdom/items/14d1346b25def557c1af GitforWindowsアップデートコマンドはじめに普段、自宅のWindowsPCをあまり使わない。 2020-06-06 23:11:15
Ruby Railsタグが付けられた新着投稿 - Qiita 【Tips】 assign_attributes は association を更新する!? https://qiita.com/Moo_Moo_Farm/items/1662064366270c61b220 【Tips】assignattributesはassociationを更新するformobjectを触っていた時に不思議な挙動に出会いました。 2020-06-06 23:27:35
海外TECH Ars Technica Exploit code for wormable flaw on unpatched Windows devices published online https://arstechnica.com/?p=1681718 execution 2020-06-06 14:42:56
Apple AppleInsider - Frontpage News Here's where Apple Stores have reopened around the world https://appleinsider.com/articles/20/05/25/heres-where-apple-stores-have-reopened-around-the-world Here x s where Apple Stores have reopened around the worldApple is slowly opening up stores around the globe as lockdown restrictions are lifted Here s where they ve opened up as well as where they remain closed updated on June 2020-06-06 14:06:44
海外TECH Engadget The Morning After: Weber's SmokeFire grills are getting smarter https://www.engadget.com/weber-smokefire-command-and-conquer-joy-con-drift-140030063.html The Morning After Weber x s SmokeFire grills are getting smarterAfter another extremely regular week it s not really a surprise to be comforted by something familiar even if that something is a real time strategy war game EA I think my first Command amp amp Conquer experience was on Sega Saturn which quickly 2020-06-06 14:00:33
海外科学 NYT > Science How to Navigate Your Community Reopening? Remember the Four C’s https://www.nytimes.com/2020/06/06/health/virus-reopenings.html choices 2020-06-06 14:13:26
海外科学 NYT > Science Coronavirus Live Updates: Virus Fears Over Global Protests https://www.nytimes.com/2020/06/06/world/coronavirus-updates.html Coronavirus Live Updates Virus Fears Over Global ProtestsHealth ministers sounded the alarm amid demonstrations against racism from Australia to Britain Pandemic job cuts hit African Americans and Latinos harder And researchers questioned New York s blanket shutdown 2020-06-06 14:47:59
海外ニュース Japan Times latest articles Trump reads economic boom into U.S. jobs data, but analysts urge caution https://www.japantimes.co.jp/news/2020/06/06/business/economy-business/trump-economic-boom-coronavirus/ Trump reads economic boom into U S jobs data but analysts urge cautionU S President Donald Trump has always been a big numbers guy He s proven himself adept at taking even the most grim numbers and giving himself a 2020-06-07 00:47:25
海外ニュース Japan Times latest articles Suntory chief says worst is over as cities in Japan reopen after coronavirus curbs https://www.japantimes.co.jp/news/2020/06/06/business/corporate-business/suntory-reopen-coronavirus/ Suntory chief says worst is over as cities in Japan reopen after coronavirus curbsCEO Takeshi Niinami estimates roughly percent of the nation s diners will return to their favorite culinary haunts supplied by its drinks 2020-06-06 23:00:34
海外ニュース Japan Times latest articles Michael Jordan pledges $100 million for racial equality, justice https://www.japantimes.co.jp/sports/2020/06/06/basketball/nba/michael-jordan-donates-100-million-racial-equality-justice/ Michael Jordan pledges million for racial equality justiceMichael Jordan and the Jordan Brand are giving million to organizations dedicated to promoting racial equality and social justice In a joint statement Friday on 2020-06-07 00:50:20
海外ニュース Japan Times latest articles Harry Kane hopes Tottenham can benefit from Premier League being sole focus https://www.japantimes.co.jp/sports/2020/06/06/soccer/harry-kane-hopes-tottenham-can-benefit-premier-league-sole-focus/ Harry Kane hopes Tottenham can benefit from Premier League being sole focusHarry Kane hopes Tottenham can benefit from focusing solely on the Premier League when the battle for a place in next season s Champions League resumes The 2020-06-06 23:37:07
ニュース BBC News - Home Kameko stuns Pinatubo to win 2,000 Guineas at Newmarket https://www.bbc.co.uk/sport/horse-racing/52941233 classic 2020-06-06 14:58:16
ニュース BBC News - Home How the NFL made its U-turn on kneeling https://www.bbc.co.uk/sport/american-football/52948942 anthem 2020-06-06 14:17:21
ニュース BBC News - Home Coronavirus UK map: How many confirmed cases are there in your area? https://www.bbc.co.uk/news/uk-51768274 government 2020-06-06 14:04:58
LifeHuck ライフハッカー[日本版] Amazonの売れ筋ランキングから、ライフハッカー読者にオススメのビジネス書10選 https://www.lifehacker.jp/2020/06/amazon-business-book-osusume-0606.html amazon 2020-06-06 23:30:00
北海道 北海道新聞 現行減産7月末まで延長か 原油需要低迷で産油国 https://www.hokkaido-np.co.jp/article/428244/ 石油輸出国機構 2020-06-06 23:31:00
北海道 北海道新聞 ボクシング、村田昴らプロ転向 帝拳ジム https://www.hokkaido-np.co.jp/article/428240/ 世界選手権 2020-06-06 23:16:00
北海道 北海道新聞 長谷部がアジア最多出場 サッカー、ドイツ1部 https://www.hokkaido-np.co.jp/article/428238/ 長谷部誠 2020-06-06 23:11:00
北海道 北海道新聞 強盗傷害疑い大阪の男逮捕 被害女性、ストーカー相談 https://www.hokkaido-np.co.jp/article/428237/ 交際相手 2020-06-06 23:10:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)