teleren/devto huggingface dataset:
Auth0 SDK for Single Page Applications v2.0 released!
Tags: javascript, programming, webdev
Published: 2022-11-11 13:23:16

> Original post written by [Juan Cruz Martinez](https://auth0.com/blog/authors/juan-cruz-martinez/) for Auth0 blog.

### Let's explore the main features of the new Auth0 SDK for SPA release.

### <br>

> The Auth0 team released the new Auth0 Single Page App SDK v2.0, and it's now available in the [npm registry](https://www.npmjs.com/package/@auth0/auth0-spa-js). It is a major new release with a focus on development and user experience.

The new release makes an important step towards improving usability and reducing the footprint (size) of the SDK.

## Quick Start with the New SDK

You can follow the [quick start guide](https://auth0.com/docs/quickstart/spa/vanillajs) if you build a new application or connect your SPA with Auth0 using the SDK for the first time.

If you use frameworks such as React, Angular, or Vue, you can use framework-specific libraries instead. You can learn more about specific frameworks in our [SPA guides section](https://auth0.com/docs/quickstart/spa).

> All of the mentioned improvements will be available in the next beta versions of our framework-specific SDKs. Be sure to keep an eye on them to be notified when their beta versions are available.

## Migrating from v1.x

With the improvements from v1.x, it was necessary to introduce some breaking changes. We will cover the most impactful changes in this post, but we recommend reviewing the [migration guide](https://github.com/auth0/auth0-spa-js/blob/master/MIGRATION_GUIDE.md) for the details of all breaking changes and their corresponding migration path.

## Reduced Bundle Size by 60%

Auth0 SPA SDK V1.x shipped with built-in polyfills to compensate for the lack of native support on some browsers for features such as:

- [AbortController](https://caniuse.com/mdn-api_abortcontroller_abortcontroller)
- [Promise](https://caniuse.com/promises)
- [TextEncoder & TextDecoder](https://caniuse.com/textencoder)
- [Fetch](https://caniuse.com/fetch)

As the above APIs are now available for most browsers, we believe there's no more need to include those polyfills. Primarily users of IE11 would require them, and with [Microsoft dropping support for IE11](https://blogs.windows.com/windowsexperience/2022/06/15/internet-explorer-11-has-retired-and-is-officially-out-of-support-what-you-need-to-know/), we believe it makes sense to capitalize on the gains and **drop support for IE11 as of V2**.

By removing these polyfills, and with some small improvements on our side, we **reduced the bundle size by an outstanding 60%**.

Such a reduction will allow for faster download and processing times for application users.


[Read more...](https://auth0.com/blog/auth0-spa-sdk-v2-released/?utm_source=devto&utm_medium=sc&utm_campaign=devto)
redirect twitter to nitter online
Tags: showdev, twitter
Published: 2022-11-11 13:12:21

---
title: redirect twitter to nitter online
published: true
description: 
tags: showdev,twitter, discuss
//cover_image: https://direct_url_to_image.jpg
---

https://nitter.auct.eu/

I've got bored on phone manually replacing twitter urls with nitter.

I've created it just for myself, but maybe it will help someone else.


Source code: https://github.com/AucT/nitter-redirect
FIXED: Unable to renew SSL via BTPanel or aaPanel
Tags: devops, server, btpanel
Published: 2022-11-11 13:09:55

I faced a unique issue of renewing SSL via BTPanel in which the panel was constantly throwing error of

```
'acme_v2' object has no attribute 'get_site_name_by_domains'
```
This was really concening and at the moment google returned ZERO search result for this!

So the quick fix was to 

1. Disable SSL altogether
2. Remove the domains that are not in used
3. Then reissue the SSL

That it!
I hope this helped you guys!
Scrapping comments from Yahoo Finance using dotnet Part 2
Published: 2022-11-11 20:30:29

---
title: Scrapping comments from Yahoo Finance using dotnet Part 2
published: true
date: 2022-11-11 13:00:00 UTC
tags: 
canonical_url: https://friendlyuser.github.io/posts/stonks/scrapping_comments_from_yahoo_finance_II/
---


## Summary

Recently the format of the comments on yahoo finance changed. This caused my conscrap project to break. I had to update the code to handle the new format.

This involves accessing an iframe loaded for the comments, surprising this does not impact news scrapping. I also added cron tests to ensure I am notified if the code breaks.

```csharp
Thread.Sleep(15000);
IWebElement iFrame = driver.FindElement(By.XPath("//iframe[contains(@id, 'jacSandbox')]"));
driver.SwitchTo().Frame(iFrame);
String pageSource = driver.PageSource;
driver.SwitchTo().DefaultContent();
```


Changes to the xpaths are listed below.

```csharp
  public const string postDateXPath = "//*[@data-spot-im-class='message-timestamp']";
  public const string postDateXPathLegacy = "//div/div[1]/span/span";
  
  public const string contentXPath = "//*[@data-spot-im-class='message-text']/text()";
  // public const string contentXPathLegacy = "//div/div[2]/div";

  public const string authorXPathLegacy = "//div/div[1]/button";

  public const string authorXPath = "//span[@data-spot-im-class='message-username']";

  // components-MessageActions-components-VoteButtons-index__votesCounter
  public const string likesXPath = "//span[contains(@class, 'components-MessageActions-components-VoteButtons-index__votesCounter')]/text()";

  public const string likesXPathLegacy = "//div/div[4]/div[2]/button[1]//text()";
  public const string dislikesXPath = "//div/div[4]/div[2]/button[2]//text()";

  public const string showMoreXPath = "//button[contains(., 'Show More Comments')]";
  // button that contains reply text
  public const string repliesXPath = "//button[contains(., 'Replies')]";

  public const string sortButtonXPath = "//button[contains(@class, 'sort-filter-button')]";
```

So for xpaths we are matching custom attributes, class names and text. This is a bit of a pain but it works. Feel like its easier.

Anyway, we are looking for custom attributes added to yahoo finance comments, there are test cases to reflect the new format.

Outside of that, havent made too many changes, test coverage has been lower.


For the time being for use in order projects, I have not published the code to nuget. If you would like to use the code, please clone the repo and build it yourself. An example of this is the [dli-invest](https://github.com/dli-invest/stonk_reports) project.
'DISABLE_ESLINT_PLUGIN' is not recognized as an internal or external command
Published: 2022-11-11 12:45:15

**Errors:**

`'DISABLE_ESLINT_PLUGIN' is not recognized as an internal or external command
'SKIP_PREFLIGHT_CHECK' is not recognized as an internal or external command`

**Solution:**
Use cross-env. Example:
`cross-env DISABLE_ESLINT_PLUGIN=true SKIP_PREFLIGHT_CHECK=true`
Integrating Alternative Data Made Easy with Proxycurl
Published: 2022-11-11 12:36:02

**Alternative data is changing finance!**

Today, roughly half of all investment firms use alternative data, according to both the AIMA report and another recent survey by Bank of America. And that number will likely continue to grow, as more firms have invested in new technology during the pandemic. The good news is [Proxycurl](https://nubela.co/proxycurl/) has made accessing alternative data for people and companies much easier through their services.

**What is Alternative Data?**

Alternative data is a term used in the financial services industry to describe data (information) collected from non traditional data, external data sources, generated either by individuals, business processes, or sensors. While usage is becoming more common, alternative data supply is still in a nascent stage. Increasingly, alternative data users are frustrated in the search for trusted and reliable suppliers.  

**Type of alternative data sets includes:**

- Social Media Data

- Web/ Mobile Data

- Credit Card data

- Geolocation data

- Public data

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ohdp670hk7cdua8nna11.png) To Learn more about alternate data refer to this great article by Proxycurl [Read This](https://nubela.co/blog/the-ultimate-guide-to-alternative-data-what-is-it-really/)
 
**Integrating Alternative Data**

While finding and gaining access to a new and interesting data set is challenging, implementing an investment strategy based on what is often terabytes of data is even harder. Quickly integrating the purchase data into the trading and analytics technology already on the desk is also essential. People and company data, such as those provided by Proxycurl, Steven Goh, are the most commonly Suppliers that provide strong data with a demonstrable capacity for handling unstructured data. Its core strength in data enrichment capabilities of people and companies - offering insights into people profiles, companies profiles, work & personal email addresses and contact, jobs info, and more sets it apart.

Proxycurl offers excellent APIs that can drive and power the data-driven applications of hedge funds and investment companies. These APIs are extremely easy to use, with attractive pricing too. They are credit-based for as low as $0.01 per profile enrichment and thus do not tie users up with bulky, heavy subscriptions or contracts like many others. You can learn more on their documentation [Read Here](https://nubela.co/proxycurl/docs#jobs-api).
Doctor SEO: 3 SEO Tips For Doctors And Medical Practices
Published: 2022-11-11 12:19:02

There are several ways to find a doctor, but search engines like Google are currently one of the most prevalent. However, physician websites don't simply happen to rank high in search results. The only way for your website to get there is through SEO, or search engine optimization.

To find out more about practical advice for starting a doctor SEO campaign for your doctor's office or hospital, keep reading.

## Doctor SEO tips

Now that you understand what SEO can do for your marketing plan, use these SEO strategies for physicians to reap the benefits:

**1. Focus on local search**

People will often add a specific town or area in their search keywords because they want to visit a doctor who is close by. Your practice will reach more potential patients if you use local SEO to make your site better optimized for these sorts of searches.

In content, title tags, and other site material, mention your location. Ensure that your address is shown in the page's footer. Ensure that your practice's address is consistent across all websites where it appears, including social media, Google Maps, and online medical directories. Get in touch with **[valuable doctor SEO services](https://www.linkbuildingcorp.com/seo-services/doctor-seo-services/)** if this is challenging for you to handle.

**2. Produce unique content**

When ranking webpages, search engines take a number of variables into account. A number of pages, visitors, and the relevancy and freshness of the material are a few of them. All of these issues are covered by blogs or fresh unique content.
To keep your website updated, create a new post once a week.

This increases the number of pages on the website and draws in new customers who would not otherwise be aware of your practice.

**3. Create top-notch links**

A service provider is more credible and is ranked better as a consequence if their information is cited on other websites. If respectable websites are connecting to your article, your practice will experience the same outcome. Making original material, such as infographics and interactive tools, is one method to develop them.

## Summing Up

People use search engines to look for doctors, therefore unless you take measures to improve your site, you won't attract these patients. The best line of action is to implement an SEO plan if you want more website traffic and potential patients.

Don't hesitate to get in touch with reliable SEO services to help you understand **[how to do an SEO audit](https://www.linkbuildingcorp.com/seo/seo-audit-checklist/)** quickly and if you need help increasing the online presence of your office and employing SEO for physicians. To assist you in attracting more patients online, our Internet marketing team will be more than happy to develop a results-driven strategy.
Infinite Scroll for Vue3. Yet another component.
Tags: scroll, javascript, vue
Published: 2022-11-11 12:06:30


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

vue-infinite-scroll is a super simple and lightweight package allowing you to implement infinite scroll for your project in a second.

Just type
`npm i @vpominchuk/vue-infinite-scroll`

and use it as:
`<infinite-scroll :active="true" distance="50px" auto-load="true" @process="load" />`

`<infinite-scroll />` component has a few properties to change the behavior.

### Properties
| **Property** | **Type** | **Description** |
| --- | --- | --- |
| active |Boolean|Enable / Disable Component|
| distance |String| Distance from the bottom side of the page when component fires `@process` event to load the content. "200px" is a good enough, but you can choose any other value.|
| auto-load |Boolean|Fire @process event on component mount|

### Event
| **Property** | **Description** |
| --- | --- |
|@process|Callback function - fires when user scrolls to the bottom side of the page. Load a new portion of your content here.|


## Sample

Sample is available under `dev` folder.

To try the sample, create a new folder out of your project.
Install vue-infinite-scroll package and run `npm run serve`

```
mkdir vue-infinite-scroll-exampe
cd vue-infinite-scroll-exampe
npm i @vpominchuk/vue-infinite-scroll
cd node_modules/@vpominchuk/vue-infinite-scroll/
npm i
npm run serve
```

If you are using Windows platform try 
`npm run serve-win`

Open http://localhost:8080/ in your favorite browser

Remove `node_modules` inside `@vpominchuk/vue-infinite-scroll/` after tests.

Github page:
https://github.com/vpominchuk/vue-infinite-scroll

Enjoy :)
#Guideme
Tags: react, tailwindcss
Published: 2022-11-11 11:40:59


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/25lvytsesjfo8b7mxtcs.png)
Hello, can anyone show me the way how to design this in REACT.js & tailwind?
This component will display the user's name, social media links, and a button that allows the user to download their CV.
GO Modules
Published: 2022-11-11 11:28:28

Go é uma linguagem compilada focada em produtividade e programação concorrente.

## o que é Go Modules?

Um módulo é uma coleção de pacotes Go armazenados em uma árvore de arquivos com um arquivo go.mod na sua raiz. 

O arquivo go.mod define o _module path_ do módulo, que também é o caminho de importação usado para o diretório root, e seus _requisitos de dependência_, que são os outros módulos necessários para uma compilação bem sucedida. 

Cada requisito de dependência é escrito como um _module path_  e uma versão semântica específica.

é uma alternativa para GOPATH.
Tem suporte integrado para versionamento e distribuição de pacotes

Os módulos devem dar mais confiança para os desenvolvedores trabalharem dentro do GOPATH

As informações de dependência de versão são explícitas, porém leves, e as compilações são mais confiáveis e reprodutíveis

https://go.dev/doc/go1.11#modules
Docker tips: Find IP of postgres database & View logs from a running container
Published: 2022-11-11 11:15:11

---
title: Docker tips: Find IP of postgres database & View logs from a running container 
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-11-11 02:42 +0000
---

## 1. Find IP of a PostgreSQL database running as a docker container

Run `docker inspect <name-of-container>`.

```
"NetworkSettings": {
            ...
            "Networks": {
                "name_of_your_database": {
                    ...,
                    "IPAddress": "172.18.0.2",
                    ...
                },
                ...
            }
        }
    }
```
Next you can use the IPAddress from above to connect to your database using pgadmin.

[Reference](https://stackoverflow.com/questions/25540711/docker-postgres-pgadmin-local-connection/70335932#70335932)

## 2. View logs from a running docker container

In order to tail logs from inside a docker container. 

Run `docker logs --follow <name-of-your-container>`

[Reference](https://www.papertrail.com/solution/tips/how-to-live-tail-docker-logs/)
Follow your quit smoking datas
Tags: javascript, html, tailwindcss, webdev
Published: 2022-11-11 11:02:09

I really needed help for this long fight and [this site](https://jakequits.com/) inspired me to create [my own](https://mike-quit.netlify.app/)

I create my own board to follow what I saved since I left this ****

I hope you find this pretty and usefull, all comments welcome XD

Do not hesitate to test it with your own date: 
[https://mike-quit.netlify.app/?date=2021/10/28&cigs=15](https://mike-quit.netlify.app/?date=2021/10/28&cigs=15)

And do not hesitate to put a like here or in my github project to support me through my crazy journey.

Finally, as **N. Mandela** said _"It always seems impossible until it's done"_
Black Friday is coming 🔥 Vote your Discount: 50, 60, 70%
Tags: blackfriday, discounts
Published: 2022-11-11 10:51:44

---
title: Black Friday is coming 🔥 Vote your Discount: 50, 60, 70%
published: true
description: In 2022 Black Friday discounts are voted on by the users - Once the voting is over, the campaign starts on 15-NOV.
tags: blackfriday, discounts
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/46f7oie91suzf4nxkya6.jpg
canonical_url: https://blog.appseed.us/black-friday-2022-vote-your-discount/
---
Hello Coders!

Because **this year is a special one** and needs to be closed on hype, me and my team (aka `AppSeed`) decided to help much as we can with a **Black Friday Discount** voted by the users. At the moment we speak, two polls are collecting the votes.

- 👉 On [Discord](https://discord.gg/fZC6hup) (announcements channel)
- 👉 On [Twitter](https://twitter.com/webappseed) (official AppSeed account) 

{% embed https://www.youtube.com/watch?v=xWzI_DDTHhQ %}

---

The mechanism is simple: the discount applied during the **Black Friday Campaign** (`15-30 NOV`) is decided by the votes of our users. Here are the options:

---

### 🎁 Option #1 - 50% (all products and licenses)

The discount is applicable to all products and licenses. For instance, [Django Datta PRO](https://appseed.us/product/datta-able-pro/django/) (best seller) with the regular pricing of **$89 / $109 / $299**, during Black Friday can be purchased for **$45 / $55 / $149**, in case this scheme is the most voted one.

---

### 😮 Option #2 - 60% (only StartUP and Personal licenses)

This scheme provides a bigger discount but the company licenses are excluded. If we use again the above [product](https://appseed.us/product/datta-able-pro/django) as a sample, during the Black Friday Campaign the new pricing is this: **$35 / $43** / $299.

In the simulation, we can see that **Personal and startUp** licenses are cheaper but the price for the company license remains intact ($299).

---

### 🔥 Option #3 - 70% (only Personal licenses)

If voted, the biggest discount in this campaign goes only to the Personal Licenses and [Datta Able PRO](https://appseed.us/product/datta-able-pro/django/) can be purchased for **ONLY $26** (Personal License).

---

### Discount for Annual Subscription

Once voted, the discount is applied also for the [annual subscription](https://appseed.us/terms/) (**$49**) that unlocks a permanent `30% Discount` for all products and licenses. In this campaign the price of the subscription becomes:

- 👉 **$24** - If `Option #1` wins
- 👉 **$19** - If `Option #2` applied  
- 👉 **$14** - For `Option #3`

---

In the end, the entire team sends a big hug to all our users that fuel with virtual kerosene this crazy mission called **AppSeed**. 

> New to **this project**? Read the [full story](https://medium.com/@appseed.us/appseed-2019-status-and-further-steps-7517dab886d4) on Medium narrated by [Adi Chirilov](https://twitter.com/Sm0keDev), the founder.
 
{% embed https://www.youtube.com/watch?v=t99KH0TR-J4 %}
Tired of your Docker builds taking so long?
Tags: docker, optimization
Published: 2022-11-11 10:45:46

I have some good news: Docker has a cache feature that can help you speed up your builds, and it is enabled out of the box. But the way you write your Dockerfiles has a big influence on how cacheable your builds are. If you rewrite a few parts of your Dockerfile, cache can help you cut precious time from your build.

How does Docker cache work? What makes a Dockerfile more cacheable? And how do you optimize the build process? This hands-on video takes a slow Dockerfile and optimizes it step by step:

{% youtube CRZnzCEJWPA %}
13 Myths About VA-002-P EXAM DUMPS
Published: 2022-11-11 10:45:11

<a href="https://dumpsarena.com/hashicorp-dumps/va-002-p/">VA-002-P Exam Dumps</a> What if you forget about approximately a few factor critical at the very last moment? A small pebble responsible for a large quack! Complete your Exam Preparation with VA-002-P Practice Questions: The : Finance and Operations Apps Solution Architect exam allows you to confirm your information of Dynamics : Finance and Operations Apps Solution Architect Expert certification. The VA-002-P exam dumps are based absolutely on the valid observe guide for the Microsoft certification. Use our valid VA-002-P pdf exam dumps to observe for the : Finance and Operations Apps Solution Architect exam. If you fail the VA-002-P actual exam for the number one time, we're capable of pass returned your coins(conditions need to be applied). The VA-002-P workout test measures the general aptitudes of the candidate, which is probably vital to complete the : Finance and Operations Apps Solution Architect exam education. When you take the Microsoft VA-002-P workout questions, you don’t need any unique information or knowledge on the chosen concern count number of observe. Familiarizing yourself with the Exams Hero VA-002-P Practice Test Questions.

Click Here More Info >>>>> https://dumpsarena.com/hashicorp-dumps/va-002-p/