投稿時間:2022-03-14 05:21:56 RSSフィード2022-03-14 05:00 分まとめ(24件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
海外TECH MakeUseOf 3 Reasons You Shouldn't Buy/Use a Laptop for Crypto Mining https://www.makeuseof.com/dont-use-laptop-mining/ crypto 2022-03-13 19:45:13
海外TECH DEV Community Building a Developer Portfolio: Setting up my NextJS repository with the help of Superplate https://dev.to/theforeverlost/building-a-developer-portfolio-setting-up-my-nextjs-repository-with-the-help-of-superplate-4n6b Building a Developer Portfolio Setting up my NextJS repository with the help of SuperplateA developer portfolio is a good place to centralize all the things about you as a software developer from you projects and open source contributions to networking through social platforms It allows you to showcase who you are and what you are capable of And this does not necessarily apply just to front developers or freelance developers Like any project a developer portfolio should be well thought of before starting What do you want to showcase How do you want it to look How do you want to manage it what tools and frameworks to use In this article I am going to take you through the tools I have used and why I chose to use them It s important to keep in mind the “why as it s easy to lose track of what is required even in something as simple as a static portfolio site This article is the first part of a series where I break down my developer portfolio whose code can be found on github Selecting NextJSI have used NextJS as it s an excellent react framework to make production ready single page applications NextJS is an excellent choice for static sites like blogs and portfolios with some of the features it offers Static Site Generation with Incremental Static RenderingThe most important feature that NextJS provides which makes it a great choice for developing sites like blogs is static site generation SSG with incremental static rendering ISR Static site generation in NextJS happens in the absense of getInitialProps and getServerSideProps NextJS pre renders the page at build time that can be cached in CDN making delivery faster and improving SEO export const getStaticProps GetStaticProps lt BlockPageProps gt async gt const posts await getBlogPosts Gets posts at build time return props posts posts the data is passed to page as part of props revalidate export default BlogPage Next js allows you to create or update static pages after you ve built your site Incremental Static Regeneration ISR enables you to use static generation on a per page basis without needing to rebuild the entire site This happens with the help of revalidate attribute Lets say you set revalidate at seconds The page is pre rendered at build time and the static file is served at request for the second interval The first request after the s interval would trigger a regeneration for that static page Once the new page is generated it will replace the old static page in the cache This is useful in blogs as we don t have to manually build the whole web app again whenever there is a change in the blog database How vercel handles NextJS ISR MDX and AMP supportMarkdown is a developer s preferred way of documentation So it s natural many developers would prefer storing their blogs posts and content in the form of markdown and have their site generator convert their markdown into websites NextJS supports MDX which allows you embed your react component into markdown allowing you to make feature rich markdown sites MDX support in NextJSNextJS also supports converting your react pages into AMP pages which provides a rich experience to reading articles and boosts your search engine rankings and user engagement More about AMPAMP support in NextJS Image and font optimizationsImages and fonts are important static assets for any website and key to their design But often they come with their own set of problems when it comes loading and serving them to different viewports NextJS provides an Image component to handle all the problems you could face with your images Images are rendered such that there is no cumulative layout shift Images are lazy loaded by default but that can be changed to prioritize Image Optimization in Next jsAccessing fonts from third party application can slow down your load time NextJS provides in built font optimization for fonts provided by Google Fonts and Adobe Fonts previously Typekit Font Optimization in Next jsIt is easy to start with NextJS as there is a large community around it plus the docs are comprehensive and easy to understand even for advanced use cases Though Gatsby is another framework you might want to look at Especially when it comes to developing static sites Gatsby has a slight edge over NextJS in performance At the day both are amazing frameworks for your applications so check them out if you haven t already Setting up your siteI used SuperplateCLI to generate a boilerplate closest to my requirements Superplate is a library that allows you to create a customizable boiler plate code for react and nextjs sites There is work going to add more frameworks You can use Superplate and create a boilerplate with your preferred libraries and tools npx superplate cli testCloned remote source successfully Select your project type ›nextjsWhat will be the name of your app ·testPackage manager ·npmUI framework ·tailwindCSS Preprocessor ·scssFeatures ·env bundle analyzerHooks ·State Management ·nonein Internationalization ·noneLinting tools ·eslint prettierDo you want to use lint staged ·noneTesting Framework ·noneEE Testing framework ·noneDocker integration ·noneContinuous integration ·github actionsSuccess Created test at tmp testYou can run several commands npm run dev Starts the development server npm run build Bundles the app for production npm run start Starts the production server Start developing by typing cd test npm run devIt can seem a little overwhelming for beginners when you use superplate to know which options you want to select Superplate has very good documentation breaking down what each option offers but also how to set them up later manually Here are some of the tools and libraries that I generally include There are a lot more plugins that Superplate offers I am just covering a handful that I am using for my portfolio Tailwind css with SCSSTailwind CSS is a handy CSS framework especially if you are someone who hates having ridiculously large css files in your repositories Tailwind is a utility first css framework which allows you to compose your styling within your HTML with the help of predefined classes It gives you more control compared to other frameworks as there is no predefined theme or style When you build tailwind it only includes the css for the classes that you have used Tailwind allows you to create your own classes extending tailwind for reusability and customization It makes writing media queries much easier for responsive design and has support for dark mode Personally tailwindcss has made my work more readable and easier to manage but it might not be to everyone s way of working The tailwind typography plugin is especially useful fo styling blog components More about Tailwind CSS Eslint and PrettierESlint is a JS linting tool which checks your code for styling and syntax errors It helps maintain higher standards of code quality Prettier examines your files for style issues and reformats your code automatically to guarantee that consistent standards for indentation space semicolons and single vs double quotes are followed Using both can increase developer productivity by identifying problems Personally even though initially might feel like it s a hassle but as time goes you find yourself writing better cleaner code Both offer a variety of plugins and options allowing you to decide your style If you are using eslint with NextJS you should check out the next eslint plugin next which ensures you are using the best practices with NextJS and making the most of it Similarly prettier has a plugin for tailwind which can organise your utility classes better Use the fix flag with ESlint to allow prettier and eslint to fix issues automatically wherever possibleMore about ESlintMore about Prettier Bundle analyzerBundle analyzer visualises the sizes of various modules included in your bundle in an interactive zoom map It is useful in analyzing your bundles and debugging them More about bundle analyzer Github actionsIt s and you should be using a CI to automate builds and test commits and pull requests As this is hosted on github I ll be using Github actions to test and check the build for commits on master I ll also create a action to run lighthouse but I ll cover that in more detail in a future article where I cover core web vitals Next StepsOnce you generate you superplate boilerplate you might want to check all the scripts and run npm audit to check for security vulnerabilities before you start work Some more libraries that you can include which were not part of superplate can be Framer Motion Good websites employ animations and transitions to give their users a smooth experience Framer motion is a declarative motion library for react Next SEO SEO is an important part of building a website and NextSEO simplifies SEO for next sites Stylelint While ESLint is a linting tool for your JS code stylelint is tool for linting your css and scss code 2022-03-13 19:31:18
Apple AppleInsider - Frontpage News Mac mini, iMac, Mac Studio -- Which desktop Mac to buy at any pricepoint https://appleinsider.com/articles/22/03/13/mac-mini-imac-mac-studio----which-desktop-mac-to-buy-at-any-pricepoint?utm_medium=rss Mac mini iMac Mac Studio Which desktop Mac to buy at any pricepointWhat desktop Mac you buy is an incredibly personal decision driven by workflow as much as it is by financial considerations Fortunately there are wide varieties of machines you can buy at any price point Here s how to pick Apple is most of the way through replacing its entire range of Macs with Apple Silicon models away from its previous reliance on Intel processors While the MacBook lineup has already completed its transformation the desktop Mac range hasn t quite finished the migration process Even so it is still in a firm enough state for someone to look at the range and find something that matches the amount of cash they want to spend on a desktop Mac Read more 2022-03-13 19:39:18
Apple AppleInsider - Frontpage News Compared: Mac Studio versus Mac Pro https://appleinsider.com/inside/mac-studio/vs/compared-mac-studio-versus-mac-pro?utm_medium=rss Compared Mac Studio versus Mac ProApple s new Mac Studio is the company s most powerful Apple Silicon machine yet Here s how it stacks up against the Mac Pro Apple s most powerful Intel based Mac to date Mac Studio and Mac ProThe Mac Studio fills a new slot in Apple s Mac lineup between the Mac mini and the Mac Pro While it s technically in between those devices in the lineup it actually outperforms the Mac Pro across a variety of metrics Read more 2022-03-13 19:40:45
海外TECH Engadget Ford will sell some Explorer SUVs without rear climate controls due to chip shortages https://www.engadget.com/ford-explorer-chip-shortages-192651125.html?src=rss Ford will sell some Explorer SUVs without rear climate controls due to chip shortagesWith no end in sight to the global semiconductor shortage Ford will temporarily offer some Explorer SUVs without the electronics necessary to access the car s heating and air conditioning controls from the rear passenger seats Following a report from Automotive News a Ford spokesperson shared confirmation of the plan with The Verge on Sunday telling the outlet the move is an effort on the automaker s part to get those cars to customers faster They added Ford would offer those SUVs at a discount and noted they will still come with functioning front seat climate controls The automaker reportedly plans to ship the missing chips to dealers within a year at which point owners of those models will need to bring their cars in for installation Ford won t be the first automaker to ship a car without parts in response to the chip shortage Last year some Tesla Model and Model Y buyers got cars with missing USB C ports BMW meanwhile removed touchscreen controls on some of its vehicles including X and Z models to cope with the shortages 2022-03-13 19:26:51
医療系 医療介護 CBnews 高度急性期の評価・急性期充実体制加算をどう考えるか-先が見えない時代の戦略的病院経営(166) https://www.cbnews.jp/news/entry/20220311172808 千葉大学医学部附属病院 2022-03-14 05:00:00
ニュース BBC News - Home Bafta Film Awards 2022: Stars show Ukraine support on Bafta red carpet https://www.bbc.co.uk/news/entertainment-arts-60675263?at_medium=RSS&at_campaign=KARANGA ceremony 2022-03-13 19:22:25
ニュース BBC News - Home Bafta Film Awards 2022 red carpet in pictures https://www.bbc.co.uk/news/entertainment-arts-60729512?at_medium=RSS&at_campaign=KARANGA calendar 2022-03-13 19:02:47
ニュース BBC News - Home Bafta Film Awards 2022: Stars step out on the red carpet https://www.bbc.co.uk/news/entertainment-arts-60730771?at_medium=RSS&at_campaign=KARANGA awards 2022-03-13 19:19:57
ビジネス ダイヤモンド・オンライン - 新着記事 菅前首相が明かす、ワクチン接種1日100万回をぶち上げた根拠と縦割り打破 - 菅義偉前首相「独占インタビュー」 https://diamond.jp/articles/-/298782 その遅れを取り戻そうと、日当たりの接種回数を当時の約倍となる万回にすると宣言し、菅前首相は周囲を驚かせた。 2022-03-14 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 日本企業に「イノベーションのジレンマ」の解決策を与える3つの経営理論とは?【入山章栄・動画】 - 入山章栄の世界標準の経営理論 https://diamond.jp/articles/-/296360 日本企業に「イノベーションのジレンマ」の解決策を与えるつの経営理論とは【入山章栄・動画】入山章栄の世界標準の経営理論「イノベーションのジレンマ」を解消するつの経営理論とは人気経営学者・入山章栄氏が名著を読み解く動画解説シリーズ「名著×世界標準の経営理論」。 2022-03-14 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 「名古屋経済圏」は天下無双!産業、教育、マンション…最前線を徹底解説 - 名古屋大激変! 教育・マンション・産業 https://diamond.jp/articles/-/298605 名古屋大 2022-03-14 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 「中高一貫校」激戦時代の合格術、受験校・塾・小学校選びにランキングと最新情報で勝つ! - わが子に最強の中高一貫校&小学校&塾 https://diamond.jp/articles/-/298814 「中高一貫校」激戦時代の合格術、受験校・塾・小学校選びにランキングと最新情報で勝つわが子に最強の中高一貫校小学校塾中学受験を目指す新小学年生たちの戦いが激しさを増している。 2022-03-14 04:42:00
ビジネス ダイヤモンド・オンライン - 新着記事 認知症に親、家族がなったかも…医療・介護・相続・保険の「後悔しない」情報決定版 - 決定版 後悔しない「認知症」 https://diamond.jp/articles/-/298622 認知症 2022-03-14 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 ウクライナ侵攻でも「有事の金」、国内買い取り額が過去最高を更新した背景 - 週刊ダイヤモンド特集セレクション https://diamond.jp/articles/-/298871 日本国内 2022-03-14 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 40代でも遅くない!一流ビジネスパーソンに学ぶ「キャリアの可能性」の広げ方 - 転職で幸せになる人、不幸になる人 丸山貴宏 https://diamond.jp/articles/-/298887 代でも遅くない一流ビジネスパーソンに学ぶ「キャリアの可能性」の広げ方転職で幸せになる人、不幸になる人丸山貴宏人生年時代、キャリア人生の折り返し地点付近にいる代のビジネスパーソンは、どのようなキャリアを積んでいくとよいのだろうか。 2022-03-14 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 近年コンサルがポテンシャル採用を強化し始めた「ある事情」 - コンサルのキャリア論 https://diamond.jp/articles/-/294376 魅力的 2022-03-14 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 大荒れの株式市場 「勇敢」な投資の秘訣とは - WSJ発 https://diamond.jp/articles/-/298990 株式市場 2022-03-14 04:23:00
ビジネス ダイヤモンド・オンライン - 新着記事 ウクライナ侵攻で長引く米株の乱高下、FRBが株価安定を導く「3つの条件」 - 政策・マーケットラボ https://diamond.jp/articles/-/298768 2022-03-14 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 「実質2%、名目3%成長」の“おとぎ話”から経済政策はそろそろ脱却を - 政策・マーケットラボ https://diamond.jp/articles/-/298813 物価目標 2022-03-14 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 年収が「非上場化」で上がる会社ランキング【北海道・東北地方/トップ5】年収“100万円超アップ”が見込める2社は? - ニッポンなんでもランキング! https://diamond.jp/articles/-/298756 上場企業 2022-03-14 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 年収が「非上場化」で上がる会社ランキング【北海道・東北地方/全70社完全版】 - ニッポンなんでもランキング! https://diamond.jp/articles/-/298755 上場企業 2022-03-14 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 後継者不在「黒字廃業」60万社、中小企業の社長が絶対に知っておくべき“承継ビジネス”の内情 - 今週の週刊ダイヤモンド ここが見どころ https://diamond.jp/articles/-/298749 2022-03-14 04:05:00
ビジネス 東洋経済オンライン 運賃値上げ議論が本格化、「JR・私鉄」交錯する思惑 オフピーク定期券、届出制、有事への備え… | 経営 | 東洋経済オンライン https://toyokeizai.net/articles/-/538257?utm_source=rss&utm_medium=http&utm_campaign=link_back 感染拡大 2022-03-14 04:30: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件)