teleren/devto huggingface dataset:
Cypress 4.6.0 is Out...And Brings a Surprise New Feature!
Tags: cypress, testing, vscode
Published: 2020-05-22 17:21:38

The [Cypress team](https://www.cypress.io/about) is still hard at work (per usual), bringing us regular releases. The latest iteration of Cypress (4.6.0) is out, and with it comes a surprising feature. It's something that I always wanted but didn't think was even possible, so I never asked for it or tried to build it out myself.

I'll give it to you straight from their [Changelog](https://docs.cypress.io/guides/references/changelog.html#4-6-0):

> [Errors](https://docs.cypress.io/guides/guides/debugging.html#Errors) in the Test Runner now display a code frame to preview where the failure occurred with the relevant file, line number, and column number highlighted. Clicking on the file link will open the file in your preferred file opener and highlight the line and column in editors that support it.

So imagine for a moment the test runner shows a test failed at the `cy.get()` command, perhaps because you got the selector wrong. It happens to the best of us. Below the usual stack trace and message, `Timed out retrying: Expected to find element: #login, but never found it.`, is a [code frame](https://github.com/babel/babel/tree/master/packages/babel-code-frame) which shows the line in your spec containing the failing command and a couple of lines of surrounding code for context. That's cute. At this point you'd have to go back to your editor and find the file and line where the failure occurred so you can start fixing it. But - at the top of the code frame is the relative path to the spec file (that you created in VSCode). And - here's the best part - clicking on that file opens it in VSCode with the offending line highlighted and your cursor in the precise spot where you need to make the correction. Pretty sweet, right? 

Here it is in action:
![Alt text of image](https://docs.cypress.io/img/guides/file-opener-ide-go-to-line.3cc1a2e4.gif)

This [issue](https://github.com/cypress-io/cypress/issues/3762) was created over a year ago, so completion of this is a testament to the diligence of the Cypress team in delivering an amazing, ever-evolving product. 

In addition to regular updates, Cypress also comes with outstanding documentation if you want instructions to set up the [File Opener Preference](https://docs.cypress.io/guides/tooling/IDE-integration.html#File-Opener-Preference) or how Cypress [Errors](https://docs.cypress.io/guides/guides/debugging.html#Errors) work in general. 

Enjoy this new feature and be sure to [share your feedback with the Cypress team](https://twitter.com/Cypress_io).
SpotlightDo
Tags: octograd2020
Published: 2020-05-22 17:14:47



[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project and experience.)

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## My Final Project in College


[Demo Link on Google Play Store](https://play.google.com/store/apps/details?id=com.plannerdo.android.mydo&hl=en)
 

[GitHub Repo](https://github.com/jawidMuhammadi/SpolightDo)

[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)


##What is this project about? 

SpotlightDo app is a smart To do list reminder app with alarm for everyday use and also you can create notes or convert an image to text offline (OCR) and add to your notes. To-do list app is truly usable with great user experience, no matter who you are and what you do, you will be better organized!

## How I built it?

I started building this application in the second semester of college. At the first days of my journey to App development, I didn't know anything about `GitHub` and `Version Control System` so I used to make copies of each version to different folders, whenever I made any change or develop any new feature then going back or reverting the changes was a disaster. After knowing about `GitHub` and `Version Control System` my speed in writing code and Android App Development changed and increased dramatically, I started coding fast without worrying about breaking anything. I developed a lot of apps and contributed to many Open Source projects using GitHub.

After 1 year in Google Play Store, my app has reached more than **50,000** downloads with thousands of daily active users. It is a small project but I am sure that my app is helping people who are using it in their daily routines.




## Additional Thoughts / Feelings / Stories
Thanks to GitHub for providing this amazing platform free for all developers around the world!


[Final Note]: # (CONGRATULATIONS!!! You are amazing!)
HtmlAgilityPack Test Bed
Tags: htmlagilitypack, xpath
Published: 2020-05-22 17:03:00


Animation below [https://raw.githubusercontent.com/jaysonragasa/HtmlAgilityPackTestBed/master/HtmlAgilityPackTestBed/ss/temp05222020-122503.gif](https://raw.githubusercontent.com/jaysonragasa/HtmlAgilityPackTestBed/master/HtmlAgilityPackTestBed/ss/temp05222020-122503.gif)
  
# HtmlAgilityPack Test Bed
An XPath test bed using [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) library.

  
This is actually a remake to my old HAPTestbed written in Windows Forms before  
![](https://raw.githubusercontent.com/jaysonragasa/HtmlAgilityPackTestBed/master/HtmlAgilityPackTestBed/ss/2020-05-22_1524.png)

# Downloads
Stand alone application can be downloaded here  
[https://install.appcenter.ms/users/jaysondragasa-outlook.com/apps/htmlagilitypacktestbed/distribution_groups/public](https://install.appcenter.ms/users/jaysondragasa-outlook.com/apps/htmlagilitypacktestbed/distribution_groups/public)
  
# Source code
[https://github.com/jaysonragasa/HtmlAgilityPackTestBed](https://github.com/jaysonragasa/HtmlAgilityPackTestBed)
Everything on Rent: An Android App
Tags: karan2399
Published: 2020-05-22 16:53:30

# My first Android Project

## EOR: An Android Application

# Linkedin Post: https://www.linkedin.com/posts/karan2399_project-androiddevelopment-android-activity-6668805879351009280-pYov

## It is an android application that connects renters and rentee to share things which they find useful. We were a team of 5 people who made this application as a part of our Android Application Development 1 course in 3rd semester.


## It was an amazing experience to build this application and we are still on process to make it better

[Final Note]: # Thank you everyone for reading this post.
A Hello to everyone from Baishakhi"
Published: 2020-05-22 16:26:46

Hello everyone, so I have to say something about myself. Sometimes it is hard to introduce yourself because you know yourself so well that you do not know where to start with. Let me give a try to see what kind of image you have about me through my self-description. Here it goes. I am a person who is positive about every aspect of life. There are many things I like to do, to see, and to experience.I am Baishakhi Chakraborty. Presently I am pursuing my engineering in Electronics and communication engineering from Netaji Subhash Engineering College under MAKAUT. I am in my 4th semester right now. Being a budding engineer I dream of a great technical world. Frankly speaking I am a web designer/developer focused on crafting great web experiences. Designing and Coding have been my passion since the days I started working with computers but I found myself into web design/development in 2020. I enjoy creating beautifully designed, intuitive and functional websites. Earlier I was not so interested in this tech stuffs but when I started boosting my knowledge I got so much interested.
7 Biggest Frustrations with API Testing | 30 Days of API Testing | Day 22
Tags: testing, tutorial, beginners, webdev
Published: 2020-05-22 16:21:06

🚀Mastering API Testing -  https://www.learnapitesting.com

In this video of 30 Days of API Testing Challenge, I am going to discuss my  7 Biggest Frustrations with API Testing.

🚀 Day 22 Task: Request Chaining with your API Testing Tool.

[![30 Days of API Testing](https://i.imgur.com/LFsmVet.png)](https://youtu.be/zv1NR8Hg1dI "30 Days of API Testing")


🚀 Thread:  https://scrolltest.com/api/day22

🚀 All Task List: https://scrolltest.com/api/task

🚀 Watch Full Playlist: https://apitesting.co/30days

--
Be sure to subscribe for more videos like this!

[![ TheTestingAcademy](https://dev-to-uploads.s3.amazonaws.com/i/r7vcy6wbvyjbk1y1uu0o.png
)](https://www.youtube.com/TheTestingAcademy?sub_confirmation=1 "TheTestingAcademy")
Linux commands that work in Powershell by default.
Tags: powershell, linux, windows
Published: 2020-05-22 16:17:58

Some people may not realize there are a lot of Linux commands that work within PowerShell. I thought I would list some of them for people to try. In the future I will do a write up on each one individually. For now, let's just get familiar with them. 

* cat - Lists contents of files to the terminal window.
* cd - Change directory
* clear - Clear the terminal window. 
* cp - Copy file
* curl - Retrieves information and files from URLs or internet addresses.
* date - Shows current date
* diff - Compares two text files and shows differences between them. 
* echo - Prints a string of text in the terminal window. 
* exit - Exit your current shell.
* finger - Shows information on user.
* find - Search for files.
* history - Brief list of the last few commands you have used. 
* kill - Kill a running process. 
* ls - List the files and folders in the current directory. 
* man - Show man pages.
* mkdir - Create a directory
* mv - Move a file or directory. 
* ping - Tool to help verify network connectivity. 
* ps - List running processes.
* pwd - Prints current working directory to the terminal. 
* rm - Remove a file. 
* rmdir - Remove a directory. 
* ssh - Connect to a remote computer.
* tar - Create archives.
* wget - Downloads files served with HTTP, HTTPS, or FTP over a network.
* whoami - Find out who you are logged in as. 

Please play around with these in your terminal. Let me know if there are any I may have missed and I can add them.
why php developers should edit their  files directly on the deployment server. part1
Tags: php, codenewbie, codequality
Published: 2020-05-22 16:15:28

This post is for php developers. And who use local servers like mysql and wamp to edit their backend code. Before uploading them to the deployment server.

The deployment server refers to the main server that powers your online website. It is not the server you use purposefully for debugging and nothing else.

I wrote this post because its good to see that, files behave in different ways on different servers.

Let's dive into the ways php files are different on both local and deployment servers.

1. CHECK YOUR FILE NAMES.
Wrong file names still work on mysql server but do not work on deployment server. For example, on mysql, 'myfile.php' is the same as 'myFile.php'.
so 'https://website.com/myFile.php' is the same as 'https://website.com/myfile.php'

But on the deployment server, or your website host server, 'myfile.php' is not the same as 'myFile.php'. So if the link 'https://website.com/myFile.php' works, then the link 'https://website.com/myfile.php' will not work and vice versa.

Therefore, after testing your files on the local server, be sure to check the file names again before uploading them onto the deployment server. 

In order to avoid all this work, why don't you create and edit the files on the deployment server directly, so that you do know they work from the ground up.

This way, users can continue to access your website and your links while you edit them.
What was your win this week?
Tags: discuss, weeklyretro
Published: 2020-05-22 16:14:46

---
title: What was your win this week?
published: true
description: Got to all your meetings on time? Started a new project? Fixed a tricky bug?
tags: discuss, weeklyretro
cover_image: https://cl.ly/188e843c2985/download/Image%202019-02-15%20at%202.36.37%20PM.png
---

_Hi, everyone! My name is Gracie Gregory and I'll be taking over the weekly retros! On that note..._

👋👋👋👋

Looking back on your week -- what was something you're proud of?

All wins count -- big or small 🎉

Examples of 'wins' include:

- Getting a promotion!
- Starting a new project
- Fixing a tricky bug
- Cleaning your house...or whatever else that may spark joy 😄

Happy Friday!

![Winning!](https://media.giphy.com/media/xT9IgxYMWIzMTkiaLC/giphy.gif)
Replica-of-Google-Keep
Tags: showdev, octograd2020, 2020devgrad
Published: 2020-05-22 16:14:39

## **My Side project on the flask**
---
### **AIM**

The aim of the project was to develop a replica of google keep.

### **How I built it?**

The major task of this project was to get to know how the control flow of google-keep work and to propose a suitable model, followed by making a good authentication so that intruders cannot affect a person's, private data like email, name, notes...

To make the data more private and not visible to others, I went on using googles OAuth authentication, wherein the hassle of login is eliminated by just using you google email ID to login and get started in this way, the user will not need to worry about extra information and get along fast.

This application allows you to make important notes, links, map locations.
All the map locations get rendered and you get to see the real-time locations of that particular place entered in the location bar.

There is a search bar to get your important notes from the bunch of todo works.


### **Tool used**

- HTML
- CSS
- JS
- PYTHON
- FLASK
- SQLAlchemy
- VS CODE
- GOOGLE MAP API
- OAuth API

### **Link to Code**

{% github https://github.com/infinityrun/Replica_of_Google_keep %}


### Additional Thoughts

It was a great learning experience through this project. My learning doesn't stop here, I will be creating and contributing more in the future. Also, this web application needs more additional features such as (list notes, images notes)

Thank you octograd2020!Cheers🍻

Do follow me on twitter: <a href="https://www.twitter.com/amankitsingh"><img src="https://raw.githubusercontent.com/infinityrun/infinityrun/master/twitter.svg"></img></a>
Atomic Transactions in MongoDB With NodeJS
Tags: node, npm, mongodb
Published: 2020-05-22 16:07:06

Atomic Transactions are very useful when one has to perform a indivisible and irreducible series of database operations, and with mongoDB the multi document atomic transactions were introduced in the version 4.0. While MongoDb is wiidely used along with NodeJS, I thought it would be helpful to have an example of performing atomic transactions in mongodb with nodejs.

MongoDB atomic transactions with NodeJS
```
var mongoose = require('mongoose');

async () => {
    const session = await mongoose.startSession();
    await session.startTransaction();
    try {
        const opts = { session, new: true };
        // perform operations
     } catch (error) {
        await session.abortTransaction();
        await session.endSession();
        throw error;
    }
}
```

Important things to remember:
 * Every transaction has a session associated with it
 * At a given time, at most only one open transaction for a session.
 * If a session ends and it has an open transaction, the transaction aborts.
The right time to learn programming
Tags: python, react, javascript
Published: 2020-05-22 15:59:25

{ } Coding for All
 
👉  Harness the Power of Codes

💪 In the time of adversity we don’t want to be just calm, instead, we should keep the ball rolling and be resilient.

 I am a social entrepreneur, educator, developer, motivator, and content creator.  My role is to motivate and ignite positive energy to my community. 

🔥 As a social entrepreneur, I would like to reach as many people as possible and inspire them. At the end of last year and the beginning of this year, I managed to reach and attract thousands of people to start programming using my 30 Days Of JavaScript and my 30 Days Of Python challenges. 

🏆 This growing developer community motivates us to establish CodingForAll.

💻 Today, I have some good news for people who like to start programming.
We like to teach anyone who is interested to learn:
✅ JavaScript for beginners: May 25
✅ JavaScript refresher: May 26
✅ React for beginners: May 27
✅ Python for beginners: May 26
All the courses will be given on Zoom. If you have any questions or interest in the training, write in the comment box below. The exact time will be announced after we get enough people to join the course.

For more information check it on LinkedIn: https://www.linkedin.com/in/asabeneh/
Materials
📙JavaScript for Everyone: https://lnkd.in/eMG3zgW
📘Python for Everyone: https://lnkd.in/gntw_AWK

Challenges:
30 Days Of JavaScript Challenge: https://github.com/Asabeneh/30DaysOfJavaScript
30 Days of Python Challenge: https://github.com/Asabeneh/30DaysOfJavaScript
No, React didn't kill jQuery
Tags: jquery, javascript, react, webdev
Published: 2020-05-22 15:57:35

The following thoughts are not revelatory, just forgotten by some and never explained to others.

jQuery, once _the_ library of the web, practically synonymous with JavaScript itself, is gradually fading away. And that's just what naturally happens to stepping-stone technology.

I think there's a bit of a myth that jQuery was replaced by React and similar libraries which help handle complex UI manipulations with greater ease than jQuery ever did. However, that's only a small part of the reason jQuery is no longer necessary.

Imperative DOM manipulation is still incredibly valuable and important, but thanks to jQuery's influence, all these nice APIs pretty much ship in the browser.

I was never following the web closely enough to be able to pinpoint with great accuracy which APIs helped tip the scales away from our reliance on jQuery for convenience so I won't try to get into those details (but `fetch` comes to mind as a big one).

Here's a more extensive list of how jQuery got rendered obsolete...

{% link https://dev.to/kdinnypaul/you-don-t-need-jquery-1a18 %}

jQuery was everything for the web, and its influence on the DOM and window APIs cannot be understated.

If you really want the jQuery sugar, re-implementing it is easier than ever...

{% link https://dev.to/jochemstoel/re-implementing-jquery-methods-in-the-htmlelement-prototype-15b9 %}

You probably shouldn't use jQuery for a new webdev project, but that does not mean you shouldn't use direct DOM manipulation. It's the best choice for many situations and so simple to do with plain old JavaScript.

jQuery will always live on in our hearts and our legacy code ❤️
What is Protobuf? How Protobuf can overtake JSON in Data format. What are the advantages using Protobuf in microservices
Tags: protobuf, serialization, json, microservices
Published: 2020-05-22 15:47:02

Protobuf vs JSON in Data Serialization
Check the link:
Protobuf Intro:https://youtu.be/P5Ynn8stfnc
{%youtube P5Ynn8stfnc %}
100daysofcode Flutter
Tags: 100daysofcode, flutter
Published: 2020-05-22 15:42:17

day 74/100 of #100daysofcode #Flutter
Learning Flutter , courses Udemy from
@maxedapps

Today RaisedButton.icon, materialTapTargetSize , and make layout for add place
https://github.com/triyono777/100-days-of-code/blob/master/log.md
Epson Printer contact belgie

Tags: epsonprinterbelgie, epsonprinterbellen
Published: 2020-05-22 15:40:14

Om te profiteren van onze zelfgemaakte en betrouwbare voordelen van de Epson-printer, belt u het Epson Printer Customer Service-nummer. Epson-printer kan een toonaangevend gismo zijn voor afdrukken, het biedt u extreme afdrukkwaliteit en het is een enorm scala aan dingen, waaronder een eenheid inkjetprinter, labelprinter, hybride printer, impactmatrixprinter, elektronisch apparaat en meer door <a href="https://epsonprinter.klantenservicebelgium.be/">contact Epson Printer belgie</a> +32 25885504
Firebase: Set and access environment variables
Tags: firebase
Published: 2020-05-22 15:27:18


Its never a good idea to have sensitive data like API keys in plain site. 
Firebase cloud functions provide a way to set and access env variables.

#### Set env variable

```JavaScript
firebase functions:config:set my.secret='giraffes are cool'
```
Note that each config value must have a 2-part key (e.g. foo.bar) otherwise it will fail.

Deploy your functions for the change to take effect

```JavaScript
firebase deploy --only functions
```
#### Access env variable

```JavaScript
const secret = firebase.config().my.secret
```

Now you know :grin:
VS Code terminal issues on kali linux
Tags: vscode, terminal, linux, fishshell
Published: 2020-05-22 15:24:46

This will be the first time i will be writing any publication, i hope i try my best in making it good enough.

couple of months ago i recently installed kali linux on my personal pc, because i wanted to get familiar with the unix environment, it was a nice experience, so after using it for some time, i heard about the fish command line shell, i installed it on my pc. Fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish includes features like syntax highlighting, autosuggest-as-you-type, and fancy tab completions that just work, with no configuration required.

With the excitement of my new command line shell, i wanted to make it the default shell to be used on my Pc. For one reason or the other, this made my Vs Code terminal not to function properly again, any time i try to use my Vs code terminal it do throw up this error message “The terminal shell path “/usr/local/bin/fish” does not exist”.

After much research i came up with a solution, that was to return or change my shell to the default shell,and these where the steps i used.
Changing Your Shell with chsh

if you decide that you want to change your shell, you probably can, depending on how your system administrator has set things up. You would do so using chsh. We usually change to bash.

1. You must remember the path to the shell to change shells on this system. Additionally, the password check helps ensure that only the account owner changes the shell.

2. cat /etc/shells — — — At the shell prompt, list the available shells on your system with cat /etc/shells.

3. chsh — — Enter chsh (for “change shell”), Some systems prompt for a password, and some don’t.

4. Type in the path and name of your new shell, or you click on enter to use the default shell that comes with the system.

5. su — (your user Id) Type in su — and your userid to relog in to verify that everything works correctly. If it doesn’t, use chsh again and change back to the original shell or to a different one. If you can’t change back, email your system administrator for help.

After doing all this it is recommended to restart your system and check the Vs code terminal if it is working properly again.

Thanks for your time, i hope you find this helpful.
Create Cloud Functions with the new HTTP Endpoint feature
Tags: cloudfunction, serverless, http, task
Published: 2020-05-22 15:24:46

---
title: Create Cloud Functions with the new HTTP Endpoint feature
published: true
description: Use the new Liteflow HTTP Endpoint feature to trigger your tasks with an HTTP Endpoint.
tags: 
  - cloud-function
  - serverless
  - HTTP
  - task
---

With Liteflow we just released a new really cool feature to help developers build simple Cloud Functions while having the possibility to orchestrate the different tasks, all triggered by a "classic" HTTP endpoint to connect webhooks or anything you want.

We are still in beta so we would love feedback from developers to see how we can improve even more this product :)

Check out why we are excited about this feature and how to use it here > [https://blog.liteflow.com/2020/05/22/http-trigger/](https://links.liteflow.com/http-trigger)