teleren/devto huggingface dataset:
TURN ON THE SYNTHWAVE
Published: 2021-04-23 11:42:28

<p>A sexy synthwave switch only for you guys ! <br>
Made with all my love on Twitch.tv ! &lt;3</p>

{% codepen https://codepen.io/emilienleroy/pen/GRrPjdM %}

<p>Follow me :p <br>
 <a href="https://twitch.tv/emilienjc" target="_blank">https://twitch.tv/emilienjc</a><br>
 <a href="https://github.com/EmilienLeroy" target="_blank">https://github.com/EmilienLeroy</a><br>
 <a href="https://codepen.io/emilienleroy/" target="_blank">https://codepen.io/emilienleroy/</a><br>
 <a href="https://twitter.com/LeroyEmilien" target="_blank">https://twitter.com/LeroyEmilien</a></p>
Rbenv local and Rbenv Global
Tags: ruby, rails, rbenv
Published: 2021-04-23 11:40:02

Newbies like myself often get confused about the difference between rbenv local and rbenv global, 

``` 
Rbenv local
 ``` 
As the name describes, changes the ruby version in the `.ruby-version.` file. stile the global ruby version remains the same. 
``` 
Rbenv global 
```
changes the ruby inside the rbenv ruby version file in`~/.rbenv/version.`

To undo any of these changes, just add the ` --unset ` flag to the command
🎉 It's my birthday 🎂
Tags: watercooler, birthday, cakeday, offtopic
Published: 2021-04-23 11:39:41

So today is technically my birthday. Yes, I was born on the day that comes after Earth Day.

I have planned to get 5 items on this special day, which were a 3D printer, some noise-canceling headphones, a [Python book](https://www.google.com/books/edition/_/f7wGeA71_eUC?hl=en), a new mousepad, and a new glasses case (I lost mine). I sent the list too late, so I will probably get some of the items after my birthday.

I am also planning to go to Chili's for dinner. This is a family tradition, as we also do this on anniversaries. I usually get their classic bacon burger because I like bacon &#x1F610;

---

Anyways, that's really much it for what I'll be doing today, none other than relaxing and having a good time.
Stacks Launches $4M Accelerator to Fund Tech Teams Building Apps on Bitcoin
Published: 2021-04-23 11:23:46

Founders , Builders and Developers: don't miss out on the launch of the Stacks Accelerator, a program aimed at fuelling innovation on Bitcoin via the Stacks blockchain. 

The program is led by Trevor Owens (entrepreneur and author, whose startups have raised over $100M in venture funding) and backed by the Stacks Foundation, Hiro Systems, Daemon Technologies, and Freehold. The accelerator has committed an initial fund of $4M USD to support over 100 early-stage startup teams.

Program Highlights:

Up to $50,000 in funding for participating ventures ($25,000 upfront and $25,000 as part of the funding round), with additional funding and mentorship continuing indefinitely thereafter.

Mentorship from industry experts across the accelerator and crypto spaces, including: Eric Ries (author of the The Lean Startup) and Meltem Demirors (CSO of CoinShares)

Access to a potential user base and follow-on investors through the Stacks network of over 300,000 token holders, including leading investors such as USV, Lux Capital, Winklevoss Capital, and Zhen Fund.

Apply:  https://www.stacks.ac/

Learn more: https://stacks.org/stacks-accelerator
How do I Restore Quickbooks?
Tags: quickbooks, quickbooksrecovery
Published: 2021-04-23 11:11:16

Rather than using a manual process, use some professional Quickbooks file recovery software because the manual method has a very complicated process and step that takes a long time. So, if you want to protect your original data, use another sophisticated Quickbooks data recovery software, that can easily repair all corrupted Quickbooks data. If errors are found, it can restore the updated backup of company file. The damaged QBW database file can be easily repaired with this recovery tool. Using the free demo version and see how it works and also what capabilities it has.

Visit here https://www.filesrecoverytool.com/quickbooks-recovery.html to know more
Manage your Finances 💰with this notion template
Published: 2021-04-23 11:05:58

Hey folks 👋🏼.
Just launched another Product on the Product hunt. It's a template that helps you manage your finances💸 
### Finance Manager Template

When we think about Finances, what comes to our mind are the earnings and the spendings. We aim to maximize our earnings and minimize irrational spending. But, to effectively change our spending pattern, we need to track it first. With this Finance Tracking template, you’ll not only be able to keep track of exactly where each penny has been spent but also how much percentage of total funds it makes up for. 

{% youtube ea5SgZdDwtk %}

Let’s take a look at this wonderous template that will change your spending habits for the better and make your savings skyrocket. 

### Expenses 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/badnk911nf9dvi75rv58.png)
Expenses are broken down into the following-

**Essentials** -The spending that can’t be skipped - eg. Utility bills, taxes, etc.

**Debt and interest payments**- Noting down any change in the interest rates and calculating the monthly spending accordingly by making use of inbuilt - formulas

**Discretionary spending** For services that save your money in the long term but require payment upfront for eg. Amazon Prime, etc.

**Subscriptions** Ongoing and canceled and finally - savings.

### Income distribution 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xe2o6l8nlt3i585cwl9p.png)
There’s a column for the Income distribution that gives you a birds-eye view so that you can manage and cut down or reallocate funds where priority is the greatest.

### Keep your coupons handy
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1uo7kupml8krv1n6thu2.png)
You can keep track of your coupons in a separate column so that you don’t forget about them and use them in your next payment and save some money. 

### Organize your receipts 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g4201ec7alb2u481hnfw.png)
Finally, you are also provided with a receipt section so that you can manage and keep your invoices which will later help you during your tax returns.  

### Views
You can choose a view of your choice so that you can keep track of your expenses and understand how and when they're taking place, by viewing your expense list in a view of your choice.

All the lists and trackers in this template are available in - table, board, timeline, list, calendar, and gallery view. Now, you can choose to set lists or assign your expenses to boxes until you find the perfect match between aesthetic and function.

### Want One?
![](https://media.giphy.com/media/lqwL9uLaYrE6mYQrd3/giphy.gif)
***Here is your link*** 👉 [***Finance Tracker***](https://prototion.com/notion-for/finance-tracker)

We are on Producthunt today. Please show some love here❤
[![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aq5sok4vy4xc1qb0oi01.png)](https://www.producthunt.com/posts/notion-finance-tracker)
Thanks again 🤟
Can I get a dash of regular expression in my KQL?
Tags: kusto, regex, sql, syntax
Published: 2021-04-23 11:02:34

Some developers love regular expressions, some abhor them.
I belong to the first group.
I know that regular expressions can have a bad impact on performance, and that they are not suitable for every situation. However, every once in a while, they absolutely save the day.

In one of these times I wanted to find in a Kusto table strings with characters that are not English letters, hyphen or underscore.

This is the command that I used: 
```
| extend IllegalChar = extract("[^a-zA-Z\-_]", 0, name)
```

Easy, right?

I was unpleasantly surprised when Kusto rejected the query with an obscure error message, stating that it can't parse my regular expression.

Immediately I turned to regex101.com, the regular expression buff's best friend. But the regular expression seemed to be valid.

I had to do some digging until I found the issue.
Apparently in SQL the hyphen needs to be in the beginning or end of the sub pattern, and there you don't even have to escape it:
```
| extend IllegalChar = extract("[^-a-zA-Z_]", 0, name)
```

I hope this could help someone....


Photo by <a href="https://unsplash.com/@eiskonen?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Hans Eiskonen</a> on <a href="https://unsplash.com/s/photos/traffic-sign?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Top ways to Activate cash app card

Tags: activatecashapp
Published: 2021-04-23 10:47:56

Indeed, a cash app client can activate cash app card, in only a couple minutes. They can either go with QR code or without QR code or through cash app client assistance. Clients can pick any of one and can go with the guidelines to [activate the cash app card](https://www.cash-appsupport.com/blog/how-to-activate-cash-app-card/). Assuming still, you are facing the same issues at that point can go with client assistance.
Microservices and Containers - HyScale Docker Microservices Architecture
Tags: microservices, docker
Published: 2021-04-23 10:32:16

Modern-day enterprises are largely dependent on software applications to facilitate numerous business requirements. In most enterprises, a software application offers hundreds of functionalities - all piled into one single monolithic application. For instance, ERP and CRM platforms have monolithic architecture and serve hundreds of functionalities efficiently. But, with multiple dependencies overlapping and creating a cluster, the tasks of troubleshooting, scaling and upgrading them become a nightmare. At times, enterprises try tweaking such monolith applications for their convenience to the point that they get stuck in time and cease to serve any real purpose. This is when enterprises start to look for ways of modernizing applications and adopting an architecture that offers flexibility.
Simplified K8s Troubleshooting with App-centric Abstraction - Hyscale
Tags: kubernetes, azure, agile, devops
Published: 2021-04-23 10:29:48

HyScale’s core offering is an open-source tool that helps you deploy apps to Kubernetes within minutes effortlessly. When an issue occurs during deployment, HyScale’s app-centric abstraction can help users rapidly troubleshoot. Such abstraction can automatically run the necessary steps behind the scenes to determine the potential cause of the error in general developer terminology. For example, if all the desired pods are not running as expected, then it will check if these desired pods are initialized, if not then it will throw an error stating that, ‘Init-containers failed to execute, check your pre-start commands in hspec’. If the pods are initialized, then it will continue to check various conditions like if the pods are scheduled, are there any pending pods, if the cluster is full, any pending PVC and so on.
Kubernetes App Centric abstraction
Tags: cloudnative, kubernetes, ope
Published: 2021-04-23 10:26:25

Most enterprises aspire to move to Kubernetes abstraction to avail the intended benefits of containers – cost, portability, scalability, and more. But, in reality, migration brings with it several complexities. In our experience, to ensure smooth deployment of apps to K8s, we’ve seen application teams need two things – Abstraction & Automation.

As your enterprise application grows in complexity and as you scale out your K8s adoption to more apps, you start to stare at a long, tedious process of migrating these apps, troubleshooting errors and maintaining large amounts of K8s manifest yamls. These necessitate an automation platform that provides an App-centric Abstraction experience to overcome the complexities of K8s., during any application run for specific tasks like troubleshooting, CI/CD, tracking, monitoring, multi-cloud visibility, etc.
Laravel Livewire for Django? Say hello to Unicorn!
Tags: django, python, laravel, livewire
Published: 2021-04-23 10:20:29

---
title: Laravel Livewire for Django? Say hello to Unicorn!
published: true
description: 
tags: django, python, laravel, livewire
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dg8fkuf9ajnafeleait6.jpg
---

Hi,

Django community, it's time to celebrate! Something great is happening! A new Django tool is born and it's name Unicorn

<h2>What is Unicorn?</h2>

Unicorn is to Django what Livewire is to Laravel: A full stack framework that allow to build feature-rich-reactive UI with no API and no javascript only Django and python.

To make thing clear, I am not associated with Unicorn in any way. I am just a fan of their work. 

<h2>Real world example</h2>
Let say you want to build a Todo list but you dont want to refresh the browser when adding or removing a task. Normally you will reach to javascript to implement this kind of functionality. Not with Unicorn!

Unicorn allow to create a Django template and a Django view that can do just that.

Here are sample Django template:
```jinja
<!-- unicorn/templates/unicorn/todo.html -->
<div>
  <form unicorn:submit.prevent="add">
    <input type="text"
      unicorn:model.defer="task"
      unicorn:keyup.escape="task=''"
      placeholder="New task" id="task"></input>
  </form>
  <button unicorn:click="add">Add</button>
  <button unicorn:click="$reset">Clear all tasks</button>

  <p>
    {% if tasks %}
      <ul>
        {% for task in tasks %}
          <li>{{ task }}</li>
        {% endfor %}
      </ul>
    {% else %}
      No tasks 🎉
    {% endif %}
  </p>
</div>
```
As you can see unicorn:model link the input to the task var and unicorn:click="add" call the component function name 'add'

Django view component:
```python
# unicorn/components/todo.py
from django_unicorn.components import UnicornView
from django import forms

class TodoForm(forms.Form):
    task = forms.CharField(min_length=2, max_length=20, required=True)

class TodoView(UnicornView):
    task = ""
    tasks = []

    def add(self):
        if self.is_valid():
            self.tasks.append(self.task)
            self.task = ""
```
As noted the python code is regular Django code easy to understand and write.

<h2>Excited?</h2>
I am! Unicorn can literarily change the spectre of what we can do with a Django template. It give you the power of a SPA without leaving the comfort of Django. 

If you want more info you can check a visual example on their web site:
https://www.django-unicorn.com/

You can also check the git hub repo and give a Star to the project.
https://github.com/adamghill/django-unicorn
React Form Validation Example with Formik and Yup

Tags: react, formik, yup
Published: 2021-04-23 09:49:17

Hey react js lover hope you are doing well. How did you validate your react js form? You know that there is great package for react js form validation? Check out this content to learn it. [React js Form Validation with Formik and yup] (https://www.codecheef.org/article/react-form-validation-example-with-formik-and-yup)
Introducing Gravitee.io Cockpit
Tags: api, apimanagement, apiplatform
Published: 2021-04-23 09:41:38

Read our latest blog on Cockpit here. Cockpit is part of the Enterprise Edition of Gravitee. It is a centralized, multi-environment tool for managing all your Gravitee API Management and Access Management installations in one handy, interactive dashboard: 

https://medium.com/graviteeio/a-centralized-view-of-your-api-ecosystem-with-cockpit-71c4973c76aa
Laravel 8 ConsoleTvs Charts Tutorial
Tags: laravel, php, programming, tutorial
Published: 2021-04-23 09:08:35

Hi Guys,

Today,I will learn you how to use consoletvs charts in laravel 8. If you need to add some graphs to your views, maybe you have work with some js library to add cool graphics but even with a good library like ChartJS implementing this is not so easy.
<strong class="step">Step 1: Install Laravel 8 Application</strong>
we are going from scratch, So we require to get fresh Laravel application using bellow command, So open your terminal OR command prompt and run bellow command:
<pre class="prettyprint">
composer create-project --prefer-dist laravel/laravel blog
</pre>

<strong class="step">Step 2 :Installing consoletvs Package</strong>
Now In this step, install consoletvs/charts:6 package in laravel 8 app via following command.
<pre class="prettyprint">
composer require consoletvs/charts:6
</pre>
more...
https://itwebtuts.blogspot.com/2021/04/laravel-8-consoletvs-charts-tutorial.html
I feel like QUITTING! 
Published: 2021-04-23 08:53:34

Hey, my developer friends, I know many of you will not take interest in this also I know this place is only for dev posts but I didn't know where to write about my feeling so thought of writing here. #devfellows

It's been 5 days in my Intraday trading and I am losing money a lot, I just make bad decisions don't know what to do but can't keep patience. I am a Looser. 
Please help me if you trade-in intraday (Only INDIA)
Why you shouldn't hire clones. 
Tags: hiring, leadership, motivation, skills
Published: 2021-04-23 08:38:51

We have all been there. One of your best employees hands their notice in and your stomach does a little flip as you know how important they are.

You try your best to see if you can do anything to keep them but they explain this is an opportunity they can't turn down. So your attention turns to trying to find someone to replace them.

You tell your recruiter we need another "Sarah"! You want someone with the exact same skills so they can come in and "hit the ground running".

Is this the right approach?

Pause for a moment and ask yourself why would someone move roles to do the exact same job they are doing now?

Of course, this does happen sometimes, for example, if someone has been made redundant.

If you did hire that person how long will it take for them to get bored doing the same thing they have done for the last 3 years? Probably not long. This will likely mean after spending 1 year to 18 months with you they start looking for something more challenging and will provide better progression opportunities.

Then you are left in the same place as they were before, looking to hire someone doing the exact same job because you need them to "hit the ground running". And so the cycle continues.

Still, the biggest reason I hear for people looking to move roles is so they can learn and develop. If you can't provide that to a candidate then it will cause more pain further down the line.

So rather than going for a like for like replacement consider if hiring someone who perhaps doesn't have all the skills just yet but has the potential, ambition and correct attitude to attain them. If someone has something to work towards or aim for my experience is that they are far more motivated in the position.

Yes, this will mean a bit more time is needed on your part but that initial investment will usually lead to a brilliant new employee. I have seen it many times where people in this scenario have gone on to be a brilliant contributor to the business and they have more loyalty and appreciation for the business as they have profited as well.

So, don't just mindlessly look for clones of your previous employees.
Look at your current roles and expectations. Are they realistic? Hire for potential.
Vue Laravel Crud Example with Sweet Alert
Tags: laravel, vue, crud
Published: 2021-04-23 08:31:44

Vue Laravel CRUD is an important operation to learn laravel and vue from scratch. CRUD (Create, Read, Update, and Delete) are the primary data operations and one of the first things you learn as a Laravel developer. 

We will learn how to build a small web application that creates, reads, updates, and deletes data from the MySQL database. We will learn how to create tables, controllers, views, models, API routes, and working with axios library to send a network request.

Laravel is PHP’s fastest growing Framework with scalability and flexibility.

Why use Laravel and Vue

Laravel is PHP’s by far robust Framework to work with. Creating crud boilerplate with Vue and Laravel is very easy. Vue.js is an excellent javascript frontend framework that provides routing, http supports, middleware supports, and also client-side data management library Vuex.

The Laravel community has produced a ton of valuable educational resources, including this one! In this tutorial, you’ll build a trivia game as two separate projects: a Laravel API and a Vue frontend (using vue-cli). This approach offers some significant benefits:

    It enables you to separate the backend and frontend projects and deploy them independently using the different strategies and schedules for testing and deployment
    We can deploy the frontend as the static application to a CDN and achieve virtually unlimited scaling for the fraction of a cost of hosting it together with the backend.
    This approach also allows developers to work on just an API or just the frontend without needing access to a complete source code of the other part of a system (this is still possible to achieve if the projects are closely integrated, but it’s a bit of tough to set up) making it an exceptional architecture for large teams and projects.

Vue Laravel CRUD Example

The standard approach of combining Vue and Laravel is to create Vue components and then drop them into your Blade files. But CRUD operation under this architecture will require a page refresh before they’re reflected in the UI.

For this vue laravel crud demo, we will not create separate projects for the frontend because Laravel provides the best support for Vue.js. So, we will build the Vue components inside the Laravel’s assets folder.

We will create a Single Page Application(SPA) using the Laravel and Vue.js. In this SPA, you can create a post, edit the post, read the post, and delete the post. We will create the Laravel API Backend.

Now, first, we need to install the Laravel application. So let us install a new Laravel by the following command.

Read this article from [Here](https://www.codecheef.org/article/vue-laravel-crud-example-with-vue-router-and-sweet-alert)
Laravel Sanctum SPA API Auth Example
Tags: laravel, sanctum, api, auth
Published: 2021-04-23 08:29:13

Hello,

Here, i will show you laravel sanctum spa authentication. This article will give you simple example of laravel sanctum api authentication. you can understand a concept of laravel sanctum api auth. i would like to share with you laravel sanctum api tutorial. Here, Creating a basic example of laravel sanctum mobile authentication.

you can easily create api using sanctum in laravel 6, laravel 7 and laravel 8 version.

Laravel Sanctum provides a simple authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. Sanctum also allows each user of your application to generate multiple API tokens for their account.

So you also want to create api for your mobile application than you can follow this tutorial for how to create rest api step by step with laravel and sanctum. If you are new than don't worry about that i written tutorial step by step.

Follow bellow few steps to create restful api example in laravel 8 app. So read this from [here](https://www.codecheef.org/article/laravel-sanctum-authentication-example-with-product-api)