teleren/devto huggingface dataset:
Accountant
Tags: hiring, career, account, workfromhome
Published: 2022-08-19 09:21:20

You will be performing accounting functions such as account analysis, auditing, or financial statement analysis. You will be responsible for examining financial statements to ensure accuracy and compliance with existing laws and regulations, handling tax-related tasks
Apply on http://prefr.co/team/hiring/

**Tasks to Handle**

- Cash flow forecast and Projections
- Profit and loss analysis
- Cost benefit analysis
- Quarterly/year-end reporting
- Consolidated Accounting
- Accounts Payable Processing
- No training provided to any freshers
- Preparation of Tax
- Returns/Bookkeeping and related tasks
- Validate data and analyse for accuracy and relevance

**Required Knowledge**

- Looking for an Accountant with 10+ years of experience in Accounting and Bookkeeping.
- Should have expertise in working on Gnucash, Xero, Quickbooks accounting Packages.
- Registration of companies and procedures
- Knowledge of GST and Income Tax
- Basic understanding of relevant tax/accounting concepts
- Basic knowledge of MS/Google/Adobe enterprise solutions
I made a Personal Voice Assistant but it...(worked/failed)
Tags: python, beginners, tutorial, programming
Published: 2022-08-19 09:19:16

I searched a lot, spent 10 to 20 hours, and finally got to know this was use___

Welcome everyone
Today I will tell you the python libraries used for your voice assistant using python. Also, some important things to keep in mind will be told in the next tutorial.

Used libraries are:
pyttsx3
speech_recognition
os
time
wikipedia
pyfiglet
datetime
webbrowser

Also, we will try to make a code for a personal voice assistant in android and Java.

Thanks, A Lot
Stay Tuned
Creating a Queue in JS
Published: 2022-08-19 09:18:00


1. Queue data structure can be thought of as a container where records enter on one end and exit on the other
2. Process of adding something to queue is something called 'Enqueuing or adding' , removing something from a queue is also called 'Dequeuing'
3. Queue follows First In First Out principal 

Before we go ahead and write a Queue we should understand the following concepts in JS

1. Unshift method, adds something in front of the JS array
2. Pop method , removes something from the end of the JS array

So the Queue basically limits access to so many options like shift, unshift, push, splice and slice in JS and only allows shift and pop. 

{% gist https://gist.github.com/NaveenDK/29ac932dbfde585e8cbdede8c0da2166 %}
Senior WordPress Developer
Tags: hiring, career, wordpress, webdev
Published: 2022-08-19 09:11:26

Apply on http://prefr.co/team/hiring/

ESSENTIAL

HTML5
CSS3
JS ES6
PHP
WordPress
Experience with e-commerce platforms like Woo-Commerce or Shopify a plus
HIGHLY DESIRABLE

MySQL / MariaDB
Git
jQuery
ReactJS
SASS, SCSS or Less
DESIRABLE BUT NOT ESSENTIAL

UI + UX principles
Web standards
SEO
Cross-browser / cross-platform compatibility issues
Experience of working with at some of the following:

Material Design / Material-UI
Adobe Suite
AWS / Azure / Google Cloud
Webpack / Gulp / Grunt
NPM / Yarn
Web Services
Docker
Domain Name Management
Role as a product engineer

Creating products & Services for the company
Improving Current products/service
Identifying market gaps/opportunities
Manage and maintain Clients websites/apps/anything
Create a business model around the product
Compose a product feature set
Product/service costs
Design and implement a software architecture
Choose a technology stack
Role in Project Operations

Manage maintain support client projects
Do daily client tasks
Chat App with WebSocket: Boilerplate Code
Tags: javascript, webdev, react, node
Published: 2022-08-19 09:09:00

{% embed https://dev.to/sokhavuth/table-of-contents-3m2h %}
GitHub: [https://github.com/Sokhavuth/chat](https://github.com/Sokhavuth/chat)
Heroku: [https://khmerweb-chat.herokuapp.com/](https://khmerweb-chat.herokuapp.com/)
<br/>

<p>WebSocket is an Internet protocol facilitating real-time data transfer between server and client. Once the connection between server and client is established, this connection stays open allowing the free flow of data between the two parties. As a result, WebSocket protocol is very useful to create application requiring continuous real-time data transfer such as chat application for example.</p>

<p>In Node.js, as usual, to start building an application, we need to create a package.json first by writing on Terminal window:</p>

```
npm init
```
<p>In consequence, a package.json file is created and there are useful information inside:</p>

```js
// package.json

{
  "name": "chat-app",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
```
<p>In Node.js, to build chat application using WebSocket protocol, we can use Socket.io package with Express.js web framework. </p>

```
npm install express socket.io
```
<p>Next, we could create an index.js file as the entry point for our chat application.</p>

```js
// index.js
// npm install express
// npm install socket.io
// npm install nodemon

const express = require('express');
const app = express();
const http = require('http');
const server = http.createServer(app);


const port = process.env.PORT || 3000;

app.get('/', (req, res) => {
  res.send('<h4>Welcome to Khmer Web Chat App!</h4>');
});

server.listen(port, () => {
  console.log(`listening on *${port}`);
});
```
<p>To run our chat application, we can use nodemon package because it will help us to restart the program each time we change something in the code. Otherwise, we will manually relaunch the application each time we change the code.</p>

```
npm install nodemon
```
<p>One more thing to do is to add a line of code in package.json to be able to use nodemon module correctly.</p>

```js
{
  "name": "chat-app",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "nodemon index.js"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "express": "^4.18.1",
    "nodemon": "^2.0.19",
    "socket.io": "^4.5.1"
  }
}
```
<p>Finally, to launch our chat application, we just write the instruction on Terminal window as below:</p>

```
npm start
```
Configuring Alias in macOS
Tags: macos, terminal, tutorial, productivity
Published: 2022-08-19 09:08:00

An alias helps you to produce a route name for a command, file name, or any shell text. By victimisation of aliases, you save heaps of your time once doing tasks that you were doing frequently.

**What is an alias?** 🤔

![It's An Alias](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/exdwiirdccoxme88lupw.jpeg)

The alias Korn shell integrated command to outline a phrase as an alias/shortcut for a few command. You can use aliases to redefine integrated or complex instructions except not to redefine reserved words.

**Syntax:**
`alias [ -t ] [ -x ] [ AliasName [ =String ] ] ...`

**Flags:**
- `-t - Sets or displays all existing tracked aliases`
- `-x - Displays all existing exported alias definitions`

**Exit Status:**
- `0 - Success`
- `>0 - An error occurred`

**Example** 🙌🏻
`alias gs='git status'`

**How to configure alias in macOS?** 🧑🏻‍💻

1. Open terminal
2. Type `code ~/.zshrc` which opens the zsh config file in VSCode
3. Configure your alias by following the above syntax and flags

Examples of my aliases:

```
alias gc='git commit -s -m'
alias gs='git status'
alias ga='git add'
alias gfu='git fetch upstream'
alias grum='git rebase upstream/master'
alias gpom='git push origin master'
alias gul='git fetch upstream && git rebase upstream/master && git push origin master'
alias gpo='git push origin'
```

4. Save the file by clicking `cmd + s`
5. Now in your terminal, type `source ~/.zshrc`, which you applies the content of the file to the currently running Zsh process.

![That's All](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v8c6221l0cla00aovojg.jpeg)

You are good to go 🎉

You can test your alias if its working by entering a repo in your machine and running `gs`

If you want to learn more about alias and its configuration, you can refer to, https://man7.org/linux/man-pages/man1/alias.1p.html#:~:text=An%20alias%20definition%20provides%20a,subshells%20of%20the%20current%20shell.
unclearness about event sourcing
Published: 2022-08-19 09:05:04

how i know the concepts about event soucring that important events of app are stored on event store databases.  but there are many prallel questions.

1) how main DB works in this application? for example when wi store a data like (player transaction added 100 golds) how main database that stores current state of player/user should be used. can i do a CRUD to update the main database in other microservices or its different?

2)  how SAGA  benefits from event sourcing. does it benefit at all? for example when one of the microservices failed and we want to compensate the whole scenario, do we need to use event sourcing for that or an inner state memory is enough?

3) what is the best practice saving user events in event stores? as you may know event stores can get very big soon. assume that based on some condition  we want to remake a user current state from its events? what is the right approach?
What do you usually say when approve Pull Request?
Tags: discuss, webdev, javascript, beginners
Published: 2022-08-19 09:04:09

Hey! I want to share a small app to generate approve comment in you Pull Requests. At the end of the working day I usually take some Pull Request to review and sometimes my brain is trying to find something better than just "LGTM" comment for PR. So, I've created this app with some messages I can think of. Now, whenever I get stuck with generating messages in my brain, I can do this using this app.

You can check this app here https://pr.pavelkeyzik.com/ but I also want to ask you a little question. What do usually say when leave some comment to approve Pull Request. If you want, you can add this message as comment, or even contribute to the app. You'll just need to add your message to this file https://github.com/pavelkeyzik/pr-approve-generator/blob/master/src/core/messages.js
Table of Contents
Published: 2022-08-19 08:58:00

<dl>
    <dt><h2>A. Introduction</h2></dt>

    <dd><h4><em>1. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-boilerplate-code-f19">Boilerplate Code</a></em></h4></dd> 

<dt><h2>B. Chat Page</h2></dt>

<dd><h4><em>1. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-building-chat-page-3hhk">Building Chat Page</a></em></h4></dd> 

<dd><h4><em>2. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-socket-connection-2iii">Socket Connection</a></em></h4></dd> 

<dd><h4><em>3. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-message-to-socket-server-4gj3">Message to Server</a></em></h4></dd> 

<dd><h4><em>4. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-broadcasting-message-hnb">Broadcasting Message</a></em></h4></dd> 

<dd><h4><em>5. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-adding-new-user-1em4">Adding New User</a></em></h4></dd> 

<dd><h4><em>6. <a href="https://dev.to/sokhavuth/chat-app-with-websocket-deleting-user-3ndj">Deleting User</a></em></h4></dd> 

</dl>
Deploy Tailwindcss, nextjs app on cpanel
Tags: tailwindcss, nextjs, javascript, node
Published: 2022-08-19 08:53:00

In this article I'm going to show you a step by step process on how to build and deploy your tailwindcss, nodejs & nextjs website on cpanel using namcheap shared hosting package.
If you're familiar with next js, you could actually deploy your web app using a custom server other than vercel. Well, in this article I will show you how to build and deploy your tailwindcss, next.js website or app from scratch on Cpanel.

## Pros of hosting next.js website on cpanel

One of the benefits of hosting your next.js app on cpanel is, it saves you cost.

You make your cpanel subscription once and don't have to bother about paying per team member or monthly(unless you want to)

It retains almost all awesome next.js capabilities

## Cons of hosting next.js website on cpanel

No serverless functions

No Automatic Static Optimization.

## Summary

Hosting your nextjs app on capnel saves you cost while retaining the rich features of next.js most especially if you have a low budget 

For a step by step tutorial on how to host next.js website on cpanel using namecheap shared hosting, please watch the youtube video below. There are a lot of things you will learn.

   {% youtube KUBADQ3qhmE %}

I run this youtube channel known as TechFortified where I publish amazing tech content. Please don't forget to like, comment, subscribe and turn on notification for more awesome videos like this. Thank you.
Vue理解v-model內部運作
Tags: webdev, vue
Published: 2022-08-19 08:51:00

## 前言

在Vue中，`input`、`select`、`textarea`等tag會利用`v-model`這個屬性來做雙向綁定

```jsx
<input v-model="email" />
```

上面的code相當於下面的code

```jsx
<input :value="email" @input="e => email = e.target.value" />
```

## 在 component 使用 v-model

```jsx
<basic-input v-model="email" />
```

元件code

```jsx
<template>
  <input @input="handleInput" />
</template>

<script>
export default {
  prop: ['value'],
  data () {
    return {
      content: this.value
    }
  },
  methods: {
    handleInput (e) {
      this.$emit('input', this.content)
    }
  }
}
</script>
```

重點是子元件內要註冊名為`value`的props

## 參考文章

[https://ithelp.ithome.com.tw/articles/10250089](https://ithelp.ithome.com.tw/articles/10250089)

[https://www.digitalocean.com/community/tutorials/how-to-add-v-model-support-to-custom-vue-js-components](https://www.digitalocean.com/community/tutorials/how-to-add-v-model-support-to-custom-vue-js-components)
Vue | 部屬到Github Pages簡易教學
Tags: vue, vite, github
Published: 2022-08-19 08:48:57

## 步驟

**Step 1**

在Github創一個Repositories(repo)

**Step 2**

開始打包專案

1.  在 `vue.config.js & vite.config.js` 內新增base key
    
    ```jsx
    export default defineConfig({
      base: '/',
      plugins: [
        vue()
      ]
    })
    ```
    
    如果你的repo為`<USERNAME>.github.io`，那base為`'/'`
    
    如果你的repo為一般名稱，那base為`'/<repo-name>'`
    
2. 儲存後，打包專案
    
    ```jsx
    npm run build
    ```
    

**Step 3**

把專案推到Github

1.  打包完後根目錄會出現`dist`資料夾，此時目錄到這個資料夾下，創立一個git repo，分支名稱為`gh-pages`，push到Github上。
    
    ```jsx
    git init
    
    git add .
    
    git commit -m "deploy"
    
    git branch -M gh-pages    // 這個指令可以創建並移動到該分支上
    
    git push -u 遠端url gh-pages
    ```
    

1. 在Github repo → Setting → Pages，選擇branch，資料夾不用動(預設root)，之後按Save


    ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y8y6hcypzbvt3typcvgg.png)

1. 成功後，會出現以下這個，點開網址，就可以看到專案
        
    ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vcib2g3xjdtxgroogtb8.png)

    

## 官方文件

[https://vitejs.dev/guide/static-deploy.html](https://vitejs.dev/guide/static-deploy.html)
All Permutation in String
Tags: javascript, leetcode
Published: 2022-08-19 08:47:19

```js
const permute = function (nums) {
  const result = [];

  const findPermutations = (freeNums, fixedNums = []) => {
    if (freeNums.length === 1) {
        result.push(fixedNums.concat(freeNums));
    } else {
      for (let i = 0; i < freeNums.length; i++) {
        const nextFreeNums = [...freeNums];
        const nextFixedNum = nextFreeNums.splice(i, 1);
        findPermutations(nextFreeNums, fixedNums.concat(nextFixedNum));
      }
    }
  };

  findPermutations(nums);

  return result;
};

console.log(permute("abc"));
```
Single thread in Nodejs explained
Tags: programming, webdev, javascript, beginners
Published: 2022-08-19 08:32:55

Friday - This most loved weekday for working people, sharing the interesting story on interesting day 


[Single thread in Nodejs explained](https://www.youtube.com/shorts/ZoLeRAUmJ0o)

**Conclusion**
Until next time, have a good day.

Keep developing!!

Our website [iHateReading](www.ihatereading.in) || [Youtube](https://www.youtube.com/channel/UC6I-Tz6QwYbJpoIK7l0NtXA) || [Twitter](https://twitter.com/treyvijay)
AWS Community Builders Program
Tags: aws, community, cloud, productivity
Published: 2022-08-19 08:31:58

---
title: AWS Community Builders Program
tags: 
canonical_url: https://makendran.hashnode.dev/aws-community-builders-program
---

![OIP.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1660815223957/tBDq-yutf.jpg)

## Introduction

I'm excited to announce that I've been accepted into the **[AWS Community Builders](https://aws.amazon.com/developer/community/community-builders/)** program!

I got an email today inviting me to the program and I can't wait to dive in!

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1660814957383/lN8LkMO_b.png)

I will focus on **cloud operations** and I am excited to expand the content of this page to cover more on this topic.

## What is the AWS Community Builders Program?

> _The AWS Community Builders program offers technical resources, education, and networking opportunities to AWS technical enthusiasts and emerging thought leaders who are passionate about sharing knowledge and connecting with the technical community._

During the program, **AWS subject matter experts** will host informative webinars, sharing information, including information about the latest services, as well as best practices for creating technical content, increasing accessibility, and sharing AWS knowledge through online and in-person communities. The program accepts a limited number of members per year.

## What are the benefits of joining AWS Community Builders Program?

- Listen to AWS product teams and learn about new services and features
- Learn from AWS experts on a variety of topics through weekly webinars
- AWS Promotional credits and other useful resources to support content creation
- Opportunities to connect and learn from like-minded developers

## Service categories represented in the AWS Community Builders Program

The program currently covers the following technology areas:

- Containers
- Data (databases, analytics and BI)
- Developer tools
- Front-end web and mobile
- Gaming technology
- Graviton/Arm development
- Cloud Ops
- Machine learning
- Network content and delivery
- Security and compliance
- Serverless
- Storage

## My Focus Area

I've been focusing on supporting applications hosted on AWS for the past year or so, and that's where I've been on my cloud journey. I've written a few articles about some of the AWS components I've worked on, but I haven't really focused on them.

In email, I focus on the cloud operations category of the program, so I spend more time reading and creating content. My current role majorly focuses on automating the cloud operations, so I will be creating more content on this topic.

## Conclusion

I am very excited to be a part of the AWS Community Builders program. I look forward to sharing more content and seeing how I can contribute.

I'm very curious about what you want to see about AWS related content. Please leave your comments on this article. All suggestions are welcome!

![2021-05-15-aws-community-builder.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1660815280088/JK4YnFt-d.png)
Some Important Command of git command as below
Tags: webdev, programming, git, github
Published: 2022-08-19 08:31:14

`git init for initialization
git status
git commit -m "first commit"
git add .     or git add file name
git push -u origin master


for changing the name 
git config --global user.name "name"
git config --global user.email "email@gmail.com"


for checking the email or name 
git config user.email
git config user.name`
Split Array into Consecutive Subsequences
Tags: leetcode, programming, python
Published: 2022-08-19 08:15:52

You are given an integer array nums that is sorted in non-decreasing order.

Determine if it is possible to split nums into one or more subsequences such that both of the following conditions are true:

Each subsequence is a consecutive increasing sequence (i.e. each integer is exactly one more than the previous integer).
All subsequences have a length of 3 or more.
Return true if you can split nums according to the above conditions, or false otherwise.

A subsequence of an array is a new array that is formed from the original array by deleting some (can be none) of the elements without disturbing the relative positions of the remaining elements. (i.e., [1,3,5] is a subsequence of [1,2,3,4,5] while [1,3,2] is not).



```py
class Solution:
	def isPossible(self, nums: List[int]) -> bool:

		if len(nums) < 3: return False

		frequency = collections.Counter(nums)
		subsequence = collections.defaultdict(int)

		for i in nums:

			if frequency[i] == 0:
				continue

			frequency[i] -= 1

			# option 1 - add to an existing subsequence
			if subsequence[i-1] > 0:
				subsequence[i-1] -= 1
				subsequence[i] += 1

			# option 2 - create a new subsequence 
			elif frequency[i+1] and frequency[i+2]:
				frequency[i+1] -= 1
				frequency[i+2] -= 1
				subsequence[i+2] += 1

			else:
				return False

		return True

```
How to solve id_ed25519 file
Tags: git, ssh, github, webdev
Published: 2022-08-19 08:12:00

When I created the SSH key for the git then I face the error
when i running the command 

```
ssh-add ~/.ssh/id_ed25519
```
 of id_ed25519 no such file found.

##Solution
##1.
 change the file name id_rsa.
 `ssh-add ~/.ssh/id_rsa`

##2.
For copy the key we follow the given command 
clip < ~/.ssh/id_rsa.pub

##3.
At last one more command.
Just add Github fingerprint to known hosts this way:

```
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts 
```
then push the project
HAPPY CODING☺☺☺
Migrate ember-data models to Octane
Tags: ember
Published: 2022-08-19 08:01:53

Since the arrival of [Ember Octane](https://emberjs.com/editions/octane/) we could start using [native JavaScript classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).

And since the EmberJS community is awesome, it has created a [ember-native-class-codemod](https://github.com/ember-codemods/ember-native-class-codemod) to help out with the migration.

Sadly from the readme of the codemod:

> Unsupported Types
> While the codemods transforms many types of ember objects, it does not support transformation of
> ember-data classes such as DS.Model, DS.Adapter etc

So my entire data layer has been left out. And thanks to superb backwards compatibility it was ok. But now the time has come to do something about it.

The solution I used is _the cheapest_ I could come up with, but it's by no means bullet proof nor without the need of manual intervention. But it does _a lot_ of the work.

It uses [vscode](https://code.visualstudio.com/) global search&replace functionality:

## Native class

### Search

```
export default Model.extend\(\{((\n.*)*)\}\);
```

### Replace with

```
export default class TooLazyToNameModel extends Model {$1};
```

## @attr, @belongsTo, @hasMany

### Search

```
(\w*): (attr|belongsTo|hasMany)\((.*)\),
```

### Replace with

```
@$2($3) $1;
```

## Conclusion

Hope these might help someone out. I know that for example multiline attribute definitions won't be covered. So please share in comments improved versions and I'm happy to update.

-----

Photo by <a href="https://unsplash.com/@francogio?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Franco Antonio Giovanella</a> on <a href="https://unsplash.com/s/photos/regular-expression?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>