投稿時間:2021-12-07 01:29:28 RSSフィード2021-12-07 01:00 分まとめ(36件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita Django REST FrameworkのSerializerが「いい感じにやってくれている」内部におけるデータの持ち回り方法を読む https://qiita.com/naokiur/items/51a384405f9a3b0eecb9 レンダリング呼び出し元に返却する際、Serializerはvalidateddataに保持したデータを活用します。 2021-12-07 00:42:07
js JavaScriptタグが付けられた新着投稿 - Qiita Next2D NoCode Toolのタイムライン操作 https://qiita.com/ienaga/items/dd64e2123a2b7e25985b Tweenに設定したレイヤーのDisplayObjectを指定するとControllerAreaにイージング設定が表示されます。 2021-12-07 00:53:48
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) JavaのDTOで発生したNullPointerExceptionを解決したいです。 https://teratail.com/questions/372573?rss=all JavaのDTOで発生したNullPointerExceptionを解決したいです。 2021-12-07 00:52:54
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) VMPlayerをインストールしてもVMnet8とVMnet1が作られない https://teratail.com/questions/372572?rss=all VMPlayerをインストールしてもVMnetとVMnetが作られないVMPlayerをインストールしてLinuxの仮想マシンを作ろうとしたのですが、ゲストOSでipconfigでネットワーク設定を見てもVMnetとVMnetが設定されておらず仮想マシンのネットワーク設定ができません。 2021-12-07 00:32:24
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) PHP データベース検索 2つのフォームからの入力データを素に、部分一致、完全一致を実装したい https://teratail.com/questions/372571?rss=all PHPデータベース検索つのフォームからの入力データを素に、部分一致、完全一致を実装したいつのフォームから値を取得した際に、検索結果を完全一致、部分一致、片側フォームからの値のみで検索のつで検索結果を分岐をさせたいのですが上手い事処理が思いつきません。 2021-12-07 00:26:37
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) npmのインストールでエラーが出ます。 https://teratail.com/questions/372570?rss=all 前提・実現したいことプログラミング初心者です。 2021-12-07 00:25:21
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) vscodeのターミナルが全角表示になってしまう https://teratail.com/questions/372569?rss=all vscode 2021-12-07 00:22:32
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) トラッキング(imgタグ)の仕組みについてについて https://teratail.com/questions/372568?rss=all 調べたところ、imgタグで計測するのが一番簡単な方法だとわかったのですが、imgタグの計測がどのような仕組みで行われているのかが理解できませんでした。 2021-12-07 00:16:18
AWS AWSタグが付けられた新着投稿 - Qiita Step FunctionsがAWS Serviceを直接実行できるようになったのでステートマシンでCloudWatch Logs Insightによるログ監視を実行してみる https://qiita.com/kazuhiro1982/items/0e0d8d5dc207ac2852aa 参考StepFunctionsのSDK統合WorkflowStudioやりたいことLambdaのログを監視するNodejsのLambdaコード内でconsoleerrorによってエラーログを出しているCloudWatchLogsInsightでロググループに対して、エラーを検出するクエリを定期的に実行するクエリ結果をチェックし、エラーを検出した場合にSNSに通知するStepFunctions今回作成したステートマシンは以下のような形になりますこのステートマシンをEventBridgeのスケジュール実行で呼び出すのがゴール。 2021-12-07 00:05:16
技術ブログ Mercari Engineering Blog 評価の満足度を劇的にあげた秘訣。Continuous Feedbackのすすめ https://engineering.mercari.com/blog/entry/20211206-15c9c9dc16/ hellip 2021-12-06 15:20:50
技術ブログ Developers.IO Snowflakeでテストデータの生成に便利なGENERATORを試してみた #SnowflakeDB https://dev.classmethod.jp/articles/snowflake-generator/ adventcalendar 2021-12-06 15:30:12
海外TECH Ars Technica SolarWinds hackers have a whole bag of new tricks for mass compromise attacks https://arstechnica.com/?p=1818191 outfit 2021-12-06 15:00:30
海外TECH MakeUseOf What Were the Most Frequently Used Emoji of 2021? https://www.makeuseof.com/emojis-most-popular-2021/ consortium 2021-12-06 15:50:29
海外TECH MakeUseOf 20 Quick Web Games to Play Online When You're Bored https://www.makeuseof.com/tag/addictive-short-web-games/ games 2021-12-06 15:46:44
海外TECH MakeUseOf What Is a Mood Tracker? How to Use It Effectively https://www.makeuseof.com/mood-tracker-how-to-use/ effectivelymood 2021-12-06 15:30:22
海外TECH DEV Community How to format HTML code https://dev.to/goonlinetools/how-to-format-html-code-17j4 How to format HTML codeAre you writing HTML Code If yes then this article is especially for you because in this article I will show you how to beautify ugly minified HTML code Most of the people like good looking codes including me because if code is written in a proper manner it is easy to understand Today in this article I will introduce HTML Formatter Here is How to Format HTML Code First open HTML FormatterClick on clear button to clear demo codePaste Minified HTML CodeClick on Format ButtonNow click on copy button to copy formatted HTML CodeThanks for reading this article If you have any questions regarding this then feel free to ask in the comment box Also read How to share code snippets easilyHow to Beautify JSON Code How to Beautify Javascript Code How to Beautify PHP Code 2021-12-06 15:35:37
海外TECH DEV Community Building The Gatsby Changelog Prototype https://dev.to/pauliescanlon/building-the-gatsby-changelog-prototype-30bn Building The Gatsby Changelog Prototype Hi In this post i ll be documenting my journey as i develop a prototype Gatsby Changelog site for the GitHub Actions Hackathon Gatsby Changelog changelog gatsbyjs ioTwitter Account GatsbyChangelog Day Sunday th DecemberHad a better day today I tried again to play with the frontmatter but still haven t quite worked out what s going on so shifted my focus to some CSS I have a nice looking site now the one issue i did encounter is adding the hash links to the sidebar because what i want to happen is when any nav link in the sidebar is clicked the page will scroll to the heading for that release but i also want each heading to work the same way I also want to highlight the current nav link in the sidebar This is probably a post on its own but here s the main bit that allows a page to jump to a heading gatsby browser jsexport const onRouteUpdate location gt const jumplink document querySelectorAll a jumplink href location hash if jumplink window scrollTo top jumplink offsetTop return true this jumps to the offsetTop of any HTML lt a gt that has the class name jumplink and of course the correct location hash E g lt a class jumplink href v gt lt span class text lg text gray gt lt span gt v lt a gt I ve got a little more CSS to do today because i ll need a burger menu so that sidebar can open and closed and i ll probably need to adjust some font sizes so this site is usable on mobile Day Saturday th DecemberNot a great day today i was partly walking around NYC trying to find a coffee shop so i could sit down and workout a problem i ve having with the frontmatter contained within each release note Each release note uses frontmatter which contains a date version number and title date version title v Release Notes The trouble is when i use use remark rehype each item from the frontmatter gets converted to either a lt p gt or lt h gt and really i want to display this information the same way GitHub does e g in an HTML table I haven t solved this yet so i ll pop it in the backlog and come back to it later Day Friday rd DecemberToday was mainly having a think and trying to workout a few things It had previously occurred to me that using gatsby transformer remark to transform remotely sourced markdown files might be taking the long route and it turns out it is The reason is that gatsby tranfromer remark is great for transforming files or nodes that already exists on disk But in my case i m souring markdown from a remote source In order for the plugin to do it s thing i have to make GraphQL understand the markdown files are of type File All of this is completely unnecessary if i transform the markdown nodes to html before i add them to Gatsby s data layer To achieve this i ll use the same remark transformers the plugin uses The only slight snag is that a lot of the remark node modules are ESM only and i need to use them in gatsy node which at the time of writing only compiles common jsIt s kinda ok for now because i ve rolled back the versions of remark i m using which will work as cjs You can see where the updates to ESM happened by inspecting the commits on each of the repos Here s the full gatsby node js file showing how i m currently sourcing remote markdown files and adding them to Gatsby data layer gatsby node jsconst graphql require octokit graphql const remark require remark const remarkParse require remark parse const remarkRehype require remark rehype const rehypeStringify require rehype stringify const graphqlWithAuth graphql defaults headers authorization token process env OCTOKIT PERSONAL ACCESS TOKEN const CHANGELOG changelog const convertToHTML async string gt const response await remark use remarkParse use remarkRehype use rehypeStringify process string return String response exports sourceNodes async actions createNode createContentDigest gt const repository folder entries await graphqlWithAuth query repository name gatsby owner gatsbyjs folder object expression master docs docs reference release notes on Tree entries name repository createdAt object on Tree entries name object on Blob id text object on Blob id text const createMarkdownNode async data name repository index gt const object data createNode id object id index index name name date repository createdAt html await convertToHTML object text this was markdown and is now html internal mediaType text markdown type CHANGELOG contentDigest createContentDigest data entries forEach item index gt const object name repository item if Array isArray object entries const markdown object entries find item gt item name index md createMarkdownNode markdown name repository index else createMarkdownNode item name repository index Day Thursday nd DecemberI had a few hours to spare today to investigate how to query GitHub using the GraphQL API I had a small problem with some of the release notes markdown files Specifically ones nested in sub directories Over time we ve moved each md into it s own directory and in order to query both md at the root of the release notes dir and sub directories I needed to get a bit creative with GraphQL Here s the query i ve settled on I found it best to try out the query using GitHub s GraphiQL Explorer before implementing it into my project query repository name gatsby owner gatsbyjs folder object expression master docs docs reference release notes on Tree entries name repository createdAt object on Tree entries name object on Blob id text object on Blob id text Now that I can query the data I can iterate over the response and using createNode add the markdown HTML content to Gatsby s Data layer Adding the response data to Gatsby s data layer went ok the difficulty was converting the sourced nodes which are of type markdown and transforming them to HTML using gatsby transformer remark Usually if you have md files on disk the plugin takes over and transforms the files nodes to HTML however in my case the response which is of type markdown doesn t yet exist as a file node and if it doesn t exist as a file node gatsby transformer remark can t do it s job So there was a quite a bit of work then went into creating the nodes on disk and then ensuring they are of the correct type using Gatsby s createSchemaCustomization Here s how I create the nodes gatsby node jsexports onCreateNode async node actions createNode createNodeField createNodeId createContentDigest gt if node internal type CHANGELOG const markdownNode id createNodeId node id parent node id internal mediaType text markdown type markdown content node object text contentDigest createContentDigest node createNode markdownNode if markdownNode createNodeField node name text value markdownNode id and here s how i ensure they are of the correct type gatsby node jsexports createSchemaCustomization actions createTypes gt createTypes type changelog implements Node text markdown link from fields text This is all i need for now and querying the data from the page component can now be done as i normally would and here s what that looks like index jsimport React from react import graphql from gatsby const Page data gt const allChangelog nodes data return lt main className container mx auto max w xl grid gap p gt nodes map node index gt const name repository createdAt text childMarkdownRemark html node return lt div gt lt div className text brand primary text xl font black gt name lt div gt lt div className prose lg prose xl dangerouslySetInnerHTML html html gt lt div gt lt main gt export const query graphql allChangelog sort fields repository createdAt order DESC nodes name repository createdAt text childMarkdownRemark html export default Page The class names on the HTML elements are from Tailwind and if you re looking to add TailwindCSS to your Gatsby site there s an excellent guide in the TailwindCSS Docs Day Wednesday st DecemberI m so late to the party but I saw this Tweet from Colby Fayock and thought ah ha I wonder if I can cobble something together to demonstrate a Cron Job GitHub Action i ve used on a number of projects for the GitHub Actions Hackathon I also wondered what kind of project I could build that would best demonstrate why a Cron Job is quite handy as a GitHub Action Then it struck me We at Gatsby have launched a new Twitter Account It s called GatsbyChangelog and we plan to use it to announce the changes to the Gatsby framework every couple of weeks Along with the new Twitter Account i ll also be prototyping a Changelog site We have plans to bring more content to support the descriptions contained within the Changelog but we need a home for this content I plan to build a Gatsby site hosted on Gatsby Cloud that will source markdown files from the Gatsby GitHub Account docs folder The markdown files within the release notes will be sourced and then rendered to a single page I ll be using octokit graphql and a few of Gatsby s data handling methods sourceNodes and createNode The Cron Job Action is kinda crucial for this project because the site will be statically rendered but in order to ensure the data sourced from the release notes is always fresh I ll use a Cron Job to call a webhook provided by Gatsby Cloud which will re build the site every hours I could use Gatsby s newest page rendering method SSR to achieve the same thing but this approach it is way more fun 2021-12-06 15:22:11
Apple AppleInsider - Frontpage News Apple's upgraded 14-inch MacBook Pro is on sale today, plus save $60 on AppleCare https://appleinsider.com/articles/21/12/06/apples-upgraded-14-inch-macbook-pro-is-on-sale-today-plus-save-60-on-applecare?utm_medium=rss Apple x s upgraded inch MacBook Pro is on sale today plus save on AppleCareSave on Apple s upgraded inch MacBook Pro with a core CPU core GPU and TB of storage for a limited time Plus get off AppleCare with our exclusive promo code Units are shipping soon Upgraded inch MacBook Pro discountUsing promo code APINSIDER and this cost saving activation link you can save to on every inch MacBook Pro at Apple Authorized Reseller Adorama Read more 2021-12-06 15:58:10
Apple AppleInsider - Frontpage News New Eve Thread product leaks & the best smart light switches on HomeKit Insider https://appleinsider.com/articles/21/12/06/new-eve-thread-product-leaks-the-best-smart-light-switches-on-homekit-insider?utm_medium=rss New Eve Thread product leaks amp the best smart light switches on HomeKit InsiderThe Eve Water Guard shows up in FCC filing with Thread we review the Reolink outdoor camera a completely wireless solution powered by solar and uses cellular data plus we round up our favorite HomeKit light switches on the new episode of HomeKit Insider There wasn t an abundance of news this week as we head into the holidays but the FCC did leak one upcoming product Eve has been on a steady pace adding Thread to its product line and it looks like a new version of the Eve Water Guard with Thread has just passed through the FCC This doesn t give us any indication about when an updated Eve Water Guard may be released but it does indicate a hardware refresh will be necessary to add Thread support and we should see it sooner rather than later Read more 2021-12-06 15:06:13
Apple AppleInsider - Frontpage News Save $200 on Apple's 13-inch MacBook Pro (M1, 16GB, 512GB), plus $50 off AppleCare https://appleinsider.com/articles/21/12/03/save-200-on-apples-13-inch-macbook-pro-m1-16gb-512gb-plus-50-off-applecare?utm_medium=rss Save on Apple x s inch MacBook Pro M GB GB plus off AppleCareIn stock and ready to ship before Christmas Apple s latest inch MacBook Pro with GB of RAM and a GB SSD is discounted to exclusively for AppleInsider readers AppleCare is also off inch MacBook Pro savingsEquipped with Apple s M chip this high end inch MacBook Pro also has GB of memory and a GB SSD double that of the standard model And with promo code APINSIDER at Apple Authorized Reseller Adorama AI readers can pick up the popular configuration for a discount of off MSRP Activating the deal can be done in two easy steps Read more 2021-12-06 15:24:17
Cisco Cisco Blog The Emergence of Smart Hospitals https://blogs.cisco.com/healthcare/the-emergence-of-smart-hospitals hospitals 2021-12-06 15:48:36
金融 RSS FILE - 日本証券業協会 J-IRISS https://www.jsda.or.jp/anshin/j-iriss/index.html iriss 2021-12-06 15:50:00
金融 金融庁ホームページ 金融審議会「市場制度ワーキング・グループ」(第13回)の議事次第について公表しました。 https://www.fsa.go.jp/singi/singi_kinyu/market-system/siryou/20211206.html 金融審議会 2021-12-06 17:00:00
金融 金融庁ホームページ 金融安定理事会による 「危機管理グループの好事例集」を掲載しました。 https://www.fsa.go.jp/inter/fsf/20211206/20211206.html 危機管理 2021-12-06 17:00:00
ニュース ジェトロ ビジネスニュース(通商弘報) 第3四半期のGDP成長率は前期比2.0%、新型コロナ感染拡大前水準をわずかに上回る https://www.jetro.go.jp/biznews/2021/12/9d6dec173111b88e.html 感染拡大 2021-12-06 15:40:00
ニュース ジェトロ ビジネスニュース(通商弘報) ベンガルール・テック・サミット開催、日本企業が連携・協業を呼び掛け https://www.jetro.go.jp/biznews/2021/12/433c97407b9cec24.html 日本企業 2021-12-06 15:30:00
ニュース ジェトロ ビジネスニュース(通商弘報) 大連市自由貿易区・水素産業パークでのプロジェクトが相次いで始動 https://www.jetro.go.jp/biznews/2021/12/9a1ad44de295bd9e.html 自由貿易 2021-12-06 15:20:00
ニュース ジェトロ ビジネスニュース(通商弘報) 中国・アフリカ協力フォーラム閣僚級会議閉幕、ワクチン協力と対中貿易赤字縮小へ一致 https://www.jetro.go.jp/biznews/2021/12/fe36c5b9f55504ed.html 対中貿易 2021-12-06 15:10:00
ニュース BBC News - Home Aung San Suu Kyi: Myanmar court sentences ousted leader in widely criticised trial https://www.bbc.co.uk/news/world-asia-59544484?at_medium=RSS&at_campaign=KARANGA myanmar 2021-12-06 15:19:15
ニュース BBC News - Home Warnings Covid travel test prices are misleading https://www.bbc.co.uk/news/business-59551497?at_medium=RSS&at_campaign=KARANGA group 2021-12-06 15:42:06
ニュース BBC News - Home Covid: Sainsbury's asks staff to delay Christmas parties https://www.bbc.co.uk/news/business-59547504?at_medium=RSS&at_campaign=KARANGA omicron 2021-12-06 15:01:53
ニュース BBC News - Home Union loses legal challenge to PM's decision to back Priti Patel https://www.bbc.co.uk/news/uk-politics-59547080?at_medium=RSS&at_campaign=KARANGA ministerial 2021-12-06 15:49:21
ニュース BBC News - Home Yasmin Evans to leave BBC Radio 1Xtra on Christmas Eve https://www.bbc.co.uk/news/newsbeat-59521521?at_medium=RSS&at_campaign=KARANGA christmas 2021-12-06 15:44:27
サブカルネタ ラーブロ 福間ラーメン ろくでなし@宮若市山口(福岡県) 「こってりラーメン、ランチ焼飯(小)、ほか」 http://ra-blog.net/modules/rssc/single_feed.php?fid=194348 宮若市山口 2021-12-06 15:01:31
北海道 北海道新聞 日本ハム、新外国人ポンセ投手獲得 https://www.hokkaido-np.co.jp/article/619677/ 日本ハム 2021-12-07 00:07:56
北海道 北海道新聞 立民、役員を男女各6人に 主要政党で異例取り組み https://www.hokkaido-np.co.jp/article/619878/ 牧山弘恵 2021-12-07 00:03: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件)