IT |
ITmedia 総合記事一覧 |
[ITmedia News] 50年前の「東映まんがまつり」劇場で再現 4Kリマスターで「マジンガーZ」「仮面ライダーV3」 |
https://www.itmedia.co.jp/news/articles/2306/05/news173.html
|
itmedia |
2023-06-05 21:11:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
LangchainをStreamllt上で文字ストリーミングする方法 |
https://qiita.com/yazoo/items/b318adbab0d5f3f58dc8
|
chatgpt |
2023-06-05 21:31:18 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
os.walkを使ってフォルダ内のファイルの一覧表を作成 |
https://qiita.com/yaanai/items/e698e38647ae175bc227
|
chatgpt |
2023-06-05 21:24:42 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【問答無用】JavaScriptに引数の参照渡しは無い |
https://qiita.com/culage/items/4ab109afadc15a1e896a
|
functionfampn |
2023-06-05 21:54:23 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
#TeachableMachine で夫婦喧嘩をイヌに食わせてみた🐶 |
https://qiita.com/chiiirotty/items/d5ac30faec385cd12290
|
teachablemachine |
2023-06-05 21:30:57 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Windows10 Ruby3 Rails7にPostgreSQLデータベースを設定する手順 |
https://qiita.com/bigrock1969/items/f10b2823d4fa8f66c566
|
windows |
2023-06-05 21:11:09 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
ECSでAPIのバックエンドを動かしてみた |
https://qiita.com/tToyoshima/items/76b38bea43ff7913909d
|
dockerfile |
2023-06-05 21:23:09 |
海外TECH |
DEV Community |
Verifying emails in laravel 10 using laravel ui |
https://dev.to/jovialcore/verifying-emails-in-laravel-10-using-laravel-ui-5855
|
Verifying emails in laravel using laravel uiLaravel makes building web applications simple and pretty straight forward especially we give credits to it s out of the box functionalities like Authentication Scalffolding In this tutorial we will be creating our authentication files using laravel ui package Install laravelcreate project prefer dist laravel laravel appFrom your terminal CD into app Next go to your env file and make the following changes DB CONNECTION mysqlDB HOST DB PORT DB DATABASE mydatabaseDB USERNAME rootDB PASSWORD Adjust those variables where necessary so they reflect your database configuration Generate Authentication files Like I mentioned earlier we ll be generating authentication files using laravel ui package Install laravel ui composer require laravel uiScaffold Auth files In my case I will be using booststrap php artisan ui bootstrap authWhen it s all set run the commmand php artisan migrate So we are migrating to our database users table It is by default in a fresh laravel installation Start up your application to see what we have done so far in action php artisan serveEmail ConfigurationIn this example I will be using gmail SMTP emailing service hence you can use your gmail mail account to send mail on behalf of our application To do this first you will need Your email account username e g yourname gmail com andApp password it is the app password we are going to be using as password Worthy to note is that to get an app password you must enable two factor authentication on your gmail account Follow these intructions to get your app password How to generate app passwordFollowing that guide when you click on factor tab your app password card like in the image below should be at the bottom the page Remember to fresh page if the App passwords section doesn t come up immediately Subsequently you will be prompted to select a device Copy your app password just like in the screenshot below and fill them in their respective env variables MAIL MAILER smtpMAIL HOST smtp gmail comMAIL PORT MAIL USERNAME yourusername gmail comMAIL PASSWORD yourapppasswordMAIL ENCRYPTION sslMAIL FROM ADDRESS codebere gmail comMAIL FROM NAME APP NAME Model Setup To proceed in your Model User php lets add the MustVerifyEmail class by implementing Illuminate Contracts Auth MustVerifyEmail use Illuminate Contracts Auth MustVerifyEmail other classesclass User extends Authenticatable implements MustVerifyEmailRoutingThe previous steps we have followed has automatically created the neccessary authentication files we may be needing All we have to do now is prepare a proper routing and that will suffix Verify Email View RoutingGo to your routes web php Lets first add the routes that redirect authenticated but unverified users to a view file Notice that we attach an Auth middleware and our route name is verification notice Route get email verify function return view auth verify gt middleware auth gt name verification notice You are not to change the route name as our Auth setup uses the the verified middleware included with Laravel to automatically redirect to that route name if a user has not verified their email address views auth verify blade php Email Verification HandlerNext route we will be defining will be in charge of verifying the email when the user clicks on the link sent to their inbox Still in your routes web php remember to import EmailVerificationRequest classuse Illuminate Foundation Auth EmailVerificationRequest Route get email verify id hash function EmailVerificationRequest r r gt fulfill return redirect home gt middleware auth signed gt name verification verify In the code above laravel will use EmailVerificationRequest to validate the request id and hash parameters then call the fufill method that marks the authenticated user as verified and dispatches a verified event Email Example What if the user deletes the mail we sent or they can t find it We want to give them opportunity to request for another verification mail Here use Illuminate Http Request Route post email verification notification function Request r r gt user gt sendEmailVerificationNotification return back gt with resent Verification link sent gt middleware auth throttle gt name verification send Using this route via a post request Laravel sends an email notification once again You can find the responsible blade file in views auth verify blade phpThat should be all If you find any challenge following this guide please do let me know in the comment sectionMy TwitterLinkedin |
2023-06-05 12:26:25 |
海外TECH |
DEV Community |
Fueling Innovation and Collaborative Storytelling |
https://dev.to/opensauced/fueling-innovation-and-collaborative-storytelling-5701
|
Fueling Innovation and Collaborative StorytellingA couple of years ago I got to see Neil Gaiman the English author creator and creative genius live To say the experience was inspirational would be an understatement There s something moving about hearing a person share their stories listening to them read though There s deeper meaning when you can see their expressions the ways they move on the stage You come out of the experience inspired to pursue the things you re passionate about And it reminded me about an interview he gave a couple of years ago about his experience speaking about science fiction at the first ever state sponsored science fiction convention Gaiman asked some of the organizers Why are you now in endorsing a science fiction convention According to Gaiman the Chinese organizer said that the Party had been concerned that while China historically has been a culture of magical and radical invention right now they weren t inventing things To try to find that inspiration they d gone to the United States and interviewed the people at Google and Apple and Microsoft and talked to the inventors What they found out was that all of these inventors had read science fiction when they were young Science fiction and open source mutually influence and shape each other creating connections and inspiring innovation Below you ll find some of those ways Open Source Hardware Bringing Sci Fi Gadgets to LifeWith the advent of open source hardware platforms like Arduino and Raspberry Pi enthusiasts and inventors can bring these fictional devices to life From home automation systems to wearable devices open source hardware provides a platform for collaboration and innovation blurring the lines between fiction and reality For example one group used Arduino to create a real life version of the lightsaber from Star Wars The lightsaber is fully functional and can be used to deflect blaster bolts and cut through objects Open Source Gaming Blurring the Lines Between Fiction and Interactive ExperiencesScience Fiction has introduced us to worlds we could only imagine but open source has helped to create a space for us to explore them Open source gaming platforms like Unity and Unreal Engine have harnessed the imagination and creativity of developers enabling them to build captivating gaming universes Through open source collaboration developers can create games that transport players to extraordinary realms blurring the boundaries between fiction and interaction For example Star Citizen is a space combat simulator currently in development as an OSS project The game is being created using the Unreal Engine and one of the most ambitious open source gaming projects ever undertaken promising to be a truly immersive experience with players able to explore a vast universe pilot their own ships and engage in combat with other players Open Source Data Analysis Unleashing the Power of Big DataThis might not be at the top of your list but science fiction often presents advanced data analysis and visualization technologies Open source data analysis tools such as Python s Pandas and R s ggplot have revolutionized the field making complex data manipulation and visualization accessible to all In the science fiction novel The Martian astronaut Mark Watney uses a variety of data analysis and visualization tools to survive on Mars He uses Python s Pandas to clean and organize data and he uses R s ggplot to create visualizations of his data These tools allow him to make sense of the vast amounts of data and help him to make critical decisions about his survival Open Source Soundscapes Transforming Imaginary Soundtracks into RealityMusic and sound provide depth and development to science fiction worlds Open source music production software like Ardour and LMMS provide aspiring composers and sound designers with professional grade tools to create atmospheric and futuristic soundscapes The TV show The Expanse uses open source soundscaping tools to create realistic soundscapes of space travel The soundscape helps to immerse the viewer in the world of the show and it helps to make the space battles feel more real The closer science fiction comes to open source the more opportunities we have to contribute to the new realities that are created I don t know about you but that sounds exciting to me If you want to be inspired by open source projects check out OpenSauced s insights and check back next week for the last post in the series |
2023-06-05 12:25:00 |
海外TECH |
DEV Community |
Meme Monday |
https://dev.to/ben/meme-monday-a8o
|
Meme MondayMeme Monday Today s cover image comes from last week s thread DEV is an inclusive space Humor in poor taste will be downvoted by mods |
2023-06-05 12:09:13 |
Apple |
AppleInsider - Frontpage News |
Apple Park needed an expansion to contain WWDC headset demos |
https://appleinsider.com/articles/23/06/05/apple-park-needed-an-expansion-to-contain-wwdc-headset-demos?utm_medium=rss
|
Apple Park needed an expansion to contain WWDC headset demosA pair of buildings have popped up inside and outside of Apple Park with one built to house a demonstration area for its hotly anticipated mixed reality headset Apple Park s new structures Cider Collective Apple Park is a very large campus but it seems the launch of an entirely new platform for the company may be too much to be confined to its existing buildings For WWDC it appears that Apple has added more structures specifically to show off its new products including the Apple VR headset Read more |
2023-06-05 13:00:09 |
Apple |
AppleInsider - Frontpage News |
Apple's 'XR' headset could cost $1,999 at launch |
https://appleinsider.com/articles/23/06/05/apples-xr-headset-could-cost-1999-at-launch?utm_medium=rss
|
Apple x s x XR x headset could cost at launchA leak claims Apple s name for its mixed reality headset will be XR but the same rumor claims a questionable starting price of not the previously rumored Yeux Naver Apple is mere hours away from holding its WWDC keynote which is anticipated to include product launches alongside details of its operating system changes For the most high profile device in the list it is claimed that a name has finally been chosen for it Read more |
2023-06-05 12:12:05 |
海外科学 |
NYT > Science |
For These Bird Flu Researchers, Work Is a Day at the Very ‘Icky’ Beach |
https://www.nytimes.com/2023/06/04/health/birds-flu-h5n1.html
|
For These Bird Flu Researchers Work Is a Day at the Very Icky BeachThe HN virus poses “a great unknown threat to birds and humans alike Understanding and thwarting it begins with excrement collection |
2023-06-05 12:29:19 |
ニュース |
BBC News - Home |
Ukraine war: Russia says it thwarted major Ukrainian offensive |
https://www.bbc.co.uk/news/world-europe-65806152?at_medium=RSS&at_campaign=KARANGA
|
ukrainian |
2023-06-05 12:28:40 |
ニュース |
BBC News - Home |
England cricketers become first LGBT couple to read CBeebies bedtime story |
https://www.bbc.co.uk/news/entertainment-arts-65809944?at_medium=RSS&at_campaign=KARANGA
|
emotional |
2023-06-05 12:39:56 |
ニュース |
BBC News - Home |
Two new barges to house up to 1,000 migrants - Sunak |
https://www.bbc.co.uk/news/uk-politics-65810728?at_medium=RSS&at_campaign=KARANGA
|
boats |
2023-06-05 12:03:18 |
ニュース |
BBC News - Home |
Lidl next to vac pack mince despite Sainsbury's 'mush' complaints |
https://www.bbc.co.uk/news/business-65809070?at_medium=RSS&at_campaign=KARANGA
|
shoppers |
2023-06-05 12:10:54 |
ニュース |
BBC News - Home |
Matt Hancock ordered to apologise over rule breach |
https://www.bbc.co.uk/news/uk-65811114?at_medium=RSS&at_campaign=KARANGA
|
conservative |
2023-06-05 12:55:16 |
仮想通貨 |
BITPRESS(ビットプレス) |
カイカエクスチェンジ、2023/7/1付で暗号資産FXサービス終了に伴う第一種金融商品取引業の廃止について |
https://bitpress.jp/count2/3_11_13632
|
金融商品取引業 |
2023-06-05 21:55:06 |
コメント
コメントを投稿