teleren/devto huggingface dataset:
Boost Your Coding Fu With Visual Studio Code and Vim - The Book
Tags: showdev, vscode, vim, webdev
Published: 2019-03-05 08:44:32

---
title: Boost Your Coding Fu With Visual Studio Code and Vim - The Book
published: true
description: Whereby I launch a new book on VSCode and Vim
tags: [showdev,vscode,vim,webdev]
series: "Exploring Vim"
cover_image: https://thepracticaldev.s3.amazonaws.com/i/8nn3oh5nai163d1p58wh.jpg
canonical_url: https://www.barbarianmeetscoding.com/blog/2019/03/05/boost-your-coding-fu-with-vscode-and-vim-the-book/
---


Hello! :D

Some weeks ago I wrote an article on how to improve your productivity with Visual Studio Code by using Vim titled: [Boost Your Coding Fu With Visual Studio Code and Vim](https://dev.to/vintharas/boost-your-coding-fu-with-visual-studio-code-and-vimboost-your-coding-fu-with-visual-studio-code-and-vim-502h) and it was much better received than I had ever expected so I though: *Hmm... Wouldn't it be cool to make it a short book that people can use as a guide into VSCodeVim*. And Tada! Here it is: **[Boost Your Coding Fu With Visual Studio Code and Vim](https://leanpub.com/boostyourcodingfuwithvscodeandvim)** - **The Book**. 

*Boost Your Coding Fu* is an improved and extended version of the original article for your enjoyment. A concise introduction to Vim in VSCode meant to get you over the initial hump and gliding into new lands of coding productivity.

![Boost Your Coding Fu With Visual Studio Code and Vim](https://thepracticaldev.s3.amazonaws.com/i/fazxpqc3ytqemrpomdyr.png)

It is about 90% complete and is [free to read online](https://leanpub.com/boostyourcodingfuwithvscodeandvim). Let me know what you think! Hope you like it!

> **UPDATE 12th July 2019: [The book is now complete!!](https://leanpub.com/boostyourcodingfuwithvscodeandvim). Wihooo!!. You can get it on [leanpub](https://leanpub.com/boostyourcodingfuwithvscodeandvim), [Amazon](https://amzn.to/2XLslvG) or [read it online for free](https://www.barbarianmeetscoding.com/boost-your-coding-fu-with-vscode-and-vim).**

*I started writing [Wizards Use Vim](https://leanpub.com/wizardsusevim) to take a break from the [JavaScriptmancy Series](https://www.javascriptmancy.com/). Then I started writing [a book on VSCodeVim](https://leanpub.com/boostyourcodingfuwithvscodeandvim) to take a break from [Wizards Use Vim](https://leanpub.com/wizardsusevim). Procrastinator level epic.*
Java Vs. Kotlin Which one is better for Android App Development?
Tags: javavskotlin, javavskotlinandroid
Published: 2019-03-05 07:33:45

---
title: Java Vs. Kotlin Which one is better for Android App Development?
published: True
description: Here we have collected all information associated with both programmes and show you the verdict between Kotlin vs. Java.
tags: Java Vs. Kotlin, Java Vs. Kotlin Android
---

{% twitter 1102803588198420480 %}

**Kotlin Vs. Java Which Is Better For Develop Android App?**
There is no doubt that Java has its place to compete, but with time we all need some advancement, and hence we always look for a better option in case if we can find it. So the question is which language one should pick; Kotlin or Java? Then the answer is here, but again the views are depended and changes person to person. Keep in mind that each language has its pros and cons, and at last, you have to decide that with all of these, which one you can handle well.

If I have to say in simple words then if you have a working knowledge of Java, then you can start with Kotlin to develop android apps. But if you are completely novice in the [Android App Development] (https://www.mindtechconsultancy.com/android-app-development) pick the Java as it is the bedrock of Android development.

**Java**
Sun Microsystems developed the Java which is an object-oriented programming language. And at present, it is owned by Oracle. It was introduced in 1991 and being such an old language; it has much more to offer for you. Even Java can offer you more job opportunity as all the time one do not want to develop android apps. As I said, it can let you open your wings and let you fly to another field. But we are here for android app development so let’s talk on it only.

**Kotlin**
Kotlin introduced in 2016, and at that time all the developers need a modern language for Android development that can add to the qualities of Java and aid in mobile development.  JetBrains created Kotlin which is an open-source language based on JVM. Due to its statically java based language, it can be compiled and interpreted with Java. It helps the developers to update the old Java apps easily, and one can easily carry their work from Java to Kotlin.

[Read Full Article] (https://www.mindtechconsultancy.com/kotlin-vs-java-which-is-better-for-android/)
The Laravel Testing 101 ebook is launched and ready!
Tags: laravel, testing, ebook
Published: 2019-03-05 08:11:07

---
title: The Laravel Testing 101 ebook is launched and ready!
published: true
description: The Laravel Testing 101 ebook is launched and ready!
tags: Laravel, testing, ebook
---

I am extremely excited to announce the availability of the [ **Laravel testing 101**](https://laraveltesting101.com/)  ebook!


![computer.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1551773237675/geHY-ZCPs.jpeg)

I have spent countless hours working on this ebook over the last months and I hope that it will help you learn how to add tests to your Laravel CRUD applications.

You can get your copy for just 19.99$ (limited time only):
Laravel Testing 101

 [https://leanpub.com/laraveltesting101](https://leanpub.com/laraveltesting101) 

you can also sign up here to get 3 free chapters:

 [https://laraveltesting101.com/](https://laraveltesting101.com/) 

Please let me know any feedback by tweeting at me (@djug) or simply emailing me (my first name at gmail).
IDEA for everything?
Tags: discuss
Published: 2019-03-05 07:21:59

I'd like to know how IDEA users handle their workspace.

Do you:

1. Install language plugins (Ruby, Python, Go, etc.) for IDEA.
2. Install RubyMine, PyCharm, GoLand, etc.

As for me, I prefer to have one IDE and a bunch of plugins. In fact, IDEA provides more SDK for plugins, [according to the Elixir plugin page](https://github.com/KronicDeth/intellij-elixir#features) (projects, modules, building).
Time to upgrade RubyGems
Tags: ruby, security
Published: 2019-03-05 06:54:49

---
title: Time to upgrade RubyGems
published: true
description: A number of vulnerabilities have been disclosed in RubyGems, so it's time to upgrade!
tags: ruby, security
---

Watch out Rubyists! Today [a number of security vulnerabilities were disclosed in RubyGems](http://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html).

To keep yourself safe from gems that could delete arbitrary files on your machine, inject unsafe escape sequences into your terminal or _run arbitrary code on your machine_ then it's time to upgrade RubyGems everywhere.

To upgrade, run:

```bash
gem update --system
```

To read more about the vulnerabilities (and for more information if you are using versions of RubyGems older than 2.7 and can't upgrade), check [the announcement post](http://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html).

Stay safe out there!
Git in local server
Tags: git, local, server
Published: 2019-03-05 06:39:44

---
title: Git in local server
published: true
description: Use git to serve files in local server
tags: git, local, server
canonical_url: https://halivert.github.io/blog/2018/01/git-repo/
---

Using [git][1] for version control it's in itself a great help, however, the tool becomes more useful when it has to be used to upload code or projects to a local server.

To start, you must verify that your server has git installed, then you must create an empty repository with the next command:

```bash
git --bare init <Repo name>
# By convention, empty repos have the .git extension.
# Example:
git --bare init glowing-computing-machine.git
```

Once you've created the empty repo, you can access it and view a similar structure.

![bare-repo](https://halivert.github.io/img/git-repo/ls-bare-repo.png)

Now, for your repo to update automatically, you must add a hook... exacly, in the hooks folder, you'll find some by default but the one you'll use is called different: **post-receive**. Create the file and add the next line:

```bash
git --work-tree=<destination path> --git-dir=<origin path> checkout -f

# The origin path will be the path where your empty repo will be placed
# And destination path will be the path where your files will be inserted
# By instance:
git --work-tree=/home/hali/Documentos/Git/_site \
--git-dir=/home/hali/Documentos/Git/glowing-computing-machine.git \
checkout -f
```

Finally, add the permissions to execute the created file

```bash
chmod +x post-receive
```

Only you must review, that your destination directory is completely empty

![ls site](https://halivert.github.io/img/git-repo/ls-site.png)

Then, execute git clone

![ls-glowing](https://halivert.github.io/img/git-repo/ls-glowing-local.png)

Ready!, we can upload content... but it becomes annoying to have to write our password every time we do pull or push, so with the help of ssh-copy-id command, we can add our public ssh key to list of accepted keys on the server

```bash
ssh-copy-id <server IP>
```

![ssh-copy-id](https://halivert.github.io/img/git-repo/ssh-copy-id.png)

That's how we can upload code to our repo and it will be automatically copied in the folder that we choose.

![commit-inicial](https://halivert.github.io/img/git-repo/commit-inicial.png)
![ls-site-commit](https://halivert.github.io/img/git-repo/ls-site-commit.png)


[1]: https://git-scm.com
Plastic culture
Tags: interview, culture, discuss
Published: 2018-12-14 14:37:13

---
title: Plastic culture
published: true
description: How we can identify during an interview if a company is user centered and if it has a healthy culture?
tags: interview, culture, discussion
---

It feels so nice to see how my work as a developer changed someone's life positively. For that I always wanted to work in a user centered company. 

I struggle to understand a company focus and its culture during an interview. Are they really concerned about the user or they merely think that the user is "how" they will profit?

Talking to a friend ([@phsilbr](https://twitter.com/phsilbr)) a few weeks ago this subject came up and we ended up concluding that this is something tricky to identify during interviews. Probably the best way is to ask what kind of metrics they use for tasks prioritization and talk to some developer on Linkedin before the interview.

A few days ago [@diegoeis](https://twitter.com/diegoeis) started a Twitter thread related to this subject:

{% twitter 1067755099689283585 %}

> These days I read this sentence in a shirt: "My products, my rules".
> It was a PM wearing this shirt.
>
> I can't even count how many wrong things we can quote in this phrase, but what calls my attention is: it's not his product, it's from the user.

This message made me think about my will of working in this user centered culture. I started a new branch for this thread:

{% twitter 1067813902086488064 %}

> [@diegoeis](https://twitter.com/diegoeis) and how do you identify if a company is truly user centered during an interview?

{% twitter 1067818183460032513 %}

> [@leandro_gs](https://twitter.com/leandro_gs) If they talk too much about business and not about the user's problems, this is a hint.
> Obviously there are purely business problems. But generally they are all problems faced by the user.

{% twitter 1067819132622647298 %}

> [@leandro_gs](https://twitter.com/leandro_gs) culture today is so plastic and artificial that is tough to understand.
> But talking with ex-employees and watch families and friends using the product are a good start.
>
> All of this will give you material to ask the right questions during an interview.

What do you think about this? Is your company user centered? What behaviors or decisions makes you see your company the way you see?

What kind of questions would you ask during an interview to help understand a company's culture and its focus?
I'm Arswaw, and I support women devs.
Tags: wecoded
Published: 2019-03-05 01:04:34

## I will advocate for gender equality by offering mentorship in any way I can. I love to teach people, and this is a meaningful way to do that.

## I hope to see my school/work/developer/tech community reflect on their organizational culture and determine what changes they can make to support diversity and inclusion.

## My advice for fellow allies is listen and consider that the opportunities you had, may not be the opportunities others have access to. It's up to you to work with them, not look down on them.
Tried out Netlify CMS with my Gatsby blog
Tags: webdev, showdev, gatsby, cms
Published: 2019-06-13 13:56:25

---
title: Tried out Netlify CMS with my Gatsby blog
published: true
tags: ['webdev', 'showdev', 'gatsby', 'cms']
canonical_url: https://learnwithparam.com/blog/tried-out-netlify-cms/
---

Yesterday I was looking for open source alternates to contentful CMS. I found one called `netlify CMS`. I wouldn’t call it as an alternate to contentful in any way. Contentful is way more powerful with lot of features and get started easily.

I used it along with Gatsby project.

### Thoughts on Netlify CMS

- Really good that netlify make this as open source to attract more contributors
- Documentation is really simple and can be find out when we get into issues. Learning curve is very simple
- Best suited for small organization and startups who can’t afford bigger bills to full fledged CMS
- UI is simple and configuration is straight forward
- You can create your own widgets and also create relation between different collections (eg. blog, tags, author etc.,)

### What can be better

- Setup takes a while to get everything right. Mostly I read few issues in the github to make it working with github authentication
- Limitation in storing content. Currently content should be stored in the same repository (local folders), else you can’t get the content through Gatsby. I would love if they allow content to be stored in multiple github repository and pull data remotely.
- It will be a difficult to manage the automated commits if you have multiple authors, editors and developers working on same repository. Works well for single user blogs and small companies content management. But surely needs more feature to support large content needs.
- Need more contributors and features to compete with other CMS. Else user base will be limited to only developers not actual business.

Again, use cases depends on the need of the end user. Netlify CMS is surely better than writing files on your own. Its a small project to get started with your own CMS for content management, but not feature rich to use it for full fledged company needs 😎

> Note: I have written this based on what I have tried with Netlify CMS, I might not have the need to test all the features. I only test what I need for my application’s feature. Every tool has its own purpose and audience. Choose it wisely based on your need.
Making a change is simpler than we think
Tags: career, discuss
Published: 2019-03-04 23:57:03

---
title: Making a change is simpler than we think
published: true
description: 
tags: #career #discuss
---

Everyone should play his role. Everyone will play his role in changing the world. Making impact, changing things, making differences is not easy but it is actually simple, simpler that we think. If we think about one person who will change the world for the better as we always thought, it's not going to happen and the change is going to be impossible as it has always been, in our heads.

It's as simple as making a small change with the idea you care about, you will change people and these people will change others. The impact is going to grow far more than you think.

It's easy to be motivated to spread the idea more and more so more people will know about it, you may think that trying to convince more people who aren't interested in getting the change you offer but that's not how the change can be made.

Reach the people who believe what you believe, change those with the thing that you're building. I can't change my country by being the president so I can control more and try to improve a lot of things at the same time.

In the age we're living in, you're more powerful that a president by leading a small tribe who believe what you believe, that will spread the change you affected them with with the thing that you've built.

Everyone plays his role, so stick with that one thing you want to change in your town, your country or in the world, fight for it, do it for that tribe and that will be your role in easing lives for little or many people, just make the change.
My Differences Are My Superpowers
Tags: wecoded
Published: 2019-03-04 23:51:39

---
title: My Differences Are My Superpowers
published: true
tags: shecoded
---

I used to keep my ideas to myself because I naively thought different ideas equate to stupid ones. Overcoming that fear and learning to embrace my differences as a superpower led to 25 patented inventions!

It doesn't stop with me. I choose to be the representation that matters.

{% youtube S5yY5HZt4ZI %}
Calling *all* DEVs, please join us for #SheCoded 2019.
Tags: wecoded, theycoded
Published: 2019-03-04 22:41:43

---
title: Calling *all* DEVs, please join us for #SheCoded 2019. 
published: true
description: Let's amplify women who code across the globe.
tags: shecoded, theycoded, shecodedally
cover_image: https://thepracticaldev.s3.amazonaws.com/i/xg8im95em0zh2j0ul70n.png
---

## International Women's Day is THIS FRIDAY!!

Each year, "Nevertheless, She Coded" amplifies the journeys of women and non-binary people who code. We started this celebration two years ago and I'm excited to share that [#SheCoded](https://dev.to/t/shecoded) has developed into a truly impressive collection of voices, with each voice **full** of insight and excellent advice. We hope you'll participate and celebrate this important day with us again. 

Since 'Balance For Better' is the official 2019 theme for IWD, we're adding the opportunity for allies to participate as well. As they say, everyone has a part to play, and we want to hear from allies on how they'll support women and non-binary devs.

For those of you who participated last year, we encourage you to submit another post. We have an updated prompt! And if you're new to the celebration, we welcome you to contribute to the collective. 

### We'll be featuring your stories all over dev.to and social on Friday, March 8th but you can get started TODAY:

#### Note, you need to [sign in](/enter) in order to see the template.

For women: 

- Visit [dev.to/new/shecoded](https://dev.to/new/shecoded)
- You'll see a template with some suggestions. This is only meant to get your ideas going, so please feel free to write your own narrative!
- PUBLISH THE POST 😊

For gender non-binary people (see note below):

- Visit [dev.to/new/theycoded](https://dev.to/new/theycoded)
- You'll see a template with some suggestions. This is only meant to get your ideas going, so please feel free to write your own narrative!
- Send it off 🚀


For allies: 

- Visit [dev.to/new/shecodedally](https://dev.to/new/shecodedally)
- Let us know how you'll support women devs!
- Hit publish!


EVERYONE:

- Forward this post or our [official landing page](https://dev.to/shecoded) to all the humans you know!
- Read stories and leave some love (comments & hearts & unicorns & retweets) on Friday!

## Thank you all for being a wonderful part of the community.

_Note: "Nevertheless, She Coded" was inspired by International Women's Day. We include and elevate non-binary people who are interested in participating and sharing their story. However, we understand that some members who identify as non-binary appreciate the inclusion while others may want to celebrate women only. Please know we will also be celebrating International Non-Binary People's Day on July 14._
Postman tips - Autosave auth token on the session
Tags: postman
Published: 2019-03-04 19:55:36

---
title: Postman tips - Autosave auth token on the session
published: true
description: Speed up your tests auto saving the auth token on the current session
tags: postman
---

As a dev, you have to test your API endpoints every time, and if it is a bit evolved, it has a login endpoint that you need to evoke to get the auth token to work.

Imagine you have this response from `/api/login` endpoint

```json
{
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3N1ZWQiOiIyMDE5LTAzLTA0VDE2OjQ2OjAzLjMyMDU1NC0wMzowMCIsImV4cGlyZXMiOiIyMDE5LTAzLTA0VDE2OjQ3OjAzLjMyMDYxOS0wMzowMCIsInNjb3BlcyI6ZmFsc2V9.cbPmdag39wvttxLHHe2BfOHUjM6vHDJ52WvoSxqLLF4g"
}
```

Normally you need to get the response, copy/paste on your session to be able to use on every endpoint on Postman.

But you can do something best, you can configure your Postman to save the token on your session when you just logged in!

Go on the `Tests` tab on your Postman:
![Postman request tabs] (https://thepracticaldev.s3.amazonaws.com/i/jot5qasx9k02p7wq51q8.png)

Put this config:

```javascript
var jsonData = JSON.parse(responseBody);
pm.environment.set("token", jsonData.token);
```

Tada!!! This will save the response of the request on the current environment with the var name as `token`, and now you can use on your routes just configuring it like this:

![Postman request headers] (https://thepracticaldev.s3.amazonaws.com/i/bf6bcfzpzu3fampauukt.png)

Now you can just do your login anytime and Postman will automatically save the token on your environment and all endpoints will be able to use it with no efforts.

Enjoy!
Each pixel of presentation costs you $$$
Tags: slides, presentation
Published: 2019-03-04 21:14:45

---
title: Each pixel of presentation costs you $$$
published: true
description: 
tags: slides, presentation
cover_image: https://thepracticaldev.s3.amazonaws.com/i/tcqtnbe68ktbz4a141gb.png
---

Today I've been going through slides with fellow graduate student and came up with an analogy:

> Each pixel of your slides costs you money

Now, consider how much you get back from each of the pixels you put out there. Was it really worth it? How much information did you provide, and how much have you paid for it?

In a sense, it is similar to "[Data-ink ratio](https://infovis-wiki.net/wiki/Data-Ink_Ratio)" idea introduced by Tufte. Difference is that "money" approach brings actual numbers to the stage.

When you put stuff on a slide, or on a plot, do you really get the most bang for the buck?

Most of the time, especially for the first 4 drafts, the answer is "no".

How to get higher return on pixel?

 - Simplify: slide has to carry a message, how much simpler can it get?
 - Split: there has to be single message, can you say one thing at a time?
 - Squestion: does `this` has to be here?
Pika project allows you to use npm module direct on the browser
Tags: githunt, webdev, npm, news
Published: 2019-03-04 20:26:38

---
title: Pika project allows you to use npm module direct on the browser
published: true
description: Imagine a future without Javascript bundlers 
tags: 
 - githunt
 - webdev
 - npm
 - news
cover_image: https://camo.githubusercontent.com/2d509c64a4f6ae5753f2c8c998c6712d711f6bcb/68747470733a2f2f6e6578742e70696b61706b672e636f6d2f7374617469632f696d672f70696b612d7765622d6c6f676f2e706e67
---

If you are a front-end or fullstack developer who has dealed with the complexity of nowadays bundlers like Webpack or Browserify, you will appreciate this project.

{% github pikapkg/web %} 

I'm looking forward to starting some pet project to try it out.

What do you think, will be the management of Javascript building tools easier in the next years?

_Cover image extracted from the repository README.md_
Someone Actually Made a Gameboy Emulator in Emacs!
Tags: ide, beginners, emacs, youtube
Published: 2019-03-04 20:09:29

---
title: Someone Actually Made a Gameboy Emulator in Emacs!
published: true
description: We explore "eboy" a Gameboy Emulator in Emacs!
tags: #ide #beginners #emacs #youtube
---

{% youtube oA02ZZ4_COA %}