投稿時間:2022-05-24 00:44:11 RSSフィード2022-05-24 00:00 分まとめ(47件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita Google Colaboratoryで 気象庁データをwebスクレイピング後 pandasに変換 [python] https://qiita.com/TaichiEndoh/items/97eedb1899d38fe00711 google 2022-05-23 23:54:13
python Pythonタグが付けられた新着投稿 - Qiita Plotly scatter_matrixで選択したレコードの点を強調させる https://qiita.com/TKfumi/items/f20b6b8d9b19898d81ef plotly 2022-05-23 23:44:35
python Pythonタグが付けられた新着投稿 - Qiita パック、アンパックの解説(コレ⇒*) https://qiita.com/marupy/items/1cce889fa7368298ae36 解説 2022-05-23 23:41:02
python Pythonタグが付けられた新着投稿 - Qiita 量子アニーリング基本操作 https://qiita.com/y_daito/items/aad74517927e393564ee dwave 2022-05-23 23:38:23
Ruby Rubyタグが付けられた新着投稿 - Qiita 現在時刻に最も近いキリの良い時刻を取得する方法 https://qiita.com/m-ito27/items/34e161c3913366784139 送信 2022-05-23 23:39:12
AWS AWSタグが付けられた新着投稿 - Qiita Amazon SageMakerのQuotaはエラーメッセージで確認する(しかない) https://qiita.com/tsukamoto/items/f487d8af2c92172a19a1 amazonsagemaker 2022-05-23 23:09:57
golang Goタグが付けられた新着投稿 - Qiita 並行実行するテストで環境変数を設定しているコードを指摘するGoの静的解析ツールを作った https://qiita.com/sho-hata/items/b7766d80085f91d9301f parallelenv 2022-05-23 23:45:08
Ruby Railsタグが付けられた新着投稿 - Qiita 現在時刻に最も近いキリの良い時刻を取得する方法 https://qiita.com/m-ito27/items/34e161c3913366784139 送信 2022-05-23 23:39:12
技術ブログ Developers.IO AWS Step Functionsの新しい実行詳細ページのコンソールを使ってみた https://dev.classmethod.jp/articles/using-the-new-execution-detail-page-console-of-aws-step-functions/ debuggingawsstep 2022-05-23 14:56:11
技術ブログ Developers.IO 建設的フィードバックの5つのバリエーション https://dev.classmethod.jp/articles/types-of-constructive-feedbacks/ 視点 2022-05-23 14:42:54
技術ブログ Developers.IO Contentfulで記事とコンテンツモデルのスナップショットを取得する https://dev.classmethod.jp/articles/contentful-snapshot/ contentful 2022-05-23 14:37:12
海外TECH Ars Technica Pfizer says 3-dose COVID vaccine for under 5s produces strong immune response https://arstechnica.com/?p=1855677 covid 2022-05-23 14:40:59
海外TECH MakeUseOf 5 Savvy Google Keep Tips for Students https://www.makeuseof.com/google-keep-tips-for-students/ smart 2022-05-23 14:30:14
海外TECH MakeUseOf Save Over 85% On Udacity Courses: Start Your Journey in Tech https://www.makeuseof.com/udacity-course-bundle-deal/ classes 2022-05-23 14:05:13
海外TECH DEV Community ActiveAdmin vs ToolJet https://dev.to/bhumikhokhani/activeadmin-vs-tooljet-pob ActiveAdmin vs ToolJetThe link to the original post is here IntroductionMost mid sized web apps require some form of data management and monitoring That is why we must develop and maintain internal tools to control what happens on our site There are several frameworks available for creating internal tools and admin panels for your live web project You can use the frameworks available in the open source market instead of appointing a team to develop basic admin panels But what if I told you that you didn t have to build these tools from scratch Let s know more about it in this article Why do we require frameworks Building interactive web apps in less time have never been easier thanks to the low code and no code trends If you re a developer you shouldn t be worrying about these kinds of platforms because most businesses use web frameworks such as Django or Ruby on Rails You simply focus on your product s essential features and outsource simple operations to these ready made solutions These low code platforms are crucial to know as they may save you a lot of time when designing a small internal tool or admin panel that connects to a database Benefits of frameworksThe biggest benefit we derive from such a framework is increased efficiency These frameworks enable us to connect to our databases perform basic CRUD create read update and delete tasks and arrange all of this functionality into a user friendly interface As a result the majority of these frameworks have drag and drop components You don t need to engage a professional UI team to create a stunning interface instead utilize a pre built one to streamline all operations Time Speed Using NoCode tools to build applications saves a lot of time Cost NoCode tools take very little engineering time and effort Companies can construct the main product with their competent engineering resources Maintenance Using NoCode tools to deploy and scale tools doesn t require any DevOps expertise deployments are as simple as clicking a button To summarize the frameworks listed below provide a predetermined UI that connects to your backend and offer easy management tools for your team but they are not a substitute for robust web frameworks Let s have a look at the two most notable ones ActiveAdminActive Admin is a framework for developing administrative interfaces It is defined as the administrative framework for business important Ruby on Rails apps For a range of platforms including Self Hosted solutions Online Web based Ruby on Rails SaaS and Linux It encapsulates popular business application patterns so that developers can quickly create beautiful and elegant interfaces with minimal effort Why is ToolJet better ToolJet is an open source low code framework that enables us to create internal tools without requiring any technical skills This framework contains a drag and drop UI builder as well as basic widgets and mobile layouts ToolJet can integrate with a variety of data sources including Google Sheets PostgreSQL Redis Elasticsearch and even third party apps such as Stripe It also has a built in query editor which is supported by most databases Although it s a low code tool you may use the editor to create custom JS code if you want to build a special feature yourself You can also contribute to ToolJet s source code directly on GitHub because it s an open source project FeaturesCoding is necessary to add a new page in ActiveAdmin But in ToolJet it is a no code platform that allows you to create applications without writing any code Organizational and app level flexible access control JS code can be written practically anywhere in the builder Query editors for all data sources supported JS code is used to transform query results Airtable Google Sheets Slack Stripe and more databases and integrations are supported Widgets for charts tables maps forms and more are included You can use the drag and drop app builder to add these widgets to your app Customizing the appearance of an ActiveAdmin dashboard took a lot of engineering work The app builder makes it simple to customize ToolJet widgets ToolJet can be deployed to Heroku with a single click utilizing the click deployment button Heroku It merely takes minutes to set up and only requires a few environment variables as input ToolJet is flexible since it doesn t set any restrictions it s just as easy to connect to databases maintained by frameworks like Ruby on Rails Django or Laravel ToolJet s hosted solution ToolJet cloud enables you to immediately get started creating internal tools Installation deployment and scalability are all taken care of for you ToolJet s base plan is completely free ClosingUnderstands and accepts the various low code and no code platforms They re not designed to take the place of web developers or designers rather they re meant to help you save time while designing basic apps and focusing on the most important aspects of your business My personal opinion is to start with Tooljet and see whether it meets your needs if it does you d be better off using it rather than wasting time designing a comparable UI with Active Admin Let me know if you have any queries in the comments section And would you be interested in using an open source tool like ToolJet Do let me know in the comment section below I hope you enjoyed reading it Feel free to connect with me on LinkedIn Twitter If you like my work you can extend your support by buying me a Thank you 2022-05-23 14:42:29
海外TECH DEV Community Build Stripe Refund App: issue refunds and send notifications https://dev.to/tooljet/build-stripe-refund-app-issue-refunds-and-send-notifications-133m Build Stripe Refund App issue refunds and send notificationsIn this tutorial We will build a Stripe Refund Application for looking up all customers data all payments issuing refunds to customers and sending them confirmation email sms notifications The Stripe refund application will allow you to go through all the customers payments and issue and check refunds within a single dashboard You will be able to send email SMS notifications to your customers directly from the dashboard Check the application in action here PrerequisitesToolJet A free and open source low code platform that allows you to quickly build applications Sign up here Stripe For Stripe it s recommended to use the active account or if you re just getting started with Stripe then you can use it in Test Mode For this tutorial I have used the Stripe account in Test mode SendGrid Twilio For implementing the send SMS or email feature you ll need to have a Twilio or SendGrid account In this tutorial I have used Twilio for sending SMS notifications Let s take a look at the UI of the application The tutorial is divided into the following parts Build the app UICreate the queriesEdit widgets and connect queriesLet s jump right into the ToolJet and click on Create new application button on the top right corner of the dashboard Once entered the app editor you ll be asked to create a version enter a version name and click Create Let me give you a quick walkthrough of the ToolJet app editor Need help with building your own application or just want to hang out in the community of low code application builders Feel free to join our Slack community Build the app UILet s get straight into building the user interface of our application The UI will consist of the following sections HeaderFor building the header I have used the image widget and two text widgets with different font sizes Drag the image widget to the top left corner of the canvas and click on the handle to open properties in the right sidebar In the URL field enter the URL of the image or logo that you want to display You can adjust the height and width of the image according to your choice The first text widget includes the text Refund Tool and to make it look like a heading I have wrapped it inside the HTML lt h gt lt h gt tags Yes you can use HTML inside text widgets The second text widget includes a short description of the application PaymentsFor building this section we will use the containers text listview and inside list view we will use button and text Let s drag a container scale it to its full width on the canvas and set the height as shown in the image You can edit its properties to change the background color or change the border radius of the container Drag a text widget inside the container and place it on the top left Edit its properties and enter the text as Payments and wrap it in HTML lt h gt tags Now drag a containers within the container scale its width the same as the parent container and height should be just enough to place text widgets inside it We ll make this container look like a row that will have column titles You can also change the color of the container according to your choice Let s drag text widgets inside the child container and use HTML tags to bold the font in the text widget The quickest method to do this is just to drag one text widget edit its properties and then use cmnd ctrl d to duplicate that widget times and then change the text of duplicate widgets Finally drag a list view widget inside the container and place it below the child container We ll edit the list view later in the tutorial once we have added our data in the list view CustomersFor this section we will be using the container text and a table widget Drag the container and place it as shown in the image You can edit its properties to change the background color or change the border radius of the container Drag a text widget inside the container and place it on the top left Edit its properties and enter the text as Customers and wrap it in HTML lt h gt tags Finally drag a table widget inside the container and place it accordingly Refund NotificationFor this section we will use the text text area and button widgets Drag a text widget and use the HTML tag to add a title Refund Notification to this section as we did in the last two sections Add another text widget to display a short description of the section below the Title This is not mandatory Now whenever a customer will be selected on the table their customer ID Name Email and contact will be displayed in this section To do this we will use a text widget and use the table s selectedRow variable Since we haven t added any data to the table yet So let s add a text widget inside the container and enter lt b gt Customer ID lt b gt Random ID lt br gt lt b gt Customer Name lt b gt Random Name lt br gt lt b gt Email lt b gt abc xyz com lt br gt lt b gt Contact lt b gt lt br gt Drag a text area inside the container that will be used to frame the message to send to the customers Drag a button that will be used to trigger the Send SMS or Email query that we will create later Click on the handle to edit its properties to change the button text color and border radius Check RefundsThis section will be triggered through a button and will include a modal and a table widget Drag a modal somewhere below in the canvas empty space below the Customers and Refund Notification section Drag a button on the top right of the canvas Edit its properties change the button text to Check Refunds change button color and border radius Go to the Events add a handler for the On click event to perform Show modal action and select the modal in the dropdown This will show up in the modal every time the button is clicked Click on the button to show up the modal Once the modal shows up you can drag and drop widgets from the right sidebar to the modal Drag a table widget inside the modal and change the modal title to Recent Refunds Create the queriesNow that we have built the UI we need to build the queries for getting the data But before creating queries we need to add the data sources to the application in ToolJet We will be using TwilioThis data source will be used to send the SMS to the selected customer You need to have a paid Twilio account if you want to send SMS to unregistered customers if you re using a free account then you ll have to register the number in your Twilio dashboard before sending SMS For connecting data source you ll require Auth token amp Account SID You can find your Account SID and Auth Token under the API Credentials in your Twilio account settings dashboard Messaging service SID Create a messaging service from the Service tab under Messaging in the left sidebar to get the Messaging service SID StripeAs mentioned earlier you ll need to have an active Stripe account and if you don t have one then you can create a new one to use the Stripe app in Test mode Once enabled in the Test mode you can get the Secret key from the Developers tab Click on the reveal secret key copy it and then paste it into the ToolJet Now once you have successfully added the data sources you can go to the query panel at the bottom of the editor and click on the button to create a new query We will be building the following queries allRefundsThis query will return a list of all refunds you ve previously created The query will return a dictionary with a data property that contains an array all refunds Create a new query and select the Stripe data source Select get v refunds from the Operation s dropdown Leave all other query parameters blank as we won t need any filtering in the data returned by the query Toggle on the Transformations and enter return data data Rename the query to allRefunds in the field next to the Preview button and click Save Check Stripe s doc for this query here listCustomersThis query will get the list of all the customers and their details from Stripe The query will return an object with a data property that contains an array of customers Create a new query and select the Stripe data source Select get v customers from the Operation s dropdown Go to the Advanced tab and add an event handler Select Run Query action for Query Success event and choose allRefunds query from the query dropdown This will fire up the allRefunds query list of refunds every time whenever this query is successful Rename the query to listCustomers in the field next to the Preview button and click Save Check Stripe s doc for this query here chargesThis query will return a list of all charges payments The query will return an object with a data property that contains an array of charges Create a new query and select the Stripe data source Select get v charges from the Operation s dropdown Leave all other query parameters blank as we won t need any filtering in the data returned by the query Toggle on the Transformations and enter return data data Go to the Advanced tab and add an event handler Select Run Query action for Query Success event and choose listCustomers query from the query dropdown This will fire up the listCustomers list of customers query whenever this query is successful Rename the query to charges in the field next to the Preview button and click Save Check Stripe s doc for this query here processRefundThis query will create a new refund for the particular Charge PaymentIntent specified in the query This query will return the Refund object if the refund succeeded and will return an error if the Charge PaymentIntent has already been refunded or if an invalid identifier was provided Create a new query and select the Stripe data source Select post v refunds from the Operation s dropdown For this query the charge or payment intent parameter is required to identify the payment we will leave the fields empty for now Go to the Advanced tab and add an event handler Select Run Query action for Query Success event and choose charges query from the query dropdown This will reload the charges query everytime a refund will be processed and the list of Payments will get refreshed Rename the query to processRefund in the field next to the Preview button and click Save Check Stripe s doc for this query here sendSMSThis query will send the SMS to the number provided in query parameters with the body provided Create a new query and select the Twilio data source Select Send SMS from the Operation s dropdown We will use the table s selectedRow property to get the phone number of the customer selected in the table Enter components table selectedRow phone in the To Number field Since we have used a text area widget in the Refund Notification section of the UI for entering a message we will be using the value provided in the text area widget as the body for SMS To do this enter components textarea value in the Body field Go to the Advanced tab and select add an event handler Select Show Alert action for Query Success event add a Message and choose Alert type as success This will show a notification whenever a message is sent to a customer Rename the query to sendSMS in the field next to the Preview button and click Save Edit widgets and connect queriesFinally we have come to the last section of the tutorial We built the UI then created the queries and now we will be connecting both of them Let s go from top to bottom in the UI to connect the queries Check RefundsClick on the Check Refunds button to open up the modal that has table to display all the refunds When the modal is open click on the handle of the table to open its properties on the right sidebar In the table data field we will get the data from the allRefunds query using queries allRefunds data You ll see all the data from the query in a green box below the field Now you can go to the columns section to add the columns that you want to display in Recent Refunds table While adding the columns make sure that the key for columns is same as returned in the query data PaymentsClick the handle of the list view widget to open its properties and the add the data to list view from the charges query Once we have added the data to the list view widget it s time to add widgets in the first row of the list view Drag a button below the Action and the click on the handle to edit its properties You can change the color and border radius of the button Add a event handler to button to run the processRefund query for On Click event Similarly add the text widgets below the Customer ID Transaction ID Amount Transaction Date and Status For the text widgets under each column use the following values respectively listItem customer listItem id listItem id listItem amount moment unix listItem created format DD MM YYYY the date returned by Stripe query is in Unix format so we used Moment js library to convert it into the give format listItem status Once done all the rows will be populated will the data CustomersGo to the Customers container click on the handle of the table and edit it properties In the table data field set the value to queries listCustomers data data You ll see the all the data in the green box below the field Now add the columns that you want to display in the table I have added the Customer ID Customer Email and Contact Make sure to add the correct key while adding column Go to the Options and enable the highlight selected row option Refund NotificationNow for refund notification all we need to do is just add a event handler to the button Click on the handle of the Send SMS button to open the propertiesNow add a handler to run the twilio query for On Click event And now FINALLY just go ahead and Release your application from the top right corner You have successfully created an application for issuing refunds directly to your customer using Stripe and Twilio data source in ToolJet If you have any queries related to building applications with ToolJet or just want to hangout in the community of low code application developers the just drop us a Hi in our Slack Communiy 2022-05-23 14:40:32
海外TECH DEV Community Chaos Engineering with LitmusChaos on AWS EKS using IRSA https://dev.to/aws-builders/chaos-engineering-with-litmuschaos-on-aws-eks-using-irsa-2ef4 Chaos Engineering with LitmusChaos on AWS EKS using IRSAI have already kicked off a brand new series on my YouTube channel called Learn Chaos Engineering series The first few episodes will be focusing on LitmusChaos I have been working on LitmusChaos for the past several weeks The more I work the more questions arise about the mechanics of LitmusChaos In episode we saw an EC instance termination experiment using AWS Secrets which is one way to run chaos on AWS Exposing secrets and access keys is not a recommended practice Enter IRSA IAM Role for Service Account Instead of creating a video let me write it as a blog post I hope it will make a great impression on people who are getting started Before writing this blog post I practiced several times Let us proceed PrerequisitesThere are several moving components when it comes to AWS EKS Few are optional but it would be a great add on if you hit a roadblock e g I am using Octant to visualize the Kubernetes ecosystem You can use Lens or Kubernetes Dashboard if you are familiar with them Below are the stuffs you need before you proceed eksctl to spin up AWS EKS clusterLitmusChaosAWS IAM Role and Policy creation accessHelm optional Octant optional EC instance to run the experiments on it What is LitmusChaos Litmus is an open source Chaos Engineering platform that enables teams to identify weaknesses amp potential outages in infrastructures by inducing chaos tests in a controlled way Recently it was acquired by Harness It is an CNCF Incubation project eksctleksctl is a great CLI utility to perform various AWS EKS tasks such as cluster management hardening the security GitOps and more It is written in Go and uses CloudFormation under the hood Using eksctl we can create a cluster in one command But I do not recommend that e g it will create two m large worker nodes on us west which we do not want for learning purpose Instead use the dry run command to output to a file and modify the parameters such as region instance type availability zone etc Install eksctl from this documentation Enter the below command which will create a EKS yaml manifest eksctl create cluster name chaos playground region us east dry run gt chaos playground yamlThe name of our cluster is chaos playground and will be created on us east Change the region based on your location so that you will reach the nearest availability zone Open the yaml manifest in your favorite editor e g vim chaos playground yamlChange the instance type to t medium Save it and apply the below command to start creating a cluster eksctl create cluster f chaos playground yamlGo for a coffee or tea or your favorite beverage and come back after minutes Once the EKS is up and running you will get the below message EKS cluster chaos playground in us east region is readyUpdating kube configYou might be running various clusters locally or in the cloud Let us update the kube config current context using the below command aws eks update kubeconfig name chaos playground region us east The above command change the context to chaos playground To validate the current context enter the below command k config current contextI have an alias k for kubectl You may need to enter kubectl in place of k Install kubectl from here LitmusChaosLet us begin by installing LitmusChaos in litmus namespace You can install LitmusChaos from here By default the services litmusportal frontend service and litmusportal server service are exposed as NodePort We need to expose it as ClusterIP I have already changed the type and kept it in my GitHub repo Let us apply that to our cluster using the below command k apply f The above command will create various Kubernetes objects as shown below Installing LitmusChaosBy default all the Litmus Custom Resource Definitions CRDs will be installed in the litmus namespace Let us verify the pods which are running in the litmus namespace k get po n litmusThe next step is to expose the service litmusportal frontend service to get the load balanced URL Enter the below command to patch the service k patch svc litmusportal frontend service p spec type LoadBalancer n litmusTo get the load balanced URL enter the below command k get n litmus svc litmusportal frontend service o wideYou will get the URL and port e g you can access the LitmusChaos UI using port and URL Let us wait for a few moments before the URL is reachable Meanwhile let us install Octant from here Run the Octant program and launch the homepage of Octant The first step is to configure the kube config Go to Preferences gt General and note down the kube config path Make sure our AWS EKS kube config is present in the Octant kube config If it is not present Octant will not display the chaos playground objects Here are the pods which are running in litmus namespace on chaos playground cluster Now it is time to launch the LitmusChaos UI The default credential is admin litmusUpon the first time login LitmusChaos will prompt you to change the password You can skip it or change the credentials After successful login click ChaosAgents to validate the Self Agent status Wait till the Self Agent is in Active status as shown below ChaosAgentCongratulations LitmusChaos is up and running now Let us run an experiment Before we begin running the experiments we need to form a hypothesis A single EC instance running with no auto scaling group ProvidedFailure of a single EC instance will disrupt the customer experience HypothesisSpin an EC InstanceIf you are new to AWS please follow this tutorial to spin an EC instance in your region For this demo I have spun up an EC instance with t micro which is running a nginx server EC Terminate By ID ExperimentLet us go back to LitmusChaos and create a new experiment which will terminate the above EC instance using its ID Click Litmus Workflows gt Schedule a workflow to start creating a workflow Select the Self Agent then click Next Click Create a new workflow using the experiments from ChaosHubs radio button and select Litmus ChaosHub then click Next Click Next again leaving the default values for the workflow name Click Add a new experiment and search for ec Select kube aws ec terminate by id and then click Done Click the pen icon to edit the experiment Click Next three times leaving the default options Under the Tune Experiment section enter the EC Instance ID Click Show more environment variables button to enter the region then click Finish Click Next few times and then Finish to start the experiment This experiment will fail after a while Failed ExperimentWhy it got failed LitmusChaos objects doesn t have any access to kill the EC instance Even though we are running everything on the same AWS account To authenticate LitmusChaos objects to the AWS resources there are two ways using AWS Secrets or using IAM service Mounting AWS secrets is not a recommended practice for running the experiment As we are exposing the secrets in YAML file Enter IRSA IAM Role for Service Account IAM is a web service that helps you securely control access to AWS resources Service Account in this context is meant for Kubernetes A Kubernetes service account provides an identity for processes that run in a pod The following are the steps which are involved in creating IAM roles for service account Create OIDC providerCreate IAM Role and PolicyAssociate IAM RoleCreate OIDC providerThe OIDC concept is beyond the scope of this article On a high level OpenID Connect authenticates the AWS API with the supported identity providers and receives a JWT token This token can be passed into AWS STS to receive temp credentials to authenticate into any AWS service like EC Enter the below command to validate the OIDC provider for the cluster aws eks describe cluster name chaos playground region us east query cluster identity oidc issuer output textThis will list the following output If there is no output enter the below command to create one eksctl utils associate iam oidc provider cluster chaos playground region us east approveCreate IAM Policy and RoleCopy the below policy and save it as chaos playground json Replace the account ID with your account ID Version Statement Sid VisualEditor Effect Allow Action ec Resource Sid VisualEditor Effect Allow Action sts Resource arn aws iam lt your account id gt role To create a policy enter the below command aws iam create policy policy name ChaosPlaygroundPolicy policy document file chaos playground policy jsonEach entity in AWS has a unique identifier called ARN To retrieve the ARN for the above policy enter the below command aws iam list policies query Policies PolicyName ChaosPlaygroundPolicy Arn output textCopy the output which we are going to need it in the subsequent step The next step is to create a Trust Policy for our IAM role Save the below trust policy as chaos playground trust json and make sure you replace the OIDC value appropriately Version Statement Effect Allow Principal Federated arn aws iam lt your account id gt oidc provider oidc eks us east amazonaws com id BBCCCCFCXXXXXXX Action sts AssumeRoleWithWebIdentity Condition StringEquals oidc eks us east amazonaws com id BBCCCCFCXXXXXXX sub system serviceaccount litmus ec terminate sa litmus system serviceaccount litmus argo system serviceaccount litmus argo chaos system serviceaccount litmus default system serviceaccount litmus event tracker sa system serviceaccount litmus litmus system serviceaccount litmus litmus admin system serviceaccount litmus litmus cluster scope system serviceaccount litmus litmus server account oidc eks us east amazonaws com id BBCCCCFCXXXXXXX aud sts amazonaws com aws iam create role role name Chaos Playground Role assume role policy document file chaos playground trust jsonOnce the role is created with the trust policy the next step is to attach a policy which we created earlier i e ChaosPlaygroundPolicyTo attach it to the IAM role enter the below command aws iam attach role policy policy arn arn aws iam lt your account id gt policy ChaosPlaygroundPolicy role name Chaos Playground RoleAssociate IAM RoleTo associate the IAM Role to the Kubernetes Service Account the first step is to create a service account using eksctl command Enter the below command to create a IAM SA eksctl create iamserviceaccount cluster chaos playground namespace litmus name ec terminate sa litmus attach policy arn arn aws iam lt your account d gt policy ChaosPlaygroundPolicy override existing serviceaccounts approve region us east To validate all the service accounts in litmus namespace Enter the below command k get sa n litmusAfter creating a service account the next step is to annotate the service account with the IAM role ARN using the below command The below command will annotate all the service accounts I am not sure which service account needs to be annotated hence all k annotate serviceaccount n litmus ec terminate sa litmus litmus argo argo chaos default event tracker sa litmus litmus admin litmus cluster scope litmus server account eks amazonaws com role arn arn aws iam role Chaos Playground Role overwriteTo validate the annotations enter the below command k describe sa n litmus ec terminate sa litmusLitmusChaos ExperimentsLet us run the experiment again But before triggering it we need to remove the mounted secrets from our experiment As we are using IRSA we do not need to mount it Head to LitmusChaos gt Litmus Workflows gt Schedules Click the vertical three dots and then click Download Manifest Download ManifestOpen the manifest in your favorite editor Remove the lines which has secrets Save it Create a new experiment by upload the YAML as shown below Then start the execution Rerun the experimentIf all is good this time our experiment will pass While the experiment is running you can check the logs from Octant Octant LogsOr check the status in EC Instances dashboard Once the experiment is completed LitmusChaos will revert the state of the EC instance Reverted StatusHere is the LitmusChaos workflow graph view Experiment PassThanks for staying with me Important NotesThe policy we created basically opens for all the resources and the action you must fine tune it for better security Since it is a demo I was being playful The annotations are for all the service accounts I yet to validate which SA needs to be annotated properly Once the experiment is done make sure you terminate the cluster and other resources ConclusionIRSA is a beautiful implementation of a zero trust framework LitmusChaos is architected to answer the needs of enterprise security who are in the AWS and GCP ecosystem We have just scratched the surface of LitmusChaos Eventually I will cover the other experiments in my channel 2022-05-23 14:33:45
海外TECH DEV Community Rate my landing page design and help me improve please! https://dev.to/khokon/rate-my-landing-page-design-and-help-me-improve-please-125h Rate my landing page design and help me improve please Hi there Dev community I mostly do backend stuff But sometimes for my own personal projects I also need to design some front end stuff But I think I m pretty much bad at designing stuff That s why today I m asking your opinion about my ability to organize things If you think the design is good please let me know Otherwise please advise how I can improve Thanks in advance guys Landing Page URL 2022-05-23 14:18:27
海外TECH DEV Community Music Monday — What are you listening to? (May 23) https://dev.to/music-discussions/music-monday-what-are-you-listening-to-may-23-104p Music Monday ーWhat are you listening to May cover image credits Jimmy ArcaIn this weekly series folks can chime in and drop links to whatever it is they ve been listening to recently browse others suggestions If you like talking about music consider following the org music discussions for more conversations about music music discussions Follow Let s talk about music Also noteworthy my friend duxtech has a Spanish speaking version of this series here in case you d like to chime in there as well So what have y all been listening to today Note you can embed a link to your song on most platforms using the following syntax embed https I look forward to listening to y all s suggestions 2022-05-23 14:16:59
海外TECH DEV Community A Guide to writing Industry Standard Git Commit Message https://dev.to/tuasegun/a-guide-to-writing-industry-standard-git-commit-message-2ohl A Guide to writing Industry Standard Git Commit MessageI bet you already heard something about Git before starting this article whatever led you here you re welcome and I hope you find the solutions Brief Explanation of GitWe have large projects that need contribution Git simply helps developers manage the different contributions and bonds them into one unit It also helps in controlling the versions of the projects which is version control this is a dummy definition but it s the best way I could explain Git A standard meaning of Git is that it s a DevOps tool used for managing source code It is a free and open source version control system used to handle small to very large projects efficiently Before proceeding I advise you understand a bit of git workflow Here Git commitsGit commits are a snapshot of the codebase or project s current stage state It allows the system to store the staged changes Commits are used as a timeline for the project s contribution and changes It also helps in defining milestones in the project Commits can also be used to track the team s productivity and KPIs Industry Standard Git commitsI choose to describe this as Git commits that can be generally understood across the tech ecosystem It shouldn t commit messages that have very complex terms it should be readable and understood by people that don t even contribute to the code base The necessity of Industry standard commitsNow the necessity of this is to make your commit messages specific to your committed code even if you look back at the code you should be able to understand the change you made via the commit message It also helps new contributors understand the commits and changes made You could know why a person made this commit and the effects it would make if you change that particular line of code Your commit message should be UnderstandableEnoughUnambiguousBefore coming up with a commit message you should consider Why did I add this commitWhat changes does this commit makeAre the changes necessaryDo the changes solve any ticket or do they refer to any external links or part of the codeThe Industry standard commit message method we will be checking out is the lt type gt optional scope lt description gt optional body optional footer Different standard commit types we can look into fix This is to commit a resolved bug in the codebasefeat This is to commit a new feature to the code basechore This commits changes that are not related to a feature or a bug it involves modification or updating dependenciesrefactor this commits changes that involve refactored code doesn t include refactored code or changesdocs This commits changes made on the documentation readme md or markdown filed style This involves style changes in the codebasetest This commits changes made in the test file including corrections madeperf This commits to improve the app s performancesci This commits make changes in the CI integration like the files and scriptsbuild These are files that involve the build files and blue dependencyrevert This commit signifies reverting to a previous commitAn example of this isfeat Add withdrawal button on home pageYou could also add standard commits with their emojis different commit types have different emojis like fix Fixed the contact form Read more about that hereConclusion The skill learned in this writing will improve you and make your codebase more organised It is necessary to document your processes and track your changes When your code becomes legacy code and a new developer has to work on it your commit message has made it way easier for the incoming developer to work in your codebase even in your absence If you have suggestions on how to improve commits you could suggest them below I really hope we have all learnt something from this article on improving our git commit messages 2022-05-23 14:14:32
Apple AppleInsider - Frontpage News iPhone 14 to get 'high-end' front camera with built-in autofocus https://appleinsider.com/articles/22/05/23/iphone-14-to-get-high-end-front-camera-with-built-in-autofocus?utm_medium=rss iPhone to get x high end x front camera with built in autofocusThe upcoming iPhone and iPhone Pro could feature a higher end selfie camera with built in autofocus that will be assembled in South Korea a new report claims iPhone Apple has reportedly cut a Chinese supply chain partner and has chosen South Korean company LG Innotek for the new front facing camera ET News reported Monday LG Innotek has since begun mass production of the new camera setup Read more 2022-05-23 15:00:04
Apple AppleInsider - Frontpage News Save $250 on Apple's 13-inch MacBook Pro with 512GB SSD at Amazon https://appleinsider.com/articles/22/05/23/save-250-on-apples-13-inch-macbook-pro-with-512gb-ssd-at-amazon?utm_medium=rss Save on Apple x s inch MacBook Pro with GB SSD at AmazonAs Memorial Day deals heat up Amazon has issued bonus savings at checkout on the M inch MacBook Pro with a GB SSD matching the lowest price seen in Amazon s MacBook Pro inch deal offers bonus savings at checkoutThe price is valid on the Space Gray M inch MacBook Pro with GB of RAM and a GB SSD double the amount of storage found in the standard GB model With graduation season in full swing and Father s Day less than a month away it s a great way to gift the grad or dad on your shopping list with a Mac without breaking the bank Read more 2022-05-23 14:51:02
Apple AppleInsider - Frontpage News Apple asked Foxconn to start iPhone recruiting drive two months early https://appleinsider.com/articles/22/05/23/apple-asked-foxconn-to-start-iphone-recruiting-drive-two-months-early?utm_medium=rss Apple asked Foxconn to start iPhone recruiting drive two months earlyFoxconn s hiring of staff at its biggest iPhone factory in China is taking place early in preparation for the iPhone after Apple requested for the assembly partner to onboard more workforce members two months ahead of usual On May reports surfaced that Foxconn was starting its annual push for workers at its manufacturing plants in Zhengzhou China far ahead of the usual seasonal schedule Though the effort was halted by a COVID lockdown the next day it appears that Foxconn has resumed recruitment at Apple s request According to sources of UDN Apple requested for Foxconn to start recruiting workers at the Zhengzhou factory two months ahead of schedule The effort is to ensure there s sufficient manpower on hand to build the products and to minimize the impact of local closures and supply chain disruptions from further lockdowns Read more 2022-05-23 14:28:47
Apple AppleInsider - Frontpage News Silicon Valley is likely to emerge from the economic downturn even stronger https://appleinsider.com/articles/22/05/23/silicon-valley-is-likely-to-emerge-from-the-economic-downturn-even-stronger?utm_medium=rss Silicon Valley is likely to emerge from the economic downturn even strongerApple and other tech giants have lost more than trillion in value in but the big players are well positioned to emerge from the economic downturn stronger than ever Apple ParkThe New York Time on Monday analyzed the dissonance between the panic on Wall Street and the relative calm among Silicon Valley giants such as Apple Amazon Microsoft Alphabet and Meta Read more 2022-05-23 14:25:05
Apple AppleInsider - Frontpage News Ecobee's new thermostats, Eve Outdoor Cam, & Pebblebee trackers on HomeKit Insider https://appleinsider.com/articles/22/05/23/ecobees-new-thermostats-eve-outdoor-cam-pebblebee-trackers-on-homekit-insider?utm_medium=rss Ecobee x s new thermostats Eve Outdoor Cam amp Pebblebee trackers on HomeKit InsiderThis week on the HomeKit Insider podcast iOS brings HomePod Wi Fi strength meter Sonos mini sub leaked we review Ecobee s new Premium and Essential thermostats Eve launches its outdoor floodlight camera and we cover Pebblebee location item trackers HomeKit InsiderAfter leaks and rumors the new pair of Ecobee thermostats has been made official The smart home purveyor introduced two new smart thermostats the Premium version and the Enhanced version Read more 2022-05-23 14:07:00
海外TECH The Apache Software Foundation Blog The Apache News Round-up: week ending 20 May 2022 https://blogs.apache.org/foundation/entry/the-apache-news-round-up257 The Apache News Round up week ending May Happy Friday everyone here s what the Apache community has been up to over the past week ApacheCon nbsp the ASF s official global conference series bringing Tomorrow s Technology Today since nbsp CFP open ApacheCon Asia July online nbsp CFP open ApacheCon North America October New Orleans nbsp Travel Assistance applications open for ApacheCon North America Apply today ASF Board nbsp management and oversight of the business affairs of the corporation in accordance with the Foundation s bylaws nbsp Next Board Meeting June Running nbsp Board calendar and minutes nbsp are available ASF Infrastructure nbsp our distributed team on three continents keeps the ASF s infrastructure running around the clock nbsp M weekly checks yield uptime at Performance checks across different service components spread over more than machines in data centers around the world View the nbsp ASF s Infrastructure Uptime site to see the most recent averages Apache Code Snapshot nbsp Over the past week Apache Committers and contributors changed lines of code over commits Top contributors in order are Jiajing Lu Mark Thomas Clebert Suconic Liang Zhang and Andi Huber Apache Project Announcements nbsp the latest updates by category APIs nbsp Apache ShenYu incubating Regular expression denial of serviceBig Data and Machine Learning nbsp The Apache Software Foundation Announces ApacheYuniKorn as a Top Level Project nbsp Content nbsp Apache Jackrabbit Oak x deprecated nbsp nbsp Apache Tika CVE BPGParser Memory Usage DoS nbsp nbsp CVE Regular Expression Denial of Service in Standards Extractor nbsp Cloud Computing nbsp Apache Kafka and released nbsp Data Management Platform nbsp New Apache Ignite Extensions released Integration nbsp Apache Camel released Libraries nbsp Apache ServiceComb Pack version released nbsp nbsp Apache Commons Imaging alpha released Observability nbsp Apache SkyWalking Eyes released nbsp Servers nbsp Apache Tomcat M alpha released Web Conferencing nbsp nbsp Apache OpenMeetings released nbsp Workflow nbsp New Apache Airflow Providers released https airflow apache org Did You Know Did you know that the ASF Security team has opened a paid position for Security Response Program Manager Did you know that Zhongshang Huimin s eCommerce platform uses Apache ShardingSphere for order transaction processing and fulfillment for over million supermarkets nbsp Did you know that the Airflow Summit local meetup in Tokyo will be held on May Apache Community Notices nbsp Apache in nbsp By The Digits nbsp nbsp Video highlights nbsp nbsp Watch quot Trillions and Trillions Served quot the documentary on the ASF nbsp full feature nbsp min quot Apache Everywhere quot min quot Why Apache quot min nbsp quot Apache Innovation quot min nbsp nbsp ASF Annual Report FY PDF nbsp The Apache Way to nbsp Sustainable Open Source Success nbsp nbsp nbsp Foundation Reports and Statements nbsp Presentations from s ApacheCon Asia and ApacheCon Home are available on the nbsp ASF YouTube channel nbsp quot Success at Apache quot focuses on the people and processes behind why the ASF quot just works quot nbsp nbsp Follow the ASF on social media nbsp TheASF on Twitter nbsp and nbsp The ASF page LinkedIn nbsp nbsp Follow the nbsp Apache Community on Facebook nbsp and nbsp Twitter nbsp nbsp Are your software solutions Powered by Apache nbsp Download amp use our quot Powered By quot logos Stay updated about The ASFFor real time updates sign up for Apache related news by sending mail to announce subscribe apache org and follow TheASF on Twitter For a broader spectrum from the Apache community nbsp Planet Apache nbsp provides an aggregate of Project activities as well as the personal blogs and tweets of select ASF Committers 2022-05-23 14:06:38
金融 RSS FILE - 日本証券業協会 J-IRISS https://www.jsda.or.jp/anshin/j-iriss/index.html iriss 2022-05-23 15:02:00
金融 金融庁ホームページ 職員を募集しています。(国内金融及び金融機関等の行う国際業務に関する制度の企画及び立案等(課長補佐クラス)【弁護士資格を有する者】) https://www.fsa.go.jp/common/recruit/r4/kikaku-03/kikaku-03.html 課長補佐 2022-05-23 16:00:00
金融 金融庁ホームページ 「ESG評価・データ提供機関等に係る専門分科会」(第6回)議事次第を公表しました。 https://www.fsa.go.jp/singi/esg_hyouka/siryou/20220519.html 評価 2022-05-23 15:00:00
ニュース BBC News - Home Imran Ahmad Khan: Ex-MP jailed for sex assault on teenage boy https://www.bbc.co.uk/news/uk-england-leeds-61549531?at_medium=RSS&at_campaign=KARANGA conservative 2022-05-23 14:48:14
ニュース BBC News - Home Ukraine war: Russian soldier Vadim Shishimarin jailed for life over war crime https://www.bbc.co.uk/news/world-europe-61549569?at_medium=RSS&at_campaign=KARANGA crimes 2022-05-23 14:11:45
ニュース BBC News - Home Kurt Zouma: West Ham defender prosecuted for three animal welfare offences https://www.bbc.co.uk/sport/football/61550710?at_medium=RSS&at_campaign=KARANGA Kurt Zouma West Ham defender prosecuted for three animal welfare offencesWest Ham defender Kurt Zouma will appear in court after being accused of three offences under the Animal Welfare Act for allegedly harming his cat 2022-05-23 14:55:06
ニュース BBC News - Home Naomi Osaka unsure on Wimbledon after ranking points decision https://www.bbc.co.uk/sport/tennis/61553327?at_medium=RSS&at_campaign=KARANGA wimbledon 2022-05-23 14:03:58
北海道 北海道新聞 「スロウ」掲載品販売、「しゅん」ウェブ版充実 ソーゴー印刷、社名変更機に多角化 https://www.hokkaido-np.co.jp/article/684430/ 社名変更 2022-05-23 23:37:25
北海道 北海道新聞 「新千歳直行便の早期再開願う」 フィンランド・オルパナ大使 https://www.hokkaido-np.co.jp/article/684501/ 開催 2022-05-23 23:31:00
北海道 北海道新聞 常呂ジュニア連敗発進 カーリング日本選手権1次リーグ https://www.hokkaido-np.co.jp/article/684435/ 日本選手権 2022-05-23 23:31:31
北海道 北海道新聞 NY株、一時400ドル高 前週大幅下落で割安感 https://www.hokkaido-np.co.jp/article/684498/ 週明け 2022-05-23 23:28:00
北海道 北海道新聞 道アイヌ協会・阿部理事「先住権の議論を」 アイヌ新法施行3年 https://www.hokkaido-np.co.jp/article/684496/ 北海道アイヌ協会 2022-05-23 23:28:00
北海道 北海道新聞 元タクシン派が圧勝 バンコク知事選 総選挙へ弾み https://www.hokkaido-np.co.jp/article/684495/ 森奈津子 2022-05-23 23:27:00
北海道 北海道新聞 共生実現へ、交付金一役 アイヌ新法施行3年 自治体の政策力に差も https://www.hokkaido-np.co.jp/article/684494/ 先住民族 2022-05-23 23:27:00
北海道 北海道新聞 尹氏、北朝鮮への強硬姿勢強調 「崩壊は望まず」 https://www.hokkaido-np.co.jp/article/684493/ 強硬姿勢 2022-05-23 23:25:00
北海道 北海道新聞 「学校行くのがゴールじゃない」 函館のカウンセラー丹下坂さん、高島さん 痛み分かるから寄り添う https://www.hokkaido-np.co.jp/article/684438/ 高島 2022-05-23 23:24:54
北海道 北海道新聞 日胆のコロナ感染高止まり 5月15~21日 過去2番目の多さ https://www.hokkaido-np.co.jp/article/684457/ 新型コロナウイルス 2022-05-23 23:21:39
北海道 北海道新聞 開発局長、ゲーム風動画で採用狙う 異色の自主制作 社会資本整備の仕事PR https://www.hokkaido-np.co.jp/article/684431/ 北海道開発局 2022-05-23 23:17:47
北海道 北海道新聞 小樽の週間感染者316人 前週より109人減 新型コロナ https://www.hokkaido-np.co.jp/article/684490/ 新型コロナウイルス 2022-05-23 23:13:00
北海道 北海道新聞 火発排出CO2 貯蔵施設起工式 苫小牧、国の実証事業 https://www.hokkaido-np.co.jp/article/684489/ 一般社団法人 2022-05-23 23:11:00
北海道 北海道新聞 7空港利用、地元が促進策 HAP運営 国内客需要喚起へ 運賃・宿泊料補助など https://www.hokkaido-np.co.jp/article/684488/ 需要 2022-05-23 23:10:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)