IT |
気になる、記になる… |
OWC、「Amazonタイムセール祭り」で外付けSSDケースやTB4ケーブルの値下げセールを開催中 |
https://taisy0.com/2021/08/17/144187.html
|
amazon |
2021-08-17 01:14:25 |
IT |
気になる、記になる… |
Satechi、USB-Cハブやマグネットワイヤレス充電ケーブルなどを20%オフで販売するセールを開催中 |
https://taisy0.com/2021/08/17/144184.html
|
amazon |
2021-08-17 01:02:59 |
IT |
InfoQ |
アーティクル: Excelの数式言語がチューリング完全に |
https://www.infoq.com/jp/articles/excel-lambda-turing-complete/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
アーティクルExcelの数式言語がチューリング完全にExcel開発チームがLAMBDAを発表しました。 |
2021-08-17 01:39:00 |
TECH |
Engadget Japanese |
Galaxy、realme、OPPO、HUAWEIの完全ワイヤレスイヤホンがお買い得!:Amazonタイムセール祭り |
https://japanese.engadget.com/time-sale-wireless-earphones-013400049.html
|
amazon |
2021-08-17 01:34:00 |
TECH |
Engadget Japanese |
Ankerのロボット掃除機が26%引き。水拭き両対応モデルも:Amazonタイムセール祭り |
https://japanese.engadget.com/anker-robot-013235180.html
|
amazon |
2021-08-17 01:32:35 |
TECH |
Engadget Japanese |
タイムセール祭りで約2万円OFF!「ZenFone 7 Pro」レビュー |
https://japanese.engadget.com/zenfone7pro-050026098-012405053.html
|
zenfone |
2021-08-17 01:24:05 |
ROBOT |
ロボスタ |
「東京オリンピックは観ましたか?/楽しめましたか?」「最も楽しんだ競技は?」東京五輪の調査結果を『SELF』が公表 |
https://robotstart.info/2021/08/17/self-tokyo2020-survey.html
|
人工知能 |
2021-08-17 01:39:31 |
TECH |
Techable(テッカブル) |
ゲーム音楽を振動に変える新感覚デバイス「FeelBelt」がMakuakeに登場 |
https://techable.jp/archives/159891
|
feedbelt |
2021-08-17 01:00:22 |
AWS |
AWS Japan Blog |
AWS AmplifyでのフルスタックアプリケーションのCI/CDパイプラインの構築 |
https://aws.amazon.com/jp/blogs/news/complete-guide-to-full-stack-ci-cd-workflows-with-aws-amplify/
|
すると、自動的にReactのサンプルアプリケーションが自身のGitHubアカウントにフォークされ、自動でビルド・デプロイが実行されます。 |
2021-08-17 01:46:51 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
エラーの改善方法を詳しく教えて欲しいです。 |
https://teratail.com/questions/354716?rss=all
|
エラーの改善方法を詳しく教えて欲しいです。 |
2021-08-17 10:59:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
tkinter comboboxを選択すると,listboxの選択が解除されてしまう |
https://teratail.com/questions/354715?rss=all
|
|
2021-08-17 10:58:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pandasにおける、項目ごとに異なる条件を適用した集計方法(groupby,sum,agg,apply,ユーザ定義関数) |
https://teratail.com/questions/354714?rss=all
|
pandasにおける、項目ごとに異なる条件を適用した集計方法groupbysumaggapplyユーザ定義関数やりたい事dfAをdfBのように集計したい。 |
2021-08-17 10:45:31 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Rustでi32とu32を区別するためにUnsigedを型境界に使おうとするとconflictしてると怒られる |
https://teratail.com/questions/354713?rss=all
|
|
2021-08-17 10:37:44 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
discord.py コマンドに空白 |
https://teratail.com/questions/354712?rss=all
|
commandaddisnotfound |
2021-08-17 10:34:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Jenkinsでビルドが成功しない |
https://teratail.com/questions/354711?rss=all
|
Jenkinsでビルドが成功しないJenkinsで初めてビルドしようとしたところ、うまくいきません。 |
2021-08-17 10:31:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
結果の最後が何度やっても同じ値になる |
https://teratail.com/questions/354710?rss=all
|
結果の最後が何度やっても同じ値になる解決したいことPythonでどれが一番出るのか確率を調べているのですが、最後の方の結果の値が何度やっても変わりません。 |
2021-08-17 10:12:24 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ポート変更 80 → 8080 できません。 |
https://teratail.com/questions/354709?rss=all
|
config |
2021-08-17 10:08:12 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
[Ruby] Array#sum メソッド |
https://qiita.com/minhee/items/d80be6f259f8d2e66527
|
RubyArraysumメソッドはじめにsumメソッドってすごく馴染みがあるように思っていたんですが、使い方をみたら、全然使ったことなかったと思いまして、簡単に記事にまとめておこうと思います。 |
2021-08-17 10:48:40 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
ruby on railsでのユーザー管理機能について |
https://qiita.com/ring01061995/items/06af395c35e188c942a2
|
deviseって何devisとはユーザー管理機能を実装するためのgemです。 |
2021-08-17 10:12:50 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Dockerで、Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network が発生したときの対処。 |
https://qiita.com/reoring/items/9dd52dbc56a14e32ea26
|
subnet |
2021-08-17 10:08:54 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Goの構造体に連想配列を入れる。(可変長) |
https://qiita.com/ajitama/items/bfcce245e658161d527e
|
キー名と変数名が同じものとか、自分には見にくいので・・・。 |
2021-08-17 10:51:11 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
Azure DevOps のリポジトリを Sourcetree のリモートにしたら既知の問題でつまずきかけた件について |
https://qiita.com/MinadukiSekina/items/add6e854c71f55cf98ed
|
どうやらSourcetreeが新しいドメインに対応していないため、httpsvisualstudiocomxxxxxgitxxxxxという形に変えないといけないようです。 |
2021-08-17 10:09:56 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【メモ】bin/rails db:drop実行に失敗した時の対処法 |
https://qiita.com/Hiro710/items/ea8ec7a27ada34531136
|
【メモ】binrailsdbdrop実行に失敗した時の対処法症状ターミナルでbinrailsdbdropコマンドを入力したら以下のような画面が表示されたterminalPGObjectInUseERRORdatabaseXXXxxxxisbeingaccessedbyotherusersDETAILThereareothersessionsusingthedatabaserailsabortedActiveRecordStatementInvalidPGObjectInUseERRORdatabaseXXXxxxxisbeingaccessedbyotherusersDETAILThereareothersessionsusingthedatabase対処原因は作成中のアプリ以外に接続しているアプリなどはないのに接続されっぱなしになっている模様。 |
2021-08-17 10:31:29 |
海外TECH |
Ars Technica |
T-Mobile has been hacked yet again—but still doesn’t know what was taken |
https://arstechnica.com/?p=1787685
|
driver |
2021-08-17 01:15:11 |
海外TECH |
DEV Community |
Space Exploration (What's all the outrage about?) |
https://dev.to/cleancodestudio/space-exploration-what-s-all-the-outrage-about-4gi1
|
Space Exploration What x s all the outrage about What s all the outrage about I ve seen a lot of posts on social media bashing Elon Musk Richard Branson amp Jeff Bezos for their space exploration investments Outrage that they re into space while humans on earth deal with economic stress amp global lock downs Here s my take Who else is going to do it Space is expensive Until now space innovation was a pursuit limited to world governments Now private businesses joined in It s now an industry leading to my nd point Space is economically HUGE in a good way Getting to space is expensive Many people amp industries are needed Space companies have created top paying Jobs in Manufacturing logistics engineering etc…In a decade or sooner they ll be creating even more jobs for front end facing industries like marketing sales and service workers flight attendants That s a huge economic impact for a “bunch of old rich dudes playing with their space toys Innovative Technologies Are Emerging already Elon musk has spoken on how space X innovations have improved Tesla s electric cars This mitigates climate change Space internet is now a thing Thanks to StarLink Space X and Project Kuiper Blue Origin it is ALREADY a thing for a limited number of people I know I know cool but why Why space internet Well check this fact out OF THE WORLD DOES NOT HAVE INTERNET like at all Crazy right Especially for those of us who consider internet an alienable right at this point Space internet provided by Space X s StarLink and Blue Origin s Project Kuiper will provide the ENTIRE world with internet This would have been too expensive before these space companies figured out how to re use space ships It s not just a pissing contest between billionairesJeff Bezos Loves space and always has Jeff Bezos was his high s school Valid VictorianHis speech was all about space he loves space amp always hasRichard Branson Ultimate AdventurerJumped off a Casino in Las VegasDriven a A Tank DOWN NY s th AveKite Surfed Across The English ChannelDriven an amphibious car from England To FranceSmashed The World Record For Fastest Atlantic CrossingCrossed The Pacific From Japan To Arctic Canada In A Hot AirRichard Branson is adventurous to say the least space is the ultimate adventure Elon Musk Prevent human extinctionTesla extends earths life by minimizing climate changeSpace X creates a future for human s after earth We ll be able TO GO TO SPACE My final point is simple space it s somewhere we ll be able to go within the span of many of our lives I don t know about you but I m EXCITED to go to space The EndSpace will improve the economy innovate technologies provide internet for the entire world amp provide the adventure opportunity of a life time spacetech jeffbezos richardbranson elonmusk spaceexploration spacetravel spacex spacetourism blueorigin virgingalactic |
2021-08-17 01:46:08 |
海外TECH |
DEV Community |
Handle OTP Auth via your own source code |
https://dev.to/ngodinhcuong/handle-otp-auth-via-your-own-source-code-geb
|
Handle OTP Auth via your own source code Laravel OTP AUTHThis package allows you to authenticate with one time password access OTP Example Usage Route get notify function return App Models User find gt notify new App Authentication SendOtp mail Route get auth otp otp function return App Models User authByOtp request gt otp Route get check otp otp function return App Models User find gt checkOtp request gt otp ContentsInstallationUsageGenerate OTPVerify OTPBasic identificationDemoCredits Installation Add the package to your dependencies composer require cuongnd otp auth Run the command php artisan auth otp ClassName Example php artisan auth otp Authentication SendOtpSendOtp class and HasOtpAuth trait are auto generated at app Authentication directory CreateNotificationsTable class is alseo auto generated at app database migrations Apply the migrations It will create a table called notifications to store generated OTP information php artisan migrate Usage Generate OTPYou can generate OTP via email or SMSRoute get notify function return App Models User find gt notify new App Authentication SendOtp mail nexmo This package allows you to alter OTP length and lifetimeRoute get notify function length liftime minutes return App Models User find gt notify new App Authentication SendOtp mail nexmo length liftime OTP default length The default length is OTP default lifetime The default lifetime is minute There is the detail of auto generate SentOTP class lt phpnamespace App Authentication use Illuminate Bus Queueable use Illuminate Contracts Queue ShouldQueue use Illuminate Notifications Messages MailMessage use Illuminate Notifications Notification use Cuongnd DeliveryChannel Messages TwilioMessage class SendOtp extends Notification use Queueable protected defaultChannels database protected otp protected lifeTime const OPT LIFETIME const OPT LENGTH Construct param array string channels param integer string otpLength param integer string lifeTime public function construct channels null otpLength null lifeTime null this gt otp this gt generateOtp otpLength self OPT LENGTH this gt lifeTime lifeTime self OPT LIFETIME this gt defaultChannels this gt verifyChannels channels Get the notification s delivery channels param mixed notifiable return array public function via notifiable return this gt defaultChannels Get the mail representation of the notification param mixed notifiable return Illuminate Notifications Messages MailMessage public function toMail notifiable return new MailMessage gt line Your OTP is this gt otp gt line Thank you for using our application Get the array representation of the notification param mixed notifiable return array public function toArray notifiable return otp gt this gt otp expired at gt now gt addMinutes this gt lifeTime gt toDateTimeString Get the Nexmo SMS representation of the notification param mixed notifiable return mixed public function toTwilio notifiable return new TwilioMessage gt to xxxxxxx gt from xxxxxxxxxx gt body OTP AUTH is this gt otp Generate OTP param integer string n return string public function generateOtp n generator result for i i lt n i result substr generator rand strlen generator return result Verify channels param string array channels return array public function verifyChannels channels if channels amp amp is array channels return array merge this gt defaultChannels channels if channels amp amp is string channels array push this gt defaultChannels channels return this gt defaultChannels toTwilio This method is implemented by importing delivery channels Verify OTPAfter sent OTP via your configed methods you call authByOtp to authenticateRoute get auth otp otp function return App Models User authByOtp request gt otp Based on your credentials you might authenticate with email or phone number Set up the credentials In this case you can apply User model which must use HasOtpAuth trait use App Authentication HasOtpAuth class User extends Authenticatable use Notifiable use HasOtpAuth protected credential mobile Let see more detail HasOtpAuth trait lt phpnamespace App Authentication trait HasOtpAuth Check OTP return bool public function checkOtp otp authenticator this gt otp return this gt validateOtp authenticator otp Get OTP data return Illuminate Notifications DatabaseNotification public function otp return this gt notifications gt where type LIKE SendOtp gt whereNull read at gt first Validate OTP param Illuminate Notifications DatabaseNotification authenticator param mixed otp return void public function validateOtp authenticator otp result false if is null authenticator return response gt json result if authenticator amp amp now gt lte authenticator gt data expired at amp amp authenticator gt data otp otp result true authenticator gt markAsRead return response gt json result Authenticate by OTP param string otp param string credentialValue return void public static function authByOtp otp credentialValue model new static credentialName property exists model credential model gt credential email authenticator model gt where credentialName credentialValue gt first if is null authenticator return response gt json false authenticator authenticator gt notifications gt where type LIKE SendOtp gt whereNull read at gt first return model gt validateOtp authenticator otp Basic identificationIn some cases you just need to identify the right access you might need to execute checkOtp methodRoute get check otp otp function return auth gt user gt checkOtp request gt otp DemoThis is demo soure code Laravel Colab CreditsNgo Dinh CuongLinkedIn |
2021-08-17 01:38:44 |
Apple |
AppleInsider - Frontpage News |
Apple Watch used to call for help during armed burglary |
https://appleinsider.com/articles/21/08/17/apple-watch-used-to-call-for-help-during-armed-burglary?utm_medium=rss
|
Apple Watch used to call for help during armed burglaryA year old woman used her Apple Watch to call for help while being held at gunpoint during a burglary a bold move that potentially led to the robber s arrest An unnamed woman in West Milford New Jersey was able to make an emergency text from her Apple Watch after a home intruder handcuffed and held her captive as he rummaged through her belongings on Sunday reports NorthJersey com The victim walked in on year old Andrew Canning who was armed with what was later discovered to be an airsoft gun according to a court affidavit Threatening the woman with the replica firearm Canning allegedly demanded she remove her clothes to ensure that she wasn t carrying a weapon He then handcuffed her hands behind her back and left her naked on the floor the victim told police Read more |
2021-08-17 01:43:19 |
海外科学 |
BBC News - Science & Environment |
Hydrogen power offers jobs boost, says government |
https://www.bbc.co.uk/news/science-environment-58238367
|
hydrogen |
2021-08-17 01:08:35 |
医療系 |
内科開業医のお勉強日記 |
SARS-CoV-2 mRNAワクチン接種後反応の特徴(医療関係者ワクチンでの経験) |
https://kaigyoi.blogspot.com/2021/08/sars-cov-2mrna.html
|
SARSCoVの感染歴年齢性別を調整した結果いずれかの投与後に臨床的に重大な症状が発生する確率はModernaとPfizerのワクチンを接種した参加者で高かった投与オッズ比ORCI投与ORCI表SARSCoV感染経験はワクチンの種類年齢性別を考慮した上でドーズORCIでは臨床的に重要な症状が出る確率が高かったがドーズORCIではそうではなかった症状にかかわらず大多数の参加者人中人以上が投与回目の日以上後にスパイクIgG抗体を獲得したが免疫抑制剤を服用していた人はIgG抗体を獲得しなかった図nbsp臨床的に重要な症状を報告していること、年齢が歳未満であること、性別が女性であること、Modernaワクチンの接種を受けていること、SARSCoVに曝露したことがあることは、投与日後の時間を調整しても、IgG測定値の中央値が高いことと独立して関連していた。 |
2021-08-17 01:37:00 |
ニュース |
BBC News - Home |
Hydrogen power offers jobs boost, says government |
https://www.bbc.co.uk/news/science-environment-58238367
|
hydrogen |
2021-08-17 01:08:35 |
北海道 |
北海道新聞 |
NY州、医療従事者に接種義務 新型コロナワクチン |
https://www.hokkaido-np.co.jp/article/578859/
|
医療従事者 |
2021-08-17 10:00:52 |
北海道 |
北海道新聞 |
シアターキノ・中島代表が短編映画制作へ CFで協力呼び掛け |
https://www.hokkaido-np.co.jp/article/578743/
|
短編映画 |
2021-08-17 10:14:26 |
海外TECH |
reddit |
[Press Release] 🎉The Five Members of Hololive English -Council- to Begin Activities From Tuesday, August 17!🎉 |
https://www.reddit.com/r/Hololive/comments/p5tgcx/press_release_the_five_members_of_hololive/
|
|
2021-08-17 01:03:16 |
ニュース |
THE BRIDGE |
デジタルフリマ「elu」開始2カ月・5,000人が2,500万円売買の好発進、クリエイターエコノミーは新たな局面へ |
http://feedproxy.google.com/~r/SdJapan/~3/MvacctjsWts/digital-marketplace-elu-empowers-creatior-economy
|
デジタルフリマ「elu」開始カ月・人が万円売買の好発進、クリエイターエコノミーは新たな局面へニュースサマリデジタルデータを出品・販売できるマーケットプレイス「elu」が好調なスタートを切ったようだ。 |
2021-08-17 01:02:48 |
コメント
コメントを投稿