投稿時間:2022-01-30 10:08:49 RSSフィード2022-01-30 10:00 分まとめ(11件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita Pythonのプログラム名をhttp.pyにしてはいけない https://qiita.com/Nory-Soft/items/f811f7b7c7c8da6eab0d Pythonのプログラム名をhttppyにしてはいけないhttppyimporturllibrequestrequrllibrequestRequesthttpshogeこのプログラムを実行するとエラーになります。 2022-01-30 09:33:03
Azure Azureタグが付けられた新着投稿 - Qiita Azure Web App for Containers で Azure Container Registry と連携したお手軽 CI/CD を試してみた https://qiita.com/mnrst/items/d19d39b30592c9250542 AzureWebAppforContainersでAzureContainerRegistryと連携したお手軽CICDを試してみた背景と目的GitプッシュをトリガーにCICDという名の自動化が動くわけですが、CIの部分はAzurePipelinesなどでアプリをビルドしたりテストしたりDockerビルドしたりして、最後はAzureContainerRegistryにプッシュするところまでをやっている前提があったとします。 2022-01-30 09:56:22
技術ブログ Developers.IO QuickSightで作成した分析を、テンプレート機能を使って別アカウントへ配布してみる https://dev.classmethod.jp/articles/quicksight-analysis-template/ quicksight 2022-01-30 00:35:30
海外TECH DEV Community Create your own Wordle with animations 🧩🎲 https://dev.to/yaku/wordle-animations-55oo Create your own Wordle with animations The word game has gone from dozens of players to hundreds of thousands in a few months It was created by a software engineer in Brooklyn for his partner Today we going to replicate the UI and add some little animations lt div id container gt lt div gt lt div id restart gt lt div class restart letter gt S lt div gt lt div class restart letter gt T lt div gt lt div class restart letter gt A lt div gt lt div class restart letter gt R lt div gt lt div class restart letter gt T lt div gt lt div gt The above HTML code contains a div with an id of container and another div with an id of restart Within the restart div are four more divs each with a class of restart letter body html background color margin px height overflow x hidden overflow y auto body display flex align items center justify content center flex direction column container font size px restart padding top px display none restart hover restart letter border px solid restart letter background border px solid color ddadc font family Clear Sans Sans Serif width px height px font size rem line height rem display inline flex justify content center align items center cursor pointer box sizing border box cell display inline block The background color and margin properties are applied to the body and html elements to create a solid black background and remove all margins The height property is set to to ensure that the background covers the entire page and the overflow properties are used to hide any overflow content The display property is set to flex on the body element which will cause all child elements to be displayed in a flexible grid The align items and justify content properties are set to center to evenly distribute the items in the grid The flex direction property is set to column which will cause the grid to be displayed in a vertical column The container element has a font size of px and is displayed inline flex This will cause its children to be displayed in a single row and the justify content and align items properties will be applied to them The restart letter element is given a background and border color font family and width It is also set to display inline flex which will cause it to be displayed in a single row with the other elements The justify content and align items properties are also set to center import animationManager from import animationData from const container document getElementById container const restart document getElementById restart animationManager initialize container animationManager start animationData frames animationData animation animationManager onComplete function restart style display block restart addEventListener click function animationManager restart restart style display none This code imports a few files the first being which contains the animationManagerfunction This function is then used to initialize start and complete animations The second file imported is which contains the animationData Finally a few elements are defined container and restart The container is used to hold the animation and the restart button is used to restart the animation See the Pen Wordle Animations by Brian Lemba yakumwamba on CodePen If you want to follow me you can do so on git hereThanks 2022-01-30 00:30:43
海外TECH DEV Community How you can create a sidebar like the daily.dev extension fron scratch using React and Tailwindcss in 4 steps https://dev.to/unshift/how-you-can-create-a-sidebar-like-the-dailydev-extension-fron-scratch-using-react-and-tailwindcss-in-5-steps-nk7 How you can create a sidebar like the daily dev extension fron scratch using React and Tailwindcss in stepsTailwind CSS is a utility first CSS framework packed with classes that can be composed to build any design directly in your markup Next js is a React framework with features like hybrid static and server rendering TypeScript support smart bundling route pre fetching and more if you combine then both you can have incredible results and help you perform much more better In this post we will details everything you need to know to setup nextjs and tailwind css and make a cool sidebar if you like a video versionIf you liked it don t forget to subscribe PrerequisitesTo complete this tutorial you ll need A local development environment for Node js Demo of the final resultyou can see the final results here Setup Nextjs and Tailwind CSSwe can initiate our projet unsing npxnpx create next app sidebarLet move to the sidebar directorycd sidebar we will need a couple of library to start coding our sidebar like framer motion for animation and react icons for our iconsnpm i react icons framer motionnow we have the packages we need to our project we can now setup tailwind to finish the setup processnpm install D tailwindcss postcss autoprefixernpx tailwindcss init pwe can activate tailwind and make it work in our project by simply editing the tailwind config js file Inside the module export we simply need to add the path of our components and pages directory where we will use Tailwind CSS in our case it s a page folder since we will have only one page we will have only one page module exports content pages js ts jsx tsx theme extend plugins the last step is to add a tailwind directive in our global css file tailwind base tailwind components tailwind utilities Let Prepare everythingThe first things is to import some icons and add the data for our sidebaras we can see in the pictureif you look we have partsthe main titlethe icon and the text juste at the leftimport Head from next head import BsPlus BsSearch BsEyeFill BsBookmarkFill BsFillArrowLeftSquareFill BsPeopleFill BsTerminalFill BsFillArrowRightSquareFill from react icons bs import AiFillFire AiFillMessage from react icons ai import IoMdArrowRoundUp from react icons io import MdNightlightRound MdFeedback from react icons md import FaCog from react icons fa const data name Discover items title Popular icon AiFillFire title Most Upvoted icon IoMdArrowRoundUp title Best Discussions icon AiFillMessage title Search icon BsSearch name Manage items title Bookmarks icon BsBookmarkFill title Reading history icon BsEyeFill title Focus Mode icon MdNightlightRound title Customize icon FaCog const datafooter name items title Docs icon BsBookmarkFill title Changelog icon BsTerminalFill title Feedback icon MdFeedback title Invite people icon BsPeopleFill the body of the component the end now we have all our data and icons we can now start coding Create the main container and card elementthe first task is to add a left border to our sidebar and create the card element inside our second step is to add our collapse icon and make it appear only as we take a mouse and hover the container as you can seeto create that this is the code imports end importsexport default function Home return lt div className min h screen bg black gt lt div className max w px animate duration border r border gray relative flex flex col py min h screen group gt lt BsFillArrowLeftSquareFill className absolute hidden text xl text white cursor pointer right top group hover block gt lt div className border green border shadow green shadow lg rounded lg px max w px h px flex justify center mx flex col mb gt lt p className font thin text white text md gt Get the content you need by creating a personal feed lt p gt lt button className flex items center justify center w full py my font bold text black bg green rounded lg gt lt BsPlus className text xl gt lt p gt Create me feed lt p gt lt button gt lt div gt lt div gt lt div gt imports end importsexport default function Home return lt div className min h screen bg black gt lt div className max w px animate duration border r border gray relative flex flex col py min h screen group gt lt BsFillArrowLeftSquareFill className absolute hidden text xl text white cursor pointer right top group hover block gt lt div className border green border shadow green shadow lg rounded lg px max w px h px flex justify center mx flex col mb gt lt p className font thin text white text md gt Get the content you need by creating a personal feed lt p gt lt button className flex items center justify center w full py my font bold text black bg green rounded lg gt lt BsPlus className text xl gt lt p gt Create me feed lt p gt lt button gt lt div gt lt div className grow gt data map group index gt lt div key index className my gt lt p className mb ml text sm font bold text gray gt group name lt p gt group items map item index gt lt div key index className flex px py cursor pointer gt lt item icon className text lg text gray gt lt p className ml text sm font bold text gray gt item title lt p gt lt div gt lt div gt lt div gt lt div gt datafooter map group index gt lt div key index className my gt lt p className mb ml text sm font bold text gray gt group name lt p gt group items map item index gt lt div key index className flex px py cursor pointer gt lt item icon className text lg text gray gt lt p className ml text sm font bold text gray gt item title lt p gt lt div gt lt div gt lt div gt lt div gt lt div gt Animationwe can now start adding a little bit of animation to our project using framer motionthe first things is to import motion and useAnimation that into our code importimport useState useEffect from react import motion useAnimation from framer motion we have three kind of animation herethe fisrt one is the sidebar container We need to animation the width according to the state of our sidebar if it s open or notthe second is to make our text visible and invisible and then remove or show then to the DOM with the display propertythe last animation is to simple animate the opacity of our items title we don t want to make our design jump every time we open and close the sidebarwe know need to define the famer motion controllers and translate all the details above into our animation export default function Home const active setActive useState false const controls useAnimation const controlText useAnimation const controlTitleText useAnimation const showMore gt controls start width px transition duration controlText start opacity display block transition delay controlTitleText start opacity transition delay setActive true const showLess gt controls start width px transition duration controlText start opacity display none controlTitleText start opacity setActive false main part end main part once we declared our animation we can use it on our pageexport default function Home const active setActive useState false const controls useAnimation const controlText useAnimation const controlTitleText useAnimation const showMore gt controls start width px transition duration controlText start opacity display block transition delay controlTitleText start opacity transition delay setActive true const showLess gt controls start width px transition duration controlText start opacity display none controlTitleText start opacity setActive false useEffect gt showMore return lt div className min h screen bg black gt lt Head gt lt title gt Sidebar lt title gt lt meta name description content Generated by create next app gt lt link rel icon href favicon ico gt lt Head gt lt motion div animate controls className max w px animate duration border r border gray relative flex flex col py min h screen group gt active amp amp lt BsFillArrowLeftSquareFill onClick showLess className absolute hidden text xl text white cursor pointer right top group hover block gt active amp amp lt BsFillArrowRightSquareFill onClick showMore className absolute text xl text white cursor pointer right top gt lt div className active amp amp border green border shadow green shadow lg rounded lg px max w px h px flex justify center mx flex col mb gt lt motion p animate controlText className font thin text white text md gt Get the content you need by creating a personal feed lt motion p gt lt button className flex items center justify center w full py my font bold text black bg green rounded lg gt lt BsPlus className text xl gt lt motion p animate controlText gt Create me feed lt motion p gt lt button gt lt div gt lt div className grow gt data map group index gt lt div key index className my gt lt motion p animate controlTitleText className mb ml text sm font bold text gray gt group name lt motion p gt group items map item index gt lt div key index className flex px py cursor pointer gt lt item icon className text lg text gray gt lt motion p animate controlText className ml text sm font bold text gray gt item title lt motion p gt lt div gt lt div gt lt div gt lt div gt datafooter map group index gt lt div key index className my gt lt motion p animate controlTitleText className mb ml text sm font bold text gray gt group name lt motion p gt group items map item index gt lt div key index className flex px py cursor pointer gt lt item icon className text lg text gray gt lt motion p animate controlText className ml text sm font bold text gray gt item title lt motion p gt lt div gt lt div gt lt div gt lt motion div gt lt div gt the final code of our pageimport Head from next head import useState useEffect from react import BsPlus BsSearch BsEyeFill BsBookmarkFill BsFillArrowLeftSquareFill BsPeopleFill BsTerminalFill BsFillArrowRightSquareFill from react icons bs import AiFillFire AiFillMessage from react icons ai import IoMdArrowRoundUp from react icons io import MdNightlightRound MdFeedback from react icons md import FaCog from react icons fa import motion useAnimation from framer motion const data name Discover items title Popular icon AiFillFire title Most Upvoted icon IoMdArrowRoundUp title Best Discussions icon AiFillMessage title Search icon BsSearch name Manage items title Bookmarks icon BsBookmarkFill title Reading history icon BsEyeFill title Focus Mode icon MdNightlightRound title Customize icon FaCog const datafooter name items title Docs icon BsBookmarkFill title Changelog icon BsTerminalFill title Feedback icon MdFeedback title Invite people icon BsPeopleFill export default function Home const active setActive useState false const controls useAnimation const controlText useAnimation const controlTitleText useAnimation const showMore gt controls start width px transition duration controlText start opacity display block transition delay controlTitleText start opacity transition delay setActive true const showLess gt controls start width px transition duration controlText start opacity display none controlTitleText start opacity setActive false useEffect gt showMore return lt div className min h screen bg black gt lt Head gt lt title gt Sidebar lt title gt lt meta name description content Generated by create next app gt lt link rel icon href favicon ico gt lt Head gt lt motion div animate controls className max w px animate duration border r border gray relative flex flex col py min h screen group gt active amp amp lt BsFillArrowLeftSquareFill onClick showLess className absolute hidden text xl text white cursor pointer right top group hover block gt active amp amp lt BsFillArrowRightSquareFill onClick showMore className absolute text xl text white cursor pointer right top gt lt div className active amp amp border green border shadow green shadow lg rounded lg px max w px h px flex justify center mx flex col mb gt lt motion p animate controlText className font thin text white text md gt Get the content you need by creating a personal feed lt motion p gt lt button className flex items center justify center w full py my font bold text black bg green rounded lg gt lt BsPlus className text xl gt lt motion p animate controlText gt Create me feed lt motion p gt lt button gt lt div gt lt div className grow gt data map group index gt lt div key index className my gt lt motion p animate controlTitleText className mb ml text sm font bold text gray gt group name lt motion p gt group items map item index gt lt div key index className flex px py cursor pointer gt lt item icon className text lg text gray gt lt motion p animate controlText className ml text sm font bold text gray gt item title lt motion p gt lt div gt lt div gt lt div gt lt div gt datafooter map group index gt lt div key index className my gt lt motion p animate controlTitleText className mb ml text sm font bold text gray gt group name lt motion p gt group items map item index gt lt div key index className flex px py cursor pointer gt lt item icon className text lg text gray gt lt motion p animate controlText className ml text sm font bold text gray gt item title lt motion p gt lt div gt lt div gt lt div gt lt motion div gt lt div gt you can see the final result compared to the one we want to clone we did it Thank for reading You can find the code on my github 2022-01-30 00:01:54
ニュース BBC News - Home Ukraine: PM weighs up bigger troop offer amid Russia border crisis https://www.bbc.co.uk/news/uk-60185733?at_medium=RSS&at_campaign=KARANGA moscow 2022-01-30 00:50:38
ニュース BBC News - Home Covid vaccines offered to vulnerable five-to-11-year-olds in England https://www.bbc.co.uk/news/health-60173823?at_medium=RSS&at_campaign=KARANGA adults 2022-01-30 00:34:38
ニュース BBC News - Home Levelling up: Sheffield and Wolverhampton chosen for government regeneration plans https://www.bbc.co.uk/news/uk-politics-60183453?at_medium=RSS&at_campaign=KARANGA money 2022-01-30 00:38:55
ニュース BBC News - Home Energy crisis: How countries are dealing with rising prices https://www.bbc.co.uk/news/business-60112068?at_medium=RSS&at_campaign=KARANGA prices 2022-01-30 00:24:40
ビジネス プレジデントオンライン 年金頼みでは確実にヤバい…「貧乏老後が避けられない人」に当てはまる5大特徴 - 国は私たちの老後を守ってくれない https://president.jp/articles/-/54186 頼み 2022-01-30 10:00:00
海外TECH reddit Convoy Megathread #18 https://www.reddit.com/r/ottawa/comments/sfvmvv/convoy_megathread_18/ Convoy Megathread As mentioned in the previous megathreads megathread megathread megathread megathread megathread megathread megathread megathread megathread megathread megathead megathread megathread megathread megathread megathread megathread the sub is being brigaded by antivaxers on this subject Therefore we will be using a megathread to group the posts on the convoy to avoid this topic taking over the sub As before some explanations of how this will work Anyone creating a post about the protest who does not have a significant history with this sub will be banned no questions asked If you do have a history with this community the post will be removed and you will be warned This community is about OTTAWA not Covid nor the related restrictions Remember that Any links or pictures to their propaganda will be removed Do not give them publicity I will be watching the megathread Remember that disinformation misinformation about covid is a violation of the site wide rule Have at it folks but remember the usual rules apply Please keep it civil and report anyone posting misinformation or links to their propaganda Ottawa Police Twitter thread Bonjour tout le monde Tel que mentionnédans les megathread précédents megathread megathread megathread megathread megathread megathread megathread megathread megathread megathread megathead megathread megathread megathread megathread megathread megathread la communautésubi présentement une attaque concertée brigading par des antivaxeurs sur ce sujet Nous allons donc centraliser les discussions sur ce sujet dans un mégathread pour éviter que ce sujet occupe toute l espace dans la communauté Comme auparavant voici quelques explications sur comment ceci fonctionnera Toute personne créant une rubrique sur la manifestation qui n a pas d historique significative avec notre communautésera bannie sur le champs Si vous avez une historique avec cette communauté le message sera simplement suppriméet vous serez averti Cette communautéconcerne OTTAWA pas la Covid ni les restrictions associées Prière d agir en conséquence Tout lien ou photo vers leur propagande sera enlevé Ne leur donnez pas de la publicité Je vais surveiller le mégathread N oubliez pas que la désinformation mésinformation sur la covid est une violation de la règle n° du site même Allez y mais rappelez vous que les règles habituelles s appliquent Veuillez rester polie et rapportez toute mésinformation ou publication de leur propagande submitted by u MarcusRex to r ottawa link comments 2022-01-30 00:07:07

コメント

このブログの人気の投稿

投稿時間: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件)