teleren/devto huggingface dataset:
Nevertheless, Molossus Spondee Coded
Tags: wecoded
Published: 2020-03-03 20:19:18

>be me
>be born in Vancouver
>high cost of living
>dirt poor
>second son of the family
>my dad was a failed starving artist
>my mother worked at data entry at a bank
>she was fat with a broken back
>and at home they didn't do much but eat and watch TV
>I mostly grew up alone on books and the computer
>at school I was never really bullied
>I'd come home and my parents would ask
>Were you bullied today at school?
>Nothing happened at school
>I just hid behind the back at lunch and did nothing
>all of my life just nothing
>I got a job below my skills and paid my way through college
>but the rage ate away at me
>I would walk along the streets for hours
>just walking away the rage
>I had violent and suicidal and sexual and jealous thoughts
>I began to suffer at college
>I sat in a haze at the library through exams for courses I hadn't been to all semester
>but I pushed through
>I got an Associate's Degree in CS
>I worked part time 10 hours a week
>barely
>are a job that didn't really use my skills
>at night I would feel like I was choking on the smell of burning garbage
>so I would go for long walks
>I started writing poetry
>just sitting at the library and writing poetry all day
>I developed weird pains through out my body
>I always had body issues
>and when I was 24 I got badly sunburned
>I freaked out and went to the emergency room
>fully convinced I was dying of skin cancer
>I kept going on in a fog
>in pain and suicidal everyday
>I was convinced my face was swelling up oddly
>it was round about a year after that
>I began meditating
>and it really saved my life
>I became really accomplished
>I meditated a lot
>I had to because I was in so much pain
>but soon the choking rage came back
>eventually I bought a skirt
>and it was when I put it on I had to admit I was trans

There's no conclusion here except maybe things didn't have to be like this and you don't really know what handicaps people are struggling with just by looking at their skin or apparent gender and I don't really believe in bad guys and punishment anymore. When you've been to that point where you're a danger to yourself and others you know it's already punishment enough.

Things are getting better. I'm working more. I hope I'll be able to get a job making real use of my coding skills eventually.
OpenVPN Installation step by step

Tags: openvpn
Published: 2020-03-04 04:56:12

sudo apt install openvpn easy-rsa
cd /etc/openvpn
sudo chmod 400 /etc/openvpn
>> Paste crt , conf and other file in /etc/openvpn

cd /usr/bin/
sudo nano vpn.sh
sudo /usr/bin/vpn.sh
sudo nano /usr/bin/vpn.sh
>>#!/bin/bash
cd /etc/openvpn
nohup openvpn --config  sumant.conf &
sudo chmod +x /usr/bin/vpn.sh
sudo /usr/bin/vpn.sh

##### you can also use best GUI tool Pritunl #####
Free SSL enable on website on cloud server !
Tags: freessl
Published: 2020-03-04 05:08:53

Here I'm writing some step as demo.
My website on AWS server.Pleas read carefully , this is easiest way.

1.Download .pem file  (db_Oregon_Keypair.pem)

2.Given Execute Permission to .pem file (read/write)

Step:
1- open terminal 
2- sudo chmod 777 db_Oregon_Keypair.pem

3.sudo ssh -i db_Oregon_Keypair.pem ubuntu@www.dbaport.com
4.sudo certbot certonly  (Select 1 -Apache Plugin)
5.sudo certbot (Select 1,4- dbaport domain)
Redux course for beginners, lesson 1: introduction, history, and architecture
Tags: redux, javascript, beginners
Published: 2020-03-04 12:05:02

---
title: "Redux course for beginners, lesson 1: introduction, history, and architecture"
published: true
description: "Fancy for a refresh on Redux? In this first episode: introduction, history, and architecture of Redux"
tags: redux, javascript, beginners
series: "Redux course for beginners"
canonical_url: https://youtu.be/4lnkiPQ8spk
---

{% youtube 4lnkiPQ8spk %}
Welcome Thread - v63
Tags: welcome
Published: 2020-03-04 16:03:38

---
title: Welcome Thread - v63
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
---

![Hey y'all!](https://media.giphy.com/media/2rAwoVAJDB8XMrsf8R/giphy.gif)

### Welcome to DEV!

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

**Great to have you in the community!**
String split in Python
Tags: python, beginners
Published: 2020-03-04 16:30:14

In this article we simply talk about two methods of text parsing in <a href="https://python.org">Python</a>. What we will do is given a string like

```python
>>> line = 'aaa bbb ccc'
```

Split it into substrings, create strings based on this string. 

## Slice string

The first method is fragment by fragment. Define the recording offset, and then extract the desired string. `[start:end]`. Example:

```python
>>> line = 'aaa bbb ccc'
>>> col1 = line[0: 3]
>>> col3 = line[8:]
>>> col1
'aaa'
>>> col3
'ccc'
>>>
```
However, this is undoable with a large string. Many developers use the `.split ()` function. 

## Split function

The split() function turns a string into a <a href="https://pythonbasics.org/list/">list</a> of strings. By default this function splits on spaces, meaning every word in a sentence will be a list item. 

```python
>>> line = 'aaa bbb ccc'
>>> a = line.split ( '')
>>> a
[ 'Aaa', 'bbb', 'ccc']
>>> a[0]
'Aaa'
>>> a[1]
'Bbb'
 >>> a[2]
'Ccc'
 >>>
```
You can split on character in the string, by setting the character in the split function. This can be a comma, a dash, a semicolon or even a dot (phrases).

```python
>>> line = 'aaa, bbb, ccc'
>>> a = line.split(',')
>>> a
[ 'Aaa', 'bbb', 'ccc']
>>>
```
remove trailing spaces
Tags: python, beginners
Published: 2020-03-04 17:05:21

If you have a Python text <a href="https://pythonbasics.org/strings/">string</a>, and want trailing spaces removed you can do that with the method `.strip()`, `.lstrip()` and `.rstrip()`.

That removes the spaces before and after the string.

# Example

You can use strip, lstrip, rstrip methods. Like the name suggests, `lstrip` strips left of the string, `rstrip` strips right of the string and `strip` just strips the string of spaces.

First create a string surrounded by spaces:

```python
>>> a = "abc".center(30)
>>> a
'             abc              '
>>>
```

To do a left strip, call the method `lstrip()`. This removes spaces to the left of the string:

```python
>>> b = a.lstrip()
>>> b
'abc              '
```

The results of a right strip, call `rstrip()` which removes spaces to the right of the string:

```python
>>> 
>>> c = a.rstrip()
>>> c
'             abc'
```

To do a general strip, that removes all spaces on both sides:

```python
>>> 
>>> d = a.strip()
>>> d
'abc'
>>> 
>>> 
```

The `strip()` function only does trailing spaces, not spaces inside the string itself.

```python
>>> a = "    aaaa  bbbb ccc    dddd   eee           "
>>> a.strip()
'aaaa  bbbb ccc    dddd   eee'
>>> 
```
🚀 Just released ultra-runner 2.0.0! Ultra fast script runner and build tool, with support for lerna, yarn and pnpm monorepos.
Tags: javascript, node, showdev, webdev
Published: 2020-03-04 21:18:16

I've just released [Ultra Runner 2.0.0](https://github.com/folke/ultra-runner) with lots of new features to run scripts and builds for monorepos.

### :sparkles: Highlights
* **zero-config**: works out of the box with your existing monorepo
* **non-intrusive**: no need to make any changes to your packages.json files
* **workspaces**: detects packages in existing `lerna`, `yarn` and `pnpm` workspaces, or recusrively searches them
* **ultra fast builds**: `ultra` keeps track of file changes in your repo and only actually `build` a package when needed
* **parallel builds**: `ultra` builds your packages concurrently by default
* **workspace dependencies**: workspace dependencies are automatically resolved and used for parallel builds
* **execute anything**: one command to run package scripts, `node_modules` binaries or system binaries, recursively in your repository.
* **faster script execution**: `ultra` hijacks any `npm`, `pnpm`, `yarn` and `npx` calls for faster execution.
* **concurrency within scripts**: you can add optional configuration to `package.json` to run parts of a script in parallel. No need to change the actual `scripts`
* **filtering**: filter on package names or subdirectories
So I built a CMS, sortof..
Tags: python, flask, learning
Published: 2020-03-05 08:01:26

### I built a CMS

It started out with me deciding to change career fields. Well, with that I have been heavily involved with python lately. And I decided I needed a website. Something I can put on my resume, and put my resume on.

Well I can't do anything the easy way so instead of just grabbing some ready to go CMS and slapping it up, no I needed something of my own.. And why not just a simple little resume template? Some hosted HTML/CSS nope, not good enough. 

I'll admit that it's not beautiful.. It's REALLY ugly but I'm not a designer. I have exactly 0 artistic creativity. What I do really well however is solve problems. I have absolutely loved creating this beast. And actually plan to continue work on it who knows what it'll become. Possibly just another unfinished project. However, right now I'm learning a lot and it's fun creating my own stuff.

It has a resume builder built in. I plan to extend it in the future adding the ability to download the resume in various formats. Rearrange the resume into one of four(?) layouts. I don't know. 

### Really? Another CMS?!?

Ehh, don't use it :P Look, this is for me myself and I. If someone outside of me, myself and I finds some kind of use from it great if not no worries. And honestly I don't know that I would consider this really a full fledged CMS. It still needs a LOT of polish. It's basically right now barely functional. It's still running in a dev environment on my local server.

It's in a private repository on my github, the code I'm sure looks soooOOOOoooo amateurish.. lol anyways I do plan on making the repository public once I publish it to my domain. In the mean time you can keep an eye out for it on my github if you'd like [Github](https://www.github.com/MikeCase/). I also want to make sure that it's ready to be installed elsewhere without much hassle. As in like, I can successfully git clone install and run it outside of my currently setup environment. 

### The code is hideous. Yep.

This is my first "large" scale project.. I guess if you can call it that. Most everything I've ever done with programming was things I taught myself. So I'm still learning and I have been seemingly finding cleaner ways to do things every day.. I have been noticing that more and more of my commits lately have just been me cleaning up this bit of code or this html or deleting these files because they're not being used anymore.. And to me that says I'm getting closer to where I want this thing functionally. So that's a good sign.. I think? 

I welcome any and all comments and discussions on the project I mean I honestly have no intentions of turning this into another CMS but if that happens that'd be  cool. 

Anywho I think I'll end this here, I should have the repository public by this weekend. 

## Update

I went ahead and made the repository public. It's not pretty but feel free to check it out! [Website repository](https://www.github.com/MikeCase/mikecase.us)
List all only files under directory with shell script
Tags: shell, bash, linux
Published: 2020-03-05 10:04:38

---
title: List all only files under directory with shell script
published: true
description: list 
tags: shell, bash, linux
---

Thanks to @BenSincla, this article become very simple!

For example, you have directory like this.

```sh
$ tree A
A
├── B
│   └── b.txt
├── C
│   └── c.txt
└── a.txt

2 directories, 3 files
``` 

# Relative path

```sh
find ./A -type f
```

# Absolute path

```sh
find ./A -type f | \
while read file; do
  echo $file | sed -e "s|^.|$PWD|g"
done
```
AWS - Admin User
Tags: aws
Published: 2020-03-05 16:50:06

Started to use AWS in order to create back-end services for `My Habit Tracker` application. An informative article described that it's not a good practice to use your `Root User` to execute daily tasks in `AWS Console`.

So I created an `IAM User`, which I'm going to login with to work on my cloud solution for the application. 

First I wanted to create a `Role` which has `AdministratorAccess` permissions and make my `IAM User` to assume that role, but it seemed a bit overkill as it's in the same account. I ended up creating a `IAM Group` called `AdminGroup` and attached the `AdministratorAccess` policy, then added my previously created `IAM User` to the group.

Finally I just needed to add an `Account Alias` so that I don't need to remember my `12 digit Account ID` all the time. An account alias is also useful to make your login link a bit user friendly.
How I get 100% out of Remote/WFH
Tags: developers, remoteworking, productivity
Published: 2020-03-06 03:21:17

---
title: How I get 100% out of Remote/WFH
published: true
description: 
tags: developers,  remote working,  productivity
---

From the last 1 year, weekly I do 2-3 days WFH. In the past, I have done WFH but my experience was very bad because folks assume WFH is "Work for Home" ;). I learned a lot from these bad experience and now I know how to get 100% out of my WFH/Remote and make sure that folks acknowledge that I am "Working from home" not "Work for home".

- Invest in good internet. Make sure your internet is good enough to do video calls. I also have 2 internet connections and so many times it saved me. When one is down I switch to others.

- Invest in a good table and chair. Trust me you 'll find yourself more productive once you start working from the table & chair setup rather than working from a sofa or bed. Apart from productivity, it will be also good for your body posture too.

- If possible buy a good monitor. I have a monitor and keyboard. Most of the time I work on that only. Good for eyes, neck, and postures too.

- Use your calendar efficiently. I prefer to plan my week and day ahead. Either it is 15 min catchup or lunchtime. I block my calendar. This not just helps me to plan my day but also heads-up to my team too when I am available and when I am not.

- Calls are better than chat. Do not hesitate to call your team members.

- Make use of scrum. Scrum is the place where you should be vocal about your achievements, blocker, leaving early or calling out dependency. Make use of scrum.

- Make a schedule. You will start work from 10:00 AM and logout by 6:00 PM. Do not login to your official communicator before or after that.


WFH/Remote is all about keeping communication with your teammates. The most important thing is to communicate when you are NOT and when you are available.

Happy WFH/Remote Working!!
Musicians (and others!): the Box of Scales is now bigger
Tags: showdev, offtopic, watercooler
Published: 2020-03-05 20:07:11

Goooood evening! Or good morning/afternoon, depending on where or when you are...

Wanted to update you on my side project that started out as shuffling scales to practise.

Box of Scales will now (on the fly) generate the notes (ascending and descending for melodic minor!), left/right hand finger patterns, and play the scale for you using Tone.js (based on WebAudio).

On the technical side of things I've moved away from bootstrap and over to material-ui and what a difference it has made to ease of implementation. A little hiccup to start with having to convert my components from classes to FC's but I got there. 

And yes the project at the moment is *very much* taking function over form at the moment (a polite way of saying it is ugly as sin... but at least responsive), but this is now the second project (personal website is the other, but that's a post for another day...) I've switched to using mui and it's just a revelation. 

On the topic of developer religious experiences, I'll also be moving the hosting over to Netlify after again revisiting my workflow on another project. I'm used to spinning up and managing servers, but it has been a joy to use Netlify with the git push continuous deployment. So easy to use.

For those interested in the full tech stack its:

- TypeScript
- react
- redux
- redux-thunk
- material-ui
- Netlify (just need to switch DNS this evening)

I've almost got the codebase how I'd like it in order to open source it.

So far it has been a nice change of pace in the evenings from what I work on in my day job (essentially IoT *stuff*) and the really neat thing is there are piano teachers actively using it with their students daily. 

Anyway, enough ramblepost, here's some links if you're interested or the least bit curious. 

**Website:** https://boxofscales.com
**Twitter:** @boxofscales
I built this site without a single line of custom CSS
Tags: webdev, vue, showdev
Published: 2020-03-06 10:55:21

---
title: I built this site without a single line of custom CSS
published: true
description: built a site without a single line of custom CSS 
tags: webdev,vue,showdev 
---
###  I built this site without a single line of custom CSS

I was playing with the tailwind CSS over the weekend. I loved the way how it works. If you are not aware of what tailwind is, check it out here [tailwind](https://tailwindcss.com). It is a utility first CSS framework where you have to write a bunch of classes instead of writing CSS properties. 

I have used bootstrap for most of the things I have ever done so far. But right now am afraid that I will never go back to bootstrap again :) The main problem what I faced with the bootstrap is, it was preloaded with a bunch of styles. Whenever I want to customize it I have to override their style and write my own on top of it Which I feel its inefficient way. Since I moved to tailwind I could use purgecss like plugins to remove unused CSS in the bundle which I couldn't do it with bootstrap. I am really happy with the way tailwind is going and it has radically improved the way I build a website with custom designs.
This is my first site using tailwind. Please check it out here [supportexamples.com](https://supportexamples.com) and happy to share it with you all.
Join us for #SheCoded 2020!
Tags: wecoded, theycoded, eachforequal
Published: 2020-03-06 15:22:10

---
title: Join us for #SheCoded 2020!
published: true
description: Our 4th Annual International Womens Day Celebration
tags: shecoded, theycoded, shecodedally, eachforequal
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/vuoa6jsh5uhy32ehpizb.png
---

### International Women’s Day is Sunday, March 8!

To celebrate, DEV is highlighting stories from self-identifying women and non-binary people who code. “[Nevertheless, She Coded](https://dev.to/shecoded)” amplifies the importance of challenging stereotypes, fighting bias, and celebrating the achievements of self-identifying women and non-binary individuals. **We will begin highlighting stories on March 6th and continue through March 9th.**

We started our “Nevertheless, She Coded” celebration in 2017 and I’m happy to share that [#SheCoded](https://dev.to/t/shecoded), [#TheyCoded](https://dev.to/t/theycoded), and [#SheCodedAlly](https://dev.to/t/shecodedally) has grown to become a collection of over 500 posts from people all around the world. The stories are relatable, inspirational, infuriating, comical, you name it. What do they all have in common? Each story and piece of advice is insightful, personal, and important. 

“Each for Equal” is the official 2020 theme of International Women’s Day. Similar to last year, we are welcoming allies to participate so that we can all voice the pressing need to create a gender equal world. We are all parts of a whole; and collectively, we can make change happen.

We hope you’ll spend some time getting lost in our library of stories, but even more, we hope you’ll contribute to the collective and share your own journey. For those of you who participated in the past, we encourage you to submit another post.

### We’ll be featuring your stories all over DEV and the internet at large - please join us in amplifying this important day!

How to participate:
- Visit [dev.to/shecoded](https://dev.to/shecoded) 💜
- Choose a template ✅
- Write your post ✍️
- Share it with the world 🚀
- Tell everyone you know to share _their_ story ✊

### 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 self-identifying women only._

_PS - We have a new collection of [SheCoded Merch](https://shop.dev.to/collections/shecoded) available in the DEV Shop!_
I'm Corey McCarty, and I support women devs.
Tags: wecoded, womenintech, inclusion, eachforequal
Published: 2020-03-06 20:04:44


I find it hard to understand that sexism still exists in 2020. I have multiple women in development lead and management roles all around me, and I honestly don't know any women in software development that aren't good at what they do whereas I can easily think of several men who get by without being strong developers. It seems quite foreign that there remain people that are not accepting of women in the workforce or that women consistently face income inequality.

Equality in tech must involve women being valued and empowered in the the tech community as well as the industry. This should include equality in respect, pay, and position. 

This tweet is crazy to me. As a hetero white man, I've never felt this, but it is enough of an issue that many people have also felt the need to utilize this tactic.
{% twitter 1235684675609178112 %}

I will advocate for equality by offering any assistance that I can to the women around me. These may be small things, but I'll make sure that I endorse them on LinkedIn and write personal recommendations so that they can more easily be found as the strong developers that they are. My coworker was looking for a new job. She and I spent time working together to make ourselves more employable. This included training courses on various sites, sharing books back and forth for learning, and tell one another about jobs that we had found. I made it a focus of mine to think of her anytime that I was researching things about interviewing or bettering my hirability.

My advice for fellow allies to support women and any minority group member in your life is to first acknowledge that their career is set at a steep incline. Know that there are factors at play that you will not have used against you. You can help to insure that everyone around you gets their due recognition. Simply allowing light to shine on the good things being done by women (or any minority group member). The women around you are likely to be some of the best workers due to the difficulties that they face. Make sure that any recognition programs that you have or any mentions that occur in review rituals include the women. If we aren't intentional about equality then it is easy to even accidentally list someone last that may have been the hardest worker. Also, make sure that at no point are you alienating women in conversation. This really goes for anyone that is a part of a given group. The moment that you begin talking about something that isn't the focus or interest of the entire group then you begin to alienate people, and inadvertently you are building stronger bonds between the people in that conversation while the others are left out made to feel less than whole members of the group. This isn't to say that you can't have friends in your work group and that you can't talk to them about the things that you enjoy, but while you are with the whole group then you should work to include everyone together so that all of the group members are bonded stronger.