How to delete all files except one in bash

I have been testing jhipster and its jdl, nice thing you can prepare a jdl file and it will generate all dao and pojos and admin panels. jhipster is generating a lot of files and I wanted to delete them all except the jdl file itself, here is how ls -a | grep -v test.jdl | xargs rm -rf

October 10, 2021 · 1 min · Özkan Pakdil

How to auto merge dependabot or Finally dependabot merges automatically

It has been long time there is a very nice and sweet bot around, it is called dependabot or check Dependabot is dependency upgrader for all projects. if you have nodejs project it updates those dependencies to latest, if you have maven same. And I have a small test framework which does spring template tests and release results, very good project for dependabot, it can fail anytime, not that important. and I have been trying to make dependabot PRs automerged. ...

August 5, 2021 · 1 min · Özkan Pakdil

Google App Engine is it expensive for me

I have been using a dedicated server for a very long time. I tried a cloud solution around 6 years ago. It was very expensive, and this year I decided to test cloud again. I have a spring boot application which needs 2gb ram and very small cpu usage, not much IO. I pay 30 euro(25.76 Pound sterling) for monthly dedicated server from hetzner server auction https://www.hetzner.com/sb And I registered for Google Cloud and used AppEngine https://cloud.google.com/appengine took me couple of hours to test and start my app, and I have 200 pounds(gift) from google cloud for the new user ...

June 27, 2021 · 1 min · Özkan Pakdil

Availability in numbers

This is worth to note. Availability in numbers Availability is often quantified by uptime (or downtime) as a percentage of time the service is available. Availability is generally measured in number of 9s–a service with 99.99% availability is described as having four 9s. 99.9% availability - three 9s Duration Acceptable downtime Downtime per year 8h 45min 57s Downtime per month 43m 49.7s Downtime per week 10m 4.8s Downtime per day 1m 26.4s 99.99% availability - four 9s Duration Acceptable downtime Downtime per year 52min 35.7s Downtime per month 4m 23s Downtime per week 1m 5s Downtime per day 8.6s For more you can check https://github.com/donnemartin/system-design-primer ...

December 1, 2020 · 1 min · Özkan Pakdil

I have been procrastinating this upgrade for a long

I bought Huawei matebook x pro around 2 years ago Matebook X Pro i5 8GB+256GB (MACH-W19) SN: SNLBB18903000150 Applicable scope: Austria, Belgium, Bulgaria, Switzerland, Cyprus, Czech Republic, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Greece, Croatia, Hungary, Ireland, Iceland, Italy, Lithuania, Luxembourg, Latvia, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia and I just check warranty Warranty period Out of warranty Expected warranty expiration date: 2020/9/23 First of all I am very happy with the performance and stability. This is my first personal windows 10 usage it needed 2 times resetting(we used to call it format but it changed obviously) after windows updates, Windows is not very famous about it`s stability, so I learn how to backup and make sure everything is okay in case of system failure. ...

November 26, 2020 · 2 min · Özkan Pakdil