teleren/devto huggingface dataset:
Liman MYS Cihaz Yönetimi Eklentisinde Yönetim Koleksiyon Yapısı Oluşturma
Tags: liman, mico, yapilandirma, klasor
Published: 2022-10-14 11:57:22

**Get Operating System Taskını İndirme**

_Get Operating System_ Mico clientların işletm sistemleri hakkında envanter toplayan bir tasktır. Klasör yapımızı oluşturmak için bu taska ihtiyacımız var.
 Bu taskı [doc.liman.dev](https://docs.liman.dev/) adresinde bulunan Miço hazır görevlerinden [indirebilirsiniz](https://docs.liman.dev/liman-poc/envanter/mico-hazir-goerevler/genel-goerevler).


**Taskı İmport Etme**

TASKS(GÖREVLER) sekmesinde bulunan İmport(Görev içe aktar) butonuna tıklayarak indirdiğimiz **_Get Operating System.yaml_** dosyasını seçiyoruz.

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

**Mico Clientlar Üzerinde Taskların Güncellenmesi**

Mico clientlar üzerinde 
```
mico taskupdate
```
komutu çalıştırılır.

İşlemin durumunu kontrol etmek için 

```
mico tasks
```
 
komutu çalıştırılabilir.

**Taskların Sonucunun Değerlendirilmesi**

Yukarıdaki adımları başarılı bir şekilde tamamladıysanız makinelerinizin işletim sistemleri hakkında aşağıdaki gibi bilgi sahibi olabilirsiniz.

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

**Yönetim Panelinin Düzenlenmesi**

Yönetim paneli Mico eklentisini ilk kurduğunuzda aşağıdaki şekilde gelir (Default oalrak Tüm makineleri gösteren bir koleksiyon vardır).


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

Koleksiyon oluştur seçeneği seçilir.


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

Açılan pencerece Koleksiyona vermek istediğiniz ismi yazıyoruz, 


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

Yukarıdaki gibi veya ihtiyacınız olduğu gibi filtre uygulayarak ilgili klasörlerde istediğiniz makinelerin istelenmesini sağlayabilirsiniz. 


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

Alt kırılımlar oluşturmak içinde oluşturduğunuz koleksiyonun sağ tarfında bulunan seçeneklerden **Koleksiyon Oluştur** seçeneğini seçebilirsiniz.

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




**Sonuç**

Aşağıdaki gibi bir sonuç elde edebilirisiniz

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




![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tatz7rvjo3q5ry7zijfx.png)
Como corrigir ícones font-awesome desaparecidos ou problema com fontes Avada
Tags: avada, wordpress
Published: 2022-10-14 11:55:29

Cole essas linhas de comando na ordem

1. Autoriza edição do arquivo de configuração
sudo chown bitnami:daemon `/opt/bitnami/apache2/conf/vhosts/htaccess/wordpress-htaccess.conf`

2. Autoriza edição do arquivo de configuração
`sudo chmod g+w /opt/bitnami/apache2/conf/vhosts/htaccess/wordpress-htaccess.conf`

3. Abre o arquivo para edição
`sudo nano /opt/bitnami/apache2/conf/vhosts/htaccess/wordpress-htaccess.conf
`
4. Cole o conteúdo abaixo no final do arquivo

```
# Apache config
<FilesMatch ".(eot|ttf|otf|woff)">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
```

![Print do terminal AWS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xrcybb88oqj0xeczir0f.png)

5. Aperte **ctrl+s** para salvar
6. Aperte **ctrl+x** para fechar
7. Reinicie o servidor apache

`sudo /opt/bitnami/ctlscript.sh restart apache`

Se o problema continuar, O cache Fusion deve ser o culpado.

Desative o CSS & JS feature no **Avada > Theme Options > Advanced > Dynamic CSS & JS**, e tente **resetar o Fusion cache**:

![Print tela avada](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hmlx8ib7asr25xtau7ih.png)
Technical Writer's Toolkit.
Tags: hacktoberfest, aviyel
Published: 2022-10-14 11:23:48

If you’re new to creating technical content, you'll find that structuring your content in a way that's accessible and communicative might be challenging. You may be wondering what tools you should use as a technical writer.
The following are 10 content creation tools that'll help you create engaging content as a technical content creator:

1. Madcap Flare 
2. Camtasia 
3. Sangit 
4. Sphinx 
5. Grammarly...

The complete list of tools to add to your toolkit as a technical writer can be found here: https://aviyel.com/post/3800/10-content-creation-tools-every...

#hacktoberfest2022 x Aviyel
Quasar Admin CRM - Best CRM template to buy - very cheap
Tags: crm, vue, quasarframework
Published: 2022-10-14 11:15:53

Best CRM template written using Vue.js and Quasar Framework. 

Code is written in such a way that you can easily wire your actual data and make the CRM live which will definitely add value to your business.

Each and every graph/section are made by keeping the CRM business in mind, every graph provides you a way to visualize your business easily which will definitely add some value to your business.

To buy at a cheap price, email me at mayur091193@gmail.com

Buy at cheap price directly from https://techforest9.gumroad.com/l/gbrmmzj


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

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

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

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

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

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


To buy at a cheap price, email me at mayur091193@gmail.com or buy directly from https://techforest9.gumroad.com/l/gbrmmzj
How to Create and Validate Forms in React using Formik and Yup
Tags: javascript, react, webdev
Published: 2022-10-14 11:07:24

Validating form using state and managing data of form is like a hell and repetition , so Using formik and yup helps and is easy to work with formik.


So starting with formik and yup ,
use npm i formik yup to install it in your environment

Now , I will show a code that uses less boilerplate and is easy to use.

Now I will create a component as App.js

```
import { Formik, Field, Form, ErrorMessage } from "formik";
import * as Yup from 'yup'
const profileSchema = Yup.object().shape({
Firstname: Yup.string()
.min(3, "Minimum 3 symbols")
.max(50, "Maximum 50 symbols")
.required("First name is required")};
const App = () => {
const onFormSubmit = async (value) => {
console.log({value});
};
const initialValues = {
Firstname: ''
};
return (
<Formik
validationSchema={profileSchema}
initialValues={initialValues}
onSubmit={onFormSubmit}
>
{({ touched, dirty, isValid }) => (
<Form className="">
<div
className="form-group col-md-6"
>
<label className="required" htmFor="FirstName">First Name</label>
<Field
type="text"
name="Firstname"
id="Firstname"
className="form-control"
placeholder="First Name"
required
/>
<div className="text-danger">
<ErrorMessage name="Firstname" />
</div>
</div>
<button
type="submit"
id="kt_sign_in_submit animate.css"
className="btn btn-md btn-primary w-10 mt-4"
disabled={touched && !dirty && !isValid}
>
<span
className="indicator-progress"
style={{ display: "block" }}
>
Click me!
<span className="spinner-border spinner-border-sm align-middle ms-2"></span>
</span>
</button>
</For>
)}
</Formik>
)}
```
Token based authentication with local storage in React js with UseContext and useState
Tags: javascript, webdev, react
Published: 2022-10-14 11:05:21

Authentication in react js with api is a most common for any front end developers.

So at first create an context so that we could save token and use user data all across the application

```
import { createContext, useState } from "react";
export const AuthContext = createContext();

export const ProvideAuth = ({ children }) => {
export const getSession = () => {
return JSON.parse(localStorage.getItem('session'));
};

/**
* setToken from localstorage
*/

export const setSessionInLocalStorage = (token) => {
localStorage.setItem('session', JSON.stringify(token))
return true
};

const auth = getSession();
const [session, setSession] = useState(auth || '');
const setAuth = (token) => {
setSession(token);
setSessionInLocalStorage(token);
};
const { user, token } = session;
return (
<AuthContext.Provider value={{ user, token, setAuth }}>
{children}
</AuthContext.Provider>
)
};
```

Now create a custom hook with useAuth.

```
import { useContext } from "react";
import { AuthContext } from "../context/ProvideAuth";
export const useAuth = () => {
return useContext(AuthContext);
};

```
Now create a login page and set token while user login.

```
import React from "react";
import { Link, useHistory } from "react-router-dom";
import { toast } from 'react-toastify';
import { authenticationService } from '../../../services/api/authentication';
import { useAuth } from '../../../hooks/useAuth'
const UserLogin = () => {
const { setAuth } = useAuth();
return (
<button onClick={() => setAuth(token)}>Login</button>
);
};
export default UserLogin;
```

Conclusion

This is a simple trick and more code and logic will be provided in github.
Azure Portal Keyboard Shortcuts to improve the navigation experience (and speed it up)
Tags: azure, productivity
Published: 2022-10-14 10:45:18

From my [Rescue Time](https://www.rescuetime.com/dashboard) dashboard I discovered I spend a lot of time on Azure Portal during the day.
Actually, I use the Azure desktop application but these shortcuts work on it as well.
I discovered that there are lot of keyboard shortcuts to improve the productivity and the way to navigate the Azure Portal (sometimes is annoying to go back and forth in the pages).

Basically, the main key for the shortcuts is the G key on the keyboard:

- Open All services: G+B
- Search resources, services, and docs: G+/
- Go to All resources: G+A
- Go to Resource groups: G+R
- Open the left sidebar item at this position: G+number

Just hold down the G key and press the second key after the +.

These are the main shortcuts I use but you can find the entire list here: https://learn.microsoft.com/en-us/azure/azure-portal/azure-portal-keyboard-shortcuts

---

Thanks for reading this post, I hope you found it interesting!

Feel free to follow me to get notified when new articles are out 🙂

{% embed https://dev.to/kasuken %}
What is Azure Data Factory? How does ADF work?
Tags: azure, datafactory, adf
Published: 2022-10-14 10:42:50

Azure Data Factory is a Microsoft cloud service offering that provides data integration from various sources. It is part of the Azure platform. ADF is a great option for creating hybrid extract-transform-load (ETL), extract-load-transform (ELT), and data integration pipelines. In simple terms, an ETL tool collects data from various sources, transforms it into useful information, and transfers it to destinations such as data lakes, data warehouses, etc.

## How does ADF work?

**Combine and connect:** Gather and combine data from various sources. The data can be structured, semi-structured, or unstructured.

**Centralize and store:** Transfer and store data from on-premises storage to a centralized location, such as a cloud-based store.

**Transform and analyze:** After storing data in centralized cloud storage, use computing services such as HDInsight Hadoop, Spark, Data Lake Analytics, and Machine Learning to process or transform the data collected.

**Publish:** After refining the data and converting it into consumable form, publish it to cloud stores like Azure Data Lake, Azure Datawarehouse, and Azure Cosmos DB, whichever analytics engine your business users can point from to their BI apps.

**Visualize and Monitor:** For further analysis, visualize the output data using third-party apps like Tableau, Microsoft Power BI, Sisense, etc.

Read more:[Why do companies need Azure Data Factory?](https://www.anblicks.com/blog/azure-data-factory-a-contemporary-solution-for-modern-data-integration-challenges)
Get Profits Rolling in 2023 for Supermarket with these Online Trends
Tags: grocerydeliveryapp, onlinegroceryapptrends, onlinetrends, grocerycloneapp
Published: 2022-10-14 10:34:52

Convenience rules the day. This is the major reason almost all major operations, most prominent being the grocery delivery business has embraced on demand grocery app development services to their advantage.

With the lucrative nature of the industry being high and the profits predicted to become $243.67 billion by 2026, setting up an online base for the supermarkets is a good idea indeed.
Check out the market stats to get insight of this aspect.

## Market Stats for Online Grocery Delivery Business Popularity  
• Sales in the online grocery business was $122.39 billion in 2021.
• Profits will be $243.67 billion by 2026. 
• Number of buyers will become 147.8 million in 2023.

These numbers elucidate that starting an online grocery delivery business is certainly a good idea as it will turn out to do wonders. Therefore, if you are considering to get your online grocery business setup started in 2023, it is important you have knowledge of these trends.

Here are some trends you need to be particularly aware of.

## Online Grocery Delivery Business Trends for 2023
• Convenience to take the front-row seat where customers would get access to third-party sites and apps to order groceries online.
• Online grocery shopping will continue to remain in prominence and more and more people will continue to buy groceries online.
• A personalized shopping experience is something that the grocery delivery business will observe.
• Out-of-the-box delivery options will observe its popularity growing manifold which in turn will ensure more user engagement.

Apart from the trends listed above, there are others like voice recognition, faster on-time deliveries, fusion shoppers, etc, to observe its prominence growing manifold. To know more, read this article on [top online grocery delivery business trends for 2023](https://www.groceryappclone.com/blog/online-grocery-delivery-business-trends/).

Happy Reading!
Calculating Article Reading Time in .Net
Tags: dotnet
Published: 2022-10-14 10:27:09

Letting your readers know how much time it takes to read your content helps improve user experience.

I saw many articles by people, that use string.split to count the words.   The problem I have with string.split is that it will create (immutable) strings for every word, and that is heavy on the garbage collector, certainly when you have a long-form article.

## Count Words (up to .net6) 
```
public static int CountWords(this string str)
{
  return Regex.Matches(str, @"[\w-]+").Count();
}
```
## Count Words (.net7) 
```
public static int CountWords(this string str)
{
  return Regex.Count(str, @"[\w-]+");
}
```
## Calculate the reading Time
Most people can read between 200 and 250 words per minute
The easiest way to calculate is to divide the number of words by the speed.

```
public static int CountMinutesRead(this string str)
{
  return Convert.ToInt32(str.CountWords() / 228);
}
```

These functions will be added to the CodeHelper.Core.Extensions packages soon!
Error With Firebase and NEXT JS when run npm build
Tags: nextjs, firebase
Published: 2022-10-14 10:22:27

Hello,

Learning NEXTJS and created an application which get data from firestore. Everything is working in dev mode, but when running npm run build I've got an error : 

` Generating static pages (2/3)[2022-10-14T10:15:36.140Z]  @firebase/firestore: Firestore (9.12.1): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`

I tried many things but did not work and I am stuck.

I just import Firebase and use data in getStaticProps such like this :

`const CharacterList = await getDocs(collection(db, 'Characters')).then(
(CollectionChara) =>{
    CollectionChara.docs.map((Character) => { 
return CharacterPush[Character.id] = Character.data() })
  });`

Thanks,
Reasons to Use MongoDB
Tags: programming, mongodb
Published: 2022-10-14 09:55:17

According to Statista, MongoDB ranks 5th among the most popular database(DB) management systems worldwide as of August 2022.  

Other top-ranking DBs are Oracle, MySQL, Microsoft SQL Server, and PostgreSQL. Mongo DB is the only NoSQL database ranking that high from the list. 


MongoDB offers many advantages over traditional relational databases.  With MongoDB Atlas, the cloud offering by MongoDB, you have access to a collection of services that all integrate nicely with your database.

 I love this feature and as a software developer, I use Mongo DB for this reason. 

This feature provides high performance (speed) and makes it easy to accommodate product scalability(growth). It's cost-effective as you will always find a plan that suits your project need and production budget. 

MongoDB supports creating clearer schemas and data validation. This flexibility is an incredible asset when handling real-world data and changes in production requirements or environments.

Hope this helps anyone out there thinking of what database to use for the next project!
Think before joining startups
Tags: career, webdev, beginners
Published: 2022-10-14 09:53:35

A lot of developers come to me asking for advice, help and even recommendations. I am glad that people are loving my stories and appreciating them. Today’s story is a suggestion or advice to the developers on what to look for in any startup you want to join.

The 21st century is all about startups, even LinkedIn is filled with the post of companies getting unicorns, grabbing heavy seed funding and so on. But when it comes to a niche job opportunity and decisions regarding your future as a startup we often fall for the category of Higher Pay = Better Job.

Recently, I read this message on LinkedIn, it says, you either work for money or work to learn something if it’s neither then it's better to quit.

This kind of mentality I want to surpass in the developers joining any kind of startup, but always try your best that your first motive is to learn something followed by earning money from that source. Give 60–40% of weightage, 60 is for learning and 40 is for earning money.

Don’t be too fooled by working 15 hours a day just for a sake of learning and not getting much paid nor push yourself into the state where you are not learning any new thing at all and just getting paid at the month's end.

I’ve 4 startups experience so far, 2 of which I have learnt a lot, actually 80% of my skillset have nurtured in those 2 startups only. Later one I’ve just worked and adding value, which is good by the way but it more often feels like I am the smartest person in the room.

Don’t get me wrong I have no problem working with junior developers or less experienced gigs, it’s just my natural tendency to always work with people who are better than you. It just helps you to become a better version of yourself.

If you are choosing a startup as your next journey then do ask for the people in the company, company size, and startup idea, and do a bit of research on ideas, teams, people you will be working with. I know it’s not possible in reality because competition is so high that if we won’t accept that most probably we will not get the job offer. My advice is not to ignore it and try your best in looking for these factors before joining a startup.

If the company thinks a lot before giving you an offer letter then what is the point of not thinking at least twice about the company's future before joining.

After all, it's your precious time you will be investing in the company so make sure you invest it with good people and smart ones, instead of those foolish, noobs who keep on buttering the founder's table just to stay on the job.

The choice is yours in the end, I’ve experienced that when I’ve worked with smart people better than me, I’ve automatically ended up growing a bit and learning a lot.

That’s it for today until next time has a good day.
**Keep developing
Shrey
[iHateReading](ihatereading.in)**
Pandas Cheat Sheet: Data Cleaning
Tags: pandas, datascience, data
Published: 2022-10-14 09:40:52


[Pandas Cheat Sheet: Data Cleaning](https://datascientyst.com/pandas-cheat-sheet-data-cleaning/)

A handy Pandas cheat sheet for data cleaning which covers:
* EDA
* Duplicates
* Missing values
* Outliers
* Wrong data
* Wrong format
* Fix errors
* Replacing
* Drop
* Pandas cheat sheet: data cleaning
* Data cleaning steps

in details.

You can find useful resources and Data cleaning steps in the same post.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wqu73j4yz6un0s77jp68.png)
To Update or Not To Update.
Tags: javascript, webdev
Published: 2022-10-14 09:35:16

> Cover image is of the `package.json` file from [React](https://github.com/facebook/react/blob/main/packages/react/package.json)

I would like to pick brains a little bit and see what your opinion is. My question is: 

When you're developing a JS based project, how often do you update your dependencies? It is one thing that drives my OCD absolutely wild and has been a hamper in the past in learning more and making progress. 

Do you prefer to wait until the version you're using hits EOL?  Until there's a security flaw that you have to patch? Until there's a new major version (assuming it follows SemVer)? Until there's a feature added that you were waiting on? Or do you prefer to be on the bleeding edge?
My First Blog - 8 Benefits of Hiring Managed IT Service for Your Business
Tags: manageditservices, managedservices, cloud
Published: 2022-10-14 09:28:36

Read my first blog on Managed IT services. This detailed-oriented blog is about how Managed IT services can help your business to reach the next level. Check out here: [Managed IT Services Benefits](floq.to/N3p4B)