teleren/devto huggingface dataset:
Important Guides to Refill an HP Ink Cartridge
Tags: printer
Published: 2019-07-19 06:22:04

No doubt, Printer Cartridges are amazingly costly. Instead of buying it, user can get it refilled at their nearest store. The inexpensive and effective substitute is to refill it yourself. The things that it takes are a bottle of printer-ink and a syringe. Given here are the Important Guides to Refill an HP Ink Cartridge. Perform these recommended steps to save your valuable time as well as money. For any sort of technical assistance, dial <a href="https://www.hpprintersupportpro.us/">HP Printer Phone Number</a>. Experts will get connected with you and resolve your issue.

<b>How to refill an HP Ink Cartridge?</b>

Perform the given steps in order to refill an HP Ink Cartridge.
1. What are the necessary things that are used to refill cartridge

•	Printer-ink
You can buy it from your nearest computer store. 

•	A 1ml disposable syringe 
The needle should be smaller so that it will not affect your task.

•	Your printer cartridge
The refill method is the same for most of the inkjet cartridges.

2.  The Cartridge
You will find a black spot on the white-sticker that covers the top-cover of the cartridge. Below the black spot, there is a hole by which ink can be inserted into the cartridge. You can remove the sticker to find the hole. Or just make a hole in the black spot with a needle.

3.  Refill Your Printer Cartridge

Take in the ink into the syringe slowly and inject it into the hole. That's all.
Important points to keep in mind

•	As the needle size is very small, so if you take ink into the syringe very quickly, you can create air-gaps. These air gaps can freeze your ink cartridge. So ensure that there are no air bubbles before you inject ink through the hole. 

•	Refilling is a messy task. Ensure that you have a piece of paper/waste cloth. The image has a spotless background only to make it look good.

•	It is advised to fill the cartridge to near-capacity and not full. 
•	When the cartridge is filled, it is allowed to set for a few hours. This will let the ink to settle down at the bottom of the sponge. The sponge is positioned inside the cartridge and cannot be seen.

So, these are the easiest steps that can lead in saving your time as well as money. To get any technical support, contact <a href="https://www.hpprintersupportpro.us/hp-customer-service">HP Printer Customer Service</a> where experts will sort out all your problems in the best way possible.

View Source: <a href="http://printerrepair.populr.me/guides-to-refill-an-hp-ink-cartridge">http://printerrepair.populr.me/guides-to-refill-an-hp-ink-cartridge</a>
Healthy Breakfast Coding
Tags: jokes
Published: 2019-07-19 06:18:12

---
title: Healthy Breakfast Coding
published: true
description: 
tags: jokes
cover_image: https://thepracticaldev.s3.amazonaws.com/i/xi7ozwgjkg3dtck73ipa.jpg
---

It's the fruit loop

```javascript
['apple', 'pear', 'grape', 'kiwi'].forEach(consume)
```

---

Inspired by Ben's post about loops.

{% link https://dev.to/ben/which-types-of-loops-are-most-popular-in-the-programming-languages-you-use-1mma %}
Dynamic imports for lazy routes from old towards new: Angular 8
Tags: angular
Published: 2019-07-19 05:31:16

**Lazy-loaded routes** now use the standard **dynamic import** syntax instead of a custom string. This means that TypeScript and linters will be better able to complain when modules are missing or misspelled.

So a lazy-loaded import that looked like this:

`{ path: '/cart', loadChildren: './cart/cart.module#CartModule' }`

Will now look like this:

`{ path: `/cart`, loadChildren: () => import(`./cart/cart.module`).then(m => m.CartModule) }`

The change in syntax will be taken care of for you if you’re using the **ng upgrade** command to upgrade your app.

Know more about updates on Angular 8 [here](https://medium.com/@teclogiqs/angular-8-insights-of-the-latest-version-of-angular-11b1f0b19029)
Keyboard Maestro Markdown Blog Post Template
Tags: productivity, blogging, markdown
Published: 2019-07-19 05:14:49

There are times that I want to get to blogging an idea quickly without having to mess with all the setup. So I thought why not automate using [Keyboard Maestro](https://www.keyboardmaestro.com/main/), one of my favorite productivity tools on macOS.

Then naturally, I thought, time to share it. Then I realized I cannot figure out how to export a single macro, so I am sharing a screenshot of the steps, please if you know how to export a single macro let me know in the comments and I will be only too happy to share it.

So here is a little information on what I use it for and what it does.

I have been working on a Gatsby blog, it uses markdown files for each of the posts. Each post has a series of _frontmatter_ metadata items that I have to fill in each time.

I have broken those values out into input fields when the macro runs, now all I have to do is enter the data and click _create_.

Those values are entered into the template that gets pasted into my editor of choice and then it places the cursor at the right place for me to start entering the content.

To trigger the action all I need to do is type _;pwbt_

So with the details out of the way, here's all the macro content.

![](https://thepracticaldev.s3.amazonaws.com/i/48wxl5lpaabrr5y2tvbw.jpg)
Current and Upcoming Web Design Trends of 2019
Tags: webdev, design, ux
Published: 2019-07-19 04:50:49

The greatest challenge for any business is to make the right choice among several other right options. Scott Belsky, the co-founder of online portfolio platform, Behance, summarizes design choice challenges in his following quote –

 


“Rule of thumb for UX: More options, more problems.”

 

A/B Testing is a proven methodology to resolve the dilemma of making the right design choices for web interfaces. William Sealy Gosset, a pioneer of modern statistics, implemented A/B testing for the first time in 1908. The primary objective of A/B testing is to analyze and choose the most suitable option among several digital design variations. It is a highly critical process that ensures the effectiveness of UX research services to achieve maximum user adoption.

 

This blog post evaluates the pros and cons of using the A/B testing methodology to produce digital designs. 

 
Understanding A/B Testing and the Resources Required

 

A/B testing is a UX research methodology that involves comparing and analyzing two or more variations of a certain web page or user activity. The process can be followed by UX teams while designing from scratch or redesigning web interfaces.

 

It involves presenting different design variations to different users. Since the variations are demonstrated as live and functional sites, UX researchers can study user behavior in real-time. User research consultants can closely observe user interactions with the designs to record usability metrics.

 

Google engineers became one of the first teams to conduct A/B testing back in the year 2000. The motive of running the test was to determine the optimum number of results on its search result page.

Click to know <a href="https://www.oodlesstudio.com/blog/web-design-trends-2019-ui-ux-design-services/"> Web Design Trends of 2019</a>

Talk to our experts for <a href="https://www.oodlesstudio.com/ui-ux-design-services/"> UI UX design services</a>
How to configure console color (asni) Spring-boot 
Tags: springboot, java, asni, yml
Published: 2019-07-19 04:50:36

---
title: How to configure console color (asni) Spring-boot 
published: true
description: enabled color logging (.yml)
tags: spring-boot , java , asni , yml 
---

In application.yml file. 
```
spring:
  output:
    ansi:
      enabled:  always
```
Check Branch age on a Gitlab stage to enable trunk based development and CI
Tags: agile, devops, gitlab, ci
Published: 2019-07-19 04:08:49

---
title: Check Branch age on a Gitlab stage to enable trunk based development and CI

published: true
description: 
tags: Agile, devops ,  gitlab, ci 
cover_image:  https://atlanticsoft-blog-images.s3.amazonaws.com/gitlab_24_hour_check_pipeline_warning.png
canonical_url: http://blog.atlanticsoft.us/page/3/check-branch-age-on-a-gitlab-stage-to-enable-trunk-based-development-and-ci/ 
---

This blog post was originally posted on our company blog at:
http://blog.atlanticsoft.us/page/3/check-branch-age-on-a-gitlab-stage-to-enable-trunk-based-development-and-ci/


We are believers and practitioners of the agile manifesto and we like the 9th principle which states that “Continuous attention to technical excellence and good design enhances agility”, therefore with the current state of software development for us that means Continuous Integration and as such Trunk Based Development is a specific practice that enables CI.


We use Gitlab as our tool for CI, and therefore this is one of our most visited places all day, we thought that as a help to remind the developers to keep short-lived feature branches that we could show them a warning if the branch is older than 24 hours and help them get used into planning their tasks smaller so that they can finish them in one day and not only have their code added quickly to master and tested with others code, but also achieve multiple small successes by completing planned worked and not keeping incomplete tasks open.

Note that we are not ready to commit directly to master as it would be the ideal state of trunk based development, but we use short lived branches and feature flags.

If the branch first commit is younger than 24 hours then it will show a green checkbox

![Gitlab Succesfull pipeline](https://atlanticsoft-blog-images.s3.amazonaws.com/gitlab_24_hour_check_pipeline_success.png)


But if it's not then it will display a warning, but won’t stop the pipeline

![Gitlab pipeline with warnings](https://atlanticsoft-blog-images.s3.amazonaws.com/gitlab_24_hour_check_pipeline_warning.png)

Here is the code:

[https://gitlab.com/atlanticsoft_public_repo/gitlab_pipelines_24_hour_branch_check](https://gitlab.com/atlanticsoft_public_repo/gitlab_pipelines_24_hour_branch_check)

Pablo Velásquez
Atlanticsoft Founder

Notes:

If interested in knowing more of trunk based development you can read more here:
[https://trunkbaseddevelopment.com/](https://trunkbaseddevelopment.com/)

We use Unleash for feature flags https://github.com/Unleash/unleash
How to track your online learning with GitHub
Tags: github, learning, howto
Published: 2019-07-19 03:50:08

---
title: How to track your online learning with GitHub
published: true
description: As Web Developer, you will consume a lot of content and you need a place to save and can get back anytime.
tags: github, learning, how-to
---


I bet that a lot of times you have to solve something and you think: **"I read some that will help me with this problem"** but you can't remember where you saw it and have no way to find it.

### GitHub to the rescue
What? GitHub? and the answer is big YES. You can create a GitHub Repo and use the issues to track what you read, watch, listen online.

So I started to use GitHub issues, which according to the official information are:

> Use issues to track ideas, enhancements, tasks, or bugs for work on GitHub.


### How to do it?
1. [Create](https://github.com/join) a GitHub account (but I bet you already have one). Mine is: [fmontes](https://github.com/fmontes)
2. [Create a repo](https://help.github.com/en/articles/create-a-repo), mine I called: [learning-tracking](https://github.com/fmontes/learning-tracking).
3. For every piece of content, you want to save [create an issue](https://help.github.com/en/articles/creating-an-issue).
4. And that's pretty much it.

![GitHub Issues List](https://thepracticaldev.s3.amazonaws.com/i/cjo5o054bph695f49yjf.jpg)


### What to add to the issues?
When I consume some content online I always want to remember certain parts so in my issues I normally add:

1. Code snippets with comments about it
2. Quotes of the article
3. Notes with conclusions
4. Links of course
5. Source

#### GitHub issues support Markdown

This will allow you to add:

1. Code snippets
2. Comments
3. Quotes
4. Links
5. Images
6. Tables
7. And so [much more](https://guides.github.com/features/mastering-markdown/).

### Use tags
You can create and assign to issues as many tags you want, you should use tags in your issues so you can filter them later.


![GitHub Issues Tags](https://thepracticaldev.s3.amazonaws.com/i/gpko613a8j3a2nairdwc.jpg)

### Search
Not only you'll be able to filter by tags, GitHub has a really powerful search feature, that will find keywords in the title, tags and even content of your issues. You can't lose anything again!

### Conclusion
I tried any notes app you can think of but none of those work for me. With this approach I've seen good results:

1. Haven't lost content anymore
2. Snippets with notes are really helpful
3. Being public (you can make it private) allow your peers to see what your up to
4. Improve your developer brand, people can see what you're up to 😉

This post was originally [published on my blog](https://fmontes.com/blog/how-to-track-your-online-learning-with-github/).
Publishing your Expo Standalone App with push notifications into the App Store. The easy way... 😅
Tags: reactnative, expo, ios, javascript
Published: 2019-07-20 02:03:15

---
title: Publishing your Expo Standalone App with push notifications into the App Store. The easy way... 😅
published: true
cover_image: https://thepracticaldev.s3.amazonaws.com/i/c829s8oe7x8l036m72gu.png
tags:
- react-native 
- expo
- ios 
- javascript
canonical_url: https://nahuelhds.dev/react-native/2019/07/19/Expo-publishing-standalone-app-push-notifications-appstore.html
---

Let’s do a simple check.

- Did you receive a **undetermined** status from the push notifications permission? ✅
- Did you receive an email saying something about **ITMS-90078: Missing Push Notification Entitlement** after delivering your app through the Application Loader? ✅

## Making the push notifications work 📱

It took my two days and several hours to find out… 😡

The answers are on several Github issues and some threads in the Expo forums. I’m just gathering some of the info together. Basically you need to do two things.

1. Enable push notification for your app identifier. ☝️
2. Rebuild with Expo clear provisioning file parameter. ✌️

### Enable push notifications on your App ID’s Identifier

[As it’s mentioned in this GitHub issue](https://github.com/expo/turtle/issues/62#issuecomment-469528206):

> In order to fix this, you need to enable “Push notifications” for your app on the app store.
> 
> 1. Login to [https://developer.apple.com/](https://developer.apple.com/)
> 2. Go to the “Certificates, Identifiers and Profiles” section
> 3. Select “App IDs” in the Identifiers section on the left column
> 4. Choose your app ID, edit it and check “Push Notifications”. Save changes
> 5. Generate a certificate for the production push service: go to the “Certificates” section, and follow the assistant to add a “Apple Push Notification service SSL (Sandbox & Production)” certificate for your app. Acute readers will notice that expo does not need this certificate since it uses a key to talk to Apple directly
> 
> TL;DR: Expo needs to enable the “Push Notification” service when creating the app in the Apple Developer Portal

### Rebuild your Expo app

Second, I’m sure you already has published you app, so what you need to do is change the `expo.ios.buildNumber` in your **app.json** file and then rebuild the app **clearing the provisioning profile** like this. 👨‍💻👩‍💻

```
expo build:ios --clear-provisioning-profile

```

In that way Expo will generate the build with the Push Notifications that are now activated in your App ID Identifier.

Finally, upload it again from the Application Loader. You should be fine.

**IMPORTANT!** If clearing the provisioning profile doesn’t work, try _clearing all_ with the command:

```
expo build:ios -c

```
Best Answers to "Loaded" Interview Questions?
Tags: discuss, watercooler
Published: 2019-07-19 00:31:53

---
title: Best Answers to "Loaded" Interview Questions?
published: true
description: What are some of your favorite stories of great answers to the types of interview questions even the interviewers don't know the point of
tags: #discuss #watercooler
---

Hey all! What are some of the best stories you have about great/clever/funny answers to "loaded" interview questions? The stories don't have to be related to tech or even about you. But let's laugh and tell some stories you've heard (or been apart of on either side of the table) about our favorite answers to near-enough pointless questions like: "Would you consider this your dream job?", "Do you see yourself retiring here?", and other gems that even interviewers don't really get the point of asking. To be fair, I'll start with my favorite.

My father worked for FedEx for 42 years and just retired last year (SO PROUD OF YOU DAD!!!). In the early days of this company that has since received "utility" status, the company struggled mightily to keep from going under. For that reason, they sought to hire the absolute best salespeople they could find. One of these candidates was a good friend of my dad's. 

In walks this 20-something candidate to interview with the top brass at a young Federal Express. They grilled him on sales for well over an hour and liked what they heard. Near the end, the second-in-command of the company, who had flown from Memphis to oversee interviews pointedly asked: "Would you say that this would be your dream job should you be hired?". 

Without a moment's hesitation he replied, "Heaven's, no! Short-reliever for the Red Sox." (For those who don't know, a short-relief pitcher works about 2-3 hours/wk during the baseball season and is one of the highest-paid players on the roster)

The table of executives smirked, conferred with each-other, and hired him on the spot. He retired from the company a Senior VP 30 years later.
The Problem with A11y After The Fact
Tags: a11y, ux, inclusion
Published: 2019-07-19 02:05:31

It seems to be a common belief that we can design a pixel-perfect application, go through the entire development process, and then squeeze in a little accessibility after everything is done. This process may help you boost your Lighthouse score a bit but won't do much to help your users.

<strong>Accessibility shouldn't be an afterthought!</strong>

<h2>Automated testing doesn't catch everything.</h2>
Automated Web Content Accessibility Guidelines (WCAG) checkers will typically only catch the "low-hanging fruit," like insufficient color contrast, checking that an image has <code>alt</code> text, etc. Your application could pass every audit ran by an automated checker, but not catch things that negatively impact the usability of your application. For example, these tools cannot check the <code>alt</code> text for your images to ensure they properly describe what's in each image or convey the intent.

WCAG is a great place to start for accessibility testing, but developing an entire application and adding the WCAG cherry on top doesn't make it accessible. 

<h2>You're making more work for yourself.</h2>
Trying to retrofit a web application with accessibility is, honestly, much more time consuming and frustrating than incorporating the <a href="https://www.w3.org/TR/UNDERSTANDING-WCAG20/intro.html#introduction-fourprincs-head">four principles of accessibility</a> from the beginning of your project. It makes your job (and the jobs of future developers working on your application) unnecessarily more difficult.

I can't tell you how many times I've had to try to shove accessibility concepts into an existing application in an attempt to make it a little more usable than it was before I touched it. What's worse is if the application wasn't written using <a href="https://developer.mozilla.org/en-US/docs/Glossary/Semantics#Semantics_in_HTML">semantic HTML</a>. 😱

Keeping accessibility in mind when you start a project is an efficient use of your time and will benefit your users.

<h2>Key Takeaways</h2>
It's important to consider the spectrum of possible users for your site or application from the beginning. Designing for <strong>everyone</strong> early on is what makes a website accessible.

Always remember: designing and developing an application with accessibility in mind helps <strong>all</strong> users.

##### If you haven't already, check out <a href="https://dev.to/kaylasween/breaking-down-p-o-u-r-v2-0-3jdj">my last blog post, Breaking Down POUR</a>!
Insertion Sort in JS
Tags: algorithm, computerscience, showdev, javascript
Published: 2019-07-19 10:17:59

---
title: Insertion Sort in JS
published: true
tags: algorithm, computer science, showdev, JavaScript
canonical_url: https://atila.fassina.eu/insertion-sort/
---

## What it is

It‘s a simple to implement sort algorithm. In a nutshell, Insertion Sort iterates twice through the array. First iteration corresponds to the target position, whilst second iteration is for comparison with future elements. Every time the current item is smaller than the comparison value, it is inserted in the current position and first iteration moves forward.

## When to use it

not very efficient for large data sets, but quite efficiente and powerful for small ones. It can avoid confusion by not changing the order of equal set of keys.

```ts
const insertionSort = (unsortedList: []) {

  // First iteration:
  // get the target position
  for (let i = 1; i < unsortedList.length; i++) {
    const currentItem = unsortedList[i]
    let j

    // Second iteration:
    // compare elements, assign each to new sorted position
    for (j = i; j > 0 && currentItem < unsortedList[j - 1]; j--) {
      unsortedList[j] = unsortedList[j - 1]
    }

    unsortedList[j] = currentItem
  }

  return unsortedList
}
```

## Shameless plug

I have a personal playground where I plan to implement some Computer Science basics in JavaScript. With good test coverage and some insights on when/why to use each concept. Check out my [insertion sort implementation at the FUNdamentals repository](https://github.com/atilafassina/fundamentals/blob/master/src/insertionSort/index.js).
Hey, let's share our career begin stories.
Tags: career, advice, discuss
Published: 2019-07-18 23:49:49

Here's mine.
Everything started back in 2015 when I got to college, by then the only thing I knew is that I love tech and wanted to work with it. 2015 was pretty rough cause by the end of it my mom left the house and I was with my old grandma unemployed and having to support both of us. Luckily I got a day job in a parking lot which
saved us and I had a lot of fun, the downside was that I haven't code as much as I should at college and learned pretty much anything. In 2016 I got an internship in a tech company but for a support role, I began there hoping to get a dev job but I wasn't prepared and the whole internship was frustrating, and so another lost year. But there was a plus side there I got to meet Caio a friend of mine who referred me to one sales company who need a systems analyst that's when the things started to get right for me. At this company I would do pretty much anything with SQL all features were based on procedures or queries, it was not the ideal or the job I was dreaming about but I gave my 100% so that could bring me a useful exp, and that concludes 2018. Since I was writing SQL and having more contact with programming, I also earned more money and got more time to study and contribute with GitHub projects which gave me the trust to apply for jr dev spots, and finally in 2019 I got a chance to really prove myself as a developer by getting a jr spot in a huge Brazilian company.

The first 7 months have been a crazy and intense study period for me at this new job have been intense but amazing I'm having so many cool projects to work with and opportunities to learn, practice and present what I learn by talking to people and sharing what I'm learning![](https://thepracticaldev.s3.amazonaws.com/i/8ynghecxuqcev5h10pnj.jpg)
This pic was taken in a git talk that I had earlier this year.

And that's it. Thanks who took the time to read this I hope this discussion helps someone getting into coding :).