IT |
ITmedia 総合記事一覧 |
[ITmedia News] pixiv、AI作品のフィルタリングを可能に 判別は“自己申告” |
https://www.itmedia.co.jp/news/articles/2210/31/news118.html
|
itmedianewspixiv |
2022-10-31 13:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 中国人が選ぶ、行ってみたい日本の観光地 3位「東京」、2位「北海道」、1位は? |
https://www.itmedia.co.jp/business/articles/2210/31/news110.html
|
itmedia |
2022-10-31 13:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] これから始めたい運動 3位「ヨガ」、2位「筋トレ」、1位は? |
https://www.itmedia.co.jp/business/articles/2210/31/news112.html
|
itmedia |
2022-10-31 13:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] Bose、小会議室などでの利用にも向くコンパクト設計のUSB会議デバイス |
https://www.itmedia.co.jp/pcuser/articles/2210/31/news115.html
|
bosevideobarvbs |
2022-10-31 13:18:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] イオンモール、平塚市に「ジ・アウトレット湘南平塚」をオープン |
https://www.itmedia.co.jp/business/articles/2210/31/news106.html
|
itmedia |
2022-10-31 13:09:00 |
AWS |
AWS Japan Blog |
【Inter BEE 2022】AWS ブースのご紹介 |
https://aws.amazon.com/jp/blogs/news/jpmne-interbee2022-aws-booth/
|
interbee |
2022-10-31 04:55:18 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
CodeCommitへpushと同時にLambda関数に反映 前編 |
https://qiita.com/suguru_y_zdh/items/8e16d4ab33fbb2a2fc09
|
codecommit |
2022-10-31 13:19:42 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
CodeCommitへpushと同時にLambda関数に反映 前編 |
https://qiita.com/suguru_y_zdh/items/8e16d4ab33fbb2a2fc09
|
codecommit |
2022-10-31 13:19:42 |
Program |
CodeZine |
Google Workspaceの組み込みデータベース「AppSheet databases」がパブリックプレビュー |
http://codezine.jp/article/detail/16774
|
appsheetdatabases |
2022-10-31 13:30:00 |
Program |
CodeZine |
クラスメソッド、AWS環境のセキュリティ診断と改善アドバイスを無償で行うキャンペーンを11月1日に開始 |
http://codezine.jp/article/detail/16775
|
開始 |
2022-10-31 13:30:00 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
nodejsで何も読み込んでないのにMODULE_NOT_FOUNDするときの対処法 |
https://qiita.com/misakura253/items/082f76ab6ab87ef37138
|
atmoduler |
2022-10-31 13:54:34 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Rails&Docker&Reactの個人用メモ |
https://qiita.com/maitake/items/8114bb19144191aa7d02
|
dockercomp |
2022-10-31 13:07:02 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
CodeCommitへpushと同時にLambda関数に反映 前編 |
https://qiita.com/suguru_y_zdh/items/8e16d4ab33fbb2a2fc09
|
codecommit |
2022-10-31 13:19:42 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Rails&Docker&Reactの個人用メモ |
https://qiita.com/maitake/items/8114bb19144191aa7d02
|
dockercomp |
2022-10-31 13:07:02 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
CodeCommitへpushと同時にLambda関数に反映 前編 |
https://qiita.com/suguru_y_zdh/items/8e16d4ab33fbb2a2fc09
|
codecommit |
2022-10-31 13:19:42 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Rails&Docker&Reactの個人用メモ |
https://qiita.com/maitake/items/8114bb19144191aa7d02
|
dockercomp |
2022-10-31 13:07:02 |
技術ブログ |
Developers.IO |
BrazeでLiquidを使ったパーソナライズ化メッセージの作り方! |
https://dev.classmethod.jp/articles/braze-liquid-personalization/
|
braze |
2022-10-31 04:22:48 |
海外TECH |
DEV Community |
How to Make Income Tracker in React |
https://dev.to/reactjsguru/how-to-make-income-tracker-in-react-3ini
|
How to Make Income Tracker in ReactIn this article we will create an income tracker in react Here we have some fields where user can write their income source income and date As user fill these user clicks on button and data will be entered on list and we update the total income It is a very basic project to learn not too much fancy but it will be good enough to make it This project won t be too hard to do but it will be very simple and easy to do So let s make this application step by step Pre requisites to Make Income Tracker in ReactBasic knowledge of ReactJS Basic knowledge of CSS Basic knowledge of React props and hooks Good knowledge of React Components Customizing App ComponentFirstly we will make some changes in App js component Here we have imported our required components like React Header IncomeForm IncomeList and hooks which are going to help us to make this project We will define Header IncomeForm IncomeList components as we progress in this project Now in App component we have created two states one for income and the other for total income with initial values null and respectively After that in return we have made an App in which we have added all component with props Here we have passed states as props because these values are going to change as user input them and we can work with updated values Read More |
2022-10-31 04:26:10 |
海外TECH |
DEV Community |
Zero Down Time Deployment! |
https://dev.to/azibom/zero-down-time-deployment-3le8
|
Zero Down Time Deployment First Steplet s consider we have one nginx and one php node and we want to deploy on php node without down timeOur structure is like this ├ーapp│ └ーindex php├ーdocker compose yml├ーnginx Dockerfile├ーnginx conf└ーphp DockerfileThat is our docker compose ymlversion services cicd nginx build context dockerfile nginx Dockerfile ports volumes nginx conf etc nginx conf d default conf ro cicd php build context dockerfile php DockerfileThat is our nginx DockerfileFROM nginx alpineWORKDIR appCOPY app That is our nginx confserver listen index index php index html error log var log nginx error log access log var log nginx access log root app server name localhost location try files uri uri index php query string location php try files uri fastcgi split path info php fastcgi pass cicd php fastcgi index index php include fastcgi params fastcgi param SCRIPT FILENAME document root fastcgi script name fastcgi param PATH INFO fastcgi path info That is our simple php DockerfileFROM php fpmRUN docker php ext install pdo pdo mysql mysqliRUN curl sS php install dir usr bin filename composerRUN apt get update amp amp apt get install y git unzipRUN apt get update y amp amp apt get install y sendmail libpng devRUN docker php ext install gdWORKDIR appCOPY app And at the end that is our simple index php lt phpecho hi gt Let s go to the next interesting partFirst we change build with image because we want to first build the image and then just replace the new one with the old one so our docker compose yml will become like this version services cicd nginx image NGINX IMAGE TAG ports volumes nginx conf etc nginx conf d default conf ro cicd php image PHP IMAGE TAG First set the variables and the need to build the imagesexport PHP IMAGE TAG phptest export NGINX IMAGE TAG nginxtest docker build f php Dockerfile t PHP IMAGE TAG docker build f nginx Dockerfile t NGINX IMAGE TAG Then we just run up d Now I want to show you what will happen if you just want to deploy the new codeFirst we prepare a bash script for it script sh bin bashwhile do echo Your response curl echo date sleep doneNow we just change the php file to sth like lt phpecho hi hi gt And then we try to build it with new nameexport PHP IMAGE TAG phptest docker build f php Dockerfile t PHP IMAGE TAG Now we want run the script and then run these commands to update the php containersh script shAnddocker compose downdocker compose up d ResultYou will see sth like this and that is the problem Your response hi Mon Oct UTC Your response hi Mon Oct UTC Your response hi Mon Oct UTC Your response hi Mon Oct UTC Your response curl Failed to connect to localhost port Connection refusedMon Oct UTC Your response curl Failed to connect to localhost port Connection refusedMon Oct UTC Your response curl Failed to connect to localhost port Connection refusedMon Oct UTC Your response curl Failed to connect to localhost port Connection refusedMon Oct UTC Your response lt html gt lt head gt lt title gt Bad Gateway lt title gt lt head gt lt body gt lt center gt lt h gt Bad Gateway lt h gt lt center gt lt hr gt lt center gt nginx lt center gt lt body gt lt html gt Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC You can feel what is the problem right now so let s try to fix it We want to use docker swarmFirst init itdocker swarm initThen update your docker compose yml like this version services cicd nginx image NGINX IMAGE TAG ports volumes nginx conf etc nginx conf d default conf ro deploy mode replicated replicas update config order start first failure action rollback delay s cicd php image PHP IMAGE TAG deploy mode replicated replicas update config order start first failure action rollback delay sThen run this command and now you are updocker stack deploy c docker compose yml lt stack name gt Let s look at containersCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESccbaa phptest docker php entrypoi… About a minute ago Up About a minute tcp website cicd php ijdlpjhpffxgxtcffa phptest docker php entrypoi… About a minute ago Up About a minute tcp website cicd php jbdsgqmounjiqfkqlfcedfbba nginxtest nginx g daemon of… About a minute ago Up About a minute tcp website cicd nginx zspucortdxcpcyfuxpecf nginxtest nginx g daemon of… About a minute ago Up About a minute tcp website cicd nginx eoerxoseaszerefporaccWe have php node and nginx node Let s update the php node and see the resultChange the php file and add one hi lt phpecho hi hi hi gt And then we try to build php node it with new nameexport PHP IMAGE TAG phptest docker build f php Dockerfile t PHP IMAGE TAG Now we want run the script and then run the command to update the php containersh script shAnddocker stack deploy c docker compose yml lt stack name gt Result Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Your response hi hi hi Mon Oct UTC Wow And that is the magicWe do not have any down time and docker swarm completely handle it for us let s make gitlab ci yml for itStep one create a project in gitlabStep two add project to the git and then push itgit initgit add git commit m init git remote add origin git gitlab com azibom cicd gitStep three add gitlab ci yml to the projectimage docker stages publish deployvariables PHP TAG COMMIT CI REGISTRY IMAGE CI COMMIT REF NAME php CI COMMIT SHORT SHA NGINX TAG COMMIT CI REGISTRY IMAGE CI COMMIT REF NAME nginx CI COMMIT SHORT SHA DOCKER TLS CERTDIR certs services docker dindbefore script command v ssh agent gt dev null apk add update openssh eval ssh agent s echo SSH PRIVATE KEY tr d r ssh add mkdir p ssh chmod sshpublish stage publish script docker build f php Dockerfile t PHP TAG COMMIT docker build f nginx Dockerfile t NGINX TAG COMMIT docker login u gitlab ci token p CI BUILD TOKEN CI REGISTRY docker push PHP TAG COMMIT docker push NGINX TAG COMMITdeploy image alpine latest stage deploy script ssh o StrictHostKeyChecking no ubuntu cd opt cicd docker compose lemp docker login u gitlab ci token p CI BUILD TOKEN CI REGISTRY echo NGINX TAG COMMIT docker pull NGINX TAG COMMIT ssh o StrictHostKeyChecking no ubuntu cd opt cicd docker compose lemp amp amp docker login u gitlab ci token p CI BUILD TOKEN CI REGISTRY amp amp docker pull PHP TAG COMMIT ssh o StrictHostKeyChecking no ubuntu cd opt cicd docker compose lemp amp amp export PHP IMAGE TAG PHP TAG COMMIT amp amp export NGINX IMAGE TAG NGINX TAG COMMIT amp amp docker stack deploy c docker compose yml website only masterStep Four add a variable to the gitlab ci from settingSSH PRIVATE KEYYou can find SSH PRIVATE KEY with run this commandcat ssh id rsaAlso run this on servercat ssh id rsa pub gt ssh authorized keysStep five define your own runnercurl L gt script deb shsudo bash script deb shsudo apt install gitlab runnersystemctl status gitlab runnersudo gitlab runner register n url registration token REGISTRATION TOKEN executor docker description My Docker Runner docker image docker docker privileged docker volumes certs client bring REGISTRATION TOKEN from gitlab com Step six push to your server and look at pipline |
2022-10-31 04:24:47 |
海外TECH |
Engadget |
Mopar shows off its electrified Jeep 'CJ Surge' concept at SEMA 2022 |
https://www.engadget.com/mopar-shows-off-its-electrified-jeep-cj-surge-concept-at-sema-2022-040143219.html?src=rss
|
Mopar shows off its electrified Jeep x CJ Surge x concept at SEMA As the Specialty Equipment Market Association SEMA trade show kicks off Monday in Las Vegas Mopar ーStellantis OEM accessory division ーunveiled a trio of intriguing concept vehicles led by an electrified Jeep CJ Even more exciting the battery electric technology behind it could portend a restomod revival of classic American muscle cars Stellantis“The Jeep CJ Surge concept explores a future zero emission propulsion system kit and supports the Jeep brand s mission to become the leading electrified SUV brand in the world Mark Bosanac North America senior vice president Mopar service parts and customer care said in a prepared statement Monday Separately our Ram Backcountry X and TRX Gold Shot concepts showcase a truckload of innovative Mopar accessories for our award winning full size trucks The CJ Surge is what s known as a restomod a portmanteau of restoration and modification in that they cleaned up an late model CJ the resto part and swapped out the internal combustion engine for battery electric propulsion the mod part Restomods aren t strictly electrifications ーwe ve been doing them with crate engines for decades ーbut with automakers swiftly transitioning to battery power from gas demand from the classic car community for similar capabilities has grown in recent years In response Ford has begun prototyping a BEV restomod system called the Eluminator The Surge is Mopar s first steps in the same direction StellantisSo rather than an inline six or v eight that the CJs originally came with Mopar has dropped in a scalable volt kW Electric Drive Module that provides four wheel drive capabilities That powerplant is backed by a module Li ion battery that sits in a custom shell mounted in the rear of the passenger cabin which you can see as the giant silver box dominating the trunk space in the image above And rather than a traditional manual transmission the Surge replaces the stick shift with a Wrangler JK center console and rotary shifter knob nbsp StellantisThere s no word on performance numbers much less when ーor even if ーthis will ever come to market If you want to check out the Surge for yourself you ll need to get to the Las Vegas Convention Center before November th |
2022-10-31 04:01:43 |
金融 |
日本銀行:RSS |
経済・物価情勢の展望(10月、全文) |
http://www.boj.or.jp/mopo/outlook/gor2210b.pdf
|
物価情勢の展望 |
2022-10-31 14:00:00 |
海外ニュース |
Japan Times latest articles |
Japan’s September factory output posted first fall in four months |
https://www.japantimes.co.jp/news/2022/10/31/business/japan-factory-output-september/
|
economic |
2022-10-31 13:39:26 |
ニュース |
BBC News - Home |
Ministers face questions as migrant crisis worsens |
https://www.bbc.co.uk/news/uk-63450034?at_medium=RSS&at_campaign=KARANGA
|
centre |
2022-10-31 04:01:13 |
ニュース |
BBC News - Home |
Branson says no to death penalty TV debate |
https://www.bbc.co.uk/news/business-63451982?at_medium=RSS&at_campaign=KARANGA
|
death |
2022-10-31 04:34:13 |
北海道 |
北海道新聞 |
共産・志位委員長、コロナ感染 30日に判明、自宅待機 |
https://www.hokkaido-np.co.jp/article/753381/
|
志位和夫 |
2022-10-31 13:01:00 |
IT |
週刊アスキー |
Amazonプライム会員向け「Prime Gaming」2022年11月の特典を発表 |
https://weekly.ascii.jp/elem/000/004/111/4111109/
|
apexlegends |
2022-10-31 13:50:00 |
IT |
週刊アスキー |
KDDI、AIロボットとの対話でスポーツの習慣化を目指す実証を開始 |
https://weekly.ascii.jp/elem/000/004/111/4111095/
|
音声 |
2022-10-31 13:30:00 |
IT |
週刊アスキー |
ファミマで栗ざんまいを楽しめる! 栗を使った11種類が登場「ファミマで栗集めちゃいました!」 |
https://weekly.ascii.jp/elem/000/004/111/4111074/
|
期間限定 |
2022-10-31 13:15:00 |
コメント
コメントを投稿