teleren/devto huggingface dataset:
Integrate kube-score into github actions for Helm charts
Tags: kubernetes, githubactions, cicd
Published: 2023-06-22 09:28:54




Kube Score is a powerful open-source tool designed to evaluate the security posture of Helm charts. By integrating kube-score into GitHub Actions, you can easily check the security context of your Helm charts as part of your CI/CD pipeline. In this blog post, we will guide you through the process of setting up kube-score within GitHub Actions to ensure the security of your deployments.

Step 1: Creating the GitHub Actions Workflow

To begin, navigate to your GitHub project's root directory and create a new file named `.github/workflows/kube-score-check.yaml`. This file will contain the configuration for our kube-score check.

Step 2: Editing the kube-score-check.yaml file

Open the newly created `kube-score-check.yaml` file and let's start editing it.

```yaml
name: Kube-score-check
```

The first line sets the name of our GitHub Actions workflow as "Kube-score-check".

```yaml
on:
  push:
  pull_request:
    branches:
    - main
```

The above code specifies the trigger for our workflow. It will be triggered on both push and pull request events in the main branch. Adjust the branch name as per your project's configuration.

```yaml
jobs:
  kube-score:
    runs-on: ubuntu-22.04
    steps:
        - name: Checkout
          uses: actions/checkout@v3
          with:
            fetch-depth: 0
```

In this section, we define the jConclusion:ob for our workflow. It will run on an Ubuntu 22.04 environment. The first step is to checkout the repository's code using the `actions/checkout` action. We set `fetch-depth` to 0 to ensure the full history of the repository is fetched.

```yaml
 - name: Install kube-score
          run: |
              wget https://github.com/zegl/kube-score/releases/download/v1.16.1/kube-score_1.16.1_linux_amd64.tar.gz
              tar xvf ./kube-score_1.16.1_linux_amd64.tar.gz && mv kube-score /usr/local/bin
```

Next, we fetch and install the kube-score package within the GitHub Actions runtime environment. This step downloads the necessary kube-score binary and adds it to the `/usr/local/bin` directory.

```yaml
        - name: Run kube-score
          run: helm template "YOUR DEPLOYMENT NAME" . | kube-score score -
```

After installing kube-score, we can now run the actual evaluation. Replace "YOUR DEPLOYMENT NAME" with the name of your Helm deployment (without quotes). This command uses `helm template` to render the Helm chart and then pipes it to `kube-score score -` for evaluation.

Step 3: Pushing the Workflow to GitHub

Finally, push the `kube-score-check.yaml` file to your GitHub repository. This will trigger the workflow whenever there is a pull request or push event on the specified branch.



Integrating kube-score into GitHub Actions provides a seamless way to evaluate the security posture of your Helm charts as part of your CI/CD pipeline. By following the steps outlined in this blog post, you can easily set up kube-score and ensure the security of your deployments.
Technology as a Means to Solve Problems: Putting Customers First
Tags: productivity, startup, customer
Published: 2023-06-22 09:25:13

Technology is often viewed as a means to an end rather than an end in itself. Its primary purpose is to address and resolve problems, not to showcase our technical expertise. While it's important to stay updated with the latest advancements and innovations, the true value of technology lies in the results it delivers to customers.

Customers are primarily concerned with the outcomes and solutions provided by a product or service, rather than the intricate details of the technology stack behind it. They seek effective solutions that meet their needs, address pain points, and enhance their experiences. Therefore, it is essential for businesses to prioritize understanding and fulfilling customer requirements rather than solely focusing on the technical aspects.

By shifting our focus to customer needs, we can identify the challenges they face and determine the most suitable technology to address those challenges. The right technology should be selected based on its ability to provide efficient solutions and meet specific customer objectives. It is crucial to approach technology as a tool that aids in achieving desired outcomes, rather than treating it as a standalone solution.

Technology should be leveraged as an enabler, empowering businesses to streamline processes, improve efficiency, enhance productivity, and deliver value to customers. It should be implemented strategically, aligning with the overall business goals and objectives. By taking a customer-centric approach and selecting the best technology to meet their needs, organizations can maximize the impact and effectiveness of their solutions.

## Summary
In summary, technology serves as a tool in problem-solving and should not be viewed as the ultimate solution. Customers prioritize the results and benefits they receive, rather than the intricacies of the technology behind it. By understanding customer needs and utilizing the appropriate technology, businesses can provide effective solutions that address challenges and deliver tangible value.
Why are there so many bot followers on dev.to? 🤖👽
Tags: discuss, writing, bot, noapi
Published: 2023-06-22 09:18:47

Hey, as a newcomer on dev.to, my articles may not receive many views, but my follower count is **rapidly growing** (without additional views).
 
When I created my account, after my first article, I was gaining almost **10 followers** per hour, **compared to 1 or 2 views** per hour on the first article (since then I've written others 😝).

###So let's summarize:
> In 1 hour -> 10 followers
> -------> 1 view on the only article

> The only possible solution: **bots**

**_Now let's take a look at some of these followers:_**

![follower bot screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5y0j2d7795prncz5v52f.png)

![follower bot screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ez10lot955gkdaekax2x.png)

And I could add several dozen more,
Each time it's a profile with a **description/advertisement**, almost **never any articles** (_unless it's an advertisement article_), and a **link to the website** and social media.

But I also have the impression that there's a **second type of bot**,

![fake account screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b9g7mteo8qsrmkpcun35.png)

These bots appear normal, with a random profile picture, often registering on the same day. And after a certain time, they **change all their information** to become 100% advertisement profiles. Probably to bypass dev.to moderators.

#Conclusion:
Let me know if **you're also in this situation**. I find it quite disturbing not to know how many people are truly following us! 

> It would be easy to limit this by preventing the inclusion of URLs in profiles until a certain number of articles have been written. 👽

_don't forget to follow me and like the post if you are not a bot 🤣👽_
Generate CSR for an SSL certificate in NGINX
Tags: nginx, ssl, javascript, programming
Published: 2023-06-22 09:18:30

Steps to generate a Certificate Signing Request (CSR) for an SSL certificate in NGINX

Create an OpenSSL configuration file:

`openssl genrsa -out server.key 2048 `

This will generate a 2048 bit RSA private key called server.key.

Now create the CSR:

`openssl req -new -key server.key -out server.csr `

You'll be prompted for information like:

- Common Name (domain name)
- Organization Name
- Locality/City
- State/Province
- Country code

This creates the CSR file server.csr.

You can now submit this server.csr file to a CA like DigiCert, LetsEncrypt, etc. to obtain an SSL certificate.

Once you receive the certificate file (typically named server.crt) and any intermediate CA certificates, you can configure NGINX to use them:

`server { 
    listen 443 ssl;  
    server_name example.com;             
    ssl_certificate /path/to/server.crt;  
    ssl_certificate_key /path/to/server.key;         
    ssl_trusted_certificate /path/to/intermediate.crt;  
}`

Restart NGINX to apply the changes:

`systemctl restart nginx `

This configures NGINX to use your SSL certificate (server.crt), private key (server.key), and any intermediate CA certificate files.
What is Remote Troubleshooting in Comptia ?
Tags: writing
Published: 2023-06-22 08:52:55

In CompTIA, remote troubleshooting refers to the process of diagnosing and resolving technical issues or problems in computer systems, networks, or software applications remotely, without physically being present at the location where the problem is occurring. It involves utilizing remote access tools, such as remote desktop software or virtual private networks (VPNs), to establish a connection to the affected system and troubleshoot the issue from a different location.

**Remote troubleshooting offers several benefits, including:**

**1. Efficiency:** It allows technicians to quickly respond to and address issues without the need for travel, resulting in faster resolution times.
**2. Cost savings:** Remote troubleshooting eliminates travel expenses associated with on-site visits, making it a more cost-effective solution.
**3. Accessibility:** It enables support personnel to provide assistance to users in remote or geographically dispersed locations.
**4. Convenience:**Users can receive assistance without having to wait for a technician to physically arrive at their location.

Remote troubleshooting techniques may involve analyzing system logs, diagnosing network connectivity issues, identifying software conflicts, performing remote configuration changes, or providing step-by-step guidance to end-users for issue resolution. By obtaining [Comptia Certification](https://www.edureka.co/comptia-security-plus-certification-training), you can advance your career in Comptia Security. With this course, you can demonstrate your expertise in design to validate your proficiency in risk management, risk mitigation, threat management, and intrusion detection, and many more fundamental concepts, and many more critical concepts among others.

CompTIA, as an IT certification organization, provides various certifications that cover remote troubleshooting skills, such as CompTIA A+ and CompTIA Network+. These certifications validate the knowledge and skills required to effectively troubleshoot and resolve technical issues, including those encountered remotely.
Blog Automation using Python🐍& Blogger
Tags: imdb, wikipedia, blogger, python
Published: 2023-06-22 08:46:21

I was wondering what are the things I could automate with python. 

I know A LOT! 😝😝

🧐 How about `movies??` 

I had nothing specific in mind, but I know I could build something. 

We all use `Wikipedia` a lot for many topics and movies being one of them , an idea clicked.

I'd like reading movie plots alot why not scrape the `Plot` section of the movie articles and build a website to read only movie plots?? 

Felt like doing something creative is a good exercise, but what movies?? 

With the Wikipedia a part already figured out, luckily I discovered python package for `IMDb`. So there is a module to fetch `top200` movies list from IMDb using python.

Now 
- wikipedia(data scraping, python package, api)
- imdb(python package)
What about the website??

I'm not gonna spend $$$ for my side-project that much, instead decided to use `bloggerAPI` service, which allows use to create free blog websites with Google. 

I can create a blogger website with a click and use it's API to upload posts.

🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞

## Workflow

It's very simple:

- Fetch `top200` movie title list

- For each movie title, check if the title has topic `"movie"`

- If yes, get the article(url+python) from wikipedia, and scrape the data between `Plot` section and the `Cast` section. I said between Plot and cast since the html structure of Wikipedia articles makes it difficult scrape the particular section but, since all the movies articles almost follow the same pattern, that is the decision I made. 

- Finally, bloggerAPI. Nothing special here:
     - Create a project in the Google API Console
     - `Enable` the `Blogger API` for your project 
  
     - Create an `API key` and `OAuth 2.0 Client ID`

That's it! Run the script which will take care of the rest.


The `Blogger Website` :  https://movieplotzz.blogspot.com/

Here is the `github` : https://github.com/pj8912/wiki-blog-automation clone it and follow the instructions to automate the process of creating your own movie plots website and have fun! 😉
Cortexi Reviews: The Perfect Addition to Your Wellness Routine
Published: 2023-06-22 08:41:56

That's the uncomplicated fact. The item is - is that wrong? I had always found that if I made more Cortexi that I would get less Hearing Support Supplement. That is the cleanest this rationale

OFFICIAL WEBSITE: https://www.mid-day.com/lifestyle/infotainment/article/cortexi-scam-exposing-tactics-beware-and-stay-aware-23293381

Related Reference

https://tinyurl.com/cortexidropsbuy
https://t.ly/rUKev
https://bit.ly/cortexidropsbuy
https://cutt.us/cortexiget
http://firsturl.de/GJZM293
https://rb.gy/0bcsg
https://cutt.ly/EwtAdhsK
https://clck.ru/34n4rD
https://shorl.com/jodrakifastena

https://sites.google.com/view/cortexiofferhere/
https://groups.google.com/g/cortexi-hearing-drops/c/VPXaE-5ziOs
https://www.facebook.com/people/Health-Newz/100082867406107/
https://lookerstudio.google.com/reporting/ad58c29f-3b00-4259-b646-5c0e42b51bc5/
https://colab.research.google.com/drive/1Tn5YWjTMXQHkNRES8CRR6WkU4bssPQj7
https://trendinghealthtipss.blogspot.com/2023/06/cortexi-reviews-does-it-really-work.html
https://www.sympla.com.br/produtor/cortexidropsbuy
https://www.sympla.com.br/evento/cortexi-reviews-sale-is-live-for-cortexi-drops/2043790
https://www.bonfire.com/store/cortexi-reviews-no-major-side-effects/

https://sites.google.com/view/cortexiofferhere/
https://groups.google.com/g/cortexi-hearing-drops/c/VPXaE-5ziOs
https://www.facebook.com/people/Health-Newz/100082867406107/
https://lookerstudio.google.com/reporting/ad58c29f-3b00-4259-b646-5c0e42b51bc5/
https://colab.research.google.com/drive/1Tn5YWjTMXQHkNRES8CRR6WkU4bssPQj7
https://trendinghealthtipss.blogspot.com/2023/06/cortexi-reviews-does-it-really-work.html
https://www.sympla.com.br/produtor/cortexidropsbuy
https://www.sympla.com.br/evento/cortexi-reviews-sale-is-live-for-cortexi-drops/2043790
https://www.bonfire.com/store/cortexi-reviews-no-major-side-effects/
https://cortexi-price-2.jimdosite.com/
https://cortexidropsbuy.wordpress.com/
https://scribehow.com/page/Cortexi_Reviews_Read_Carefully_Shocking_Side_Effects__yJTcDHJTRvyFyqraK1STNA
https://cortexiget.wixsite.com/cortexi-drops
https://cortexi-drops-benefits-eea0fd.webflow.io/
https://cortexidropsbuy.zohosites.com/
https://cortexidropsbuy.hp.peraichi.com/
https://cortexidropsbuy.mystrikingly.com/
https://cortexihearingsupport.splashthat.com/
https://cortexibenefits.godaddysites.com/
https://cortexi-drops-ingredients-24.webselfsite.net/
https://cortexidropsbuy.bravesites.com/
https://cortexidropsbuy.jigsy.com/
https://cortexidropsbuy.mypixieset.com/
http://cortexiingredients.wikidot.com/
https://6493f7bf1ff40.site123.me/
http://cortexidropsbuy.ukit.me/
https://cortexidropsbuy.creatorlink.net/

https://www.scoop.it/topic/cortexi-reviews-price-uses
https://www.pinterest.co.uk/joycegosec/
https://www.quora.com/profile/Nelrger-Bnell
https://www.quora.com/How-do-I-improve-my-ear-s-health/answer/Nelrger-Bnell
https://twitter.com/cortexidropbuy
https://kit.co/joycegosec
https://www.crunchbase.com/organization/cortexi-price-8457
From Novice to GCP Certified: Your Journey Starts Here
Published: 2023-06-22 08:27:12

Professional Cloud Network mastermind 
Take up this instrument if you want to design, <a href="https://examlabsdumps.com/category/google/">Google Cloud Certification</a>apply and manage network infrastructures on GCP 
Professional Cloud Security mastermind 
This instrument is aimed at security masterminds who want to make, apply and maintain security services, also secure your company’s pall structure by using <a href="https://examlabsdumps.com/category/google/">GCP Certification</a> technologies 
Professional Collaboration mastermind 
This is the coming position in getting a G Suite specialist and to take up this test, Google suggest at least 3 times of assiduity experience and 1 times of G Suite administration 

Got Free Exams Updates Here >>>>> https://examlabsdumps.com/category/google/
How to Manage ForeignKey
Tags: flutter, help, reactiveform
Published: 2023-06-22 08:02:50

Hello, I have a page InsertRepair, I'm using RactiveForm and its widgets, for the choise of customers I used reactiveDropodownSearch that how items use a map of repairs loaded by state.customer.name. How to pass relative id at state.customer.name. (foreign key in table repairs on db) To formControl in main Class. I hope that You understand me.

```
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

import 'package:au79dt1_0/blocs/customer/customer_bloc.dart';
import 'package:au79dt1_0/widgets/custom_dropdw_search.dart';
import 'package:reactive_forms/reactive_forms.dart';

class InsertRepairFirstPage extends StatelessWidget {
  final String? controllerUserId;
  final String? controllerCustomerId;

  final FormGroup formGroup;
  const InsertRepairFirstPage(
      {Key? key,
      this.controllerUserId,
      this.controllerCustomerId,
      required this.formGroup})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        DropDownCustomer(
          nameController: controllerCustomerId,
          formGroup: formGroup,
        )
      ],
    );
  }
}

class DropDownCustomer extends StatelessWidget {
  const DropDownCustomer({
    super.key,
    required this.nameController,
    required this.formGroup,
  });

  final String? nameController;
  final FormGroup formGroup;

  @override
  Widget build(BuildContext context) {
    return BlocBuilder<CustomerBloc, CustomerState>(builder: (context, state) {
      if (state is CustomerGetAllLoadedState) {
        return CustomDropDwSearch(
          formControlName: nameController,
          titlePopUp: 'Select Customers',
          labelText: 'Customers',
          items: state.customers
              .map((customer) => customer.name.toString())
              .toList(),
        );
      }
      return Container();
    });
  }
}
```
Mico Server Üzerinde Mico Client Kurulumu
Published: 2023-06-22 07:40:10

#1. Mico Server Kurulumu

- .deb uzantılı olan "mico-x64.deb" Mico Server paketi bağımlılıkları ile beraber aşağıdaki komut ile kurulur:

```bash
sudo apt install ./mico-x64.deb
```

- Yalnızca mico server kurulmuş makinede LISTEN_PORT parametresi ile kullanılmayan bir port eklenir: 

```
root@ubuntu:/home/ubuntu# cat /opt/mico-client/.env
SERVER_URL=https://192.168.1.33:7779 
LISTEN_PORT=7781
FETCH_INTERVAL=3600
```

#2. Mico Client Kurlumu

- Mico server kurulu olan makine üzerinde mico client kurulur. Bu [linkten](https://dev.to/aciklab/mico-ajani-linux-kurulumu-b01) yararlanılabilir.

‼️ .env dosyasının yukarıda belirtildiği gibi olmasına dikkat edilir.

- ve mico-client servisi yeniden başlatılır:
```bash
systemctl restart mico-client
```
- Aşağıdaki komut ile mico portu (7779) dışında 7781 portunun da açılmış olması gerekmektedir:

```bash
ss -tlnp
```

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azcxf700yo75ad0uc20j.png)


#3. Paket Aksiyonları ile paket silme (Tetiklenme Yoluyla ) : 

- Liman arayüzü açılır.
- Menüye girilir.
- Menüde sunucunun alt başlıklarında bulunan <u>Cihaz Yöneticisi</u> eklentisinin içine girilir.
- **Paketler** sekmesine girilir.
- Sol üstteki yeşil **Paket Yükle** butonuna tıklanır.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4l28yarq7nuaxdhhm8s9.png)

- Gelen ekranda mavi **Aksiyon Oluştur** butonuna tıklanır.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g7fomye7tpldyxza1mtu.png)

- Ardından sol üstte İsim ve Açıklama kısmına aksiyon adı ve açıklaması yazılır.
- "Actions" bölümünde **+ Oluştur** butonuna tıklanır ve _Paket Kaldır_ seçeneği seçilir. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yqs2lgrur2odyjlhbem3.png)

**Kaydet** butonuna tıklanır.
- Böylece ilgili aksiyon oluşturulacaktır.
- Ardından aksiyon oluşturularak paket yüklendiği için ilgili makinede şu komut çalıştırılır:

```
sudo mico taskupdate
```

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sh9reawwbxcsilv486ew.png)

- **Aksiyonlar** sekmesine girilir.
- İlgili aksiyonun en solunda bulunan ok işaretine tıklanır.
- Özet Bilgiler, Sonuçlar, Cihazlar ve Koleksiyon sekmeleri dahilinde gösterilir.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z6z1hfzjq0ur341jlpp7.png)
- Sonuçlar sekmesine tıklanır ve ilgili koleksiyonda işlem başarı durumu görüntülenir.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x2y9ef0bu1xm3l2qv77q.png)

- İlgili makinede şu komut girilir ve paketin kaldırıldığı manuel olarak da kontrol edilir:

```
dpkg -s paket_adı
```

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s8voix7ttaxmiat7c4xw.png)
Config 2023 - auto layout wrap, developer mode, prototyping & variables
Tags: figma, css, webdev
Published: 2023-06-22 08:02:21

Yesterday's Config 2023 update brought long-awaited features such as wrapped auto layout and variables. Here's a short recap from me.

👉 https://www.youtube.com/watch?v=qfp4gqrI-Mg

{% youtube qfp4gqrI-Mg %}
[Italian] Konrad Zuse, l'inventore del computer moderno durante la Germania nazista
Published: 2023-06-22 07:57:15

Oggi anniversario della nascita di Konrad Zuse.

Nato in Germania, a Berlino il 22 Giugno 1910, si formò come Ingegnere Civile nel 1935.

Mentre lavorava in Henschel & Sohn, un'azienda che si occupava di lavori di ingegneria strutturale, costruiì lo Z1 nella sua casa aiutato dalla sua Famiglia. Fu Il primo prototipo di un computer che fosse programmabile.

Il convegno internazionale di Informatica del 1998 riconobbe a Konrad Zuse con il suo "Z1" il ruolo di inventore del primo computer programmabile, "che poteva funzionare" della storia.
Durante lo scoppio della Guerra, disegnò anche il primo linguaggio di programmazione della Storia il Plankalkül, tra il 1942 e il 1946.

Non venne mai implementato e sovvenzionato dal governo per le evidenti difficoltà legate alla guerra.

Fu pubblicato solo solo nel 1972. Il compilatore venne implementato nel 2000 presso la Technische Universität Berlin (un polo tecnologico univeritario), cinque anni dopo la morte di Zuse avvenuta nel 1995.
Dopo la guerra fondò una società che rimase attiva fino al 1961 , quando venne acquisita dalla Siemens a causa di alcune difficoltà economiche, nel pieno dello sviluppo dell'industria IT. 

Settore poi dominato dagli USA, mentre in Europa solo l'italiana Olivetti riuscì a reggere il confronto per un periodo contro i colossi americani.