teleren/devto huggingface dataset:
The Great Azure DevOps Migration - Part 5: Prepare
Tags: tfs, azure, devops, azuredevops
Published: 2019-08-07 02:45:27

---
title: The Great Azure DevOps Migration - Part 5: Prepare
published: true
description: My experience with migrating an on-premises TFS to Azure DevOps in the cloud. Covers preparing your import data.
tags: tfs,azure,devops,azuredevops
canonical-url: https://scribblesofcode.com/2019/08/07/the-great-azure-devops-migration-part-5-prepare/
cover_image: https://scribblesofcode.com/wp-content/uploads/2019/07/migration.jpg
series: The Great Azure DevOps Migration
---

We've validated that our data is ready for import. Now, we need to prepare the data to be imported!
This is a short step, so let's enjoy the ease of this one. 

If you missed the earlier posts, start [here](https://scribblesofcode.com/2019/07/13/the-great-azure-devops-migration/).

I highly recommend [Microsoft’s Azure DevOps Service Migration Guide](https://azure.microsoft.com/en-us/services/devops/migrate/).

### Prepare Command

In the same way that we used the Migrator validate command earlier, we need to run a Migrator prepare command. This re-runs the validation but also creates a .json file that will be used for the actual import process. 

So, open Powershell to the directory that contains the Migrator.exe file (in the DataMigrationTool download). Execute the cmd below: 

    Migrator prepare /collection:[COLLECTION_ADDRESS] tenantdomainname:[AZURE_TENANT_NAME] /region:CUS

I recommend using the localhost address to your collection to verify that you are pointed at the right server. The tenant domain name is the Azure Active Directory that it will connect to for your newly imported data. The region must be from a narrow list of Azure regions, make sure you choose a supported region. View the full list [here](https://azure.microsoft.com/en-us/services/devops/migrate/).

Execute the command and you will see results similar to the validation run earlier. 

If all goes well, you will find the new import.json file in the Logs folder of the DataMigrationTool. Inside Logs, open the newest folder, and open the import.json file in a text editor. 

There are a bunch of fields in this file, but we only care about the ones at the very top. Update the following fields: 
Target.Name - The name of your organization that will be created at Azure DevOps. 
Properties.ImportType - DryRun for this initial test. 
The two source fields will be updated in the next post.

### Azure Storage

Next, you need to setup an Azure Storage Container. This is the location you will move the file containing all of your TFS data to before importing it into Azure DevOps Service.

In Azure, you just need to create a new Standard Storage Container. This container has to be created in the same data center region as you set in the import.json file. So make sure you pay attention to that!

I simply created a Standard Storage Container in Central US, easy.

### What's Next?

We're so close! Our data is now prepared for import!

In the next step, we'll push the data to the Storage container and begin the import process!
Journey to Become a Better Programmer (Day: 2)
Tags: rant, tryrestart
Published: 2019-08-07 00:41:56

Warning below is not about code, check back tomorrow on Day 3 to follow some code.

 
Today, now today was different, I did some code as I said I would. However nothing really stood out for me so I am not going to be sharing code today I want to talk about people, people that hide behind keyboards. No, this isn't going to be a bash post but an informative one. Today I watch a mentor of mine go outside of his box and get ripped on by some internet trolls (yes I know its the internet). I guess I had in my head (don't know why) that programmers were different at least to one another, other than the side remarks about the "terrible language" they use (you know the one 😉). I want to personly say Thank you to every single programer that I have had the pleasure of dealing with face to face or internet, everyone the I have interacted with has been nothing but high class, this has been going on for more than 4years since I joined my first coding website. Unfortunately I woke up and realized that I am not in this fantasy world, but I am sure going to control what I can and make sure the interactions I have will only be kind... unless warranted.
How To Use Puppeteer With Jest & TypeScript
Tags: softwareengineering, testing, technology, programming
Published: 2020-02-12 21:35:49

---
title: How To Use Puppeteer With Jest & TypeScript
published: true
date: 2019-08-07 00:21:27 UTC
tags: software-engineering,testing,technology,programming
canonical_url: 
---

[![](https://cdn-images-1.medium.com/max/2600/0*hUm32WTpY-gfXrfM)](https://medium.com/better-programming/how-to-use-puppeteer-with-jest-typescript-530a139ffe40?source=rss-3a534b5053e6------2)

Automate and test everything in Chrome

[Continue reading on Better Programming »](https://medium.com/better-programming/how-to-use-puppeteer-with-jest-typescript-530a139ffe40?source=rss-3a534b5053e6------2)
Resuming an old project
Published: 2019-08-06 21:49:58

So it turns out that getting back to a project you haven't touched in weeks, gives you a feeling that is eerily similar to the one you get when you load up the save file for a game you haven't played in months  or a TV Series you haven't been keeping up with, only to be reminded how much you've forgotten the controls and that so-and-so character is now the villain.

The project in question was a website with statistics on top performing players in the Top 2 tiers of English Football (Premier League and Championship). The technologies used were HTML, CSS, SASS, JavaScript and Photoshop.  

At the time of creating the project, I wanted to practice using NPM and SASS for a project and combining it with my love of football, and felt this would be a perfect way to do that. Anyway, as with most projects, I left it on the backburner  to start a completely new project. Basically, every day I wasn't completing this project, I felt a sort of guilt and regret as well as feeling that the skills I gained learning NPM and SASS were slowing fading away.

So, how did I overcome this? Well, I carried on with the project as if I never left. I know, it's such an underwhelming answer. But the reason is, every time I thought to myself that I spent too much time away from the project to remember how to write mixins in SASS or that whether or not I should carry on with a brand new project, I wasted even more time. This led me to spend days re-learning things like built-in SASS functions and NPM Scripts just to make sure I remembered each concept for when I resumed the project. 

I feel like it's actually a lot more beneficial to dive back into the project as the concepts actually came back to me whilst I was coding, in addition to re-reading the code I wrote when I last did the project. I also found it super helpful to reference the official documentation.
Let's do something about impostor syndrome 
Tags: discuss, community
Published: 2019-08-06 23:45:51

I see a lot of recent posts around impostor syndrome and it seems like many folks have it one way or the other. What many people don't see is that this is very common amongst DEV community (pardon the pun) and it's not just them.

A few examples 👇🏽:

{% link https://dev.to/kaydacode/imposter-syndrome-anxiety-me-5372 %}

{% link https://dev.to/aspittel/three-tips-for-managing-impostor-syndrome-2f14 %}

{% link https://dev.to/ice_lenor/one-useful-advice-to-fight-the-impostor-syndrome-3p8 %}

{% link https://dev.to/avatarkaleb/battling-imposter-syndrome-by-understanding-the-dunning-kruger-effect-904 %}

{% link https://dev.to/helenanders26/how-im-dealing-with-imposter-syndrome-and-stress-4fdm %}

And many more.


So I thought let's do something about it. I want to create a GitHub repo where people can create a PR stating they are going through impostor syndrome or have had it in the past (with a bit of background or just their name).

This way people can have a look at this repo, see (possibly some big) names and tell themselves that they are not alone and hopefully this will change their mood a bit.

Here is a link to the repo:

{% github yashints/impostor-syndrome %}
Feeling like you'll never get another Front End Job without knowing React. Can you relate?
Tags: career
Published: 2019-08-06 23:18:23

I have been a Front End Developer for 4 years. Prior to switching careers 4 years ago I had no development experience at all.

When I was hired for my first job I literally only knew HTML and vanilla CSS. No JS, no Sass, no Git, never worked in a VM, never worked with a CMS,nothing.

Over the years I've gotten really good at CSS/Sass, care deeply about accessibility, can pick up just about any template language, and can do a fair amount of interactive JS (DOM manipulation). I've built websites large and small and worked on a variety of teams with a variety of people.

I've been doing this for 4 years and to be honest most days I still use mostly HTML and CSS to build most things. 

But more and more I'm feeling the world closing in around me. I feel like job descriptions tell me that unless I can build the same component that I could easily build with HTML and CSS with React or Vue then I'm useless and obsolete. 

And I'm starting to believe it and feel it. I am working to improve my JS skills, but it never feels good enough or fast enough. I try to have a life outside of work so I'm not always coding or doing a bunch of side projects. Admitting that I'm not working on a side project at all times makes me feel like I'll be judged. Deemed "not a true developer" because I don't want to code 24/7 and have other hobbies.

I just feel like my confidence is totally drained and I'm teetering on burnout.

Do any other Front End Developer feel this way?
Follow along stream of a side project
Tags: firebase, react, javascript, nextjs
Published: 2019-08-06 22:40:41

---
title: Follow along stream of a side project
published: true
description: 
tags: firebase, react, javascript, nextjs
---

Hey i'm thinking of doing a live stream while I build out an idea for a side project.

stack: nextjs, react, firebase

concept: a travel journey focused on writing 
set apart: not focused on image only, focus on wysiwyg experience over twitter style limit.

not sure how far i'll get tonight

50 replies and i'll start a live stream!

About me: 10y dev experience, 3y with react 😁 arright
The Next Step in Modular Programming
Tags: webdev, javascript, git, components
Published: 2019-08-06 22:11:47

Modularity is important, there's no doubt about it. Modular code allows for separation of concerns, code reusability, easier maintenance, easier collaboration, easier testing and debugging,  and the list goes on and on. 

Frontend components, microservices, functional programming, micro-frontends, etc. -  these are all manifestations of that crucial concept. They exist because the idea of modularity is acknowledged and embraced by the community.

On the other hand, we see symptoms of monolithic code everywhere. Modifying code is a terrifying thing - you change one thing and the whole thing collapse (remember "Stackers"?). Incorporating new members in a dev team is a difficult enterprise. Collaborating on individual pieces of code (in isolation) is extremely difficult. We spend too much time on either building things from scratch or packaging code for re-use. 

So, what's really going on?

Our current version control systems are simply not fit for a truly modular code. We can write our code as modular as we possibly can but it will all be in the same monolithic repository (and not so modular). We may choose to turn to multiple repositories in an aim to make our code truly modular but we know the nightmare that awaits us if we so choose.

There are several attempts to solve the problem of monolithic repositories ([Lerna](https://lerna.js.org/), [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules), etc.) but, IMHO, they are still far from what should be an easy, intuitive and seamless workflow of building, collaborating and consuming multiple components or modules in multiple projects (each of these projects may have its own single repository but it should only represent a particular combination of truly independent modules).

There are other new platforms and tools that aim to solve that problem ([Bit.dev](https://bit.dev/), etc.) - time will tell if they manage to give a more complete solution.
Git aliases I can't live without
Tags: git, bash
Published: 2019-08-06 21:56:55

---
title: Git aliases I can't live without
published: true
description: 
tags: git, bash
---

I try to avoid using aliases in my daily shell usage. I've taught using Git for over a decade now and I don't want to have to translate `gup` to `git fetch && git rebase` or `gcp` to git cherry-pick`. I've got [completion][] installed and use it, but at least this way I'm seeing the commands that are being used so I keep that muscle memory fresh.

That's not to say I don't use _any_ aliases. I constantly trip myself up on new machines because I've come to expect `git st` or `git di` to be aliased to `git status` or `git diff` (some Subversion habits die hard). There are a couple that I've recently added that I find myself reaching for multiple times a day.

Everything builds off of `git delete-merged`. It's a simple alias that runs this command (full aliases below):

`git branch --merged | grep -v '^\*' | xargs git branch -d`

This takes the list of all branches, filters out the current branch, then run `git branch -d` on the resulting list. On top of that, I also added `pad` and `fad` aliases that refer to pull or fetch and delete. Couple that with `--prune` and I can keep my local Git repository and branches in check.

Here's [a gist][1] with all of my aliases:


{% gist https://gist.github.com/tswicegood/cd5495fd1e7b3e7efb8ea3b5c9c6610c %}

Hope you found this useful!


[1]: https://gist.github.com/tswicegood/cd5495fd1e7b3e7efb8ea3b5c9c6610c
[completion]: https://github.com/Bash-it/bash-it/blob/master/completion/available/git.completion.bash
Weeknotes - 10 Makers
Tags: bootcamp, beginners, improvisation
Published: 2019-08-06 21:31:40

---
title: Weeknotes - 10 Makers
published: true
description: Reflections on the past week at Makers Academy
tags: bootcamp, beginners, improvisation
series: Makers weeknotes
---
 
# Week 10

Tech tests, reviews, practise interviews, algorithms... it ended up being such a busy week I ran out of time to write about it! 
 
## Review
 
Part of the Makers process includes a review.  Students practise their developer process throughout the course, and during week 10 we're invited to attend a process observation with a coach, and to book a review.  The review involved a non-technical spec with not much information ('build a *thing*`), so the reviewee has to probe to get the information needed to start designing and coding.
 
I was pleased with how I demonstrated good process in writing code that was easy to change, using an agile development process, refactoring, and debugging!  With the help of the review feedback I will make opportunities to become faster at writing code, practise modelling and, explain the rationale of my decisions (rather than articulating _what_ I am doing, explaining _why_).  The easiest win I learned from the review process was about prioritisation of building program logic in balance with the quality of my code (I simply love style guides, sorry not sorry).  Programming decisions are rarely black-and-white, and context has to be taken into consideration each time you plan or make a feature; by putting acceptance criteria highest on my to do list (and worrying about linting less often) I will hone my craft way more efficiently.
 
## Improvisation Workshop
 
Makers held an improvisation workshop, led by improv comic, developer, Makers student and my cohort pal, Rhys Collier!  Rhy's workshop was great fun and filled the 'Joy Room' with laughter.  Having done some improvisation in the tap dance realm before, I was curious in how this spoken approach would compare.  The skills which have everyone working smoothly together are pretty much the same; eye contact, gesture, listening, adapting, and even rhythm.  We created stories together in groups and pairs, and the perculiar directions the stories would take was naturally funny, sometimes childlike, and mostly silly!
 
I had a right laugh and would recommend everyone to give it a try, even (especially) if the thought of this is terrifying! :unicorn:
 
## Misc.
 
:rose: Sandi Metz's talk [All the Little Things](https://www.youtube.com/watch?v=8bZh5LMaSmE) is a great look at the Gilded Rose kata
 
:heart: Big love to Jodi from Makers for taking care of me with an ergonomic mouse
 
:raised_hands: shout out to Becks from Makers who gave me a huge boost this week
 
:scream_cat: you don't need a face swapping app to swap faces with your good friends
 
:eagle: eagles are amazing
Creating a simple class in python.
Tags: replit, python
Published: 2019-08-06 21:31:28

---
title: Creating a simple class in python.
published: true
tags: replit, python
---

For me, this is just a one out of a thousand steps in life. Hope you will enjoy coding practice and challenge where possible.

{% replit @timmndirangu/PerfumedOliveConversions %}
JAMstack Roundup for August 6th 2019
Tags: graphql, react, redux
Published: 2019-08-06 21:23:30

# Here are 5 great reads we're bringing to you this week! #

1. [What has my attention in 2019?](https://dev.to/michaelfriedman/what-tech-has-my-attention-in-2019-4bj4?utm_source=dormosheio&utm_campaign=dormosheio)

    From React to GraphQL to Redux, today’s technologies you need to know to stay 🔛🔝.

2. [Demystifying JAMstack: An Interview With Phil Hawskworth](https://www.smashingmagazine.com/2019/05/demystifying-jamstack-interview-phil-hawskworth/)

    Recent JAMstack London co-host 🎤, Phil Hawskworth talks about the strategies to make building for the web simpler, faster, and more secure 🔒.

3. [Modern React testing, part 1: best practices](https://blog.sapegin.me/all/react-testing-1-best-practices/)

    An in-depth snapshot 📸 of the current state of testing React components and frontend in general, explaining many whys, not just hows.

4. [Five Common Problems in GraphQL Apps (And How to Fix Them)](https://www.freecodecamp.org/news/five-common-problems-in-graphql-apps-and-how-to-fix-them-ac74d37a293c/)

    Learn to unlock the power 💪 of GraphQL’s elegant approach by avoiding these development mistakes.

5. [Bringing JAMStack to the Enterprise](https://www.infoq.com/presentations/jamstack-enterprise/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global)

    Some of the challenges PayPal faced with their Node.js application servers and why the JAMstack approach improves 🛠 performance for both their apps and their developers 👩‍💻👨‍💻.
SSH Local Port Forwarding
Tags: ssh
Published: 2023-01-06 01:59:45

---
title: SSH Local Port Forwarding
published: true
date: 2019-08-06 20:50:00 UTC
tags: SSH
canonical_url: https://brandonrozek.com/blog/sshlocalportforwarding/
---

There are some services that I don’t want to run all the time which makes me not want to open a port for it. One good example of this is [Jupyter Notebooks](https://jupyter.org/). Therefore, what I sometimes do is run it locally and forward the port so that another machine can access it.

Example command:

```
ssh -L 8888:localhost:8888 -N 192.168.0.2

```

The `-L` flag allows you to specify the `localsocket:host:remotesocket`.

`-N` makes it so that it doesn’t execute any additional commands

Then finally you put the address of the machine you wish to connect to.
[Video] How Linters, Compilers & Other Cool Things Work
Tags: video, ast, javascript, cascadiajs2018
Published: 2019-08-06 20:45:42

---
title: [Video] How Linters, Compilers & Other Cool Things Work
published: true
description: Step inside your everyday JavaScript tools, and you’ll find the abstract syntax tree. With the AST, let’s discover how our tools work, how we can extend them, and build a better understanding of computer language along the way.
tags: video, ast, javascript, cascadiajs2018
---
*As we lead up to [CascadiaJS 2019](https://2019.cascadiajs.com), I'm going to share the 24 amazing talks from 2018 here on dev.to. Sit back and enjoy the show!*

# Will Klein
![Will Klein](https://2018.cascadiajs.com/speakers/will.jpg)

Step inside your everyday JavaScript tools, and you’ll find the abstract syntax tree. With the AST, let’s discover how our tools work, how we can extend them, and build a better understanding of computer language along the way.

[Watch the talk on YouTube (21:29)](https://www.youtube.com/watch?v=JMqZgUNkqgk)
Stuff I've Learned About Managing My Anxiety While Learning to Code
Tags: beginners, webdev, mentalhealth
Published: 2019-08-06 19:49:00

**A little blog post about mental health, coding, and being kind to yourself.** 

I’ve been at a Bootcamp for about 4 months. It’s been rewarding, a struggle, and *very* humbling.

As a person who has anxiety, Bootcamp has been an uphill battle; yet it’s also taught me ways to manage my mental health. There are some of you out there who also struggle with this, and don’t want to share, but I’m here to help y’all out! (Because I was also one of those people).

Here are some things that I’ve learned recently, and have helped me **so much**. I want to share ‘em, even it only helps one person. 

**So, in the words of Mario, here we go!**

One thing I’ve found that works wonders is having a designated space for coding. This helps get into - and out of - the coding zone. I would usually work in my bedroom or living room since it’s where I hang out the most. But, it’s important to have a space that is for you to relax and enjoy your time with family, friends, and Netflix.

**It’s okay to take a break** 

It's not useful to stress about your app not working, or getting frustrated by not being able to solve a problem. Clear your head, change the scenery (!), and grab a drink of your favorite beverage (mine is Coca Cola). What has helped me out a lot is meditation. This doesn’t have to be a long 20-minute session with crystals and incense. It only takes 5 minutes to help you relax and calm that anxiety and frustration! I usually use a guided meditation, and my favorite app for this is Stop, Breathe & Think!

**Remember that everyone is on their own coding journey** 

It might take you longer than others to understand constructors (guilty!), or figuring out how CSS positions work (also extremely guilty!). I know as a newbie, I compare myself to my peers far more than I should. And I have to remind myself every day that coding is a journey and not a destination (very corny but true!).

So, I hope this helps you out! Remember, be kind to yourself; you got this!
A rap song about sales saying yes to stuff before talking to devs
Tags: showdev, discuss, culture
Published: 2019-08-06 19:36:57

---
title: A rap song about sales saying yes to stuff before talking to devs
published: true
description: https://www.youtube.com/watch?v=nVWjcudK-2w
tags: #showdev, #discuss, #culture
---

Song url: https://www.youtube.com/watch?v=nVWjcudK-2w

Quick background on the project: I'm a full time programmer and I love making rap music. I see a lot of humor in the profession/industry, and thought it would be fun to combine the two.

I'm always open to feedback and collaboration (currently in CO, would love to work with a videographer to make a music video)!
Which Linux distribution is your favorite and why?
Tags: discuss, linux
Published: 2019-08-06 19:19:15

---
title: Which Linux distribution is your favorite and why?
published: true
description: Not to start a war but...
tags: discussion, linux
cover_image: https://i.ibb.co/j345yFW/linux-PNG29.png
---

Two years ago, I installed Ubuntu on my school/dev laptop to force myself to learn computer fundamentals and powerful tools. So far it proved a really good move. Recently, I discovered [distro watch](https://distrowatch.com/) and it inspired me this question: 

**Which Linux distro is your favorite and why ?**