js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Promise 入門 |
https://qiita.com/obukoh/items/a52399c96a31d6f92491
|
Promiseチェーン複数の非同期処理を順番に実行し、前の処理が完了してからその結果を次の処理で使うことができます。 |
2020-05-25 02:57:15 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
CSSだけで幻想的な光を放つニキシー管を作れるのか? |
https://qiita.com/interimadd/items/9b09719047a145971406
|
一筆書きで数字が表されているの上がくっついているの下の線はない線が細い構成している線が少ないこれに加えて、管を使っているので少し縦長という特徴もありますが、フォントの縦横比は後で変えられるので、フォント選定の際は考えなくても良さそうです。 |
2020-05-25 02:27:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
heroku config:set DISABLE_COLLECTSTATIC=1 を実行してもエラーが消えません。 |
https://teratail.com/questions/264558?rss=all
|
前提・実現したいことDjangoを用いて作成したWEBアプリをHerokuへデプロイしたのですが、ブラウザにApplicationnbsperror画面が表示されました。 |
2020-05-25 02:48:49 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ワードプレスのGutenberg対応「block lab」プラグインについて |
https://teratail.com/questions/264557?rss=all
|
こちらを無視しない設定を教えてほしいです。 |
2020-05-25 02:38:49 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
mochaでjQuery.fnがundifinedになってしまう。 |
https://teratail.com/questions/264556?rss=all
|
mochaを用いてjqueryのコンテンツをテストしようとしたのですが、テスト実行時にエラーになってしまいます。 |
2020-05-25 02:37:25 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Rubyのバージョンを変えたらbundle installができなくなった |
https://qiita.com/Wa_takumi/items/06a912fb5adae2efdbb6
|
Rubyのバージョンを変えたらbundleinstallができなくなった事件発生ある日のことだったbundleinstallを入力するとTracebackmostrecentcalllastrbenvversionsbinrubyinvalidoptionhwillshowvalidoptionsRuntimeErrorええええ何だこれ他のコマンドも受け付けてくれない、何をしでかしたんだ…これまでを振り返ってみよう自分が致命的な何かをしてしまったはず…Rubyで開発していた自分の環境vendorbundlerubygemsactivehashlibassociationsassociationsrbwarningUsingthelastargumentaskeywordparametersisdeprecatedmaybeshouldbeaddedtothecall自分の環境vendorbundlerubygemsactiverecordlibactiverecordassociationsrbwarningThecalledmethodbelongstoisdefinedhereRailsコマンドを入力すると警告がたくさん出て鬱陶しいなgemの警告は大事だけどまあいっか環境変数を追加して対処exportRUBYOPTWnodeprecatedWnoexperimentalzshrcに上を追加したら警告が消えたよストレスフリーだねRubyのバージョンを下げて開発しなければならなくなった別バージョンでの開発が不可欠になったのでバージョンを下げましたRubyTracebackmostrecentcalllastrbenvversionsbinrubyinvalidoptionhwillshowvalidoptionsRuntimeError今までは別のバージョンにしてもこんなこと起きなかったのにな…結論exportRUBYOPTWnodeprecatedWnoexperimental環境変数からこれを削除したら解決しました。 |
2020-05-25 02:01:16 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
apache2 入門 |
https://qiita.com/obukoh/items/5e960319d02426a60033
|
ltDirectoryvarwwwgtltDirectorygtとなっている部分を以下のように変更する。 |
2020-05-25 02:37:23 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
EKSにデプロイしたGitLabのバージョンを12から13にアップデートする |
https://qiita.com/samskeyti/items/3da9e0c5eeaa193b9a18
|
今回はHelmを使用しましたが、Helmでも同様に成功することを確認済みです。 |
2020-05-25 02:33:11 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Rubyのバージョンを変えたらbundle installができなくなった |
https://qiita.com/Wa_takumi/items/06a912fb5adae2efdbb6
|
Rubyのバージョンを変えたらbundleinstallができなくなった事件発生ある日のことだったbundleinstallを入力するとTracebackmostrecentcalllastrbenvversionsbinrubyinvalidoptionhwillshowvalidoptionsRuntimeErrorええええ何だこれ他のコマンドも受け付けてくれない、何をしでかしたんだ…これまでを振り返ってみよう自分が致命的な何かをしてしまったはず…Rubyで開発していた自分の環境vendorbundlerubygemsactivehashlibassociationsassociationsrbwarningUsingthelastargumentaskeywordparametersisdeprecatedmaybeshouldbeaddedtothecall自分の環境vendorbundlerubygemsactiverecordlibactiverecordassociationsrbwarningThecalledmethodbelongstoisdefinedhereRailsコマンドを入力すると警告がたくさん出て鬱陶しいなgemの警告は大事だけどまあいっか環境変数を追加して対処exportRUBYOPTWnodeprecatedWnoexperimentalzshrcに上を追加したら警告が消えたよストレスフリーだねRubyのバージョンを下げて開発しなければならなくなった別バージョンでの開発が不可欠になったのでバージョンを下げましたRubyTracebackmostrecentcalllastrbenvversionsbinrubyinvalidoptionhwillshowvalidoptionsRuntimeError今までは別のバージョンにしてもこんなこと起きなかったのにな…結論exportRUBYOPTWnodeprecatedWnoexperimental環境変数からこれを削除したら解決しました。 |
2020-05-25 02:01:16 |
海外TECH |
DEV Community |
Posting straight from .Rmd to dev.to (for real this time) |
https://dev.to/daveparr/posting-straight-from-rmd-to-dev-to-1j4p
|
Posting straight from Rmd to dev to for real this time I ve spent a little time fleshing out my open source Rpackage to post from Rmdstraight to dev to Update from VThe biggest difference from the firstversion isthat there is now a single function to move straight from an Rmd ondisk to a post on dev to In V the user still had to Write an Rmd knit to github document post new article using my dev to ol package De duplicate the title Optionally Add meta dataWith this new function the workflow is Write an Rmd post new article using my dev to ol package title Post a markdown file to dev to description Create a new post from an Rmd param file The path to the file param key Your API key Default NA return The response details Will look for an api key in the REnviron file Seems to check if the body is identical to a previous article and error if so with Body markdown has already been taken The following YAML arguments are read from the file YAML frontmatter if present describe item title A character string item series A character string item published A boolean item tags list of character strings code tag tag The default table output method renders a very large print code block The workaround is to use code link knitr kable examples dontrun if interactive post new article articles my article Rmd seealso code link rmarkdown yaml front matter code link rmarkdown render code link readr read file code link stringr str remove code link glue glue code link httr POST code link httr add headers code link httr content rdname post new article export importFrom rmarkdown yaml front matter render importFrom readr read file importFrom stringr str remove importFrom glue glue importFrom httr POST add headers contentpost new article lt function file key NA check file lt is postable Rmd file if check file file frontmatter lt rmarkdown yaml front matter file output path lt rmarkdown render data test Rmd output format github document output dir getwd file string lt readr read file output path gt stringr str remove glue glue title n n n n title file frontmatter title response lt httr POST url httr add headers api key api key key key body list article list title file frontmatter title series file frontmatter series published file frontmatter published tags file frontmatter tags body markdown file string encode json httr content response else message attr check file msg Notable changes Extract YAML frontmatter and render from Rmd with rmarkdownThe function will now accept an Rmd file directly which it renders tothe correct markdown output internally This was the biggest partmissing from V and was easy to do with rmarkdown render A greatside effect is that I can also access the YAML frontmatter of the Rmd which I can use to populate the meta data such as the series thepost is in the tags the post is relevant to and the published status Check file is suitable withassertthatAnother benefit is that there is now a concrete object I can check forcorrectness I ve adopted the assertthat package to help me and mostof the work was done in thiscommit The workhorse function isis postable Rmd is postable Rmd lt function file assertthat see if assertthat is readable file assertthat has extension file Rmd Using assertthat see if was really useful It allowed me to check formultiple conditions and if they were both passed it returns TRUE However if they did not pass it returns FALSE as well as a messageattribute This meant that I could very trivially plumb that back intothe main function for user feedback as to what is the problem with theline message attr check file msg Additionally as I add criteriato the function I know they will all return human well formatted errormessages Great work assertthat Deduplicate the title with glue and stringrOne of the issues with the original approach was the call to render willgenerate an md with a title in the file but the dev to api wantsthe title as a separate part of the call stringr and glue to therescue Using glue is basically a super powered paste It does nicethings to insert named string variables into a templated string I usethis to make the string that is what I want to remove from thebody markdown object and then do the actual removal withstr remove Next stepsImages The real power of Rmarkdown comes from turning code intonotebooks populated with graphics representing your data science work Ihave not yet found an api endpoint forimages The POST looks like it will allow a cover image to be included but onthe face of it I don t think it will allow images to be inserted atarbitrary points in the article text Still I ll start there and seewhere it goes |
2020-05-24 17:08:05 |
Apple |
AppleInsider - Frontpage News |
Apple Watch's healthcare run can go on for miles |
https://appleinsider.com/articles/20/05/24/apple-watchs-healthcare-run-can-go-on-for-miles
|
Apple Watch x s healthcare run can go on for milesThe Apple Watch s path into healthcare is a different route from its original fashion focus but the pivot has led to the prospect of future designs loaded with even more fitness related features |
2020-05-24 17:34:45 |
海外TECH |
Engadget |
Samsung gets approval for Galaxy Watch Active 2's ECG, but only in Korea |
https://www.engadget.com/samsung-galaxy-watch-active-2-ecg-approval-174543781.html
|
Samsung gets approval for Galaxy Watch Active x s ECG but only in KoreaThe ECG sensor on the Galaxy Watch Active has gone unused for the better part of a year but it s finally close to fulfilling its original purpose in one country anyway Samsung has received approval to use the ECG feature for measuring heart r |
2020-05-24 17:45:43 |
海外科学 |
NYT > Science |
Live Coronavirus News Updates: Brazil, Churches, Hong Kong |
https://www.nytimes.com/2020/05/24/world/coronavirus-news-update.html
|
Live Coronavirus News Updates Brazil Churches Hong KongThe national death toll approaches Houses of worship around the world weigh when and how to reopen The U S may ban travel from Brazil |
2020-05-24 17:28:35 |
海外TECH |
WIRED |
30 Best Memorial Day Sales of 2020: Tech, Headphones, TVs, and More |
https://www.wired.com/story/best-memorial-day-sales-2020
|
weekend |
2020-05-24 17:46:00 |
ニュース |
@日本経済新聞 電子版 |
[社説]政府は効果的な公的資本注入策を探れ https://t.co/W1DTPrlc6v |
https://twitter.com/nikkei/statuses/1264615144258072578
|
資本 |
2020-05-24 17:52:00 |
ニュース |
@日本経済新聞 電子版 |
[社説]物を運ぶタクシーに期待する https://t.co/QiKTraMQUr |
https://twitter.com/nikkei/statuses/1264614641440665600
|
社説 |
2020-05-24 17:50:00 |
ニュース |
@日本経済新聞 電子版 |
個人の外貨預金頭打ちに 金利低下が影、生活不安も https://t.co/n17dyWjgrL |
https://twitter.com/nikkei/statuses/1264613131273134081
|
外貨預金 |
2020-05-24 17:44:00 |
ニュース |
@日本経済新聞 電子版 |
在宅勤務、長期化視野に工夫 「ブラック家族」回避 https://t.co/d1LJKJYkb9 |
https://twitter.com/nikkei/statuses/1264610614648791040
|
長期化 |
2020-05-24 17:34:00 |
ニュース |
@日本経済新聞 電子版 |
コロナが崩す「不動産神話」 欧州銀に迫る複合危機 https://t.co/xF4jSRYrLI |
https://twitter.com/nikkei/statuses/1264609608032645121
|
複合 |
2020-05-24 17:30:00 |
ニュース |
@日本経済新聞 電子版 |
「自粛不要、本業で貢献を」 ファストリ柳井氏の信念 https://t.co/steype6tqa |
https://twitter.com/nikkei/statuses/1264607846408151040
|
貢献 |
2020-05-24 17:23:00 |
ニュース |
@日本経済新聞 電子版 |
不安だからこそ自分を頼る 会社に依存しない働き方 https://t.co/nlZzsiN7u0 |
https://twitter.com/nikkei/statuses/1264604827432050688
|
自分 |
2020-05-24 17:11:00 |
ニュース |
@日本経済新聞 電子版 |
世界を変えたネット広告(6) 「FONTPARK 2.0」 https://t.co/FMEIHW5Pwz |
https://twitter.com/nikkei/statuses/1264604826333110272
|
fontpark |
2020-05-24 17:11:00 |
ニュース |
@日本経済新聞 電子版 |
「超過死亡」200人以上か コロナ感染死、把握漏れも https://t.co/aAmFnae70R |
https://twitter.com/nikkei/statuses/1264602562147180547
|
超過 |
2020-05-24 17:02:00 |
海外ニュース |
Japan Times latest articles |
Japan to completely lift state of emergency as virus cases tail off |
https://www.japantimes.co.jp/news/2020/05/24/national/japan-completely-lift-state-of-emergency-coronavirus/
|
hokkaido |
2020-05-25 03:01:44 |
海外ニュース |
Japan Times latest articles |
Shift to online classes leaves Japan’s university teachers exhausted |
https://www.japantimes.co.jp/news/2020/05/24/national/university-teachers-japan-exhausted-online-classes/
|
complain |
2020-05-25 03:55:02 |
海外ニュース |
Japan Times latest articles |
Daring Tact wins second leg of filly triple crown at Japanese Oaks |
https://www.japantimes.co.jp/sports/2020/05/24/more-sports/horse-racing/daring-tact-wins-second-leg-filly-triple-crown-japanese-oaks/
|
Daring Tact wins second leg of filly triple crown at Japanese OaksDaring Tact captured the st running of the Japanese Oaks on Sunday and became the second unbeaten horse and first in years to win |
2020-05-25 03:13:44 |
海外ニュース |
Japan Times latest articles |
Takashi Omae: Uplifting his community through udon |
https://www.japantimes.co.jp/life/2020/05/24/people/takashi-omae/
|
debut |
2020-05-25 03:00:23 |
海外ニュース |
Japan Times latest articles |
Solving pandemic-era problems with the help of two apps and a fan |
https://www.japantimes.co.jp/life/2020/05/24/digital/pandemic-apps/
|
collection |
2020-05-25 02:59:18 |
ニュース |
BBC News - Home |
Boris Johnson backs key aide Dominic Cummings in lockdown row |
https://www.bbc.co.uk/news/uk-52792200
|
backs |
2020-05-24 17:46:14 |
ニュース |
BBC News - Home |
Coronavirus: Schools in England reopening on 1 June confirmed, PM says |
https://www.bbc.co.uk/news/education-52792769
|
johnson |
2020-05-24 17:51:03 |
ニュース |
BBC News - Home |
Dominic Cummings: What did he do during lockdown? |
https://www.bbc.co.uk/news/uk-politics-52784290
|
lockdown |
2020-05-24 17:36:30 |
ニュース |
BBC News - Home |
'People are sticking heads in the sand': Huddersfield owner warns 50-60 clubs could go bust next season |
https://www.bbc.co.uk/sport/football/52790371
|
x People are sticking heads in the sand x Huddersfield owner warns clubs could go bust next seasonThe English football pyramid will be destroyed unless the game starts to plan beyond the season says Huddersfield owner Phil Hodgkinson |
2020-05-24 17:42:00 |
ニュース |
BBC News - Home |
Bundesliga: Timo Werner scores three as Leipzig thrash Mainz |
https://www.bbc.co.uk/sport/football/52788609
|
mainz |
2020-05-24 17:54:40 |
ニュース |
BBC News - Home |
Coronavirus: What are the rules on caring for children during lockdown? |
https://www.bbc.co.uk/news/health-52784152
|
lockdown |
2020-05-24 17:54:13 |
ニュース |
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-05-24 17:35:06 |
北海道 |
北海道新聞 |
佐々木朗希が40球の投球練習 ロッテ、「いい感じ」 |
https://www.hokkaido-np.co.jp/article/423897/
|
投球練習 |
2020-05-25 02:23:00 |
北海道 |
北海道新聞 |
放送大有志、コロナで緊急講義 一般向け、ユーチューブで |
https://www.hokkaido-np.co.jp/article/423896/
|
講義 |
2020-05-25 02:23:00 |
コメント
コメントを投稿