teleren/devto huggingface dataset:
Setup MonoRepo in Nest.js
Tags: nestjs, monorepo, backenddevelopment, backend
Published: 2024-07-04 12:13:09

Welcome, to my First Post!

About Me:
Hi, My name is Aasim Ashraf, I am a Full-Stack dev.

**What is Monorepo?**
A monorepo is a version-controlled code repository that contains multiple logical projects within a single repository.

**Let's Create our Own MonoRepo using Nest.js**
Before we dive into creating our monorepo, make sure you have the following:

- [Node.js](https://nodejs.org/en) installed on your system.
- npm

**Let's Get Started.**

1. Install the Nest.js CLI: 
    `npm i -g @nestjs/cli`

2. Create a New Project:: `nest new [project name]`
 like we will create a demo app. `nest new demo`

![Creating demo Project](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qog05p4t29ezvn2cy3ak.png)

3. Select the Package manager _npm, pnpm, yarn_ any of these and hit enter.

4. Wait for the dependencies to install and open the demo app in your preferred code editor, such as VSCode.


![project opened in Vscode](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y1bht6cgjk30qflqadxt.png)

5. Convert the Nest.js App into a Monorepo, Open the Terminal and type `nest g app my-app1`

![Converting basic app into monorepo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j4id3ozt17mo5my5vwim.png)

This command will delete the src directory and create a new apps directory. Inside this directory, you'll find the _demo_ and _my-app1_.


![Monorepo folder structure](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w4tbtjwsyq9elsh3mvn7.png)

5. Your Monorepo is Ready. You have successfully converted the basic nest.js app into a mono-repo.

You can add libraries that could contain the common logic etc.

use Command `nest g lib [library name]`

eg. `nest g lib auth` 
this auth lib will contain the code related to the authentication only.

![Added Libarary into the Monorepo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aikif6fq0ol3cf93n6zr.png)

I hope you have enjoyed this.
Thanks for bearing with me.
Sun Up Services (Cooling & Heating)
Published: 2024-07-04 12:12:56


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


Sun Up Services Cooling & Heating has been serving Pinellas County, Florida for over 30 years. Formerly known as Air Command, Cool Aide, and Mechanical AC Designs, our experienced technicians specialize in air conditioning repair, service, maintenance, and installation. We are committed to providing quality service, competitive prices, and ensuring customer comfort with 24/7 availability. Our core values of safety, integrity, and service excellence make Sun Up Services a top brand for your HVAC needs. If you are looking for AC Service, AC Repair, AC Maintenance, or AC Replacement and live in Pinellas County, give us a call.

Sun Up Services (Cooling & Heating)
Address: [12300 Seminole Blvd Unit C, Largo, FL 33778, US](https://www.google.com/maps?cid=8770341521176079218)
Phone: 17275222288
Website: [http://www.sunupservices.com/](http://www.sunupservices.com/)
Contact email: customerservice@sunupservices.com

Visit Us:
[Sun Up Services (Cooling & Heating) Facebook](https://www.facebook.com/sunupservices)
[Sun Up Services (Cooling & Heating) Instagram](https://www.instagram.com/sunupservicess/)
[Sun Up Services (Cooling & Heating) Twitter](https://twitter.com/SunUpServices)
[Sun Up Services (Cooling & Heating) LinkedIn](https://www.linkedin.com/company/sun-up-services/)

Our Services:
AC repair services
Heating and cooling specialists
HVAC maintenance 
Emergency HVAC services
Does TypeScript fail at enums?
Tags: typescript, development, discuss
Published: 2024-07-04 12:04:02

The concept of enumerables is quite simple: an item that can represent a finite number of different things. However, the implementation in languages are very different. Some languages like Rust and F# allow enum branches to be containers other types. Most of them compile away the enums to simple numbers without leaving a trace of their use in the compiled code. TypeScript... doesn't really do well in comparison.

Consider the following enum:

```ts
enum EnumImplementations {
  Rust,
  FSharp,
  TypeScript,
}

console.log(EnumImplementation.TypeScript);
```

Transpilation to JavaScript will yield the following result:

```js
var EnumImplementations;
(function (EnumImplementations) {
    EnumImplementations[EnumImplementations["Rust"] = 0] = "Rust";
    EnumImplementations[EnumImplementations["FSharp"] = 1] = "FSharp";
    EnumImplementations[EnumImplementations["TypeScript"] = 2] = "TypeScript";
})(EnumImplementations || (EnumImplementations = {}));

console.log(EnumImplementation.TypeScript);
```

This is a lot of complex code just to give more meaning to three numbers. Even worse, many tree shaking strategies will leave it as is.

What we would actually need for TypeScript to emit (used JSDoc for the type definition):

```js
/**
 * enum EnumImplementation
 * @typedef {(typeof _EnumImplementation_Rust | typeof _EnumImplementation_FSharp | typeof _EnumImplementation_TypeScript)} EnumImplementation
 */
const _EnumImplementation_Rust = 0;
const _EnumImplementation_FSharp = 1;
const _EnumImplementation_TypeScript = 2;
const _EnumImplementation_Keys = ["Rust", "FSharp", "TypeScript"];

console.log(_EnumImplementations_TypeScript);
```

Not only has that the advantage of being easily tree-shakable, it is also more readable and concise.

That was a long rant, sorry. What's your take on the issue?
How I am cross-posting my content from Notion to all tech blogging platforms
Tags: writing, productivity, showdev, programming
Published: 2024-07-04 12:07:46

I have been posting tech articles since 2018, but I have always been too lazy to publish them on all of my blogging platforms.

Because, each platform comes with its own unique markdown requirements, image uploading processes, tag settings, and more. Also, simple copy-pasting doesn't work effectively due to the varying ways editors render content.

I am too lazy for 15 minutes of dedicated work so I spent 5-6 month to build [OnePublish](https://www.onepubli.sh) chrome extesnion to make my life easier.

## Managing everything in Notion 🗒️

Have you ever lost your articles? I have been through this, and it was hard for me to rewrite everything. I felt like there was no single place where I could manage all my content.

Then I realized Notion is a great place to manage content with all its tools and easy-to-use markdown editor. So, why not manage content in Notion and make a tool to cross-publish it to other blogging platforms.

## Simple Extension as a Gateway to Publishing. 🎯

I was thinking of making something simple and easy-to-use where there is no need to register on some website and then get lost inside the dashboard.

That idea lead me to make a chrome extension where user don't need to navigate to separate website and manage all the content there.

I tried to minimize the onboarding process since it plays crucial role in not getting bored when starting to use the product. I often find myself closing the tab in the middle of registration because of the long setup process.


I already boosted my SEO and domain rating because of backlinks by cross-publishing to here DEV, Hashnode, Medium, Ghost CMS and LinkedIn. Soon to Reddit as well. And all my content is in managed in Notion.

Here's how I am cross-posting with OnePublish:

{% youtube mBgqN4G55kY%}


Waiting for your feedbacks :)
Introduction to BitPower: Decentralized Lending Platform
Published: 2024-07-04 12:06:33

What is BitPower?
BitPower is a decentralized lending platform based on blockchain technology. It allows users to lend or borrow assets directly through smart contracts without the need for intermediaries.
Core Features
Smart Contracts
All transactions are automatically executed by smart contracts to ensure security and transparency.
Decentralization
No intermediaries are required, and users interact directly with the platform, reducing transaction costs.
Asset Collateral
Borrowers can use crypto assets as collateral to reduce loan risks and obtain better interest rates.
Dynamic Interest Rates
Interest rates change according to market supply and demand, and all calculation processes are open and transparent.
Global Services
Based on blockchain technology, it provides lending services to users around the world, breaking geographical restrictions.
Advantages
Efficient and convenient: smart contracts automatically execute lending operations, and the process is simple.
Safe and transparent: all transaction records are public and the code is open source.
Flexible: users can withdraw assets at any time without waiting for the loan to expire.
Low Cost: Decentralized platforms eliminate intermediary fees.
Conclusion
BitPower uses smart contracts and blockchain technology to provide a secure, efficient and transparent decentralized lending platform. Join BitPower and experience the convenience and advantages of decentralized finance!
BitPower decentralization introduction:
Published: 2024-07-04 12:05:42

BitPower has brought revolutionary changes to the digital energy market through a decentralized architecture. The core of the decentralized network is to eliminate the bottleneck of traditional centralized control and achieve efficient, secure and transparent energy transactions. BitPower uses blockchain technology to ensure the immutability and traceability of each transaction, thereby increasing trust and reducing the risk of fraud. In addition, the application of smart contracts makes energy transactions more automated and efficient, reducing intermediary links and transaction costs. The point-to-point connection between nodes further enhances the system's anti-attack and fault recovery capabilities. Users can directly participate in energy production and consumption through the BitPower platform and obtain a fairer distribution of benefits. The decentralized BitPower not only promotes the innovative development of the energy industry, but also provides technical support for achieving global sustainable development goals.
Jasa Mandor Bangunan: Solusi Terbaik untuk Proyek Konstruksi Anda
Published: 2024-07-04 12:00:03

Apakah Anda sedang merencanakan proyek konstruksi besar atau kecil? Apakah Anda ingin memastikan proyek tersebut berjalan lancar, tepat waktu, dan sesuai anggaran? Jika iya, maka Anda membutuhkan jasa [mandor bangunan](https://maps.app.goo.gl/JY7J6cvQ2VoZFw9S7) profesional yang berpengalaman dan dapat diandalkan.

**Mengapa Memilih Jasa Mandor Bangunan Kami?**

1. **Pengalaman dan Keahlian**
   Tim kami terdiri dari para mandor berpengalaman yang telah menangani berbagai proyek konstruksi, mulai dari rumah tinggal hingga gedung komersial. Keahlian kami mencakup semua aspek konstruksi, termasuk perencanaan, pelaksanaan, hingga penyelesaian akhir.

2. **Kualitas Terjamin**
   Kami berkomitmen untuk memberikan hasil kerja yang berkualitas tinggi. Dengan menggunakan bahan dan teknik terbaik, kami memastikan setiap proyek yang kami tangani memenuhi standar kualitas yang tinggi dan tahan lama.

3. **Manajemen Waktu yang Efisien**
   Dalam dunia konstruksi, waktu adalah uang. Kami memahami pentingnya penyelesaian proyek tepat waktu. Dengan manajemen waktu yang efisien, kami memastikan proyek Anda selesai sesuai jadwal tanpa mengorbankan kualitas.

4. **Anggaran yang Transparan**
   Kami memberikan estimasi biaya yang jelas dan transparan sejak awal, sehingga Anda tidak perlu khawatir tentang biaya tambahan yang tidak terduga. Kami bekerja sesuai anggaran yang telah disepakati, memberikan Anda ketenangan pikiran.

5. **Komunikasi yang Baik**
   Kami percaya bahwa komunikasi yang baik adalah kunci kesuksesan proyek. Tim kami selalu siap memberikan update berkala mengenai perkembangan proyek Anda, serta siap menjawab segala pertanyaan dan kebutuhan Anda.

**Testimoni Pelanggan**

“Kami sangat puas dengan jasa mandor bangunan ini. Proyek rumah kami selesai tepat waktu dan hasilnya sangat memuaskan. Timnya profesional dan sangat komunikatif.” - Budi, Jakarta

“Mandor bangunan dari tim ini benar-benar ahli. Mereka membantu kami merencanakan dan melaksanakan renovasi kantor dengan sangat baik. Kami sangat merekomendasikan jasa mereka.” - Anita, Surabaya

**Hubungi Kami Sekarang!**

Jangan biarkan proyek konstruksi Anda berjalan tanpa arahan yang tepat. Percayakan kepada kami, tim profesional yang siap membantu Anda dari awal hingga akhir. Hubungi kami sekarang juga untuk konsultasi gratis dan dapatkan penawaran terbaik untuk proyek Anda.

**Kontak Kami:**

- Telepon: 081270328816
- Website: [Mandor Bangunan](https://maps.app.goo.gl/JY7J6cvQ2VoZFw9S7)

Jadikan proyek konstruksi Anda sukses dengan Jasa Mandor Bangunan kami. Kepercayaan Anda adalah prioritas kami.
BitPower decentralization introduction:
Published: 2024-07-04 11:59:02


BitPower has brought revolutionary changes to the digital energy market through a decentralized architecture. The core of the decentralized network is to eliminate the bottleneck of traditional centralized control and achieve efficient, secure and transparent energy transactions. BitPower uses blockchain technology to ensure the immutability and traceability of each transaction, thereby increasing trust and reducing the risk of fraud. In addition, the application of smart contracts makes energy transactions more automated and efficient, reducing intermediary links and transaction costs. The point-to-point connection between nodes further enhances the system's anti-attack and fault recovery capabilities. Users can directly participate in energy production and consumption through the BitPower platform and obtain a fairer distribution of benefits. The decentralized BitPower not only promotes the innovative development of the energy industry, but also provides technical support for achieving global sustainable development goals.
Introduction to BitPower: Decentralized Lending Platform
Published: 2024-07-04 11:58:49

What is BitPower?
BitPower is a decentralized lending platform based on blockchain technology. It allows users to lend or borrow assets directly through smart contracts without the need for intermediaries.
Core Features
Smart Contracts
All transactions are automatically executed by smart contracts to ensure security and transparency.
Decentralization
No intermediaries are required, and users interact directly with the platform, reducing transaction costs.
Asset Collateral
Borrowers can use crypto assets as collateral to reduce loan risks and obtain better interest rates.
Dynamic Interest Rates
Interest rates change according to market supply and demand, and all calculation processes are open and transparent.
Global Services
Based on blockchain technology, it provides lending services to users around the world, breaking geographical restrictions.
Advantages
Efficient and convenient: smart contracts automatically execute lending operations, and the process is simple.
Safe and transparent: all transaction records are public and the code is open source.
Flexible: users can withdraw assets at any time without waiting for the loan to expire.
Low Cost: Decentralized platforms eliminate intermediary fees.
Conclusion
BitPower uses smart contracts and blockchain technology to provide a secure, efficient and transparent decentralized lending platform. Join BitPower and experience the convenience and advantages of decentralized finance!
Shadcn/UI Additional Components and Resources
Published: 2024-07-04 11:57:59

### Shadcn/UI Additional Components and Resources

**Julien De Luca** shares an extensive list of extra components and libraries for shadcn/UI, highlighting its growing popularity due to ease of use and clean design. The list includes:

{% medium https://jidefr.medium.com/shadcn-ui-add-components-and-resources-0846b0f57596 %}

- **shadcnui-expansions**: Autosize Textarea, Blockquote, Floating Label, Infinite Scroll, etc.
- **Fancy Multi Select, Box, Area**: Components inspired by GitHub and cal.com.
- **shadcn-keyboard-shortcuts**: UI with Mac/PC variants.
- **Advanced Data Table**: Server-side sorting, filtering, and pagination.
- **Emblor**: Customizable tag input.
- **Plate Rich Text Editor, Minimal Tiptap Editor**: Rich text editing.
- **Gradient Picker**: CSS gradient/color/background picker.
- **AutoForm**: Forms from zod schema.
- **Credenza Modal**: Responsive modal.
- **More**: Phone Input, Enhanced Button, Date Range Picker, shadcn-cal-com, etc.

For a detailed list and further information, visit [Medium](https://jidefr.medium.com/shadcn-ui-add-components-and-resources-0846b0f57596).
Boilerplates...To Use Or Not To Use
Tags: webdev, saas, website, javascript
Published: 2024-07-04 09:55:46


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



In the world of software development, the debate over boilerplates—those pre-packaged templates promising to streamline your project setup—rages on. Are they a shortcut to productivity or a one-size-fits-all solution that falls short of expectations? Let's delve into this age-old question and explore how ShipFast might just be the answer you've been looking for.

Boilerplates, like [ShipFast](https://shipfa.st/?via=shipit), often tout promises of efficiency and time-saving benefits. They come pre-configured with essential tools and frameworks, aiming to get your project off the ground faster. For many developers, this can be a game-changer, especially when time is of the essence and deadlines loom large.

What sets ShipFast apart, however, is its flexibility. Unlike some boilerplates that lock you into a rigid structure, [ShipFast ](https://shipfa.st/?via=shipit)offers customization options that cater to diverse project needs. Whether you're launching a SaaS platform, an AI tool, or a sleek new web app, ShipFast adapts, allowing you to focus on refining your unique vision rather than wrestling with setup headaches.

Beyond its technical prowess, ShipFast fosters a supportive community environment. Imagine having access to a network of like-minded developers, sharing insights, troubleshooting together, and celebrating wins. It's more than just a toolkit; it's a collaborative ecosystem that empowers you to grow alongside fellow innovators.

And let’s talk about updates. ShipFast isn't a one-and-done solution. It evolves with industry trends and user feedback, ensuring your projects stay current and competitive over time. This commitment to continuous improvement reflects ShipFast’s dedication to helping developers thrive in a rapidly changing landscape.

So, back to the question of whether to use boilerplates. For those seeking a balance between efficiency and flexibility, ShipFast emerges as a compelling choice. It's about more than just saving time—it's about empowering developers to build with confidence, adaptability, and a community of support behind them.

Whether you're a seasoned developer looking to streamline your workflow or a startup enthusiast eager to launch your next big idea, consider how ShipFast can accelerate your journey from concept to reality. Explore its features, engage with its community, and see how ShipFast could be the missing piece in your development toolkit.

Because in the end, it’s not just about using boilerplates—it’s about choosing the right tools to elevate your craft and propel your projects forward.
At Home Testing
Published: 2024-07-04 11:52:57



https://mycarelabs.com/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l2gutalz6h60ejs97jpx.png)
🚚 Your health, your terms! My Care Labs introduces COVID-19/RSV/Flu A&B At-Home Test kits, delivering wellness testing to your doorstep across California. 🌍 Results within 24 hours – because we know time is of the essence! ⏰
 
📞📱 Call/Text 800-790-4550 or visit https://mycarelabs.com/covid-rt-pcr-home-test-kit/ to order your at-home test kit. Take the reins of your health journey with My Care Labs! 💪💉
 
🌟✨ Fast results, fewer worries – let's make your health a priority, one swift test at a time! 🏠🩺
#MyCarelabs #AtHomeTestKit #COVIDTesting #FremontCA #RiversideCA #WellnessTesting #ToxicologyTesting #SameDayResults
Easy Way to Convert OST to CSV Files
Tags: convert, ost, to, csv
Published: 2024-07-04 11:49:36

Converting OST files to CSV format can be a crucial task for many professionals who deal with large amounts of email data. CSV files are widely used for data analysis, sharing, and importing into various applications. In this blog, we'll discuss how to [convert OST to CSV](https://xconverterpro.com/how-to-convert-ost-to-csv/) files. Here, we will provide two different solutions for exporting OST files into CSV format. One is a manual solution and the other one is an automated solution. Both methods are explained in detail in the upcoming section. 

## Why Convert OST to CSV?

Before we dive into the conversion process, let's quickly understand why you might need to convert OST files to CSV:

**Data Analysis:** CSV files can be easily imported into spreadsheet programs like Microsoft Excel, making it easier to analyze email data.
**Data Migration:** Converting OST to CSV allows you to migrate data to different platforms or applications that support CSV format.
**Backup:** CSV files are simpler to store and manage as backups.
Reporting: Generating reports from email data becomes straightforward when it's in CSV format.

## How to Export OST to CSV Manually?

Follow the below given steps to perform OST to CSV conversion.
1. Open Outlook and go to File tab.
2. Click Open & Export >> Import/Export.
3. Choose Export to a File and click Next.
4. Select Comma Separated Value and tap Next.
5. Select OST mailbox folder and hit on Next.
6. Browse target location and click on Next.
Done!

**Limitations of Manual solution**
1. Exchange server Connection and Outlook installation is mandatory.
2. If Outlook import export option is greyed out then this method does not work.
3. This method can convert corrupted or orphaned OST files.

To overcome all the limitations of manual solution, you can use a professional solution.

## How to Convert OST to CSV Automatically?

Try **XConverterPro Software** on your system. This tool can directly export OST to CSV without installing Outlook or any other application. Additionally, it offers various advanced features such as bulk conversion, multiple saving options, selective conversion, etc.

**Steps to Export OST Emails into CSV Format**
1. Run XConverterPro software on your system.

2. Click on Open >> Email Data Files >> Outlook OST file >> Choose File.

3. Click on Export and select CSV.

4. Browse target location and click on Extract button.

The process is complete!

## Conclusion

In this post, we have discussed two different methods to convert OST to CSV format. You can choose any method as per your need. However, manual solution comes with some limitations. While, you can export OST to CSV professionally without any hassle.