teleren/devto huggingface dataset:
Deploying Nginx on AlmaLinux 9 with Docker
Published: 2023-10-18 07:43:14

Deploying Nginx on AlmaLinux 9 with Docker is a straightforward process that can be accomplished in just a few steps. Nginx is a popular web server that is known for its speed, reliability, and scalability. Docker is a containerization platform that allows you to run applications in isolated environments, making it an ideal choice for deploying Nginx.
To get started, you will need to **[Run Nginx in Docker Container on AlmaLinux 9](https://orcacore.com/run-nginx-in-docker-container-almalinux-9/)** system. You can install Docker by following the official documentation provided by Docker. 
1. Create a Dockerfile: A Dockerfile is a script that contains instructions for building a Docker image. Create a new file called Dockerfile in a directory of your choice and add the following contents:
```
FROM nginx:latest
COPY ./nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
```
This Dockerfile will use the latest version of the Nginx image from Docker Hub, copy a custom Nginx configuration file to the container, expose port 80, and start Nginx in the foreground.
2. Create a custom Nginx configuration file: Create a new file called nginx.conf in the same directory as the Dockerfile and add your custom Nginx configuration. For example:
```
worker_processes auto;
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name example.com;
location / {
root /usr/share/nginx/html;
index index.html;
}
}
}
```
This configuration file will set the number of worker processes and connections, define an HTTP server that listens on port 80 and serves files from the /usr/share/nginx/html directory.
3. Build the Docker image: In the same directory as the Dockerfile and nginx.conf files, run the following command to build the Docker image:
```
docker build -t my-nginx .
```
This command will build a Docker image with the tag my-nginx, using the Dockerfile and nginx.conf files in the current directory.
4. Run the Docker container: Once the Docker image is built, you can run a container using the following command:
```
docker run -d -p 80:80 my-nginx
```
This command will start a Docker container in detached mode, map port 80 from the container to port 80 on the host, and use the my-nginx image that was built in the previous step.
That's it! You now have Nginx running on AlmaLinux 9 with Docker. You can test it by visiting http://localhost in your web browser.
9 Fantastic websites every developer must know
Published: 2023-10-18 07:42:56

I’ve been such a fan of websites that helps to reduce our work so much easier. Even for developers, websites can be life savers. They can make developers more productive and organized so that their life can be so easy.

Here are the top listed websites that I want to talk about in this article and which can make your life much easier.



**OverAPI**
It has cheat sheets for the majority of the programming languages that we use extensively for developing our applications.

Website Link: https://overapi.com/


**Carbon**
This website will help you to create and share beautiful images of your source code. Very helpful and useful for various developers like me. Now, you can share your source code as images on Insta, Twitter, and LinkedIn very easily.

Website Link: https://carbon.now.sh/


**CodeBeauty**
From JSON Validator to Twitter Header Generator, this website has it all. Just go to this website to be amazed. They also have a chrome extension and I am using this extension.

Website Link: https://codebeautify.org/


**Synthesia**
This website lets you create AI-based videos in over 50+ languages by just uploading a script or writing your speech.

Website Link: https://www.synthesia.io/


**Resume .io**
This website has some of the best professional templates for resumes that you can find on the internet. You can also share your resume with your friends, sister, and others as well.

Website Link: https://resume.io/


**Responsively**
An open-source website that lets you preview all target screens in a single window side-by-side. It also brings down your development time.

Website Link: https://responsively.app/


**Medusa**
Medusa is an open-source headless commerce engine that enables developers to create amazing digital commerce experiences.

Website Link: https://medusajs.com/


**Roadmap**
A website containing the roadmaps for learning a programming language or a framework that helps beginners choose their learning path.

Website Link: https://roadmap.sh/


**Poet**
Another utility website to beautify your tweets that can be shared on multiple platforms such as Instagram or LinkedIn.

Website Link: https://poet.so/
off the DOM
Tags: javascript, beginners, webdev, node
Published: 2023-10-18 07:39:28

learning to webdev in order to obtain money;

told i must use nodejs;

failing to understand why this dumpster fire is as popular as it is;

seems like you're expected to pull in a 3rd party library for even the simplest actions;
 and yet,
you can't use npm packages in the browser, and conversely there is no DOM if running in node...

it's like you're damned if you do and damned if you don't;

i don't like it;
golang seemed much better;

seems like I have yet to find a usecase for any of this junk that I can't do in fewer lines of bash using only printf and and other built-ins.

surely I'm just experiencing some kind of introductory shock...  right?

I mean, does it get better?
Softechbee
Published: 2023-10-18 07:33:45



Welcome to SoftechBee, a leading technology company dedicated to providing innovative software solutions and IT services. With a team of skilled professionals and a commitment to excellence we strive to deliver cutting-edge solutions that empower businesses and individuals to thrive in the digital world.
At SoftechBee, we understand that technology is constantly evolving, and businesses need to stay ahead of the curve to remain competitive. With our extensive expertise in software development, mlm software development, web design, mobile app development, and digital marketing, we offer a comprehensive suite of services to meet your unique needs. Whether you're a startup, small business, or enterprise, we have the knowledge and experience to transform your ideas into reality and help you achieve your goals.Visit Our Comapany:-www.softechbee.com
Build a new Superpower for your MSSP business!
Published: 2023-10-18 07:28:52


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

Providing [endpoint security](https://stellarcyber.ai/platform/capabilities-ndr/) for all your customers is a major challenge. First, it is very rare that partners can deploy an entire endpoint security stack. In many cases, there are servers or other endpoints that do not get covered, or you have customers in the middle of contracts with one [EDR](https://stellarcyber.ai/platform/universal-endpoint-detection-and-response-edr/) provider or another and they are unwilling to switch early. Next, you have the challenge of administering all those tools and integrating them into your [SOC platform](https://stellarcyber.ai/enterprise/automated-soc/). When remediation/response is required, you need to manage multiple logins for multiple customers.

Many partners turned to SOAR to solve this challenge. It has advantages in that you can combine the alerts from multiple platforms and automate responses so you don’t have to catalog multiple passwords. Unfortunately, SOAR solutions do not have intelligent correlation built into their platforms – they simply pass through alerts. It can also take as much effort to manage the SOAR as the [SIEM](https://stellarcyber.ai/platform/capabilities-ng-siem/).

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

There is a new, patented option that has just emerged to not only solve this challenge, but to supercharge your response capabilities and help you develop a superpower over your competitors. We call this [Universal EDR](https://stellarcyber.ai/platform/universal-endpoint-detection-and-response-edr/). With this strategy you get four distinct benefits:

- Full Endpoint Coverage
- Complete Visibility
- Improved Fidelity of [EDR Alerts](https://stellarcyber.ai/platform/universal-endpoint-detection-and-response-edr/) and Events
- Correlation of EDR Alerts and Events with the Entire Attack Surface

Ultimately, this strategy has been designed with one goal in mind – High Fidelity Detections with Low Noise. In the Stellar Cyber [Open XDR Platform](https://stellarcyber.ai/platform/what-is-open-xdr/), there are three distinct EDR Alert Pathways:

Stellar Cyber can take your SOC to the next level. To support these pathways, we have developed bi-directional integrations with the top 9 EDR providers. With this framework, you can leverage any combination of these EDRs to reduce false positives, find high priority alerts faster, respond more quickly, and eliminate vendor lock-in for you and your customers.

If you are interested in learning more, please reach out – brian@stellarcyber.ai
My idea about hardening the cookie storage
Tags: browser, web, security, privacy
Published: 2023-10-18 07:28:12

---
title: My idea about hardening the cookie storage
published: true
description: Probably it could be implemented in some privacy-oriented browsers like Tor or Brave
tags: browser, web, security, privacy
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmn48sgw77wiqjvbk652.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-10-18 06:55 +0000
---

The thing about cookies is that they usually contain a lot of sensitive session keys which are basically temporary passwords to the websites you visit.

And if i recall correctly, cookies are stored in an sqlite database *somewhere* (at least for Firefox)

The thing is that an attacker could've just easily downloaded that file to their computer, and then extract the cookie data from the sqlite database.

Doesn't sound very good, huh? Welp, my idea is to apply a few measures in order to protect against this kind of attack.

1. Hash the site names with something like `yescrypt`, preferably with a browser-specific salt. Maybe use the fingerprint or the user agent as a salt? Although i despise fingerprints overall, this is a pretty good place to use them.
2. Encrypt the cookie content with the site's name.
3. Then preferably encrypt the whole database using the fingerprint or the user agent. Wouldn't really stop anyone smart, but i think its a good measure.

That's pretty much it. The whole idea. Perhaps the same principle would be applicable to local and session storages.

Personally, i think that it is infurious that since cookies are basically passwords (probably even more sensitive than passwords), they are stored in pretty much just a text file.
Deciding Between Off-the-Shelf and Custom Software in Singapore's Booming IT Landscape: A 2023 Guide
Published: 2023-10-18 07:21:53

In the rapidly evolving landscape of Singapore's thriving IT industry, businesses often face a critical decision: choosing between off-the-shelf software and [custom application development](https://simpliify.co/our-services/) for their mobile app development, software product creation, and user interface improvement needs in 2023. This article delves into the unique features and considerations for each approach to help organizations make informed decisions.

**Off-the-Shelf Software:**

    **Benefits:** Offers immediate deployment, cost-effectiveness, and standard features.

   **Limitations:** May lack flexibility for niche requirements, involve subscription fees, and encounter integration issues with existing systems.

**Custom Software Development in Singapore:**

**Advantages:** Provides a precise fit for business needs, adaptable scalability, seamless system integration, long-term ROI, and a competitive advantage.
    **Limitations:** Involves initial cost implications and a longer development lifecycle.

The right choice between off-the-shelf and custom software depends on factors like current and future needs, the nature of operations, and the potential for expansion. Singapore's thriving technological ecosystem, with a wealth of expertise and competitive pricing, makes it an excellent place for custom software development. Ultimately, businesses should weigh not only immediate costs and functionality but also the long-term benefits and adaptability of their chosen solution.

If you're looking for a [custom software development company in Singapore](https://simpliify.co/get-in-touch/), Simpliify is highlighted as a reputable option, offering tailored solutions that can elevate your business and provide a top-notch user experience.
Navigating Southwest Airlines DCA Terminal: Your Gateway to Washington, D.C.
Tags: travel, airlines
Published: 2023-10-18 07:16:43

[Southwest Airlines DCA Terminal](https://www.travelquid.com/southwest-airlines/what-terminal-is-southwest-at-dca-airport/
), located at Ronald Reagan Washington National Airport, offers convenient travel options in the Washington, D.C. area. Passengers can expect a seamless experience with a range of amenities, from efficient check-in to accessible gates. Southwest's commitment to exceptional service ensures a smooth journey through the DCA terminal, making it a preferred choice for travelers to and from the nation's capital.
Golang Notes - 11
Published: 2023-10-18 07:14:35


**Flow Control**

decision making

```
if <condition> {
	// do smth
} else if <condition>{
	// do smth
} else {
	// do smth
}
```

**Command Line Arguments**

```
fmt.Println(os.Args)
fmt.Println(len(os.Args))
```

os.Args slice of strings
`first element  os.Args[0] path of program`
Stellar Cyber’s Open XDR – Step into Security
Published: 2023-10-18 07:12:29

Security can be intimidating for [MSP partners](https://stellarcyber.ai/partners/become-a-mssp-partner/) making the transition to [MSSP](https://stellarcyber.ai/products/open-xdr-security-operations-platform-msspalert/).  The industry makes it sound too complex and capital intensive to cross the chasm.  We believe that there are logical, cost-effective steps you can take to get more of your customers to purchase security and provide better profitability.

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

[MSP partners](https://stellarcyber.ai/partners/become-a-mssp-partner/) have built long-term relationships with their clients.  Outsourcing security brings a third company into that mix.  In many cases, the [MDR](https://stellarcyber.ai/mssps/mdr-as-a-service/) service they provide is expensive.  The result is that even if you take this approach, only a small percentage of your customers will choose to purchase it.  In the worst case, the customer may gravitate toward the other provider.

To help MSP partners, Stellar Cyber has built the Jumpstart Program.  There are five simple steps you can follow to leverage the [Open XDR](https://stellarcyber.ai/platform/what-is-open-xdr/) Platform:

- Base – 8×5 Security Monitoring
- Bronze – 24×7 Security Monitoring
- Silver – 24×7 Security Monitoring with Manual Response
- Gold – 24×7 Security Monitoring with Manual and Automated Response
- Platinum – 24×7 Security Monitoring with Manual Response, Automated Response, and Threat Hunting

This is a framework you can use to build a portfolio of [security services](https://stellarcyber.ai/platform/capabilities-ng-siem/).  It provides options for every customer risk level and budget.  The goal is to get the biggest percentage of your customers purchasing security to fund your operations.

Leveraging our virtual enablement and onboarding resources, the program will help you build your own world-class [security operations](https://stellarcyber.ai/mssps/soc-as-a-service/) capability.  The Open XDR platform will integrate with all the tools your current customers and prospects use.  If we don’t have it – we will build the integration for you.

If you are serious about expanding your business into [cyber security](https://stellarcyber.ai/what-is-cybersecurity/), please reach out to us.  We will build a customized success plan tailored to your business and how your customers like to buy.
Leading the Way: Top Mobile App Development Companies for Exceptional App Solutions
Tags: mobileappdevelopmentcompany, topmobileappdevelopmentcompany, mobileappdevelopmentcompanie, mobileappdevelopment
Published: 2023-10-18 07:05:34

Selecting the right [mobile app development company](https://www.truefirms.co/company-search/Mobile-App-Developers) is crucial for the success of your app project. With a plethora of options available, it's essential to identify the top companies in the industry that consistently deliver outstanding results. Here, we present a list of the top mobile app development companies that stand out in terms of innovation, quality, and customer satisfaction.

1. [Fueled](https://fueled.com/): Fueled is renowned for its creative and high-quality app solutions. They have a proven track record of delivering top-notch mobile apps for startups and Fortune 500 companies alike.

2. [WillowTree](https://www.willowtreeapps.com/): WillowTree is a trusted name in the industry, known for their user-centric approach to app development. They excel in creating apps that offer a seamless user experience.

3. [Appinventiv](https://appinventiv.com/): With a global presence and a team of skilled developers, Appinventiv specializes in crafting cutting-edge mobile apps that meet the unique needs of clients.

4. [Intellectsoft](https://www.intellectsoft.net/): Intellectsoft is a leader in providing end-to-end mobile app development services. Their expertise spans across various industries, including healthcare, finance, and e-commerce.

5. [RipenApps](https://ripenapps.com/): RipenApps is recognized for its cost-effective and efficient app development solutions. They have a strong portfolio of successful apps across different sectors.

These [top mobile app development companies](https://www.truefirms.co/company-search/Mobile-App-Developers) have earned their reputation through consistent excellence and innovation. When choosing a partner for your app development project, consider these industry leaders to ensure your app's success.
Hire Nearshore AI Developers
Tags: webdev
Published: 2024-06-28 15:44:25

---
title: Hire Nearshore AI Developers
published: true
date: 2023-10-18 07:00:00 UTC
tags: WebDevelopment
canonical_url: 
---

Hiring nearshore AI developers can be a strategic move for businesses looking to accelerate their AI initiatives while maintaining a reasonable budget. Here’s a comprehensive guide on how to go about it: Understanding Nearshore AI Development: Nearshore Software Development refers to outsourcing AI development tasks to countries closer to your home location, such as Costa […]

The post [Hire Nearshore AI Developers](https://blog.nextideatech.com/hire-nearshore-ai-developers/) appeared first on [Next Idea Tech Blog](https://blog.nextideatech.com).
We're thrilled to announce that BuildBear now supports Omni Testnet!
Tags: omni, testnet, blockchain
Published: 2023-10-18 06:57:40


👩‍💻 With BuildBear, you can now create Customized Private Omni Testnets. 
 
New to Omni Testnet? Here’s a Quick Background: 
The Omni Network is a layer 1 blockchain built to connect all rollups. Using Omni, developers can build global applications that are available across all rollups. Secured through restaking $ETH, Omni is a next-generation blockchain leading the frontier in both security and functionality. 
 
Create your Omni Testnet Now at https://www.buildbear.io/
 
🙏 Like and Repost  https://x.com/OmniFDN/status/1714315674485473309?s=20
C - Pointer & Struct
Tags: c, pointer, tutorial
Published: 2023-10-16 20:02:13

🔥 This post will discuss about pointer which is the one of the most important concept in C language to actually implement a LinkedList.

So, what is the pointer? what is the definition? (I captured below paragraph from KNK C programming)

> Although addresses are represented by numbers, their range of values may differ from that of integers, so we can't necessarily store them in ordinary integer variables. We can, however, store the in special p, we say that p "points to" i. In other words, a pointer is nothing more than an address, and a pointer variable is just a variable that can store an address. _KNK C programming P.242_

We can understand the concept with the Excel (Google Spreadsheet).

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

According to above image,
1. Cell B6, I put value 15.
2. Cell D9, I put a cell-address with =B6.

You can understand with the code below,

```
int num = 15; // 1. Cell B6, I put value 15.
int *numPtr = &num; // 2. Cell D9, I put a cell-address with =B6.
```

_Of course, We should think like computer memory, not a cell in excel. B6 and D9 (address value) is almost randomly assigned by compiler._

So, the valuable named "num" is allocated the address of memory. (the size is 4 byte b/c int type)

✅ Just sec in here, I think we should recap the structure of memory.

## Memory Structure in C

When we execute a program, OS allocate the memory space for the program. And this allocated memory space is divided by

1. Data Area
2. Stack Area
3. Heap Area


And I'll deal with this memory area soon.

Before that, I'll put more detailed code under about pointer.

### Example 1
```
int main(){
 int x; // 1. declare x -> int variable
 int *ptr_x; // 2. declare pointer var ptr_x, which means this variable can save the memory address and read only 4 bytes because this is int pointer var
 x = 100; // 3. init x with 100
 ptr_x = &x; // 4. save x's memory address in ptr_x
 printf("x : %d, &x : %p\n", x , &x); // 5.using %d to print a decimal format, and %p to pointer(address) format and & operator showing the memory address of x
 printf("*ptr_x: %d, ptr_x: %p\n",*ptr_x, ptr_x); // 6. if we put * operator in pointer var then, It shows the variable that saved in address
 *ptr_x = 200; // 7. change the value to 200 that ptr_x indicate
 printf("x: %d, *ptr_x: %d\n" , x, *ptr_x);
 return 0;
}
```