IT |
気になる、記になる… |
Apple、オーストリアなどで「HomePod mini」を販売開始 |
https://taisy0.com/2021/06/15/141878.html
|
apple |
2021-06-15 09:42:55 |
TECH |
Engadget Japanese |
完売続きの nasne が受注再開、約一週間ぶり。Amazonのバッファロー公式専売 |
https://japanese.engadget.com/nasne-buffalo-090847422.html
|
amazon |
2021-06-15 09:08:47 |
ROBOT |
ロボスタ |
データ収集用デバイス開発からAIとの連携までを半年で実現 ハルカス『デバイス試作サービス for Edge AI』を発表 |
https://robotstart.info/2021/06/15/hacarus-device-trial-production.html
|
foredgeai |
2021-06-15 09:45:22 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 自動走行ロボが青信号で交差点を横断 ソフトバンクと佐川急便が実験成功 |
https://www.itmedia.co.jp/news/articles/2106/15/news151.html
|
itmedia |
2021-06-15 18:20:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia エンタープライズ] 大規模なビジネスメール詐欺のインフラを"破壊" Microsoftの研究者ら |
https://www.itmedia.co.jp/enterprise/articles/2106/15/news150.html
|
itmedia |
2021-06-15 18:03:00 |
TECH |
Techable(テッカブル) |
重さ16gで襟などに付けやすいPHILIPS製二重ノイキャンマイク「DLP3537」 |
https://techable.jp/archives/156575
|
philips |
2021-06-15 09:20:59 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonでクレカ発行してみた(Marqetaチュートリアル) |
https://qiita.com/yazn/items/fef60dddfb5d53d5e24b
|
シミュレータ実行はSDKでは用意されていないため、こちらからcurlを生成し呼び出します。 |
2021-06-15 18:35:04 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
DynamoDBのscanでPaginatorを使用し、filterExpressionとprojectionExpressionを使う方法(bot3編) |
https://qiita.com/yoshii0110/items/f201b11fbc2e5249a57e
|
DynamoDBのscanでPaginatorを使用し、filterExpressionとprojectionExpressionを使う方法bot編はじめにbotoを利用したdynamoDBのscanでPaginatorを使用した場合に、filterExpressionを使用した際に、詰まったので、記事に残しておきます。 |
2021-06-15 18:24:29 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Visual Studio Code 用 Jupyter Extension(2021 年 6 月版)がリリースされました |
https://qiita.com/uikou/items/c27f39c52b3eda8526d5
|
VSCodeでPythonをご利用いただいている方は、VisualStudioMarketplaceからPythonExtensionを直接ダウンロードするか、あるいはVSCodeのExtensionGalaryから直接インストールいただけます。 |
2021-06-15 18:17:23 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【LeetCode】就活に向けたコーディングテスト対策 #05 |
https://qiita.com/halpi/items/642c039cb339a5e4cf66
|
|
2021-06-15 18:10:39 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Google I/O 2021 フロントエンドまとめ(3/6): 〜Webプラットフォーム最新情報(3/3): その他〜 |
https://qiita.com/toshi00ysm/items/b9822c6ab33cc55d62e9
|
今回ChromeやNodejsのJavaSript実行エンジンであるVでSIMDがサポートされたので、いくつかの処理でより高速化できる可能性が広がったよというお話。 |
2021-06-15 18:45:46 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【Kintone】複数のユーザーフィールドの値を1つのユーザフィールドに重複なく当てはめる |
https://qiita.com/kay-t/items/c52a4046bb0ac0a13ddf
|
|
2021-06-15 18:44:54 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Google I/O 2021 フロントエンドまとめ(2/6): 〜Webプラットフォーム最新情報(2/3): PWAによるWebとOSの連携強化関連〜 |
https://qiita.com/toshi00ysm/items/30e86f7d9be1443cbde2
|
みたいなお話「最先端のエクスペリエンスを実現するための機能をWebですべて確保することを目指しています」って話からの、WebアプリとOS間での使い勝手のシームレスな統合の具体的な推進としてPWAアイコンからショートカットでクイックアクションを呼び出せる機能の紹介、バッジAPIでランチャ上のPWAアイコンにバッジを表示させることでリエンゲージメントを図ることができますよという話、PWAアプリのインストールUIが改善されたという話などがあった。 |
2021-06-15 18:31:41 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Google I/O 2021 フロントエンドまとめ(1/6)〜 Webプラットフォームの話(1/3): プライバシー関連〜 |
https://qiita.com/toshi00ysm/items/43ca9fd3efe4bcd72043
|
「そういうのダルい」人は読み飛ばしてくださいサイト間および特定ベンダによるユーザの追跡はプライバシー保護の観点において健全ではないのは事実で、それを実現しているサードパーティCookieも広告というWeb業界における重要な収益化手段に関らざるを得ない要素ということから一旦目を背ければプライバシー保護の観点において好ましくない技術であることは否定できないと思う。 |
2021-06-15 18:01:26 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
スプレッドシートのARRAYFORMULA関数の循環エラーを解決したい |
https://teratail.com/questions/344164?rss=all
|
スプレッドシートのARRAYFORMULA関数の循環エラーを解決したい前提・実現したいことGoogleスプレッドシートを利用しています。 |
2021-06-15 18:58:17 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
タクトスイッチの入力 |
https://teratail.com/questions/344163?rss=all
|
タクトスイッチの入力RPiGPIOを用いて、実行時にタクトスイッチの入力を取得してprintするプログラムを作成したい。 |
2021-06-15 18:56:41 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
掲示板の返信のような機能について |
https://teratail.com/questions/344162?rss=all
|
掲示板の返信のような機能について前提・実現したいこと初めての質問失礼します。 |
2021-06-15 18:55:41 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
datagridのフォーカス時に↓キーの挙動について |
https://teratail.com/questions/344161?rss=all
|
|
2021-06-15 18:55:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
削除したはずのカスタムフィールドが反映されている |
https://teratail.com/questions/344160?rss=all
|
削除したはずのカスタムフィールドが反映されている前提wordpress構築Webサイトの作成で、そのサイトのwordpress化に取り組んでいます。 |
2021-06-15 18:47:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
form_withでmodelにうまく値を渡すことができない |
https://teratail.com/questions/344159?rss=all
|
ユーザー編集画面で、formwithにおいてmodelにつの値を渡したいのですが、エラーが出てしまいうまくいきません。 |
2021-06-15 18:37:50 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Googleスプレッドシートにおける大量のリストに対して入力規則を設定したい |
https://teratail.com/questions/344158?rss=all
|
Googleスプレッドシートにおける大量のリストに対して入力規則を設定したいGoogleスプレッドシートについてです。 |
2021-06-15 18:34:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
terraform cloudwatch メトリクスフィルター Unitの設定 |
https://teratail.com/questions/344157?rss=all
|
terraformcloudwatchメトリクスフィルターUnitの設定terraformでcloudwatchlogsのロググループ内でメトリクスフィルターを作成しているのですが、Unitの設定ができません。 |
2021-06-15 18:26:42 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
周期の低いデータのサンプル周波数を変更して本来分析できない周波数を分析したい |
https://teratail.com/questions/344156?rss=all
|
周期の低いデータのサンプル周波数を変更して本来分析できない周波数を分析したいFPSの間隔でしか送られてこない時系列データに対してHzよりも高い周波数を分析することは可能ですか例えば、サンプル数分の時系列データを取得後、サンプル周波数を手動で変更するなどして無理やりHz以上の周波数を分析するなどです。 |
2021-06-15 18:21:46 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ExcelVBAの配列について |
https://teratail.com/questions/344155?rss=all
|
ExcelVBAの配列についてExcelVBAの配列についてです。 |
2021-06-15 18:18:46 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
wordpress gutenbergのカバーブロック・リンク設定に関して |
https://teratail.com/questions/344154?rss=all
|
wordpress |
2021-06-15 18:16:09 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
静的サイトのフォルダをサブディレクトリに入れたい |
https://teratail.com/questions/344153?rss=all
|
indexhtml |
2021-06-15 18:15:42 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
入力によるLEDの点滅 |
https://teratail.com/questions/344152?rss=all
|
入力によるLEDの点滅実行したらコンソール入力を待ち、が入力されたらLEDを消灯させ、が入力されたらLEDを点灯させ、それ以外の場合は何もしない処理を回行ったら終了するプログラムを作成したいがうまく動かないです。 |
2021-06-15 18:12:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
jumbotronで画像が切れない表示にし、リスポンシブにしたい。 |
https://teratail.com/questions/344151?rss=all
|
jumbotronで画像が切れない表示にし、リスポンシブにしたい。 |
2021-06-15 18:11:28 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
this.$setとthis.$deleteが未定義のままになる |
https://teratail.com/questions/344150?rss=all
|
thissetとthisdeleteが未定義のままになるどうやっても解決しなかったので、質問します。 |
2021-06-15 18:01:14 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Git Hub コード上の赤と緑で背景の色が違うのは何故? |
https://teratail.com/questions/344149?rss=all
|
GitHubコード上の赤と緑で背景の色が違うのは何故GitnbspHubで公開されているコードの背景色についてです緑の部分コードは新しく変更されたコードで赤いコードは変更される前のコードで間違いないでしょうかまた、コード内で下の画像のように違いのある部分にさらに赤と緑で塗り分けられています。 |
2021-06-15 18:00:24 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
フックメッセージを使う オブジェクト指向実践ガイドより |
https://qiita.com/RyomaKaneko/items/33fbdeeebd4f2d5c7877
|
下記コードを読んで、このコードの危うさを説明し、自分なりにリファクタリングしたコードを書けるレベルに達しているなら、オブエジェクト指向実践ガイドの第章「継承によって振る舞いを獲得する」、この章を理解していると言えるでしょう。 |
2021-06-15 18:57:21 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
クラス継承 オブエジェクト指向実践ガイドより |
https://qiita.com/RyomaKaneko/items/a319924527d6241b5f04
|
オブエジェクト指向実践ガイドの記事は、他の方も書いてありますが、一度に全部まとめたものが多かったです。 |
2021-06-15 18:22:16 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Ruby 文字列の順番を変える |
https://qiita.com/hirokun0204/items/a97254988f3e99019d8f
|
配列を宣言arrabc配列の要素を連結して文字列として返却しますparrjoingtgtabc引数を指定すると、要素ごとに引数の文字列を結合することができます。 |
2021-06-15 18:07:04 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS Backupでジョブの失敗を通知 |
https://qiita.com/pioho07/items/06eb4f2ac0a5602e38c3
|
AWSBackupでジョブの失敗を通知前提情報AWSアカウントIDxxxxxxxxxxxxSNSトピック名testmlSNS設定SNSトピック作成SNSトピック作成手順は割愛しますアクセスポリシーを以下のように修正SidMystatementidEffectAllowPrincipalServicebackupamazonawscomActionSNSPublishResourcearnawssnsapnortheastxxxxxxxxxxxxtestmlサブスクリプション作成サブスクリプションgtサブスクリプションの作成gtトピック選択、プロトコルはEメール自身のEメールアドレスを設定サブスクリプションフィルタに以下を設定。 |
2021-06-15 18:33:27 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
RDSのスナップショットの復元の際の注意点(自分のメモ用) |
https://qiita.com/wanidrums/items/c98436fec312a67b2066
|
②今回の作業を始める上で、前回作成したRDSのスナップショットの復元③ELBのエンドポイントでweb接続すると、データベース接続のエラーになった考察エラーに原因がデータベースの接続に問題があるということなので、スナップショットの復元した時に何か問題があったと仮定原因・RDSスナップショットの復元の一つの設定ミスで、データベース接続のエラーが出てしまった。 |
2021-06-15 18:33:23 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
DynamoDBのscanでPaginatorを使用し、filterExpressionとprojectionExpressionを使う方法(bot3編) |
https://qiita.com/yoshii0110/items/f201b11fbc2e5249a57e
|
DynamoDBのscanでPaginatorを使用し、filterExpressionとprojectionExpressionを使う方法bot編はじめにbotoを利用したdynamoDBのscanでPaginatorを使用した場合に、filterExpressionを使用した際に、詰まったので、記事に残しておきます。 |
2021-06-15 18:24:29 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Golangサンプルコード: 構造体の情報を再帰的に読む |
https://qiita.com/ysti/items/c5640a22b435568d4741
|
Golangサンプルコード構造体の情報を再帰的に読む構造体を再帰的に読んでいく。 |
2021-06-15 18:30:02 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
フックメッセージを使う オブジェクト指向実践ガイドより |
https://qiita.com/RyomaKaneko/items/33fbdeeebd4f2d5c7877
|
下記コードを読んで、このコードの危うさを説明し、自分なりにリファクタリングしたコードを書けるレベルに達しているなら、オブエジェクト指向実践ガイドの第章「継承によって振る舞いを獲得する」、この章を理解していると言えるでしょう。 |
2021-06-15 18:57:21 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
クラス継承 オブエジェクト指向実践ガイドより |
https://qiita.com/RyomaKaneko/items/a319924527d6241b5f04
|
オブエジェクト指向実践ガイドの記事は、他の方も書いてありますが、一度に全部まとめたものが多かったです。 |
2021-06-15 18:22:16 |
技術ブログ |
Developers.IO |
Auth0のActionsでログイン時のIPアドレスを制限してみた |
https://dev.classmethod.jp/articles/auth0-actions-ip-address-restriction/
|
actions |
2021-06-15 09:59:27 |
技術ブログ |
Developers.IO |
Snowflakeでどのファイルをロードしたっけ? LOAD_HISTORYビューで履歴を確認してみた |
https://dev.classmethod.jp/articles/snowflake-load-history/
|
amazons |
2021-06-15 09:00:32 |
海外TECH |
DEV Community |
Making Friendly CSS With Tailwind CSS |
https://dev.to/workshub/making-friendly-css-with-tailwind-css-3me2
|
Making Friendly CSS With Tailwind CSSWriting CSS can aggravate developers but with tailwind CSS becomes more friendly to use In this article I will be taking you on a journey into the utility first framework “Tailwind What is Tailwind CSS According to the official documentation Tailwind CSS is a utility first CSS framework for rapidly building custom user interfaces Tailwind enables you to write inline styling and achieve a fantastic user interface without leaving your HTML code and writing a single line of CSS In contrast to other CSS frameworks like Bootstrap or Materialize CSS Tailwind CSS doesn t come with predefined or built in components Instead Tailwind CSS provides you with a set of CSS helper classes that enables you to create a custom design with ease In my opinion most sites built with Bootstrap always look alike and have the same feel But Tailwind CSS is not opinionated and it allows you to create your unique design Setting up a project with Tailwind CSS Learn how to get Tailwind CSS up and run your project Using Tailwind via CDNUsing tailwind via CDN is excellent if you want to set up a simple project or quick demo quickly But note that many great tailwind features are not available via CDN Here is the latest default configuration via CDN lt link href dist tailwind min css rel stylesheet gt HTML starter templateThis is what your HTML doctype looks like when you include tailwind CDN lt doctype html gt lt html gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt link href dist tailwind min css rel stylesheet gt lt head gt lt body gt lt h gt Welcome to Tailwind CDN lt h gt lt body gt lt html gt Install Tailwind via npmInstalling tailwind via npm or yarn gives you access to tailwind awesome features unlike using tailwind via CDN Before you install tailwind via npm create a new package json file by using the npm command npm init ythen Install tailwind via npmnpm install tailwindcss Include Tailwind in your CSSThe next step is to include Tailwind in your CSS You can do that by creating a new CSS folder If you don t have one then you create a CSS file You can name it whatever you like but I would be naming it style css for the sake of the project Add the following to the style css file css style css tailwind base tailwind components tailwind utilities Add postcss pluginsnpm install postcss cli autoprefixer Create your configuration fileTo complete the tailwind setup we will create a configuration file that enables you to customize your tailwind project use this command to create a configuration filenpx tailwindcss initThis will create a tailwind config js file at the root of your project tailwind config jsmodule exports purge darkMode false or media or class theme extend variants plugins Processing CSS with TailwindYou can add tailwind and autoprefixer to your PostCSS configuration by creating a postcss config js file at the root of your project add this to your postcss config js file postcss config js module exports plugins require tailwindcss require autoprefixer In package json insert the following build script build postcss css style css o build style css To execute this script type in npm run build Create an index html FileLet s create a new file index html in the build folder and insert the following HTML code lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt link rel stylesheet href style css gt lt title gt Tailwind CSS Demo lt title gt lt head gt lt body gt lt div class h gt lt div class p m bg purple gt lt h class text xl font bold text white gt Tailwind CSS Demo lt h gt lt div gt lt div class p m bg purple h full gt lt h class text purple gt Have much fun using Tailwind CSS lt h gt lt div gt lt div gt lt body gt lt html gt Set Up live serverTo set up a web server for our server we are going to use a live server To use a live server install it via npm npm install g live serverNext you start up the live server by typing this command live server buildYou should then be able to open the website by pointing the browser to URL The result can be seen below Components With Tailwind CSSUnlike other CSS frameworks like bootstrap materialize CSS etc tailwind doesn t come with predefined built in components for different components like buttons cards navbar etc In this section you will learn how to style your components with Tailwind CSS utility classes we are also going to see how we can make friendly CSS with tailwind by building components and compare how it is written in tailwind and Vanilla CSS Component ButtonLet s style a button Here you are going to create a Submit button and also style it tailwind css lt button class bg blue w text white border border blue rounded py hover bg red hover border transparent gt Submit lt button gt The following utility classes are applied bg blue This class sets a blue background to the button The value is just a shade number that ranges from w This class represents the width of the button The value is equivalent to rem which is also px when converted text white This class set the text to white It is equivalent to color white in vanilla CSSborder This class set the border width to pxborder blue This class sets the border color to blue The value is just a shade number as earlier stated rounded This class sets the border radius to rem which is also px when converted py This class sets the padding top and padding bottom to rem which is also px each when converted hover bg red This class turns the blue background red when it is hovered on hover border transparent This class makes the borders to be transparent when hovered on The result should look like this in tailwind CSS The result should look like this on hover Styling With Vanilla CSS index html lt button class button gt Submit lt button gt style css button background color blue width px color white border px solid blue border radius px padding top px padding bottom px button hover background color red border transparent The result should then look like this in vanilla CSSThe result should look like this on hoverYou can see how you created a button and styled it within tailwind CSS you could also see how you wrote lesser code and also it made inline styling more cleaner and readableCompare to regular CSS We could see all the styling we had to do Even if you try to style regular CSS inline it will become cumbersome and it won t be easy to read Component A CardFinally let s take a look at how to style a card component with Tailwind s utility classes index html lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt link rel stylesheet href style css gt lt title gt Tailwind CSS Demo lt title gt lt head gt lt body class bg gray gt lt div class bg white mx auto my shadow xl w h rounded flex gt lt img src alt random avatar gt lt div gt lt h class font bold text xl p mt gt Hello My Name is kaylie lt h gt lt p class text xl p mt gt I am a lover of good things lt p gt lt div gt lt div gt lt body gt lt html gt The following utility classes are applied bg gray This class is set to the body to change the default white background to gray mx auto This class is set to move the div to the center mx represents margin right and margin leftmy This class is set to move the div from top and bottom rem each shadow xl This class represents the box shadow of the card w This class sets the width of the card to rounded This class sets the border radius to rem which is also pxh This class sets the height of the card to pxfont bold This class sets the font weight to boldtext xl This class sets the font size to pxp This class sets the padding to pxmt This class sets the margin top to pxtext xl This class sets the font size to pxmt This class sets the margin top to pxThe result should then look like this in tailwind CSS Vanilla CSS index html lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt link rel stylesheet href style css gt lt title gt Tailwind CSS Demo lt title gt lt head gt lt body gt lt div class card gt lt img src alt random avatar gt lt div gt lt h class card h gt Hello My Name is kaylie lt h gt lt p class card p gt I am a lover of good things lt p gt lt div gt lt div gt lt body gt lt html gt Styling With Vanilla CSS style css body background lightgray card background color white margin px auto box shadow px px px rgba width height px border radius px display flex card h font weight bold font size px padding px margin top px card p font size px padding px margin top px The result should look like this in Vanilla CSSYou can see that you achieved the same result in the example above though with a different method This component example shows you the basics of how tailwind works in relation to Vanilla CSS Now let me go further to explain why you should use Tailwind CSS in your next project Why Use Tailwind CSS Responsiveness to the coreGone are the days where you needed to write lots of media queries to build a responsive application With Tailwind CSS you can create a responsive design with ease in the class attribute Tailwind CSS also uses a mobile first approach in creating responsive applications There are five breakpoints by default inspired by common device resolutions Breakpoint prefixMinimum widthCSSsmpx media min width px mdpx media min width px lgpx media min width px xlpx media min width px xlpx media min width px Let s look at an example below lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt link rel stylesheet href style css gt lt title gt Tailwind CSS Demo lt title gt lt head gt lt body gt lt div class lg text xl md text xl lg font extrabold md font bold text center mt gt Hello World lt div gt lt body gt lt html gt The code above changes the text size based on the screen size To see the responsiveness in action check out this codepen demo and try to adjust the screen size to see the responsiveness Inline Pseudo ClassesOne thing vanilla CSS inline styling can t do is handling pseudo classes such as hover focus and active states But with Tailwind CSS you can apply pseudo classes to an element in the class attribute itself For example lt div class bg red hover bg blue mt text center gt lt span class text xl text white hover text yellow gt Hello world lt span gt lt div gt The result On hoverWe could see the background color at red and text color at white from the example above On hover the background color will change to blue while the text color changes to yellow CustomizationTailwind CSS has many advantages over other frameworks and one of them is the customization options Tailwind allows you to configure your utilities within a single tailwind config js file The customization file enables you to easily customize utilities such as colors spacing themes etc You can read more about customization here For example let s override the tailwind default blue color already present in the default theme so our custom values will override the default value Here we will use the same numbered notation for the color shades to override the default blue color The tailwind config js file should now look like this module exports purge theme extend colors blue cdf bbd add cace c b aa ead cb variants plugins Tighten up long class lists with applyTailwind CSS inline styling can become messy when the styling gets long That is when apply comes in The apply directives can also use to curb the repetition of classes that may occur in styling For example if you were to give HTML elements similar styling the apply can help you avoid repetition index html lt div class btn gt lt div gt style css btn apply my px py border border blue rounded md bg gradient to b from blue to blue hover from blue hover to blue text white shadow l Ease Of UseTailwind CSS is extremely easy to use At first learning all the naming schemes might take a long time to grasp But once you grasp it you will know exactly how to configure the entire library to your satisfaction The naming scheme is also one of the most important parts of tailwind For example p n for padding the n for using a certain value for the utility md for handling breakpoints etc No More Naming ProblemsOne thing I don t fancy about vanilla CSS is the fact that I have to come up with unique class names for styling purposes But with Tailwind CSS you can do your styling right inside the HTML tag and each inline styling is scoped to that specific tag ConclusionBefore picking up tailwind CSS you have to be good with your vanilla CSS because you might end up using classes without knowing how they work If you are good with Vanilla CSS and want a faster styling process and you are also willing to invest time in learning utility classes then tailwind CSS is an excellent choice Tailwind CSS introduces a different approach of how other CSS framework works It provides you with a set of utility classes that can be used to create a unique design with ease Tailwind CSS is also not opinionated so you are free to design your application the way you want In this article you have learned how to set up Tailwind CSS in your project You have also seen how utility classes can be used in building components like buttons and cards I also went further to give you practical reasons why you should use Tailwind CSS To learn more about Tailwind CSS The official documentation has several additional resources including examples screencasts and tutorials Thanks for reading I hope that I helped you learn something new today Originally written by AMAECHI AMARACHI for Blockchain Works |
2021-06-15 09:37:24 |
海外TECH |
DEV Community |
Still 100 CSS loaders for your next project |
https://dev.to/afif/still-100-css-loaders-for-your-next-project-57hp
|
Still CSS loaders for your next projectThe fun continue with another collection of CSS loaders Always the same rule one div one loader Table of contentThe Classic IVThe ColorfulThe Dots IVThe DancersThe Bars IIIThe LineThe Dots vs The Bars IIThe ClonesThe Nature IIThe Flipping IIThe Famous The Classic IVWe have lost the control I repeat we have lost the control The Colorful The Dots IV The Dancers The Bars III The Line The Dots vs The Bars II The Clones The Nature II The Flipping II The FamousYou all liked The Ben loader so I have made another casting It wasn t an easy task but some of them accepted to become loader or maybe not Please no spoils on the comment section That s it oof I reached Now it starts to get a bit challenging to create another collection of CSS loaders but you can help with some and also some coffees I have read an article saying that virtual coffees can increase the productivity up to worth trying no Still underline overlay animations The advanced CSS collection Temani Afif・Apr ・ min read css webdev codepen |
2021-06-15 09:22:13 |
海外TECH |
DEV Community |
Start an instance on AWS EC2 - Hands on |
https://dev.to/this-is-learning/start-an-instance-on-aws-ec2-hands-on-2hb3
|
Start an instance on AWS EC Hands onIn this exercise we will start a basic ec server and host a small server on it Type AWS EC in the search console and go to the EC dashboard This will land you on EC dashboard from where you can see how many EC instances are running your keys etc Select Instances from the side bar it shows all EC instances you are running and click on launch instance This will take you to a list of available AWS instances there are four optionsMy AMI My AMI has AMI instances created by you and saved Right now we have nothing saved here so this will be empty AWS Marketplace In AWS you can buy AWS instance with pre configured software s so that you don t have to set themselves like Wordpress SQL Ghost etc some of them are available free tooCommunity AMI These are all the instances given by the community for freeQuick start This is what we use these are minimal AWS instances which can be started very fast with basic OS Select the one highlighted in the below imageAfter that select the instance type like how may CPU RAM Storage bandwidth we want for the purpose of this tutorial we select t micro because its available in the free tier as evident by the the Free tier available badgeFor the purpose of this tutorial we don t change anything in configure instance move to the bottom and in advances details paste the following script in it These are the startup scripts which will run when we start our EC instance bin bash Use this for your user data script from top to bottom install httpd Linux version yum update yyum install y httpdsystemctl start httpdsystemctl enable httpdecho lt h gt Hello World from hostname f lt h gt gt var www html index htmlNow we configure storage all the default settings work just fine In future we will have an additional series on storage so don t worry about it now We will add tags so that it is easier to identify and manage our instances like name department maintenance etcConfigure Security group in here we define how our EC instance can be accessed In this tutorial add a new rule select HTTP from the type dropdown it will automatically allow everything via HTTP protocol its good here bit e can limit who can access our instance via HTTP and its not generally a good practice to give access to everyone via HTTP Now to the final step we review if everything is alright Just have a quick glace that all settings are done correctly Lets launch now but before launch AWS asks for a key which you download and use to access via SSH Download and keep the key safe as it only can be downloaded once You can also select a previous key if you have a key generated already Launch status page here you see a status of launched instance and some helpful resources to get you started Click on view instances to go to the instances dahboard Now you can see your instance running Select the instance you will see details at the bottom On the right side of public IPv address there is open address button click on it For now the link won t work because the link has https remove https form the link and there will be a screen like below image This http server was setup in our startup bash script above there we start a http apache server and return echo lt h gt Hello World from hostname f lt h gt gt with hostname that is what is displayedFinally if you want to follow along with this series you are done For others running an EC instance costs money so you can terminate the instance by selecting the instance and form the instance state dropdown select terminate instance In the next part of the series we will SSH into out instance and see our files and learn how to access remote PC |
2021-06-15 09:10:32 |
Apple |
AppleInsider - Frontpage News |
Apple's Podcast Subscriptions are now live |
https://appleinsider.com/articles/21/06/15/apples-podcast-subscriptions-are-now-live?utm_medium=rss
|
Apple x s Podcast Subscriptions are now liveUsers of Apple s Podcast app will now see options to subscribe to shows where the creators have chosen to support subscriptions You can now support your favorite podcasts and get ad free episodesApple has now launched its delayed podcast subscriptions service As of June when a user of Apple s own Podcast app goes to a show page they can be offered a subscription option Read more |
2021-06-15 09:37:47 |
海外TECH |
Engadget |
SpaceX cleared to launch reused rockets for 'national security' missions |
https://www.engadget.com/space-x-cleared-to-launch-reused-rockets-for-space-force-military-missions-095503078.html?src=rss_b2c
|
SpaceX cleared to launch reused rockets for x national security x missionsThe Pentagon has signed off on its first SpaceX mission using a reused rocket with a GPS III satellite launch set to take place on Thursday June th |
2021-06-15 09:55:03 |
海外TECH |
Engadget |
Google's Nest Audio smart speaker hits new low of $75 |
https://www.engadget.com/google-nest-audio-smart-speaker-new-low-091549030.html?src=rss_b2c
|
store |
2021-06-15 09:15:49 |
海外TECH |
CodeProject Latest Articles |
Threading in Java: Object Locks - III (Why Object lock is not working ?) |
https://www.codeproject.com/Articles/5305430/Threading-in-Java-Object-Locks-III-Why-Object-lock
|
locks |
2021-06-15 09:52:00 |
海外科学 |
NYT > Science |
Shi Zhengli, A Virologist in Wuhan, Speaks Out Against 'Lab Leak' Theory |
https://www.nytimes.com/2021/06/14/world/asia/china-covid-wuhan-lab-leak.html
|
Shi Zhengli A Virologist in Wuhan Speaks Out Against x Lab Leak x TheoryThe virologist Shi Zhengli said in a rare interview that speculation about her lab in Wuhan was baseless But China s habitual secrecy makes her claims hard to validate |
2021-06-15 09:14:23 |
海外科学 |
NYT > Science |
Tropical Storm Bill Forms Off the East Coast |
https://www.nytimes.com/article/tropical-storm-bill-hurricane.html
|
hurricane |
2021-06-15 09:41:55 |
海外科学 |
NYT > Science |
Covid Survivors Smell Foods Differently |
https://www.nytimes.com/2021/06/15/health/covid-smells-food.html
|
certain |
2021-06-15 09:14:52 |
海外科学 |
NYT > Science |
Covid Vaccine Card: What You Need to Know |
https://www.nytimes.com/article/vaccine-covid-card.html
|
questions |
2021-06-15 09:09:27 |
海外科学 |
NYT > Science |
California Coronavirus Deaths: The Toll on Hispanic Americans |
https://www.nytimes.com/2021/06/14/health/coronavirus-hispanic-california.html
|
California Coronavirus Deaths The Toll on Hispanic AmericansDeaths in Santa Clara County Calif highlight a terrible disparity of the pandemic Covid killed many Hispanic Americans at younger ages |
2021-06-15 09:03:58 |
金融 |
ニッセイ基礎研究所 |
新型コロナワクチンをすぐには接種しない人の理由と特徴~「安全性への不安」「順番待ち・様子見」「面倒」「ワクチン不要」 |
https://www.nli-research.co.jp/topics_detail1/id=68019?site=nli
|
安全性への不安を感じている人においては、「しばらく様子を見てから接種したい」と考えている人もあり、より副反応が出やすいとされる回目接種後の副反応の程度や件数、対応状況などを公表している中で不安が解消していく可能性がある。 |
2021-06-15 18:05:17 |
金融 |
ニッセイ基礎研究所 |
新型コロナワクチンをすぐにでも接種したい人とは?~同居家族のリスクへの配慮や収束後の行動への期待 |
https://www.nli-research.co.jp/topics_detail1/id=68018?site=nli
|
家族との同居状況でみると、祖父母と同居している人で接種意向が高く、高齢者自身がワクチンを接種するだけでなく、感染経路となり得る家族が接種することで、より感染を防ぐ意向があるのだろう。 |
2021-06-15 18:04:06 |
海外ニュース |
Japan Times latest articles |
G7 a missed opportunity for Tokyo-Seoul ties as Suga and Moon fail to connect |
https://www.japantimes.co.jp/news/2021/06/15/national/japan-south-korea-suga-moon-ties/
|
G a missed opportunity for Tokyo Seoul ties as Suga and Moon fail to connectWith overtures on the sidelines of the G reportedly spurned and denials of a possible Olympic meeting Tokyo and Seoul appear unlikely to repair their |
2021-06-15 18:01:19 |
ニュース |
BBC News - Home |
UK and Australia in first post-Brexit trade deal |
https://www.bbc.co.uk/news/business-57478412
|
scotch |
2021-06-15 09:37:46 |
ニュース |
BBC News - Home |
Ikea France fined €1m for snooping on staff |
https://www.bbc.co.uk/news/world-europe-57482168
|
detectives |
2021-06-15 09:21:28 |
ニュース |
BBC News - Home |
Ex-BBC boss Tony Hall 'sorry for hurt' to royals over Martin Bashir scandal |
https://www.bbc.co.uk/news/entertainment-arts-57481098
|
family |
2021-06-15 09:48:02 |
ニュース |
BBC News - Home |
Maisie Peters: Meet the singer who's been snapped up by Ed Sheeran |
https://www.bbc.co.uk/news/entertainment-arts-57468169
|
label |
2021-06-15 09:15:00 |
ニュース |
BBC News - Home |
Goalkeeper Ramsdale replaces injured Henderson in England's Euro 2020 squad |
https://www.bbc.co.uk/sport/football/57480270
|
henderson |
2021-06-15 09:55:30 |
ニュース |
BBC News - Home |
No Balls podcast: England seamer Chris Woakes is the first guest as podcast launches on BBC Sounds |
https://www.bbc.co.uk/sport/cricket/57432162
|
No Balls podcast England seamer Chris Woakes is the first guest as podcast launches on BBC SoundsBest friends and team mates Alex Hartley and Kate Cross welcome England s Chris Woakes to the first episode of their No Balls podcast |
2021-06-15 09:06:12 |
GCP |
Google Cloud Platform Japan 公式ブログ |
Anthos 101 学習シリーズ: すべての動画をまとめて視聴 |
https://cloud.google.com/blog/ja/topics/anthos/anthos-101-learning-series-all-the-videos-in-one-place/
|
Anthosの利用をスムーズに開始できるように、Anthosの動画学習シリーズを作成しました。 |
2021-06-15 10:00:00 |
北海道 |
北海道新聞 |
海の駅「ぷらっとみなと」 歌で応援 苫小牧東高合唱部作曲、CDに |
https://www.hokkaido-np.co.jp/article/555789/
|
苫小牧 |
2021-06-15 18:18:00 |
北海道 |
北海道新聞 |
根室管内3町、64歳以下接種を7月開始へ コロナワクチン |
https://www.hokkaido-np.co.jp/article/555787/
|
根室管内 |
2021-06-15 18:14:00 |
北海道 |
北海道新聞 |
ホンダ、オデッセイ年内生産終了 90年代にヒット |
https://www.hokkaido-np.co.jp/article/555774/
|
生産 |
2021-06-15 18:04:01 |
ニュース |
Newsweek |
無計画な植林が環境を破壊している 侵略種化や8割衰弱も |
https://www.newsweekjapan.jp/stories/world/2021/06/8-53.php
|
無計画な植林が環境を破壊している侵略種化や割衰弱も荒れ地や農地の一部などを森林に転換する植林は、温暖化対策の切り札として活用されてきた。 |
2021-06-15 18:26:06 |
IT |
週刊アスキー |
『桃太郎電鉄 ~昭和 平成 令和も定番!~』が累計販売本数300万本突破!! |
https://weekly.ascii.jp/elem/000/004/059/4059131/
|
nintendo |
2021-06-15 18:50:00 |
IT |
週刊アスキー |
ロア・インターナショナル、Sペンホルダーを一体化させたGalaxy S21 Ultra専用ソフトクリアケース「FLEXIELD」を発売 |
https://weekly.ascii.jp/elem/000/004/059/4059126/
|
araree |
2021-06-15 18:30:00 |
IT |
週刊アスキー |
6月22日21時から!バージョン5.5[後期]の最新情報が公開される「超ドラゴンクエストX TV #25」が配信決定! |
https://weekly.ascii.jp/elem/000/004/059/4059125/
|
mmorpg |
2021-06-15 18:25:00 |
GCP |
Cloud Blog JA |
Anthos 101 学習シリーズ: すべての動画をまとめて視聴 |
https://cloud.google.com/blog/ja/topics/anthos/anthos-101-learning-series-all-the-videos-in-one-place/
|
Anthosの利用をスムーズに開始できるように、Anthosの動画学習シリーズを作成しました。 |
2021-06-15 10:00:00 |
コメント
コメントを投稿