AWS |
AWS - Japan |
アーキテクティングの面白さを語ろう ! ~AWS の SA から未来のソリューションアーキテクトの皆さんへ~ #AWSDevLiveShow #Shorts |
https://www.youtube.com/watch?v=yIdela4eZag
|
そこで今回のAWSDeveloperLiveShowでは、ベテランから新卒まで、人のソリューションアーキテクトが座談会形式でアーキテクティングの概要と面白さをお話しします。 |
2023-04-09 04:31:27 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
fly.io を使った Discord Bot の構築と運用(無料) |
https://qiita.com/Pumila/items/f134f210789842340066
|
flyio |
2023-04-09 13:44:41 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Hugging FaceのInference APIをNode.jsから叩いてみるメモ(GPT-2) |
https://qiita.com/mitsuoka0423/items/9ccc62f90b67b799f87b
|
takahiromits |
2023-04-09 13:15:40 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
NCMBの管理画面をGoogle Chrome機能拡張で便利にする(CSVエクスポート) |
https://qiita.com/goofmint/items/19bccf321f210b013e10
|
google |
2023-04-09 13:15:22 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【データ基盤構築/AWS】CloudFormationを使って構築済の既存リソースをコードで管理する |
https://qiita.com/Ayumu-y/items/858170a85380babfa190
|
cloudformation |
2023-04-09 13:40:26 |
海外TECH |
DEV Community |
Creating a Progressive Web App in React A Beginners Guide |
https://dev.to/varshithvhegde/creating-a-progressive-web-app-in-react-a-beginners-guide-3l9g
|
Creating a Progressive Web App in React A Beginners Guide What is PWA Progressive Web App PWA is a web application that provides an experience similar to that of a native mobile app PWAs are built using modern web technologies such as service workers web app manifests and push notifications which allows them to work offline or on poor network connections installable on a user s home screen and provide an app like experience One of the key benefits of PWAs is their ability to improve user engagement and satisfaction by providing an app like experience in the browser PWAs can also reduce development costs and make it easier to reach a wider audience since they work on a variety of devices and platforms How to Create a PWA in Simple Steps in ReactIf you re interested in creating a PWA in React here are some simple steps to get started Step Set up a React projectThe first step is to set up a new React project using a tool such as Create React App This will provide you with a basic React app that you can use as a starting point for your PWA Step Install the necessary dependenciesNext you ll need to install the necessary dependencies for creating a PWA in React This includes the workbox webpack plugin and web push packages npm install workbox webpack plugin web pushyarn add workbox webpack plugin web push Step Create a service workerA service worker is a JavaScript file that runs in the background and handles tasks such as caching resources and handling push notifications To create a service worker in React you can use the workbox webpack plugin package In your webpack configuration file add the following code const WorkboxPlugin require workbox webpack plugin module exports plugins new WorkboxPlugin GenerateSW clientsClaim true skipWaiting true This will create a service worker that caches your app s resources and enables offline functionality Step Create a web app manifestA web app manifest is a JSON file that provides information about your app such as its name icon and theme color To create a web app manifest in React you can add a manifest json file to your public folder and fill it with the necessary information Here s an example manifest json file name My PWA short name My PWA icons src icon png sizes x type image png theme color ffffff background color ffffff start url display standalone scope Step Enable push notificationsTo enable push notifications in your PWA you ll need to set up a push notification service such as Firebase Cloud Messaging FCM Once you ve set up FCM you can use the web push package to handle push notifications in your app Here s an example code for handling push notifications const publicKey your public key navigator serviceWorker register sw js then registration gt registration pushManager subscribe userVisibleOnly true applicationServerKey urlBaseToUintArray publicKey then subscription gt console log Subscription successful subscription console log JSON stringify subscription catch error gt console log Subscription failed error function urlBaseToUintArray baseString const padding repeat baseString length const base baseString padding replace g replace g const rawData window atob base const outputArray new UintArray rawData length for let i i lt rawData length i outputArray i rawData charCodeAt i return outputArray This code registers a service worker and subscribes to push notifications using the web push package It also converts the public key from a base string to a UintArray Step Test your PWAOnce you ve completed all of the above steps you can test your PWA by running it in a browser or on a mobile device You should be able to see your app s icon on your home screen and it should work offline and support push notifications ConclusionIn this article we ve learned what a PWA is and how to create one in React We ve also learned how to set up a React project install the necessary dependencies create a service worker create a web app manifest and enable push notifications |
2023-04-09 04:28:04 |
海外科学 |
NYT > Science |
E.P.A. Is Said to Propose Rules Meant to Drive Up Electric Car Sales Tenfold |
https://www.nytimes.com/2023/04/08/climate/biden-electric-cars-epa.html
|
E P A Is Said to Propose Rules Meant to Drive Up Electric Car Sales TenfoldIn what would be the nation s most ambitious climate regulation the proposal is designed to ensure that electric cars make up the majority of new U S auto sales by |
2023-04-09 04:13:37 |
海外ニュース |
Japan Times latest articles |
Search continues for GSDF chopper after body reported in waters off Okinawa |
https://www.japantimes.co.jp/news/2023/04/09/national/japan-sdf-helicopter-search-body/
|
Search continues for GSDF chopper after body reported in waters off OkinawaThe SDF and coast guard have searched the area with several vessels and aircraft including a submarine with at least part of the helicopter thought |
2023-04-09 13:13:58 |
海外ニュース |
Japan Times latest articles |
U.S. watching closely as China begins second day of military drills to ‘encircle’ Taiwan |
https://www.japantimes.co.jp/news/2023/04/09/asia-pacific/taiwan-china-military-drills-day-two/
|
U S watching closely as China begins second day of military drills to encircle TaiwanTaiwan s Defense Ministry said the Chinese military was continuing exercises around the island sending warplanes on multiple sorties Sunday |
2023-04-09 13:22:17 |
海外ニュース |
Japan Times latest articles |
The camera never lied … until AI told it to |
https://www.japantimes.co.jp/news/2023/04/09/world/ai-camera-lie/
|
backgrounds |
2023-04-09 13:21:01 |
ニュース |
BBC News - Home |
The papers: Strike 'desperate measures' and 'Olivia mum speaks' |
https://www.bbc.co.uk/news/blogs-the-papers-65223825?at_medium=RSS&at_campaign=KARANGA
|
The papers Strike x desperate measures x and x Olivia mum speaks x No one story dominates the Sunday papers however a couple of the headlines look ahead to King Charles coronation next month |
2023-04-09 04:36:52 |
ニュース |
BBC News - Home |
Aurélien Pradié: The rising star shaking up French politics |
https://www.bbc.co.uk/news/world-europe-65186539?at_medium=RSS&at_campaign=KARANGA
|
plans |
2023-04-09 04:01:48 |
海外TECH |
reddit |
Post Game Thread: Calgary Flames at Vancouver Canucks - 08 Apr 2023 |
https://www.reddit.com/r/canucks/comments/12g96qj/post_game_thread_calgary_flames_at_vancouver/
|
Post Game Thread Calgary Flames at Vancouver Canucks Apr Recap Boxscore Boxscore Teams st nd rd OT SO Total Team Stats Team Shots Hits Blocked FO Wins Giveaways Takeaways Power Plays Goal Summary Period Time Team Strength Description st Even Cole McWard Wrist Shot assists Dakota Joshua Jack Studnicka st Short Handed Elias Pettersson Wrist Shot assists J T Miller rd Even Elias Lindholm Wrist Shot assists Dillon Dube Tyler Toffoli rd Power Play Nazem Kadri Wrist Shot assists Noah Hanifin SO Andrei Kuzmenko Wrist Shot Penalty Summary Period Time Team Type Min Description st Minor Quinn Hughes Tripping against Tyler Toffoli st Minor Troy Stecher Cross checking against Conor Garland nd Minor Blake Coleman Roughing against Conor Garland nd Bench Minor Too many men ice served by Jonathan Huberdeau rd Minor Vitali Kravtsov Tripping against Troy Stecher submitted by u HockeyMod to r canucks link comments |
2023-04-09 04:50:21 |
コメント
コメントを投稿