teleren/devto huggingface dataset:
GitHub 101: Uploading Files to a New Repository via Command Line
Tags: git, github, versioncontrol
Published: 2022-10-14 09:22:56

So at this point I assume you should know *How to create a Repository,* If you don't do checkout my previous  [article here](https://dev.to/bmonish/github-101-creating-a-new-repository-in-github-gla).

Let's dive in and add files via the Command Line.

1. Follow the steps 1, 2 and 3 from my  [previous article!](https://dev.to/bmonish/github-101-creating-a-new-repository-in-github-gla) 

2. Once done, You should see a screen like this.
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619949018203/pdRrHwyxQ.png)

3. Assuming you have a folder created in your local machine, Open the terminal and redirect to the project directory. (I have three files with boilerplate code)
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619949199040/2jVJRMaIR.png)

4. Run the following command to *Initialize* the repository.

    ```
git init
    ``` 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619949300204/F-Ifzmdo3.png)

5. Now you have to let your machine know which remote repository you're planning to work on. To do that copy the 
```
git remote add origin <url>
``` 
line from the 3rd step and execute it.
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619949432509/4clBgyhoH.png)

6. To add all files run 
```
git add .
``` 
or you can add only a specific file by executing 
```
git add <filename>
``` 
The former will add files to the changing area and the later will add only the *index.html* file.

7. After running the commands, If you want to check the status of your working directory execute 
```
git status
```
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619949624327/hryE_Jdxs.png) It will give you an overview of the changes that are tracked and has been added to the stage.

8. Now, to create a commit execute 
```
git commit -m"<Desc. of your commit>"
```

9. Finally push your changes by executing 
```
git push origin <branch name>
```
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619949999566/1RSayqN6c.png)

10. You should now see your files in the repository!
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619950078663/kZyVw8dFW.png)
_________________________

*Feel free to drop your suggestions in the comments and if you find it useful give me a like and share it with someone who might benefit from it.*

*Reach out to me on my Instagram  [@monish.codes](https://www.instagram.com/monish.codes/) If you have any queries or just want to have a conversation! See you on the flip side.*
Ionic for desktop first software
Published: 2022-10-14 08:57:45

Hi all, I work for a company that builds in-house software. The user base is mostly employees, using a company laptop to interact with the software.

All eyes are set on building the front-end in Ionic/angular. However, Ionic is by design focussed on mobile apps, not desktop websites.

Would you advise using Ionic/angular knowing the user base will interact with the software via a windows desktop machine? Or would you explore alternatives? Any advise is welcome :)
Striction BP Reviews:Is It Best Supplement for control Blood pressure?
Published: 2022-10-14 08:55:14

https://www.outlookindia.com/outlook-spotlight/striction-bp-blood-pressure-manage-formula-price-ingredients-and-user-warnings-strictionbp-updated-2022-news-219681 
https://www.facebook.com/people/Super-Health-Solution/100083284573472/ 
https://www.youtube.com/watch?v=ZLrmhfv0Nlg 
https://www.edocr.com/v/y6qn4ggd/bnvqnadkpog/striction-bp-reviewsit-is-100-natural-ingredient 
https://www.yumpu.com/en/document/view/67308696/striction-bp-reviewsit-is-100-natural-ingredient 
https://issuhub.com/view/index?id=212570 
https://www.diigo.com/user/mghjghyreed/b/647211892 
https://dochub.com/bnvqnadkpog/8adOrbPVQEvPM5YV24Mj7D/striction-bp-pdf?dt=GkpVTbC1Ek8eZJMsi54P 
https://pdfslide.net/retail/striction-bp-reviewsit-is-100-natural-ingredient.html 
https://www.flipsnack.com/59576CEEFB5/striction-bp-reviews-it-is-100-natural-ingredient.html 
https://mobissue.com/xxrr/yhlp 
https://issuu.com/mghjghyreed/docs/striction_bp_ 
https://www.slideshare.net/mghjghyreed/striction-bp-reviewsit-is-100-natural-ingredient 
https://pdfhost.io/v/2x7.arROt_Striction_BP_ReviewsIt_is_100_Natural_Ingredient  
https://online.fliphtml5.com/srlah/kpcf/#p=1 
https://heyzine.com/flip-book/3b07e46af0.html 
https://www.academia.edu/88444606/Striction_BP_Reviews_It_is_100_Natural_Ingredient_  
https://pubhtml5.com/dvzy/ozvj 
https://soundcloud.com/striction-bp/strictionbp-blood-pressure-support-formula 
https://colab.research.google.com/drive/1kynEU0CuIHu_ZTObnHeHOVnuxHujPN7V 
https://www.quora.com/What-Is-Striction-BP/answer/Striction-BP-Reviews-1 
https://www.crunchbase.com/organization/striction-bp 
https://sites.google.com/view/striction-bp-blood-pressure/  
https://groups.google.com/g/strictionbporder/c/RZjrd7v17s0 
https://strictionbpbenefits.tumblr.com/ 
https://strictionbpbenefits.wordpress.com/ 
https://en.gravatar.com/strictionbpbenefits 
https://striction-bp-reviews-1.jimdosite.com/ 
https://strictionbpbenefits.wixsite.com/striction-bp 
https://strictionbporder.mystrikingly.com/ 
https://strictionbpbenefits.webstarts.com/ 
https://striction-bp-ingredients.yolasite.com/ 
https://medium.com/@strictionbporder/how-to-help-strictionbp-for-blood-pressure-1c0cfe38144a 
https://striction-bp-supplements.webflow.io/ 
http://strictionbporder.bravesites.com/ 
https://strictionbporder.weebly.com/ 
http://strictionbporder.jigsy.com/ 
https://630ef9c0db6cc.site123.me/ 
https://strictionbpbenefits.nethouse.ru/ 
http://strictionbporder.wikidot.com/ 
https://strictionbloodpressure.godaddysites.com/ 
https://strictionbp.mypixieset.com/ 
https://strictionbpbuy.creatorlink.net/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/448ehvz2qmna4ii9bk4s.jpg)
Firebase v8 vs v9 Queries
Published: 2022-10-14 08:53:14

## onSnapshot
**_v8_**

```
unsub = firestore
.collection("chats")
      .where("roomid", "==", roomid)
      .orderBy("timestamp", "desc")
      .onSnapshot((snapshot) => {
        let docs = [];
        snapshot.docs.forEach((each) => {
          docs.push({ ...each.data(), id: each.id });
        });

        setChats(docs);
        setLoading(false);
      });
    return () => unsub();

```
**_v9_**

```
unsub = onSnapshot(query(collection(firestore, 
 "projects"),where("completed", "==", true)),
 (doc) => {
  let data = [];
  doc.forEach((each) => {
   data.push({ ...each.data(), uid: each.id });
  });
  setProjects([...data]);
  setLoading(false);
  data = [];
});
```

## insert
**_v8_**

```
const ref = firestore.collection("chats");
await ref.doc().set(newDoc);
```
**_v9_**

```
await addDoc(collection(firestore, "projects"), projectDetails)
```

## update
**_v8_**

```
const query = firestore.collection("Lopn").doc(user.uid);
query.update(doc);
```
**_v9_**

```
const ref = doc(firestore, "projects", pid);
await updateDoc(ref, data);
```
Problem setting breakpoints with Picoprobe
Tags: pico
Published: 2022-10-14 08:22:04

Well, as the title states, I've been having trouble setting breakpoints in my code for RP2040. I have a small snippet of code to just set up a PWM module and make it start running. When I start it I put the breakpoint at the beginning, when declaring variables (first image) . But when I try to debug the code, it automatically moves it to the code line 83, no matter where I do put the breakpoint (second image). I got the first hint on the debug console of the second image, where it states "automatically using hardware breakpoints for read-only addresses".
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h6pauphpd8mtjo0fcnkw.png)


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

So I decided to do a little research. I tested it without using VSCode, just on the terminal. I set Openocb and gdb-multiarch and I set manually the breakpoint on line 73 (like in VSCode). As expected, it didn't work and when wrote "b 73" it automatically placed it in the line 83 (image 3).

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


At this point I run out of ideas, I checked the datasheet about flash memory but it is obviously a RW type of memory. It is true that it has a write protect option, but I'm not sure that's the reason it doesn't let placing software breakpoints in there. 

I also tried to initialise some variables beforehand in the code, but that doesn't seem to fix the issue (if I add 10 lines of code, the breakpoint gets pushed 10 lines down).

Any idea why is this happening?
Enjoy Programming-Themed Humor? Here's today's daily developer joke!
Tags: jokes, dailydeveloperjokes
Published: 2022-10-14 08:00:22

---
title: "Enjoy Programming-Themed Humor? Here's today's daily developer joke!"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e125947cfb29.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ An Agent died unexpectedly. How was the crime solved?

___A:___ By looking at the Stack Trace.
 -->
Python Scraping web page with BeautifulSoup and requests Example
Published: 2022-10-14 07:46:19

```
from bs4 import BeautifulSoup
import requests


url = "https://www.point2homes.com/MX/Real-Estate-Listings.html?LocationGeoId=&LocationGeoAreaId=&Location=San%20Felipe,%20Baja%20California,%20Mexico"

headers = {"User-Agent": "Mozilla/5.0","Content-Type": "application/json"}

page_scrape = requests.get(url, headers=headers)
soup = BeautifulSoup(page_scrape.content, 'html.parser')

lists = soup.find_all('article')

for list in lists:
    address = list.find('div', class_="address-container").text
    try:
        beds = list.find('li', class_="ic-beds").text
    except:
        print("Data Not Logged")
    try:
        baths = list.find('li', class_="ic-baths").text
    except:
        print("Data not logged")
    try:
        size = list.find('li', class_="ic-sqft").text
    except:
        print("Data not logged")
    type = list.find('li', class_="property-type ic-proptype").text
    price = list.find('span', class_="green").text
    agent = list.find('div', class_="agent-name").text
   
    firmstr = list.find('div', class_="agent-company")
    firm=''
    
    if firmstr is not None:
        spl_word = '>'
        firmstr2=str(firmstr)
        res = firmstr2.split(spl_word, 1)
        splitString = res[1]
        
        res2 = splitString.split('<', 1)
        splitString2 = res2[0]
       
        firm=splitString2
    
   
    info = [address, beds, baths, size, type, price, agent, firm]

    print(info);
```
How to open Website with python?
Tags: python, programming, tutorial
Published: 2022-10-14 07:39:40

Hello everyone today we want open website with python.

```python
from tkinter import *
import customtkinter
import webbrowser

def open_web():
    new = 1
    url = ent.get()

    webbrowser.open(url,new=new)

window = Tk()
window.geometry("1430x745")
window.title("Web browser")
window.resizable(False,False)
window.config(bg="#F4F1DE")

bg = "#F4F1DE"


ent = customtkinter.CTkEntry(window,corner_radius=6,placeholder_text="Enter The url of the Web",width=500,height=50)
ent.place(x=440,y=300)

btn = customtkinter.CTkButton(window,text="Browse",width=100,height=40,fg_color="#81B29A",hover_color="#97B6A7",command=open_web)
btn.place(x=950,y=303)

window.mainloop()
```


**This application has been tested on Mac, and its appearance may change in Windows or Linux.**


output:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b3rie5lghpgac2bb7owm.png)
PHP Mimic Excel Rate Function
Published: 2022-10-14 07:38:25

```
<?php
define('FINANCIAL_MAX_ITERATIONS', 128); 
define('FINANCIAL_PRECISION', 1.0e-08); 

function RATE($nper, $pmt, $pv, $fv = 0.0, $type = 0, $guess = 0.1) 
{
       
        $rate = $guess;
        if (abs($rate) < FINANCIAL_PRECISION) {
            $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv;
        } else {
            $f = exp($nper * log(1 + $rate));
            $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv;
        }
        $y0 = $pv + $pmt * $nper + $fv;
        $y1 = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv;

        // find root by secant method
        $i  = $x0 = 0.0;
        $x1 = $rate;
        while ((abs($y0 - $y1) > FINANCIAL_PRECISION) && ($i < FINANCIAL_MAX_ITERATIONS)) {
            $rate = ($y1 * $x0 - $y0 * $x1) / ($y1 - $y0);
            $x0 = $x1;
            $x1 = $rate;
            if (($nper * abs($pmt)) > ($pv - $fv))
                $x1 = abs($x1);

            if (abs($rate) < FINANCIAL_PRECISION) {
                $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv;
            } else {
                $f = exp($nper * log(1 + $rate));
                $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv;
            }

            $y0 = $y1;
            $y1 = $y;
            ++$i;
        }
        return $rate;
    }   //  function RATE()

$nper = 240;
$pmt = 3250000;
$pv = -300000000;

$test = RATE($nper, $pmt, $pv);

echo $test*100;
?>
```
Run a command until it succeeds
Tags: bash, programming, productivity
Published: 2022-10-14 07:30:54

A simple `BASH` pattern that came in handy recently:

> Run `command` every time it fails until it doesn't fail. 

```bash
command  
while [ $? -ne 0 ]; do  
    command  
done
```

**Example**

There was a long-running job that required export hundreds of thousands of records in small batches. 

When it was initially written, it was possible to set a page `offset` so that it could be resumed upon failure.

```bash
vendor-export --batch-size=250 --offset=20
```

I performed a dry run with `production` data over the course of a week. This allowed me to implement error handling for every possible data error that might occur. And I was confident that the job would run in its entirety without failing due to any circumstance within our control.

But there was nothing practical we could do to mitigate network errors. It's definitely possible to implement a retry loop for these cases, but it wasn't practical within this system as it would affect other critical systems. Given that the process is single use, the risk presented in the work couldn't be justified. 

And this is where the pattern comes in...

By adding a `resume` option to the long-running command it was possible to pick up exactly where the job failed:

```bash
vendor-export --batch-size=250 --resume
```


Now, when it's time to actually run the job, just call this:

```bash
vendor-export --batch-size=250 --resume

while [ $? -ne 0 ]; do  
    vendor-export --batch-size=250 --resume
done
```

Then go outside and enjoy the day...

### Oops... There's may be a tiny problem with this...

If you've already tried this pattern out, you may have found this already:

> In some terminals, `ctrl-c` won't interrupt the process.

It's not always the case. But sometimes this can happen. 

If you encounter the problem, you just need to trap `ctrl-c` and exit:

```bash
function quit-it() {
    exit 0  
}  
  
vendor-export --batch-size=250 --resume
  
while [ $? -ne 0 ]; do  
    trap quit-it INT  
    vendor-export --batch-size=250 --resume
done
```
SQL Error [0A000]: HATA: Detail: qltw_iqc_result view
Tags: uyumsoft
Published: 2022-10-14 07:26:13

```
ALTER TABLE uyumsoft.invd_quality ALTER COLUMN quality_code TYPE varchar(500) USING quality_code::varchar;
ALTER TABLE uyumsoft.invd_quality ALTER COLUMN description TYPE varchar(500) USING description::varchar;

SELECT dba.deps_save_and_drop_dependencies('uyumsoft','invd_quality');

SELECT * FROM dba.deps_saved_ddl

SELECT dba.deps_restore_dependencies('uyumsoft','invd_quality');;
```
AZ-500 Dumps - (New) Get Latest AZ-500 Exam Dumps 2k23 How 10 Things Will Change The Way You
Published: 2022-10-14 07:25:27

We will **AZ-500 Dumps **ship your up to date PDF thru e mail and for your client’s dashboard then you'll be capable of down load the up to date model for ninety days with none unmarried fee. We provide ninety days of loose updates on AZ500 PDF to our college students. The questions are up to date often as organized with the aid of using our Microsoft professionals. Smart Strategy to Pass Microsoft AZ500 Exam Easily The statistics generation marketplace is turning into increasingly more hard. To continue to exist on this hard competition, you want to validate your talents with the Microsoft AZ500 certification. Start Azure Security Engineer Associate AZ500 examination guidance with the up to date gaining knowledge of sources. For the fast Azure Security Engineer Associate AZ500 take a look at **AZ-500 Exam Dumps** guidance, you need to undertake a clever approach. And the clever approach is getting ready with actual Azure Security Engineer Associate AZ500 examination questions. 

Click Here More Info >>>>> https://dumpsarena.com/microsoft-dumps/az-500/
post2 yourdadaf
Published: 2022-10-14 07:05:25

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        System.setProperty("webdriver.chrome.driver", "D:\\Coding\\chromedriver_win32\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();

        driver.get("https://saucedemo.com");

        driver.findElement(By.id("user-name")).sendKeys("standard_user");
        driver.findElement(By.name("password")).sendKeys("secret_sauce");

        driver.findElement(By.className("submit-button")).click();

        System.out.println(driver.findElements(By.linkText("Sauce")).size());

        List < WebElement > linksWithSauce = driver.findElements(By.partialLinkText("Sauce"));

        System.out.println("Links size: " + linksWithSauce.size());
    }


post 4
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;

import java.util.List;

public class pr4 {
    public static void main(String[] args) {
        System.setProperty("webdriver.chrome.driver", "D:\\Coding\\chromedriver_win32\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();

        driver.get("https://www.opencart.com/index.php?route=account/register");

        WebElement dropdownElement = driver.findElement(By.id("input-country"));

        Select dropdown = new Select(dropdownElement);
        dropdown.selectByVisibleText("Greece");

        List <WebElement> allDropdowns = driver.findElements(By.tagName("select"));

        if (allDropdowns.size() > 1) {
            System.out.println("Dropdown size: "+allDropdowns.size());
        } else {
            System.out.println("Dropdown is not multiple");
            System.out.println("Dropdown size: "+allDropdowns.size());
        }
    }
}
}
post1 yourdadaf
Published: 2022-10-14 07:04:40

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class pr1 {
    public static void main(String[] args) {
        System.setProperty("webdriver.chrome.driver", "D:\\Coding\\chromedriver_win32\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();

        driver.get("https://syntackle.live");
        System.out.println("Title: " + driver.getTitle() + "\n" + driver.getCurrentUrl());
    }
}



post3 
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

import java.util.List;

public class pr3 {
    public static void main(String[] args) {
        System.setProperty("webdriver.chrome.driver", "D:\\Coding\\chromedriver_win32\\chromedriver.exe");

        WebDriver driver = new ChromeDriver();
        driver.manage().window().maximize();

        driver.get("https://syntackle.live");
        System.out.println("Title: "+driver.getTitle());
        System.out.println("URL: "+driver.getCurrentUrl());

        List<WebElement> links = driver.findElements(By.tagName("a"));

        System.out.println("Links size: "+links.size());

        for (WebElement Link: links) {
            System.out.println("Link Text: "+Link.getText());
        }
    }
}
How is the Development of SaaS Related to Cloud Computing for Smart Businesses?
Tags: saas, cloud, programming
Published: 2022-10-14 07:01:51


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sftfj2r0ejbqgu63trsh.jpg)
SaaS and cloud computing are two related technologies that business leaders consider when evaluating technology options to build software to run their businesses.

Are they the same?
How they are related to each other?
 
Are these questions buzzing in your mind?
 
Don't worry; we've got you❗️
 
SaaS is a subset of cloud computing.
 
Through SaaS, the software is delivered and made accessible over the Internet. Using SaaS, you can subscribe to already-developed software, through a monthly or annual subscription, without having to maintain it.
 
This will help you:
- SaaS Vs Cloud Computing
- Various Service Models in Cloud Computing
- Various Deployment Models in Cloud Computing
- List of Popular Cloud Service Providers
- Saas and Cloud Computing- The Relation Between the T
wo
 
It’s crucial to remember that not all SaaS solutions are cloud-based. Applications or SaaS products can be created locally and then deployed to a cloud-based server. A web browser is used to access and use the actual product. Cloud software has three subcategories: IaaS, PaaS and SaaS
 
Here is a detailed post explaining how they relate to one another, and how they benefit businesses: https://bit.ly/3CvlLQx
5 Best Free JS Chart Libraries
Tags: javascript, webdev, chart, libraries
Published: 2022-10-14 07:00:30


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/itgkr3zaqj5bl20ld8d3.jpg)
🚀Best 5 Free JS chart libraries

Am charts
https://www.amcharts.com/

Zing Charts
https://www.zingchart.com/

Google charts
https://developers.google.com/chart

Kool chart
https://www.koolchart.com/

Charts.js
https://www.chartjs.org/

😛Yuk belajar bareng serta diskusi dikolom komentar, serta di save biar ga lupa💬😝

🌱Follow : appardana.com
💭Stay Young, Be Innovative and Keep Learning

#Chart #Diagram #Web #Skills #IT #Developer #Javascript #JS #SelfImprovement #Growth #Aditria #Pardana #AditriaPardana #appardana #iAppTech ⚛️💻

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