GCP |
gcpタグが付けられた新着投稿 - Qiita |
ZeroSSLでSSL証明書を無料かつ爆速で取得する方法 |
https://qiita.com/naoki-haba/items/a4cbb7e5850e1b9718a1
|
ZeroSSLでSSL証明書を無料かつ爆速で取得する方法概要ZeroSSLで無料のSSL証明書を発行する方法をまとめていきますこの記事で伝えたいことZeroSSLでSSL証明書を発行してドメインをHTTPS化するまでのプロセス課題の原因CentOSxのドメインを更新するのでCertbotに対応していないいつも購入している海外の証明書購入サイトが不具合で注文が処理されない国内の証明書購入サイトで注文を検討したが以下の理由で断念wwwドメイン名にアクセスできないのでファイル認証できないwhois情報のメールは利用できないのでメール認証できない課題を解決する技術、手法今回ZeroSSLを導入するにあたって以下の記事を参考にしました個人的にブラウザで発行ができるかつ証明書の更新方法を親切にガイドしてくれるのが嬉しい点です。 |
2022-01-30 03:47:54 |
海外TECH |
MakeUseOf |
How to Use Samsung Galaxy's Kids Mode to Protect Your Children |
https://www.makeuseof.com/how-to-use-samsung-galaxy-kids-mode/
|
galaxy |
2022-01-29 18:45:11 |
海外TECH |
MakeUseOf |
How to Change Your Slack Status |
https://www.makeuseof.com/how-to-change-slack-status/
|
slack |
2022-01-29 18:15:12 |
海外TECH |
DEV Community |
Provider ile Çalışmak 💫 🌌 ✨ |
https://dev.to/gulsenkeskin/provider-ile-calismak-l4l
|
Provider ile Çalışmak Bu yazıda Flutter da providerlarıve state yönetimini ele alacağız Provider paketi state yönetimi için kullanılan InheritedWIdget çevresinde bir wrapper dır sarmalayıcıdır Provider ile widget ağacına bir state object durum nesnesi yerleştirebilir ve onu diğer herhangi bir alt widget öğesinden erişilebilir hale getirebiliriz Provider ayrıca verilerle başlatarak ve widget ağacından kaldırıldıklarında onlardan sonra temizleyerek state nesnelerinin yaşam süresinin yönetilmesine yardımcıolur Provider BLoC bileşenlerini uygulamak için bile kullanılabilir veya diğer state yönetimi çözümlerinin temeli olarak hizmet edebilir Veya basitçe verileri widget lara geçirmek için süslübir terim olan dependency injection için kullanılabilir Plugin eklenti eklemeFlutter projemize provider eklentisini ekleyerek başlayalım pubspec yaml dosyanıza gidin ve cupertino icons eklentisini plugin arayın Bunun altına uygulamanız için ihtiyaçduyacağınız eklentileri ekleyebilirsiniz Provider paketini de buraya ekleyelim cupertino icons provider Bu yapıldıktan sonra pub get komutunu çalıştırın Android Studio kullanıyorsanız sağüst köşede Pub get seçeneğini göreceksiniz VS Code u kullanırsanız dosyayıkaydederseniz komut otomatik olarak çalışır ChangeNotifier eklemeProvider paketini projemize eklediğimize göre şimdi kullanalım Verileri tüketmeye başlamadan önce bir ChangeNotifier uygulamamız gerekiyor Bu kişi listemize bir şey eklendiğinde güncellendiğinde veya kaldırıldığında verileri tüketen tüm widget lara bildirir lib içinde provider adında yeni bir klasör oluşturuyoruz ve bunun içinde contact provider dart adında bir dosya oluşturuyoruz import model contact dart import package flutter material dart class ContactProvider extends ChangeNotifier List lt Contact gt contactList List lt Contact gt get contacts return contactList set contacts List lt Contact gt newContacts contactList newContacts notifyListeners void addContact Contact newContact contactList add newContact notifyListeners void removeContact int index contactList removeAt index notifyListeners Başlangıçolarak ContactProvider sınıfımızıoluşturuyoruz ve ChangeNotifier ıextend etmesini sağlıyoruz Bu uygulamamızdaki verileri güncellemek için kullanacağımız notifyListeners yöntemine erişmemizi sağlar Bir getter ve setter kullanılarak erişilebilen özel bir kişi listemiz contactList var Bunun dışında da addContact ve removeContact yöntemlerimiz var Bu yöntemlerin her birinde bir kişi eklendiğinde veya kaldırıldığında widget larıgüncelleyen notifyListeners yöntemini kullandığımızıgöreceksiniz Bu yapıldıktan sonra main dart dosyamıza gidiyoruz ve MaterialApp imizi bir MultiProvider widget ına sarıyoruz MultiProvider da uygulama içinde kullanmak istediğimiz tüm provider ların bir listesini beyan ederiz main dart dosyamız şöyle görünmelidir import package contacts app provider contact provider dart import package flutter material dart import package provider provider dart import contacts page dart void main runApp MyApp class MyApp extends StatelessWidget override Widget build BuildContext context return MultiProvider providers ChangeNotifierProvider value value ContactProvider child MaterialApp title Flutter Demo theme ThemeData primarySwatch Colors purple visualDensity VisualDensity adaptivePlatformDensity home ContactsPage Provider ıkullanmakArtık change listener kurulumumuzu yaptığımıza göre contact page dart dosyasına geri dönelim Kişiler listesini aldığımızda provider ıgüncelleyebilmemiz için getContacts yöntemini değiştiririz void getContacts async await Future delayed Duration milliseconds ContactProvider contactProvider Provider of lt ContactProvider gt context listen false contactProvider contacts dummyData Provider ımızıbaşlatıyoruz ve providerdaki kişilerimizi güncelliyoruz Provider ınızıbaşlatırken listen parametresini false olarak ayarlamayıunutmayın Provider ıyalnızca verilerinize erişmek için kullanırsınız değişiklikleri dinlemek için değil Artık verileri elde ettiğimize göre geriye kalan bir sonraki şey bu verileri ListView de tüketmek Bunu buildListView yönteminde yapıyoruz Widget buildListView context return Consumer lt ContactProvider gt builder context snapshot child return ListView builder itemBuilder context index gt ContactCard index index contact snapshot contacts index updateCallback updateContact deleteCallback gt snapshot removeContact index itemCount snapshot contacts length ListView imizi türünün ContactProvider olduğu bir Consumer lt T gt widget ına sarıyoruz Tüketici oluşturucu işlevi bize bir context model ve alt değişkenler verir Model bize ListView imizi doldurmak için kullandığımız kişileri sağlar Aşağıdaki kişi listemiz için kullanıcıarayüzünügörebilirsiniz Bu yazıda Provider ve Consumer ın nasıl kullanılacağına ve ChangeNotifiers konularına göz attık ve provider ı contact uygulamamızıoluşturmak için kullandık Kodun tamamına ulaşmak için reference |
2022-01-29 18:42:54 |
Apple |
AppleInsider - Frontpage News |
Apple warns macOS Monterey beta testers of FileVault issue |
https://appleinsider.com/articles/22/01/29/apple-warns-macos-monterey-beta-testers-of-filevault-issue?utm_medium=rss
|
Apple warns macOS Monterey beta testers of FileVault issueApple is warning developers beta testing macOS Monterey that they could encounter a boot loop if they use it on a Mac with macOS Catalina and FileVault enabled Apple issued its first beta of macOS Monterey on Thursday allowing participants in the Developer Beta program to download and try out the operating system update In an update to release notes for the beta it seems there s a chance some users could find themselves in trouble The warning highlighted in red in the macOS Monterey beta release notes states that users of a Mac with macOS Catalina installed may have trouble testing both the Monterey beta and macOS Big Sur beta if they do so on a volume with FileVault enabled Doing so might cause a boot loop when attempting to log back into the previous volume Read more |
2022-01-29 18:05:58 |
海外TECH |
Engadget |
Peloton reportedly owes some of its workers money for unpaid labor |
https://www.engadget.com/peloton-reportedly-owes-some-workers-money-185050014.html?src=rss
|
Peloton reportedly owes some of its workers money for unpaid laborPeloton owes at least five of its workers money for unpaid labor according to a BuzzFeed News report The publication says that in recent months a Minnesota delivery worker and a Los Angeles salesperson for the company filed lawsuits seeking class action status against it over unpaid overtime Aside from unpaid labor the LA salesperson which worked at Peloton for over five years also said he wasn t reimbursed for work expenses and wasn t paid the full wages required upon termination of employment nbsp BuzzFeed also talked to three more workers who raised various kinds of pay issues They complained about having to go back to work after clocking out and not being paid for it having to work through breaks and not getting expense reimbursements One worker said there were multiple instances wherein he showed up to work and there was nothing to do While Peloton told BuzzFeed that it pays workers for quot a minimum of four hours quot of work the person the publication interviewed said he was sent home without pay nbsp Peloton exploded in popularity at the beginning of the pandemic when gyms were closed and people wanted an exercise machine in their homes As BuzzFeed News notes employees at its New York City HQ thought it was the best place to work but it was the company s sales video production staff assembly workers and delivery drivers that raised concerns about missing pay nbsp A Peloton spokesperson however told BuzzFeed that it provides paid break time as per labor laws The spokesperson also said quot We are committed to creating an inclusive kind and productive culture where all team members are treated respectfully and have the tools to succeed Peloton employees are fairly paid and we are committed to adhering to all legal requirements in every state in which we operate quot According to a CNBC report earlier this month Peloton is experiencing a significant drop in demand due to several factors such as increased competition from rivals The report claimed that the company is pausing Bike and Tread production as a result but Peloton CEO John Foley denied that in a letter to employees He said that rumors the company is halting the production of its exercise machines are false but he did say that Peloton is quot resetting its production levels for sustainable growth quot He also said that while layoffs are the last resort as a solution to its its problems Peloton now needs to quot evaluate its organization structure and size of its team quot |
2022-01-29 18:50:50 |
海外TECH |
Engadget |
NASA's JPL appoints its first female director |
https://www.engadget.com/nasa-jpl-first-female-director-180616515.html?src=rss
|
NASA x s JPL appoints its first female directorNASA isn t just interested in putting more women in space The agency s Jet Propulsion Laboratory has appointed Worcester Polytechnic Institute s Dr Laurie Leshin as its first female director She ll assume the role on May th replacing former director Michael Watkins who retired in August and interim director Lt Gen Larry James She ll also serve as vice president of Caltech which manages the JPL Leshin has extensive experience both in science and in breaking new ground She has held senior positions in NASA including a key director role at the Goddard Space Flight Center As deputy associate administrator for NASA s Exploration Systems Mission Directorate she laid some of the groundwork for both commercial spaceflight and Artemis She was Rensselaer Polytechnic Institute s science dean and has served as WPI s first female president since The incoming JPL director has also pursued science of her own She has been a proponent of and contributor to Mars sample return missions and helped study data from the Curiosity rover The appointment is also a return of sorts of Leshin as she earned her graduate degrees at Caltech Caltech said Leshin was a prime candidate to lead the JPL thanks to her quot strategic approach quot to science and technology recognition of NASA s leading role in science navigation of complex institutions and ability to quot inspire the next generation quot of scientists and engineers In other words she could be a good fit for an organization where long term planning is absolutely necessary |
2022-01-29 18:06:16 |
海外科学 |
NYT > Science |
When Omicron Isn’t So Mild |
https://www.nytimes.com/2022/01/29/health/omicron-chronic-illness.html
|
pandemic |
2022-01-29 18:16:34 |
海外科学 |
NYT > Science |
Jana Bennett, Former Director of BBC Television, Dies at 66 |
https://www.nytimes.com/2022/01/26/business/media/jana-bennett-dead.html
|
Jana Bennett Former Director of BBC Television Dies at An American born executive who transformed the presentation of science on TV and was considered one of the most influential women in her industry |
2022-01-29 18:02:40 |
ニュース |
BBC News - Home |
Storm Malik: Boy, 9, dies after tree falls during storm |
https://www.bbc.co.uk/news/uk-60183035?at_medium=RSS&at_campaign=KARANGA
|
disruption |
2022-01-29 18:47:04 |
ニュース |
BBC News - Home |
Leaders Fulham held by Blackpool after Mitrovic's 28th goal this season |
https://www.bbc.co.uk/sport/football/60093111?at_medium=RSS&at_campaign=KARANGA
|
Leaders Fulham held by Blackpool after Mitrovic x s th goal this seasonAleksandar Mitrovic scores his th goal of the season but Championship leaders Fulham are pegged back by impressive Blackpool |
2022-01-29 18:08:13 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【9割の人が知らない Google の使い方】 設備投資ゼロでもDX実現! Google ドキュメントからDXの第一歩を始めませんか? - Google 式10Xリモート仕事術 |
https://diamond.jp/articles/-/294098
|
ビジネスパーソンも「リモート強者」と「リモート弱者」に二極化しつつある今、あなたは「リモート強者」かそれとも「リモート弱者」かそんな時、心強い味方が現れた。 |
2022-01-30 03:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
右手薬指に指輪をしてしまう系女子 - 私の居場所が見つからない |
https://diamond.jp/articles/-/293549
|
|
2022-01-30 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【1日1分強運貯金】 見るだけで、突然、 みるみる心も体も筋力アップ! 【建御雷神(たけみかづちのかみ)】の神パワーとは? - 1日1分見るだけで願いが叶う!ふくふく開運絵馬 |
https://diamond.jp/articles/-/293609
|
【日分強運貯金】見るだけで、突然、みるみる心も体も筋力アップ【建御雷神たけみかづちのかみ】の神パワーとは日分見るだけで願いが叶うふくふく開運絵馬Amazonランキング第位祭祀・、楽天ブックスランキング第位民俗・、。 |
2022-01-30 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【9割の人が知らないコピー技術100】 日本一のマーケターが明かす 「BTRNUTSS(バターナッツ)」スパイスが効いた ダントツ見出し厳選8事例とは? - コピーライティング技術大全 |
https://diamond.jp/articles/-/293153
|
【割の人が知らないコピー技術】日本一のマーケターが明かす「BTRNUTSSバターナッツ」スパイスが効いたダントツ見出し厳選事例とはコピーライティング技術大全発売たちまち大重版Amazonランキング第位広告・宣伝。 |
2022-01-30 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【9割の人が知らない】 「自己分析」が、終わりなき「自分探し」になる理由 - 真の「安定」を手に入れるシン・サラリーマン |
https://diamond.jp/articles/-/293014
|
【割の人が知らない】「自己分析」が、終わりなき「自分探し」になる理由真の「安定」を手に入れるシン・サラリーマン異例の発売前重版刷仕事がデキない、忙しすぎる、上司のパワハラ、転職したい、夢がない、貯金がない、老後が不安…サラリーマンの悩み、この一冊ですべて解決これからのリーマンに必要なもの、結論、出世より「つの武器」リーマン力副業力マネー力。 |
2022-01-30 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「自然に話しかけたい」ときの手っ取り早い一言とは? - 孤独からはじめよう |
https://diamond.jp/articles/-/294515
|
自然 |
2022-01-30 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【イギリスの元スパイが説く】 スパイはどのように論理的な決断を下すのか? - イギリス諜報機関の元スパイが教える 最強の知的武装術――残酷な時代を乗り切る10のレッスン |
https://diamond.jp/articles/-/290355
|
スパイがどのように情報を収集し、分析し、活用しているのかそのテクニックをかつての実例を深堀りしながら「のレッスン」として解説している。 |
2022-01-30 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【強運な人は知っている】なぜ、人が祈ることで、幸運の循環システムが生まれると言えるのか? - 龍神とつながる強運人生 |
https://diamond.jp/articles/-/293940
|
龍神 |
2022-01-30 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
定年後に東京・八王子の賃貸戸建てで大成功! 不動産ビジネスの新潮流とは? - マイホームは価値ある中古マンションを買いなさい! |
https://diamond.jp/articles/-/294337
|
定年後に東京・八王子の賃貸戸建てで大成功不動産ビジネスの新潮流とはマイホームは価値ある中古マンションを買いなさい新築マンション市場が、投資・転売・節税目的の購入者層で沸いています。 |
2022-01-30 03:05:00 |
コメント
コメントを投稿