teleren/devto huggingface dataset:
Use Prettier with TSLint and be happy
Tags: typescript
Published: 2017-12-04 14:48:57

---
title: "Use Prettier with TSLint and be happy"
published: true
tags: TypeScript
canonical_url: http://alexjoverm.github.io/2017/06/12/Use-Prettier-with-TSLint-and-be-happy/
---

[Prettier](https://github.com/prettier/prettier) support for [TypeScript](https://www.typescriptlang.org/) just landed. Let’s see how [tslint-config-prettier](https://github.com/alexjoverm/tslint-config-prettier) helps to seamlessly combine it with [TSLint](https://palantir.github.io/tslint/).

**_Wait, a video explaining “Use Prettier with TSLint”?_ Yes! Check it out on [Egghead.io](https://egghead.io/lessons/typescript-use-prettier-with-tslint-without-conflicts-c39670eb)!**

Recently, [@vjeux](https://twitter.com/Vjeux), one of the authors of Prettier, announced TypeScript support in the following tweet:

> 
<script async defer src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

That’s pretty amazing! I’ve just went and tried it out. I was so impressed by how magic the experience was that I’ve [completely removed TSLint](https://twitter.com/alexjoverm/status/871765191721197568) from [TypeScript library starter](https://github.com/alexjoverm/typescript-library-starter).

## The problem

Prettier and TSLint collide, since they both take care of formatting. For the following code, TSLint will give us the error `[tslint] Multiple spaces found before '{'. (no-multi-spaces)`:

```
class DummyClass { food = 'sandwitch'}
```

But, when we run Prettier, the code is automatically formatted:

```
class DummyClass { food = 'sandwitch'}
```

This makes the workflow pretty useless, since we’re getting linting errors that Prettier will solve.

## The solution

It’s very simple:

> Let Prettier take care of code formatting, and TSLint of the rest

That’s why I’ve created [tslint-config-prettier](https://github.com/alexjoverm/tslint-config-prettier). It disables all TSLint formatting related rules, as well as for [tslint-react](https://github.com/palantir/tslint-react) and [tslint-eslint-rules](https://github.com/buzinas/tslint-eslint-rules).

The installation is straightforward, once you setup [TSLint](https://palantir.github.io/tslint/) and [Prettier](https://github.com/prettier/prettier):

```
npm i -D tslint-config-prettier
```

Add it to the end of your `tslint.json` file:

```
{ "extends": ["tslint:latest", "tslint-config-prettier"]}
```

Now we can use Prettier and TSLint without any problem!

 ![Using Prettier](http://alexjoverm.github.io//2017/06/12/Use-Prettier-with-TSLint-and-be-happy/prettier.gif "Using Prettier")

I must thank [@vjeux for pointing me out](https://twitter.com/Vjeux/status/871796320792608768) to this solution and [@JBlack](https://twitter.com/JBlaak) for the time to [review tslint-config-prettier](https://github.com/alexjoverm/tslint-config-prettier/pull/1).
Hi, I'm sinanazakli
Tags: introductions
Published: 2017-06-13 09:16:41

---
title: Hi, I'm sinanazakli
published: true
description: My introduction post
tags: introductions
---

I have been coding for 3 years.

You can find me on GitHub as [sinanazakli](https://github.com/sinanazakli)

I live in Frankfurt.

I am currently learning more about PHP, cakePHP, Bootstrap.

Nice to meet you.
Hi, I'm Andrzej Brandt
Tags: introductions
Published: 2017-06-13 07:54:31

---
title: Hi, I'm Andrzej Brandt
published: true
description: My introduction post
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [anbrandt](https://github.com/anbrandt)

I live in KrakÃ³w.

I am currently learning programming in Java

I mostly program in these languages: Java and Javascript.

I am currently learning more about Java.

For about two months i have been running a blog Web Dev To Be - webdevtobe.pl. The blog documents my way to became a software developer. It is mostly written in polish. 


Nice to meet you.
Hi, I'm Gabriele Giuranno
Tags: introductions
Published: 2017-06-13 07:37:08

---
title: Hi, I'm Gabriele Giuranno
published: true
description: My introduction post
tags: introductions
---

You can find me on GitHub as [giordan83](https://github.com/giordan83)

I live in Milan (Italy).

I mostly program in these languages: php, javascript, bash.

I am currently learning more about docker, linux, symfony.

Nice to meet you.
Hi, I'm Jessica Barnes
Tags: introductions
Published: 2017-06-13 07:03:59

---
title: Hi, I'm Jessica Barnes
published: true
description: My introduction post
tags: introductions
---

I have been coding for [3] years.

You can find me on GitHub as [jessicabarnesvc](https://github.com/jessicabarnesvc)

I live in [New York].

I work for [Hire Laravel Developer]

I mostly program in these languages: [laravel].

I am currently learning more about [Laravel 5.0].

Nice to meet you.
Hi, I'm EliÅ¡ka
Tags: introductions
Published: 2017-06-13 06:00:56

---
title: Hi, I'm EliÅ¡ka
published: true
description: My introduction post
tags: introductions
---

I have been coding for [3] months.

You can find me on Twitter as [@achanojsemblond](https://twitter.com/achanojsemblond)

I live in [Prague].

I work for [Adastra]

I mostly program in these languages: [Python, Swift 3].

I am currently learning more about [Swift 3].

Nice to meet you.
Hi, I'm Pavan Kumar N
Tags: introductions
Published: 2017-06-13 02:00:42

---
title: Hi, I'm Pavan Kumar N
published: true
description: My introduction post
tags: introductions
---

I have been coding for 10 years.

You can find me on GitHub as [codenpk](https://github.com/codenpk)

I live in [bengaluru].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.
New Computer, New Dev Environment
Tags: beginners, ruby, setup, macos
Published: 2017-06-12 20:39:12

---
title: New Computer, New Dev Environment
published: true
description: I got a new machine; great! Wait, how do you install [everything] again?
tags: beginners, ruby, setup, macos
---

So I recently got my first ever new MacBook Air! Yay! But I had to go through setting up everything again... Well, much like [previous posts about setting up dev environments](https://dev.to/jess/getting-my-dev-environment-set-up-again-my-day-in-dependency-hell), I also experienced a bit of hell figuring out every little thing. As much as I wanted to blame the computer though, I knew it was just me because I forgot a lot about how to do it. So here I am writing this for my future self, in case I ever have to do it again, and also for anyone else who might have to do it.

##The Basics

Being a TA at Actualize helped me remember a bit about setting up my environment. There was [an awesome guide I could follow](https://gorails.com/setup/osx/10.12-sierra), and I initially wanted to just get the basics. In this case, the basics meant anything that I needed to work:
- Chrome
- Slack
- Atom
- Homebrew
- Correct Ruby version
- Rails
- PostgreSQL
- Git setup
- Terminal settings
- Atom packages (Linter, Emmet, ERB-snippets for Rails, etc)

Chrome, Slack and Atom were pretty straightforward, and the Go Rails guide made installing the others pretty easy. I went through similar hell as Jess did in the above post with `rbenv`, and thankfully fixed it after a good amount of Googling. Great! Everything's done... right?

Lo and behold, I had a few missing quality-of-life settings. I didn't have Terminal or Git auto-complete. Good thing my brain reminded me to just copy my old dot files (.bash_profile, .inputrc, for example) from my old machine and we should be good.

And done! I think. There's still that nagging feeling that I'm missing something, but it'll probably be there until I get comfortable typing on this computer.

Here's my `.bash_profile` for anyone interested:

```bash
# Show what Git branch you're on in command line
parse_git_branch() {
    git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\033[36m\]\w\$(parse_git_branch)\[\033[0m\] $ "
# git auto complete commands and branch names
if [ -f ~/.git-completion.bash ]; then
  . ~/.git-completion.bash
fi
# fix rbenv shell command
eval "$(rbenv init -)"
```

And my `.inputrc` for auto-complete with bash:
```
set completion-ignore-case on
TAB:menu-complete
```

##Never ending list of additions:

- Emmet and Atom sometimes don't play nice with their auto-complete. To fix, go to settings bar: Atom -> Keymap... and paste the following:
`'atom-text-editor[data-grammar="text html ruby"]:not([mini])':
    'tab': 'emmet:expand-abbreviation-with-tab'`
Restart and tabbing with .html.erb files should work. (For those not using Ruby, you can just delete `[data-grammar="text html ruby"]`.)
Pair Programming with a visually impaired programmer
Tags: discuss, pairprogramming, a11y
Published: 2017-06-12 19:52:07

---
title: Pair Programming with a visually impaired programmer
published: true
tags: discuss, pair programming, a11y
---

I'm visually impaired. I've never felt like this would be something that hindered me much in programming. But I've been thinking about pair programming lately. I've never done it, apart from a short session where I was helping someone implement a game in Java.

We used [Floobits](https://floobits.com/) Which basically allows Google Docs-style collaboration across editors. It worked great, but since I use a [screen magnifier](https://dev.to/_bigblind/how-to-make-your-website-accessible-to-people-who-use-a-screen-magnifier), and not all of the screen is visible to me, there was often extra communication necessary to communicate where in the code changes were being made.

Do you have any experience in pairing as/with someone with a visual or other impairment? Are there things I can do to improve the experience?
Hi, I'm RhenanScheiblich
Tags: introductions
Published: 2017-06-12 19:32:47

---
title: Hi, I'm RhenanScheiblich
published: true
description: My introduction post
tags: introductions
---

I have been coding for [23] years.

You can find me on Twitter as [@Rhenanteixeira](https://twitter.com/Rhenanteixeira)

I live in [Curitiba].

I work for [Contraktor]

I mostly program in these languages: [React, Redux, PHP, Angular, Python and Java].

I am currently learning more about [topic].

Nice to meet you.
Hi, I'm Dominic Nguyen
Tags: introductions
Published: 2017-06-12 17:12:21

---
title: Hi, I'm Dominic Nguyen
published: true
description: My introduction post
tags: introductions
---

I live in San Francisco and do product design at Chroma. I âœï¸ on design, UI engineering, and sometimes motorcycles. Previously @meteorjs, @percolatestudio partner, and @yummly.


Nice to meet you.
Hi, I'm Luke Floden
Tags: introductions
Published: 2017-06-12 16:38:43

---
title: Hi, I'm Luke Floden
published: true
description: My introduction post
tags: introductions
---

I have been coding for 4 years.

You can find me on GitHub as [bionboy](https://github.com/bionboy)

I live in Louisville, KY.

I mostly program in these languages: C, C++, Java, Python.

Nice to meet you.
Hi, I'm Sonal
Tags: introductions
Published: 2017-06-12 13:19:45

---
title: Hi, I'm Sonal
published: true
description: Introduction :>
tags: introductions
---

I have been coding for 2 years.

You can find me on Twitter as [@_grepme](https://twitter.com/_grepme)

I live in [Leeds].

I w

I mostly program in these languages: [c#, java, python].


Nice to meet you.
Hi, I'm Ed Tee
Tags: introductions
Published: 2017-06-12 10:59:01

---
title: Hi, I'm Ed Tee
published: true
description: My introduction post
tags: introductions
---

I have been coding for 18 years and recently started PropertyWebBuilder - the leading open source real estate website tool.  Always on the lookout for collaborators.

You can find me on GitHub as [etewiah](https://github.com/etewiah)

Nice to meet you.

![Ed Tee](https://thepracticaldev.s3.amazonaws.com/i/joxc22jw8bf85ky6brv9.png)
Kanban board: the way to organize your work even outside the agile project.
Tags: kanbanboard, organizingtasks, jumpstart
Published: 2017-06-12 10:37:24

---
title: "Kanban board: the way to organize your work even outside the agile project."
published: True
description: 
tags: Kanban board, organizing tasks, jumpstart
cover_image: https://upload.wikimedia.org/wikipedia/commons/d/d3/Simple-kanban-board-.jpg
---

This post was originally published [here] (https://jumpstart.blog/2017/06/12/the-benefits-of-kanban-board-even-outside-an-agile-project/).

My company uses IBM DOORS connector for JIRA to simplify requirements tracking process. However, the way requirements are transferred to JIRA from DOORS makes it hard to say what the requirement is about. So when I was looking for a way to view the actual requirement my project manager told me about a possibility to create a Kanban board in JIRA.

It took me a moment to actually pick up the tool - I used the old way coz I've got no idea how to set up the board, then I waited for permission from JIRA admin... The regular corporate way... But when I finally set up my first Kanban board I instantly fell in love. Really... (James, if you'll ever read this: thanks a bunch!)

##So why to use a Kanban board even outside any agile methodology?

Even though the main purpose of Kanban was to view the requirements without opening them in a new tab the first thing I've noticed is that it's extremely easy to read and helps me manage my tasks without them going awry.

If you are interested what Kanban board can do for you (even outside the agile process and without JIRA) here are the pros of Kanban board:

Kanban board is based on a very simple idea. Its shows the workflow in an easy to read, visual way
Kanban enhances just-in-time management system (JIT) of producing only what is required, exactly when it is required and delivered exactly where it is required on time.
The board gives you a visual sign indicating you can start new work.
It helps you remember to start with what you do now and focus on tasks at hand.
It limits work in progress, so it keeps you from working on too many tasks at once.
When you look at properly set up kanban board you know the context of the task i.e. the deadline, project, dependencies, etc:
You can add as many columns as you want (The easiest is well-known SCRUM flow: TODO, In Progress, Done) but you can add fields such as review, integration, closed etc ;) Whatever you feel is needed so you can see what's in what stage of work.
You can divide vertical columns into swimlanes indicating, for example, the due date, story, project or whatever else you want so that you have your work divided into meaningful chunks instead of a long list of TODO tasks without the context.
You can customize task cards by adding colors to them - for whatever purpose you want ;)

Kanban board can be easily applied in any management system in the world of software development. I believe it helps you avoid mind wrestling with remembering what to do first and helps concentrate on important tasks so if you have a possibility try it, even if you're not a part of a SCRUM or Kanban team ;)
Hi, I'm Nithin c s
Tags: introductions
Published: 2017-06-12 10:11:49

---
title: Hi, I'm Nithin c s
published: true
description: My introduction post
tags: introductions
---

I have been coding for 2+ years.

You can find me on Twitter as [@CSNithin](https://twitter.com/CSNithin)

I live in Cochin.

I work for [company]

I mostly program in these languages: [Node.js, PHP, JavaScript].

I am currently learning more about [GraphQL, React].

Nice to meet you.
Hi, I'm kajan Thadsanamoorthy
Tags: introductions
Published: 2017-06-12 09:50:20

---
title: Hi, I'm kajan Thadsanamoorthy
published: true
description: My introduction post
tags: introductions
---

I have been coding for 6 years.

You can find me on Twitter as [@kajantmoorthy](https://twitter.com/kajantmoorthy)

I live in Colombo, Sri Lanka.

I work for IncubateLabs

I mostly program in these languages: PHP, HTML, JAVA, C#.

I am currently learning more about Laravel framework.

Nice to meet you.
Hi, I'm Dennis van Dalen 🍓
Tags: introductions
Published: 2017-06-12 09:22:55

---
title: Hi, I'm Dennis van Dalen ðŸ“
published: true
description: My introduction post
tags: introductions
---

I have been coding for like 10 years.

You can find me on Twitter as [@iEatsALot](https://twitter.com/iEatsALot)

I live in Groningen.

I work for Peperzaken. 

I mostly program in these languages: Kotlin, Java.

I am currently learning more about everything :)

Nice to meet you.
How do I add Power BI data to a webpage?
Published: 2017-06-12 08:00:05

---
title: How do I add Power BI data to a webpage?
date: 2017-06-12 08:00:05 UTC
published: true
canonical_url: https://www.funkysi1701.com/posts/how-do-i-add-power-bi-data-to-a-webpage-49f1
description: Last week I talked about Power BI, what it is and some of the different services you can use with it. This week lets add some of that data to a simple web page.

---

Last week I talked about [Power BI](https://www.funkysi1701.com/2017/06/05/businessintelligence/), what it is and some of the different services you can use with it. This week lets add some of that data to a simple web page.

For this example I am going to add the google analytics data from this website to this page.

First login to your Power BI https://app.powerbi.com/

Click the get data link at the bottom left.

Click My Organisation to bring up the app search box.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/46c1lyxy053xcq66fowf.jpg)

Click the Apps tab and search for “google” in the search box, you should then see Google Analytics, click into this and then click the get it now button.

Log into your google account. If you  have multiple google accounts I found it worked best to sign out of all of them or run this in an incognito window.

Once you are signed in you should see a list of the different google analytics data you have, select the one you want to use and click import.

Power BI will then go away and start loading the data.

Once loaded go to Reports and select the Google Analytics that has been loaded. If you have more than one, it is a good idea to rename each one eg Corporate Site Google Analytics, Blog Google Analytics so you won’t get mixed up.

In the file menu select Publish to web and agree that you are OK for this to be made public.

You will then be given a piece of HTML code that starts with <iframe copy this onto your web page. Reload your webpage and you should see something similar to mine below.

It should be noted that while you can but the webpage containing the iframe behind a login page, the data could still be accessed if you knew the url contained within the iframe, this is why the link can be emailed and continue to work.
Hi, I'm LEo
Tags: introductions
Published: 2017-06-12 03:50:57

---
title: Hi, I'm LEo
published: true
description: My introduction post
tags: introductions
---

I have been coding for [2] years.

You can find me on GitHub as [songleo](https://github.com/songleo)

I live in [Xi'An].

I work for [JHInno]

I mostly program in these languages: [golang].

I am currently learning more about [golang].

Nice to meet you.
Hi, I'm Ano Newb
Tags: introductions
Published: 2017-06-12 03:40:48

---
title: Hi, I'm Ano Newb
published: true
description: My introduction post
tags: introductions
---

I have been coding for 2 years.

You can find me on GitHub as [anonewb](https://github.com/anonewb)

I live in Mumbai.

I work as Student

I mostly program in these languages: JS.

I am currently learning more about JS frameworks.

Nice to meet you.
Hi, I'm Carlos Ponce
Tags: introductions
Published: 2017-06-12 03:11:51

---
title: Hi, I'm Carlos Ponce
published: true
description: My introduction post
tags: introductions
---

I have been coding for 5 years.

You can find me on Twitter as [@inmortalnet](https://twitter.com/inmortalnet)

I mostly program in these languages: java, javascript, c#.

I am currently learning more about kotlin.

Nice to meet you.
Journey Awaits
Tags: introductions
Published: 2017-06-11 23:55:48

---
title: Journey Awaits
published: true
description: My introduction post
tags: introductions
---

Hi Yakovmeister here,

You can find me on Twitter as [@yakovmeister](https://twitter.com/yakovmeister)

I live in Cebu City, Philippines.

I work... do I?

I mostly program in these languages: PHP, JS.

I am currently learning more about C, ES6, etc.

ã‚ˆã‚ã—ããŠã­ãŒã„ã—ã¾ã™ã€‚
Hi, I'm Santiago Frias
Published: 2017-06-11 22:14:23

---
title: Hi, I'm Santiago Frias

published: true

description: Technician, programmer, loves nature, astronomy & music (midi keyboard & samplersclassic guitar)

tags: #GDGTarragona #Overtime #Dart #C #linux #kernel #ia #ar
---

I have been coding from 1985 as a hobby, really I'm electrician.

You can find me on GitHub as [sfrias](https://github.com/sfrias)

I live in Tarragona.

I work for two big companies, also owner for some startup projects

I mostly program in these languages: embeddedC, Cpp, Dart, Python, Java ...

I am currently learning more about operative systems and POSIX, centered in Linux Kernel.

Nice to meet you.
Hi, I'm Patrick Alessi
Tags: introductions
Published: 2017-06-11 13:13:05

---
title: Hi, I'm Patrick Alessi
published: true
description: My introduction post
tags: introductions
---

I have been coding for many, many years.

You can find me on Twitter as [@pwalessi](https://twitter.com/pwalessi)

I live in Charleston, SC.

I work for Booz Allen Hamilton

I mostly program in these languages: Java these days.

I am currently learning more about Big Data and Machine Learning.

I've published 3 books on iOS development.

Nice to meet you.