teleren/devto huggingface dataset:
MAHAMA CAMP LIVELIHOOD
Published: 2023-04-28 06:50:06

**

Mahama Camp is a refugee camp in Rwanda that was established in 2015 to host refugees fleeing violence and persecution in their home country. The camp is managed by the United Nations High Commissioner for Refugees (UNHCR) in collaboration with the Rwandan government and other humanitarian organizations to provide shelter and protection for refugees.

 The camp is located in the Eastern Province of Rwanda and is home to over 60,000 refugees. The majority of the refugees in Mahama Camp are women and children, with men being a minority due to the high number of deaths and disappearances among them during the conflict in their country.Livelihood in Mahama Camp is a major concern for the refugees in Mahama Camp have managed to create some semblance of livelihood by engaging in various activities within the camp.
1. Agriculture: Mahama camp is located in a rural area with fertile land, and many refugees have been able to establish small-scale farms to grow crops such as maize, beans, and vegetables. The UNHCR and other organizations provide training, tools, and seeds to support these farming activities.
2. Livestock keeping: Many refugees in Mahama camp have also established small-scale livestock farms, raising animals such as cows, goats, and chickens. These animals provide a source of milk, eggs, and meat for the refugees, as well as a potential source of income if they are sold.
3. Handicrafts: Many refugees in Mahama camp have developed skills in handicrafts such as weaving, embroidery, and beadwork. These skills are passed down from generation to generation, and the products are sold within the camp and in nearby towns.
4. Small businesses: Some refugees in Mahama camp have established small businesses, such as selling groceries, clothing, or shoes. The UNHCR provides business training and support to help refugees start and manage these businesses.
5. Education and training: The UNHCR and other organizations provide education and training opportunities to refugees in Mahama camp, with a focus on skills that will help them earn a living in the future. These include vocational training, language classes, and computer skills. 
Despite the challenges of living in a refugee camp, the residents of Mahama have established a vibrant community, with a variety of livelihood activities that sustain their families and provide them with a sense of purpose and hope. The following are some of the livelihood activities that are carried out in Mahama camp:

In conclusion, the livelihoods of refugees in Mahama Camp are critical for their well-being and resilience. While various initiatives have been implemented to support the refugees' livelihoods, there is a need for continued investment to address the challenges they face. By supporting the refugees' livelihoods, we can help to empower them, build their resilience, and enable them to rebuild their lives.
**
How should we govern artificial intelligence?
Tags: ai, discuss, future
Published: 2023-04-28 06:48:51

🤖💻📈🔬🌍 Discuss the key issues and approaches to 🕵️‍♂️ 
regulating the development and deployment of artificial intelligence. 

🤔💰💊🌡️ Consider the potential risks and benefits, 🤝 ethical considerations, and the role of 🏛️ government, 🏭 industry, and 🕴️civil society in shaping the future of AI. 

👨‍👩‍👧‍👦 How can we ensure that AI is developed and used in a way that aligns with our values and protects the well-being of individuals and society as a whole? 

Share your thoughts and insights on this important and complex topic.💬🗣️
Maybe let's change it up?
Tags: beginners, careerdevelopment
Published: 2023-04-28 06:43:45

I'm usually not much into blogging or journaling but my friends are getting a little tired of me showing them my every little cool new thing that I learn in class or after going down a rabbit hole of nerdy dev things.

Ever since I started at my first startup in 2014, I've had a general curiosity and interest in Dev. Specifically in front-end development, even though I definitely didn't know what it was called back then. I was hired on the customer support team at a fintech startup that had just taken over the stock/finance section of AOL and they were woefully unprepared for the volume of tickets coming in. The site had smooth lines and colorful which was the antithesis of the original AOL site that was basically just a Windows 95 Excel spreadsheet slapped onto a page. 

The AOL customers were LIVID! 

I spent my days answering hundreds of tickets teaching people with lower computer experience that even though the design may be different, the function was the same. The new 300K users also put a lot of strain on the features so I was also acting QA as the lone person on that team couldn't handle the amount of work needed to decipher what was truly broken and what was just burdened by the traffic.

I fell in love with the problem solving. And while the code itself was still gibberish to me, I took advantage of any opportunity to listen to the engineers talk about the many changes coming to the site and how it was being done. Jump to 10 years later, and I've moved my way up through customer success at some of the largest names in tech but as a program manager, I got to do a lot more technical work and planning and it really reminded me how much I want to deeper into the magic of making these sites.

Now I've stepped away from my role, and am taking those first steps into my new career path!
How do you set up .env variables in your NextJS project ?
Tags: nextjs, dotenv, env
Published: 2023-04-28 06:39:42

1. First, ensure that the .env file is located in the root directory of your Next.js project.

2. Make sure you have installed the required dependencies. You can use the dotenv package to load environment variables from the .env file. Run the following command to install it:

```
npm install dotenv
```

3. Create a file named next.config.js in the root directory of your project if it doesn't exist already. In that file, add the following code

```
require('dotenv').config();

module.exports = {
  env: {
    INFURA_IPFS_ID: process.env.INFURA_IPFS_ID,
  },
};
```

This configuration will load the INFURA_IPFS_ID environment variable from the .env file and make it accessible in your Next.js app.

congratulations now you are good to go 🚀 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1idtnknv3ba3da4r5ydx.gif)


After following these steps, you should be able to access the INFURA_IPFS_ID variable using process.env.INFURA_IPFS_ID in your code, just like you are doing with the projectId variable.
LIFE FOR REFUGEES IN MAHAMA CAMP
Published: 2023-04-28 06:36:01

I would like to share some information about the life of refugees in Mahama camp. Mahama camp is one of the largest camps in Rwanda, housing refugees from the Democratic Republic of Congo and Burundi. The camp provides various facilities such as a youth center for recreational activities, including sports like football, volleyball, and basketball. Additionally, there are schools that provide refugees with necessary skills. Refugees receive support from UNHCR in partnership with other NGOs, such as Save the Children, for health care and assistance from HI for refugees with disabilities. This is just a brief overview of life in Mahama camp. Thank you.
Easily upgrade npm dependencies with npm-check-updates
Tags: node, npm, webdev
Published: 2023-04-28 06:27:56

On larger projects upgrading npm dependencies usually involves automatic patching of critical vulnerabilities in your CICD and thorough testing of any major/minor changes before releasing. But on smaller or hobby projects you probably just want to upgrade your package.json and be done with it, which is not as easy as you would think. Typically it involves a dance between `npm outdated` and `npm upgrade`, but there is a faster way.

![outdated npm dependencies](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f8dner9kfx7fsupmv41i.png)

## npm-check-updates to the rescue

npm-check-updates (ncu) is a utility that simplifies the process of updating your project's dependencies. It analyzes your package.json file and compares the installed versions of dependencies with the latest versions available on the npm registry. The tool then provides an updated package.json file with the latest versions of all outdated dependencies, making it easy for you to upgrade your packages.

npm-check-updates can be installed globally or locally in your project. To install it globally, run the following command:

```bash
npm install -g npm-check-updates
```

To start using npm-check-updates, navigate to your project directory and run the following command:

```bash
ncu
```

This command will list all outdated packages, showing the current version installed and the latest version available.

To update your package.json file with the latest versions, run:

```bash
ncu -u
```

This command will replace the outdated versions in your package.json file with the latest ones. To actually install the updated packages, just run npm or yarn:

```bash
npm i
```


![npm-check-updates having updated our dependencies](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rksko4rznpaf21w3nurj.png)



Alternatively you can run it through npx straight away:

```bash
npx npm-check-updates --upgrade
```

## Advanced usage

npm-check-updates provides several options to customize its behavior. Some of the most commonly used options include:

`--filter` or `-f`: Filters the packages to be checked based on a regular expression. For example, to check only packages starting with "express", run ncu -f /^express/.

`--global` or `-g`: Checks for outdated global packages instead of local ones.

`--peer` or `-p`: Includes peer dependencies in the check.

`--greatest` or `-t`: Updates to the greatest version instead of the latest stable version. This option is useful for updating packages that have moved beyond the semver range specified in your package.json file.

`--jsonUpgraded` or `-j`: Outputs an updated package.json file as a JSON string, making it easier to automate the update process.

npm-check-updates is a powerful tool that simplifies the process of keeping your Node.js projects up-to-date. With its easy-to-use commands and extensive options, you can ensure that your project stays secure and compatible with the latest dependencies. Make it a habit to periodically check for updates and maintain your projects in tip-top shape, or even better automate it in your CICD.
Cookies vs Local Storage vs Session Storage
Tags: cookies, localstorage, sessionstorage, javascript
Published: 2023-04-28 06:20:31

## Cookies

Cookies are data, stored in small text files, on your computer.

```jsx
// Create a Cookie with JavaScript
document.cookie = "username=Manthan Ankolekar";

// With expiry date (in UTC time)
document.cookie = "username=Manthan Ankolekar; expires=Thu, 28 Apr 2013 12:00:00 UTC";

// With a path parameter
document.cookie = "username=Manthan Ankolekar; expires=Thu, 28 Apr 2013 12:00:00 UTC; path=/";

// Read a Cookie with JavaScript
let data = document.cookie;

// Change a Cookie with JavaScript
document.cookie = "username=Manthan Ank; expires=Thu, 28 Apr 2013 12:00:00 UTC; path=/";

// Delete a Cookie with JavaScript
document.cookie = "username=; expires=Thu, 28 Apr 2013 12:00:00 UTC; path=/";
```

## Local Storage

Local storage object let you store key/value pairs in the browser.

**Syntax** -

```jsx
window.localStorage
// or
localStorage
```

```jsx
// Save Data to Local Storage
localStorage.setItem(key, value);

// Read Data from Local Storage
let data = localStorage.getItem(key);

// Remove Data from Local Storage
localStorage.removeItem(key);

// Remove All (Clear Local Storage)
localStorage.clear();
```

## Session Storage

Session storage object allows you to save key/value pairs in the browser.

**Syntax** -

```jsx
window.sessionStorage
// or
sessionStorage
```

```jsx
// Save Data to Session Storage
sessionStorage.setItem("key", "value");

// Read Data from Session Storage
let data = sessionStorage.getItem("key");

// Remove Data from Session Storage
sessionStorage.removeItem("key");

// Remove All (Clear Session Storage)
sessionStorage.clear();
```

## Difference between Cookies vs Local Storage vs Sesssion Storage

| | Cookies | Local Storage| Session Storage |
|--|--|--|--|
| Stoage Capacity | 4kb | 10mb | 5mb |
| Browser Support | HTML4/HTML5 | HTML5 | HTML5 |
| Accessibility | Any Browser Window | Any Browser Window | Same Browser Tab |
| Expiry | Can set Manually | Never | On Browser Tab Closes |
| Stored In | Browser & Server | Browser Only | Browser Only |
| Sent with requests | Yes | No | No |
| Supported Data Types | Strings Only | Strings Only | Strings Only |
| Auto Expiry | Yes | No | Yes |
| Edit/block | Yes | Yes | Yes |
| SSL Support | Yes | No | No |
Building Responsive Websites: Best Practices and Tips
Tags: webdev, design, html, css
Published: 2023-04-28 06:14:02

**Introduction**
With the increasing use of mobile devices to access the internet, it's more important than ever to build responsive websites that adapt to different screen sizes. In this article, we'll explore the best practices and tips for building responsive websites that look great on desktop, tablet, and mobile devices.


1. Use a mobile-first approach: A mobile-first approach means designing your website for mobile devices first, and then adapting it to larger screens. This approach ensures that your website looks great on smaller screens and allows you to focus on the most important elements of your website. We'll discuss the benefits of a mobile-first approach and provide tips on how to implement it.

2. Use a responsive design framework: A responsive design framework provides a set of tools and guidelines for building responsive websites. There are several popular responsive design frameworks, such as Bootstrap and Foundation, that can help you build responsive websites quickly and efficiently. We'll discuss the benefits of using a responsive design framework and provide tips on how to choose the right framework for your project.

3. Optimize images for different screen sizes: Images are often the biggest contributor to page size, so it's important to optimize them for different screen sizes. This means using smaller images for mobile devices and larger images for desktop devices. We'll provide tips on how to optimize images for different screen sizes and discuss tools that can help you automate the process.

4. Use media queries to adapt to different screen sizes: Media queries are CSS rules that allow you to apply different styles based on the screen size. This allows you to adapt your website to different screen sizes and ensure that it looks great on all devices. We'll provide tips on how to use media queries effectively and discuss some common media query patterns.

**Conclusion**
Building responsive websites is essential in today's mobile-first world. By following the best practices and tips outlined in this article, you can ensure that your website looks great on all devices and provides a great user experience for your visitors. Remember to test your website on different devices and screen sizes to ensure that it looks and performs well.

(Generated Using ChatGPT)
Best Digital Marketing services in Delhi
Tags: bestdigitalmarketingagency, digital, digitalmarketingagency, smm
Published: 2023-04-28 06:09:30

Hello beautiful people

#best_digitalmarketing_agency 
[Growfinity](https://growfinity.media) is a top-tier digital marketing agency that provides comprehensive services to help businesses of all sizes thrive in the digital world. With a team of highly skilled professionals who are experts in their respective fields, Growfinity offers a diverse range of digital marketing solutions that can help businesses maximize their online visibility, engage with their target audience, and increase their ROI.


At Growfinity, we specialize in [search engine optimization ](https://growfinity.media/search-engine-optimization/)(SEO), [pay-per-click advertising (PPC)](https://growfinity.media/pay-per-click-advertising/), [social media marketing](https://growfinity.media/social-media-marketing/), [email marketing](https://growfinity.media/email-marketing/), content marketing, and more. Our team of specialists takes a data-driven approach to each project, analyzing market trends, consumer behaviour, and competitor activity to develop customized digital marketing strategies that align with our client's business objectives.



Whether you're looking to increase brand awareness, drive traffic to your website, generate leads, or increase conversions, Growfinity has the expertise to deliver measurable results. Our agency is committed to providing exceptional customer service and transparent communication throughout every stage of the project, ensuring our clients are always informed and engaged in the process.

At Growfinity, we believe in the power of digital marketing to transform businesses and help them achieve their goals. Let us help you take your online presence to the next level and grow your business.


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mau4p5w6gfsacab9tfil.jpg)
Building Secure Web Applications: Best Practices and Tips
Tags: webdev, security, programming, php
Published: 2023-04-28 06:04:21

**Introduction:**
With the increasing number of cyber attacks and data breaches, it's more important than ever to prioritize security when building web applications. As a full-stack web developer, I've worked on numerous projects that required robust security measures to protect sensitive user data. In this article, I'll share my experience and provide best practices and tips for building secure web applications.

1. Use secure coding practices: One of the best ways to ensure the security of your web application is to follow secure coding practices. This includes things like avoiding SQL injection attacks, implementing data validation, and using parameterized queries when working with databases. I'll discuss some of the most common secure coding practices and provide examples of how to implement them.

2. Implement strong authentication and authorization: Another important aspect of web application security is implementing strong authentication and authorization measures. This includes things like using strong passwords, implementing multi-factor authentication, and restricting access to sensitive data based on user roles and permissions. I'll provide tips on how to implement these measures effectively.

3. Use SSL/TLS encryption: SSL/TLS encryption is an essential tool for securing data in transit between the web application and the user's browser. I'll discuss the basics of SSL/TLS encryption and provide tips on how to implement it in your web application.

4. Regularly update and patch software: Software vulnerabilities are a common target for cyber attacks, so it's important to regularly update and patch the software used in your web application. I'll provide tips on how to stay up-to-date with software patches and upgrades.

**Conclusion:**
Building secure web applications is a complex task that requires a thorough understanding of security best practices and the ability to implement them effectively. By following the tips and best practices outlined in this article, you can build web applications that are secure and protect your users' sensitive data.

(Generated Using ChatGPT)
some very powerful logo-slider for WordPress
Tags: webdev, wordpress
Published: 2023-04-28 05:09:42

**Favorite Logo Slider – Logo Carousel, Logo Showcase & Client Logo Slider 
**

https://wordpress.org/plugins/logo-slider-wp/
Favorite Logo Slider – Logo Carousel, Logo Showcase & Client Logo Slider WordPress Plugin Download
Logo Slider – Logo Carousel, Logo Showcase & Client Logo Slider WordPress Plugin
By LogicHunt http://logichunt.com/
**meta**: Version:3.8.0 Last updated:1 week ago Active installations:20,000+ WordPress Version:4.3 or higher Tested up to:6.2 

**WP Logo Showcase Responsive Slider and Carousel** https://wordpress.org/plugins/wp-logo-showcase-responsive-slider-slider/
Von WP OnlineSupport, Essential Plugin
https://www.essentialplugin.com/wordpress-plugin/wp-logo-showcase-responsive-slider/
**meta**: version:3.5 Zuletzt aktualisiert:vor 1 Monat Aktive Installationen:50.000+ WordPress-Version:4.0 oder höher Getestet bis:6.1.1 Sprachen:Alle 3 anzeigen Schlagwörter:Clientclient logo carouselclient logo sliderlogologo slider



**Logo Slider – A WordPress Plugin for Logo Showcase, Logo Gallery, Logo Carousel and Client Logo Presentation
**https://de.wordpress.org/plugins/gs-logo-slider/
https://www.gsplugins.com/
**meta**: Version:3.4.4 Zuletzt aktualisiert:vor 3 Wochen Aktive Installationen:20.000+ WordPress-Version:4.3 oder höher Getestet bis:6.2 PHP-Version:5.6 oder höher Sprache:English (US) Schlagwörter:logo carousellogo carousel sliderlogo sliderWordPress logo slider
170 x 5 Sterne
https://wordpress.org/support/plugin/gs-logo-slider/


**Logo Carousel – Logo Slider, Logo Showcase, and Clients Logo Gallery
**Von ShapedPlugin, LLC

https://de.wordpress.org/plugins/logo-carousel-free/

https://shapedplugin.com/
**meta**: version:3.4.19 Zuletzt new since weeks  installed:20.000+ WordPress-Version:4.3 oder höher Getestet bis:6.2 

Schlagwörter:carouselcarousel sliderlogo carousellogo showcaselogo slide
meta: Version:3.4.4 Zuletzt aktualisiert:vor 3 Wochen Aktive Installationen:20.000+ WordPress-Version:4.3 oder höher Getestet bis:6.2 PHP-Version:5.6 oder höher Sprache:English (US) Schlagwörter:logo carousellogo carousel sliderlogo sliderWordPress logo slider
115 x 5 Sterne