AWS |
AWS Management Tools Blog |
How to create a change template using AWS Systems Manager Change Manager |
https://aws.amazon.com/blogs/mt/how-to-create-a-change-template-using-aws-systems-manager-change-manager/
|
How to create a change template using AWS Systems Manager Change ManagerAWS Systems Manager Change Manager a capability of AWS Systems Manager is an enterprise change management framework for requesting approving implementing and reporting on operational changes to your application configuration and infrastructure With Change Manager you can use preapproved change templates to help automate change processes for your resources and help avoid unintentional results when … |
2021-06-25 15:13:26 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
yukicoder contest 301 参戦記 |
https://qiita.com/c-yan/items/3504311a0854b7653e07
|
|
2021-06-26 00:59:25 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[メモ]テスト時のloggingの出力を無効にしたい |
https://qiita.com/ninhydrin/items/17c7595eefdeebd0ac03
|
ただテストをするときにも出力が出て邪魔でloggingの出力を抑える方法がないか調べていたらloggingの機能に近いものがあった。 |
2021-06-26 00:03:48 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
PNGを読み込ませたらNonogram(お絵かきロジック/ピクロス/etc)が作られ、遊べるWebサービスを作った |
https://qiita.com/sytkm/items/0af4595e057a9db52d4a
|
また、このときに最初に指定した透過色は無視するようにしています。 |
2021-06-26 00:56:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
複数人のOutlook予定表をExcelへ取り込む |
https://teratail.com/questions/346154?rss=all
|
複数人のOutlook予定表をExcelへ取り込む前提・実現したいことExcelのVBA機能を用いて複数人のOutlook予定表をExcelへ取り込みたいです。 |
2021-06-26 00:53:02 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
<a herf="リンクを一括変更・設定"> |
https://teratail.com/questions/346153?rss=all
|
ltaherfquot |
2021-06-26 00:48:14 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Android Studioを起動してプロジェクトを作成したらいきなりエラーが発生しており実行できない |
https://teratail.com/questions/346152?rss=all
|
AndroidStudioを起動してプロジェクトを作成したらいきなりエラーが発生しており実行できない前提・実現したいこと久しぶりにAndroidnbspStudioを立ち上げてアプリケーションを作成したいと思い、プロジェクトを作成しました。 |
2021-06-26 00:43:50 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ファイルを読み込み,正規表現で条件を絞った時の単語出現頻度を出力するプログラムを作成したい |
https://teratail.com/questions/346151?rss=all
|
ファイルを読み込み正規表現で条件を絞った時の単語出現頻度を出力するプログラムを作成したい実行したいプログラム・問題点コマンドラインで指定したファイルを読み込んで正規表現でアルファベットとの文字だけから構成される単語のみを抽出して出現回数を数えstringの小さい順に出力するプログラムを作成したいのですがコンパイルはできるものの思ったような結果が出てきません。 |
2021-06-26 00:39:20 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
dockerにてPHPの開発環境を構築したい「docker-compose up -dでコンテナの起動をしたい」 |
https://teratail.com/questions/346150?rss=all
|
dockerにてPHPの開発環境を構築したい「dockercomposeupdでコンテナの起動をしたい」実現したいことdockerにてPHPの開発環境の構築を行いたいです。 |
2021-06-26 00:33:25 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
指定したロールを持っている人達が誰なのか知りたいです |
https://teratail.com/questions/346149?rss=all
|
指定したロールを持っている人達が誰なのか知りたいです前提・実現したいことタイトルの通りです、rolemembernbspロール名と送信すると、指定したロールを持っている人たちの名前が表示されるようにしたいです。 |
2021-06-26 00:30:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Switchを使用したメソッドで戻り値をStringにできるのか |
https://teratail.com/questions/346148?rss=all
|
つの分岐構造なのでSwitchを使用しています。 |
2021-06-26 00:22:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Firestore のドキュメント受信処理が成功してからテーブルに行を追加したい |
https://teratail.com/questions/346147?rss=all
|
Firestoreのドキュメント受信処理が成功してからテーブルに行を追加したい環境言語Swiftnbsp開発環境xcodenbspクラウドデータベースCloudnbspFirestoreやりたいことSwift×FirestoreでToDoリストアプリを作っています。 |
2021-06-26 00:18:49 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
php mysqlを用いたカウントダウンの表記問題 |
https://teratail.com/questions/346146?rss=all
|
|
2021-06-26 00:04:30 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
開発環境構成図[Nginx × Unicorn × Supervisor × Rails × MySQL on Docker] |
https://qiita.com/Ub_Iwerks/items/a13c8a4178f028bdbe83
|
RailsとWebサーバーのやり取りを仲介するミドルウェア。 |
2021-06-26 00:58:39 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
開発環境構成図[Nginx × Unicorn × Supervisor × Rails × MySQL on Docker] |
https://qiita.com/Ub_Iwerks/items/a13c8a4178f028bdbe83
|
RailsとWebサーバーのやり取りを仲介するミドルウェア。 |
2021-06-26 00:58:39 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
ダイエット+食品管理アプリ構築の道程(6) |
https://qiita.com/takuo_maeda/items/506125ff895b6edd8a92
|
道程 |
2021-06-26 00:29:02 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
ダイエット+食品管理アプリ構築の道程(5) |
https://qiita.com/takuo_maeda/items/d0735b9588321df9176f
|
delegatetomethodnameprefixaaa上記のように書くと、メソッドを呼び出すときに以下のように呼び出すことができます。 |
2021-06-26 00:12:29 |
海外TECH |
DEV Community |
Finding shortest social connection path |
https://dev.to/sbalasa/finding-path-in-graph-4kp8
|
Finding shortest social connection pathHuman connections are like networks I know someone and they know someone else etc It could be friendship relationship etc Let s assume that I need to find the shortest social connection path from me to Queen of England We represent this in a graph format ali mo angela queen anna anna dave dog liea dave jimbo lee liea lee me mum dog teacher mo mum angela liea queen teacher ali jimbo Now lets find the shortest social connection path def find path start end graph path path path start if start end return path if start not in graph return None for node in graph start if node not in path newpath find path node end graph path if newpath return path return NoneOutput gt gt gt find path me queen graph me mum angela queen This solution is loosely based on bread first search graph algorithm to find the shortest path |
2021-06-25 15:53:35 |
海外TECH |
DEV Community |
I was gone from tech social media for almost half a year. Here is why. (Yes, it was burnout.) |
https://dev.to/mpodlasin/i-was-gone-from-tech-social-media-for-almost-half-a-year-here-is-why-yes-it-was-burnout-44ia
|
I was gone from tech social media for almost half a year Here is why Yes it was burnout I ve posted my last tech article on January th I ve made my last tweet on January th Since then I became silent for almost half a year This article is very important to me because I want to achieve a few things with it Explain why I was gone for so long Use it as an opportunity to talk about an extreme burnout and how to fight it Test with this article if I even want to go back to writing tech related content If you ve ever experienced or are currently experiencing burnout work related depression or anything similar you might find this article relatable You won t find easy answers in it because I don t have them But it may give you some ideas and suggestions to explore further on your own At least I hope So let s begin What happened Instead of turning this section into an overly long verbose description of the events let s focus on the timeline more I find it quite revealing how things had progressed January th I am making a Twitter thread about burnout This is fascinating to me because at that moment I am still convinced that I am completely and absolutely fine And yet you can see that my brain is already circulating around the topic of burnout It s as if it is trying to warn me man you have to slow down otherwise I am going into a shutdown mode soon January th I am making a Twitter thread about my recent failures related to trying to get into Machine Learning This one is less obvious but you can still see that my brain continued to focus on negative topics at that time Burnout failure and depression were clearly on my mind And yet again at that point I sincerely believed I am A okay not seeing the storm looming just above my head January th I am publishing a tech article the last one in a part series I explicitly state on Twitter that this one was a slog to finish It s the first article that felt like a pain to get done I felt no joy in the process and was no longer interested in the topics described in the series Note also that at that time I started making YouTube videos associated with the articles covering the same concepts in a video form The sheer amount of work creating an article and a video almost every week was so big that I was basically working all the time I was spending hours coding at my day job and then after the day job was done I was creating programming related content So the structure of my day was wake upcodehave a meeting about codecodeeat crappy takeawaywrite about coderecord talking about codesleeprepeatAbsolutely unsustainable And yet even at that point January th I mostly believed that I am okay Maybe less motivated and a bit more tired than usual but nothing crazy February nd my team leader writes to me Hey I ve noticed you seem less energetic amp cheerful than you usually are Is everything going alright I m here if there s anything you would like to share I am essentially brushing off his question saying that I indeed felt less motivated recently but I will probably feel better after resting on the weekend Oh how wrong was I February th Monday I wake up extremely late Around pm And I still can t get out of bed I am just laying there unable to move at all Complete shutdown I guess my brain incapacitated me to prevent me from continuing my insane work routine I sleep a bit more wake up at pm Since it s winter it s already getting dark I am still unable to perform any meaningful tasks I can t even get out of the bed and wash myself I don t really remember the rest of that day very well It s likely that I just turned on YouTube or Netflix and that s how I finished the day I provided no info or even sign of life for that matter to my team or managers even though it was a regular workday February th Tuesday The same situation Waking up late Not being able to move and do anything meaningful No shower No food Just laying there I manage to motivate myself to contact my boss and ask him for an unpaid leave till the end of the week Everyone at work is super concerned with my situation I am having conversations with a few people some on Slack some on Zoom Thankfully actually getting a week off turns out to not be a problem at all How I got out of my burnoutSo I hope that by now you realize just how serious my situation was Burnout is a popular word recently used for a wide variety of conditions But you can see that in my case it wasn t just simply feeling a bit less motivated or something similar I literally couldn t move or perform the most basic life functions like cleaning myself preparing a meal or even going for a walk I was in some deep deep s At that point I was luckily very much aware of the severity of my situation hard not to be I guess During my week off I decided to deliberately stay away from anything tech or programming related No coding no writing about coding no twitting about coding No tech social media at all Even such little thing as browsing Hacker News absolutely forbidden I was hoping that this cold turkey tech detox would help But I was also prepared to seek professional help if after a week I wouldn t feel any better Luckily I did A week later I communicated to my boss that I feel well enough to at least attempt coming back I still took things very very slow however After I came back I only did coding for work no side projects or anything like that I was also taking only simpler tasks the ones I knew I could implement fairly fast and with minimal effort A complex big new feature pass A tricky bug to investigate pass I also kept staying away from tech social media both producing content and consuming it I stopped coding or even thinking about coding after work Instead I focused on my non tech hobbies which I previously neglected such as photography And I believe this last thing the most important decision that contributed to my mental health and well being in the long run Where I am now and what s next Avoiding tech social media and coding beyond the day job worked for me so well that I did it for nearly half a year I haven t coded a single side project in that time I didn t create or read a single tech article unless it was at work and necessary to do my job Hell I haven t even made a single tweet since January And during those last few months I felt absolutely amazing I am now more energetic and effective at my work than before my burnout I am cranking out issue after issue solving difficult bugs contributing to architectural decisions If you d see me at my day job you would never ever guess that I was in such a bad place just a few months ago Writing this article is the first time I am breaking my no coding related activities in my spare time unspoken rule since my sudden burnout attack If I am being honest it feels both weird and scary to write this article I know that I have this overly ambitious creative bug in me And I am terrified I am awaking it again with this article I am seriously scared that writing and publishing this single article will again send me on a path of unsustainable workloads and being consumed by programming It seems that some people are more resilient than others and can handle more stress and higher workloads I see people who work hours a day create side projects and write articles regularly on top of that For someone it might be funny that I burned out so badly only because I wrote a few articles after work Maybe that s the ultimate lesson though You have to know yourself and be aware of how much you can handle And stay honest with yourself to not start biting more than you can chew That s why recreating the timeline of my burnout was so important to me You can see that as early as few weeks before an actual burnout there were already warning signs present which I completely ignored I should have paid more attention to what my brain was telling me So what s next I don t know I can say that writing this article felt very good I guess it was something that I just needed to get off my chest Will I go back to creating actual tech content however It s possible Especially if I manage to find a sustainable tempo and topics which I enjoy writing about But it s also entirely possible that this is the last article I ll ever write And that s fine too Cover Photo by Justin Luebke on Unsplash |
2021-06-25 15:46:16 |
海外TECH |
DEV Community |
JSConfetti is now could be downloaded from CDN 🎉 |
https://dev.to/loonywizard/jsconfetti-is-now-could-be-downloaded-from-cdn-3i10
|
JSConfetti is now could be downloaded from CDN Hi everyone Wanted to share that my open source library JSConfetti is now could be downloaded from CDN lt script src latest dist js confetti browser js gt lt script gt After that JSConfetti class could be accessed as global variable and you can fire confetti by calling method addConfetti on JSConfetti class instanceconst jsConfetti new JSConfetti jsConfetti addConfetti JSConfetti works without any config but could be configurable check out documentation on GitHubLinks GitHub NPM Library Website CodeSandbox Playground |
2021-06-25 15:29:52 |
海外TECH |
DEV Community |
How to Deploy a Python Flask App on Heroku Using Docker |
https://dev.to/ejach/how-to-deploy-a-python-flask-app-on-heroku-using-docker-mpc
|
How to Deploy a Python Flask App on Heroku Using DockerHello Today I will demonstrate how to deploy a containerized Python Flask application to Heroku using Docker This tutorial is separated into four parts PrerequisitesCreating the Flask application using PythonContainerizing the application using DockerDeploying the container to Heroku PrerequisitesFlaskA Docker installationA Heroku Account Heroku CLI installation Creating the Flask application using PythonWe will be creating a Hello World application to maintain simplicity The file structure by the end of this tutorial will look like ├ーFlaskApp └ーapp py Our main application └ーmain py Used by gunicorn to run the app └ーrequirements txt The packages we will be using └ーDockerfile Used to create the Docker container └ーProcfile Used to deploy the container to HerokuTo start out create an empty directory using sudo mkdir FlaskAppAnd cd into the directory using cd FlaskAppCreate two files called app py and requirements txt In requirements txt insert the line flask gunicorn Then to install the required packages run pip install r requirements txtThen open up app py in your favorite code editor and add the following code Import the flask modulefrom flask import Flaskapp Flask name app route def hello world statement Hello World return statementif name main Calls the run method runs the app on port app run host port Next create a file called main py and add the following code from app import app Gets the app from app py and runs itif name main app run Then run the program using gunicorn bind main appAnd you should get an output that looks like INFO Starting gunicorn INFO Listening at INFO Using worker sync INFO Booting worker with pid After accessing the URL that was provided upon executing at http yourip the page should look something like Now that your Python Application is up and running let s go over how to containerize it using Docker Containerizing the application using DockerIn your FlaskApp directory create a file with no file extension called Dockerfile and add the following Create a ubuntu base image with python installed FROM python Set the working directoryWORKDIR copy all the filesCOPY Install the dependenciesRUN apt get y updateRUN apt get update amp amp apt get install y python python pipRUN pip install r requirements txt Expose the required portEXPOSE Run the commandCMD gunicorn main appAfter this build the Docker image by running docker build t flask app And then run it using docker run flask appAnd you should get the same output as if you were running it normally T app web INFO Starting gunicorn T app web INFO Listening at T app web INFO Using worker sync T app web INFO Booting worker with pid And you should get the expected output at the given IP address at http yourip Congratulations You have successfully created a Flask application and containerized it using Docker Now we will go over how to deploy this container to Heroku using their container registry Deploying the container to HerokuGiven that the Heroku CLI is installed as stated in the prerequisites run heroku loginAnd you will be prompted to enter your Heroku credentials Once logged in create an application by running heroku create lt your app name gt Next login to the Heroku container registry by running heroku container loginWhich should produce Login SucceededIn your FlaskApp directory create a file with no extension called Procfile and add web gunicorn main app PORTAfter that in our app py file we need to add modify the following lines marked with arrows Import OS to get the port environment variable from the Procfileimport os lt Import the flask modulefrom flask import Flask Create a Flask constructor It takes name of the current module as the argumentapp Flask name app route def hello world statement Hello World return statement Create the main driver functionif name main port int os environ get PORT lt app run host port port lt After editing the file we must push the container to Heroku using heroku container push web app lt your app name gt After your app s container builds release it to Heroku using heroku container release web app lt your app name gt Which will produce the following Releasing images web to lt your app name gt doneOnce it is released you can access the logs of your new container using heroku logs tail app lt your app name gt And you should see something along the lines of T heroku web Starting process with command bin sh c gunicorn main app T app web INFO Starting gunicorn T app web INFO Listening at T app web INFO Using worker sync T app web INFO Booting worker with pid T heroku web State changed from starting to upAnd you should now be able to access your application through your new app s URL with the expected output of Congratulations This tutorial has taught you how to create a Python Flask application containerize it and then deploy it to Heroku |
2021-06-25 15:19:42 |
海外TECH |
DEV Community |
8 Amazing Instant Button Hover Effect |
https://dev.to/nikhil27b/8-amazing-instant-button-hover-effect-2kf9
|
Amazing Instant Button Hover EffectHello Today I have written post about the Amazing Instant Button Hover Effect With using HTML amp CSS This is a very useful effect you can use that in your code I hope you like this also comments about your thoughts For more content follow me on Instagram developer nikhil Thank you Checkout recent post Amazing Button Animation Using HTML amp JS Nikhil Bobade・Jun ・ min read html webdev css javascript |
2021-06-25 15:07:26 |
Apple |
AppleInsider - Frontpage News |
Apple premieres trailer for new musical series 'Schmigadoon!' |
https://appleinsider.com/articles/21/06/25/apple-premieres-trailer-for-new-musical-series-schmigadoon?utm_medium=rss
|
Apple premieres trailer for new musical series x Schmigadoon x A new two minute long trailer gives viewers a sneak peek into Apple TV s new musical comedy Schmigadoon Described as a parody of iconic musicals the series follows a couple played by Cecily Strong and Keegan Michael Key on a backpacking trip designed to reinvigorate their relationship Read more |
2021-06-25 15:59:38 |
Apple |
AppleInsider - Frontpage News |
Upcycled iPhone lenses, Lego used in new DIY microscope |
https://appleinsider.com/articles/21/06/25/upcycled-iphone-lenses-lego-used-in-new-diy-microscope?utm_medium=rss
|
Upcycled iPhone lenses Lego used in new DIY microscopeResearchers at German universities have devised a way to get microscopes into the hands of science curious kids on a budget using scavenged iPhone lenses and Lego Image credit Vos Bleza BetzResearchers Bart E Vos Emil Betz Blesa and Timo Betz from Germany s Georg August University Gottingen and Munster University had a simple yet challenging task laid out before them They wanted to devise a way that someone could build a high resolution microscope And they wanted to do it for a fraction of the cost of what you would find in a classroom science lab setting Read more |
2021-06-25 15:25:30 |
海外TECH |
Engadget |
The best Amazon Prime Day deals you can still get today |
https://www.engadget.com/weekly-tech-deals-amazon-prime-day-2021-deals-you-can-stil-get-154531937.html?src=rss_b2c
|
The best Amazon Prime Day deals you can still get todayHere are the best Amazon Prime Day deals you can still get today including sales on robot vacuums streaming devices Apple products and more |
2021-06-25 15:45:31 |
海外TECH |
Engadget |
Amazon buys the secure messaging platform Wickr |
https://www.engadget.com/amazon-aws-buys-wickr-152819656.html?src=rss_b2c
|
amazon |
2021-06-25 15:28:19 |
海外科学 |
NYT > Science |
Discovery of ‘Dragon Man’ Skull in China May Add Species to Human Family Tree |
https://www.nytimes.com/2021/06/25/science/dragon-man-skull-china.html
|
Discovery of Dragon Man Skull in China May Add Species to Human Family TreeA laborer discovered the fossil and hid it in a well for years Scientists say it could help sort out the human family tree and how our species emerged |
2021-06-25 15:31:22 |
海外TECH |
WIRED |
US Takedown of Iranian Media Sites Extends a Thorny Precedent |
https://www.wired.com/story/us-iran-media-sites-takedown-doj-press-freedom
|
department |
2021-06-25 15:12:35 |
金融 |
金融庁ホームページ |
Binance Holdings Limitedに対する警告書の発出について公表しました。 |
https://www.fsa.go.jp/policy/virtual_currency02/Binance2_keikokushilyo.pdf
|
binanceholdingslimited |
2021-06-25 17:00:00 |
ニュース |
BBC News - Home |
Matt Hancock affair: Health secretary apologises for breaking social distancing guidelines |
https://www.bbc.co.uk/news/uk-politics-57612441
|
health |
2021-06-25 15:39:06 |
ニュース |
BBC News - Home |
Green list change prompts holiday pricing chaos |
https://www.bbc.co.uk/news/business-57610736
|
holiday |
2021-06-25 15:14:47 |
ニュース |
BBC News - Home |
No major outbreaks found at government mass pilot events |
https://www.bbc.co.uk/news/health-57615547
|
afterwards |
2021-06-25 15:51:45 |
ニュース |
BBC News - Home |
Roman Protasevich: House arrest for man seized in Ryanair Belarus jet drama |
https://www.bbc.co.uk/news/world-europe-57607580
|
protasevich |
2021-06-25 15:49:46 |
ニュース |
BBC News - Home |
Verstappen tops second Styrian GP practice as Bottas spins in pit lane |
https://www.bbc.co.uk/sport/formula1/57615056
|
Verstappen tops second Styrian GP practice as Bottas spins in pit laneMax Verstappen sets the pace in second practice at the Styrian Grand Prix after title rival Lewis Hamilton had a quicker lap deleted |
2021-06-25 15:21:30 |
ニュース |
BBC News - Home |
Travel guide to Spain, Portugal, Malta and other holiday hotspots |
https://www.bbc.co.uk/news/explainers-56997931
|
france |
2021-06-25 15:02:42 |
ニュース |
BBC News - Home |
Vaccine passports: How can I prove I've had both my Covid jabs? |
https://www.bbc.co.uk/news/explainers-55718553
|
covid |
2021-06-25 15:31:02 |
ニュース |
BBC News - Home |
What are the rules for travelling to green, amber and red list countries? |
https://www.bbc.co.uk/news/explainers-52544307
|
countries |
2021-06-25 15:20:07 |
北海道 |
北海道新聞 |
北口がやり投げ五輪代表 旭川出身、日本記録保持者 |
https://www.hokkaido-np.co.jp/article/559958/
|
日本記録 |
2021-06-26 00:06:46 |
仮想通貨 |
BITPRESS(ビットプレス) |
日本暗号資産取引業協会(JVCEA)、新理事選任のお知らせ |
https://bitpress.jp/count2/3_17_12606
|
選任 |
2021-06-26 00:21:17 |
仮想通貨 |
BITPRESS(ビットプレス) |
日本暗号資産ビジネス協会(JCBA)、本協会理事の改選と新理事体制について |
https://bitpress.jp/count2/3_17_12605
|
資産 |
2021-06-26 00:20:57 |
コメント
コメントを投稿