teleren/devto huggingface dataset:
Weather card with TailwindCSS
Tags: tailwindcss, webdev, css
Published: 2021-01-03 11:20:00

From time to time, I like to play with TailwindCSS, especially when a new version is released. 

If you haven't used tailwind so far, give it a try. 99% you'll fall in love with it.

Look how simple is to create a weather card:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/b2tppc73rx6thb32oimp.png)

{% gist https://gist.github.com/razvanstatescu/fe8bce940d3102ec5f66b89b8d8d0e4c %}

Use the [tailwind playground](https://play.tailwindcss.com/GFUNQjo8s9) to customize this card.

If you have any questions, you can find my contact details on [my website](https://statescu.net).
Medan Kota Wisata
Tags: paketwisatamedan, pakettourmedan, paketcitytourmedan, tourmedanmurah
Published: 2021-01-03 11:19:02

Saya seorang Tour operator di sebuah travel agent medan. Kami menyiapkan <a href="https://aurorawisata.com">paket wisata medan</a> untuk anda sekeluarga, teman-teman anda, kolega dan perusahaan anda untuk menikmati wisata asyik bersama kami setiap saat di Kota Wisata yang sangat kami banggakan.

Program <a href="https://aurorawisata.com">paket tour medan</a> yang kami tawarkan telah mengalami perubahan dan perbaikan hingga mendekati kesempurnaan dalam konsep pelayanan dan infrastruktur yang digunakan seperti hotel, transportasi, driver, tour guide dan pengaturan program seperti itinerary dan prosedur reservasi yang tidak ribet dan menyenangkan bagi anda semua.

Saat ini <a href="https://aurorawisata.com">paket city tour medan</a> dapat digabungkan dengan penawaran wisata lainnya seperti tour berastagi, wisata ke Taman Simalem Resort dan paket tour danau toba dengan variasi harga yang disesuaikan. Oleh karena itu kami menyebutnya dengan istilah lain yaitu tour medan murah yang sangat laris manis.
How to debug your code in javascript?
Tags: javascript, beginners, writing
Published: 2021-01-03 11:18:10

Hii DEV family 👋

In this article, we are discussing debug your code in javascript sound is good!. Let's start
Debugging your code is very important to solve a problem.
Ya yaa Error...! 🤯

**Lifelike an error. 😂**

Now how to solve it?
Console.log is helping to solve the error.
There are so many types to see the output in the console.

#console.log
it's very simple and basic use in javascript programmer...!
ex:1
`console.log("🤪");`

ex:2
`var name = 'Kuldeep';`
`console.log(name);`
If you want to basic way to see an error you can go with it.

>But what if we have multiple values that we want to log?


For example:
`var name='kuldeep 🤓';`
`var friendName='Pawar 😝';`
`var car = 🏎️;`

`console.log(name);`
`console.log(firendName);`
`console.log(car);`


That time we are console.log() 3-time write? No, I have an idea 💡.

I write code like this.
`console.log('name'.name, 'My Friend Name'.firendName, 'car'.car);`
But this is also long 😆
I write code like this again...
`console.log( {name, firstName, car} );`

You can write this way your code line is less and you can easily understand to code what is. And You are a smart way programmer.

#Let's work with Object:
```
let car ={
carName: 'BMW',
carColor: 'Black',
price: $250000,
}

console.log(car);
console.log({car});
```

The first log will print the properties within the car object. The second will identify the object as "car" and print the properties within it.

#Variables within the log
`console.log('%s is %d years old', "Kuldeep", 29 );`

in this example, `%s` is referred to as string options, and %d is referred to as any number. In this example our output statement is a show like this: `Kuldeep is 29 years old`.

##variants log().
There are a few variant logs. Mostly widely use console.log(). But there is also.

```
console.info('This is info message') ;
console.warn('Please enter valid number');
console.error('number is not valid');
console.debug('This is debug');
```
`warn`  print as yellow color and `error` message print as red color

#console.table()

console. table() is view beautiful table view with index number.
```
let animal = [
    {
        cow: "🐮",
        cat: "🐱"
    },
    {
        dog: "🐶",
        monkey:"🐒"
    }
]
```

![Screenshot_2021-01-05_09-37-19](https://dev-to-uploads.s3.amazonaws.com/i/a9u36i4w995fsj8yiut8.png)
CurateBot Devlog 0: Simple interface for curating and scheduling AI-generated tweets
Tags: devjournal, vue, showdev, javascript
Published: 2021-01-03 11:12:30

What's this? A side-side project? Yeah, it happens.

# What?
Recently I trained an AI on a bunch of tweets to generate new tweets in this style, some of which I hope to tweet using from a twitter account. It's your classic Twitter Bot.

The current manual workflow is this:
1. Generate a lot of tweets using the AI which was previously trained
2. Read these, and pick out the good ones to tweet
3. Paste the tweet into TweetDeck, and give it a schedule

All in all, this is a lot of clicks and screen estate to do. I'd love for a more streamlined process. The way I envisage a more streamlined all is this:

1. Generate the tweets, as before. But perhaps push them to a website via API (or upload exported JSON file)
2. From a mobile friendly app, get shown each candidate tweet and let me easily swipe left or right to dismiss the candidate tweet, or to schedule it
3. the bot automatically queues the tweet to be sent from the twitter account for me using some simple rules for times that I set up (e.g. at pre-destined or randomised times every day)

# Why?
Mostly so I can more sustainably maintain multiple twitter bots.

But also to keep my JavaScript skills sharp, including my Vue skills which I haven't touched in a while.

And lastly because the scheduling aspect is shared with LGTM, so this is also a neat little standalone project where I get to try that out before using it with LGTM.

# When
As per usual, this is a side project (actually a side-side-project) so I have to fit it alongside regular work, and I don't have a lot of time. However, due to the small scope of this project I hope to get it done within a three weeks, but we shall see.

# How?
I have a stack in mind: my old friend Firebase. It'll look something like this:

* Firebase Auth, for user accounts, as well as twitter oauth login
* Firebase Firestore, as the serverless database to store the tweets)
* Google Cloud Tasks for scheduling
* Vue.js 2 (not 3 due to the below reason)
* Vuetify for component framework as I don't want to deal with too much front-end. Unfortunately only supports Vue 2 for now

I'll describe this choice in the next post. I'll also be open-sourcing the project, the [repo can be found here](https://github.com/meseta/curatebot)
Dynamic Programming Question: 0-1 Knapsack problem
Tags: programming, computerscience
Published: 2021-01-03 10:24:23

0-1 Knapsack problem is a very classic example of dynamic programming. 
PROBLEM STATEMENT:Given an array of items with their quantity and their values, determine the maximum value of the items that can fit into the bag with a capacity of W.

SOLUTION:
An important thing to keep in mind about such question is that here we cannot take the fraction of any item, it is either whole or nothing at all.
This question can be solved with the help of dynamic programming. In fact, this question is a classic question of dynamic programming.
ALGORITHM:
1. We have been given a list of items with their value and weights. 
2. Here we use the concept of dynamic programming, that is, we store the results of the previous calculations in an array and using those results for further calculations.
3.We start our calculations from the nth item. Here we check whether the weight of the nth item is less than the weight of the knapsack.If the weight of the knapsack is greater than the weight of the item , then we have two options, we can either include that item or we can exclude that item from our chosen ones. As we have been asked to store the maximum, therefore, we choose the maximum of the two.
4. If the weight of the knapsack is less than the weight of the item there is no way we can include that item.
5. We continue this process from the nth item to the 1st item.

**CODE**:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/0v2xr46wpolsc3uc6r43.png)

Hope this post helps you in becoming a better competitive programmer. Follow my [Github](https://github.com/SAY-droid427) for more competitive programming questions
What's the best way to represent time spent on open source on a CV or Linkedin?
Tags: discuss, career, opensource
Published: 2021-01-03 11:12:24

Personally, I'm spending a significant chunk of time on a regular basis working on open source stuff, so I feel like it might be worth elevating beyond the projects section to the experience section. However, I'm worried it might appear pretentious because I'm mainly working on my own projects, and they're pretty niche so they aren't especially successful or glamorous and definitely don't make me any money. Wondering what others think.
How to update my .NET C# compiler (csc)?
Tags: dotnet, csharp, beginners, help
Published: 2021-01-03 11:05:22

So I recently figured my \.NET compiler is outdated, seeing as it can't use static imports (`using static ...`), so I was here to ask, how do I update it?

I tried redownloading \.NET, and looking up how to update, but neither of which were really helpful. So can someone explain the steps of updating?


<div style="font-weight:bolder;" alt="Thanks! Cheers!">
##<b><center><b>Thanks!<br/>Cheers!</b></center></b>
</div>
English for Devs
Tags: communication, language
Published: 2021-01-03 10:55:45

---
title: English for Devs
published: true
description: A phrase book for software developers who speak English as a second language
tags: communication, language
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/lltd1zg7afiil5oca061.jpg
---

Many software developers don't speak English as their first language and day by day more companies are hiring globally. 

This increases the importance of domain specific language learning tools for software developers. 

## Please help

Will you help me create a free and open source phrase book to help those developers improve their English? 

Contributions are welcome! 
https://gitlab.com/sourcecodeschool/english-for-devs
 


Cover photo by [lajaxx](https://unsplash.com/@lajaxx)
Introduction
Tags: showdev, python, mysql
Published: 2021-01-03 10:55:04

This is my first Discord Bot Blog post. I am Building a Discord BOT using Python and MySQL database for storing all the data.

Steps For Building the Project are as follows. 😃

1. Downloading `Discord` and `mysql.connector` packages 🎉.
2. Setting up a Discord Server and saving the TOKEN for the server.
3. Creating Database Schema and Diagrams 💬.
4. Creating Python Commands, database connectivity using python 👨🏼‍💻.
Dynamic Widget Rendering with help of ListView.builder and Model Data in FLutter.
Tags: flutter, node, socketio, mongodb
Published: 2021-01-03 10:13:15

I am trying to develop a chat app like Whatsapp with help of the Flutter, NodeJS, SocketIo and MongoDB. Right now I uploaded a 6 video on the UI playlist and you can see the result in the images. If any one is interested they can follow my channel for reference.
Here is the 6th Video:[Link] (https://youtu.be/5k6NUtl_Xso)
And here is the playlist: [Link](https://youtube.com/playlist?list=PLtIU0BH0pkKrgqaT-9JSrRRyetkVEkDn6) 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qetc1s26409z5bf5fp1y.png)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/aty3n99d5g5qhi15g6u3.png)
Best Microsoft power bi certification
Tags: analyst, database
Published: 2021-01-03 10:06:14

The Microsoft Power BI Training by IgmGuru is planned to assist users in dynamic learning about Power BI, Microsoft’s latest business intelligence tool used for Analytics and data visualization. The primary goal of online training for Power BI is to help users attain a working knowledge of exploring and analyzing datasets using Power BI and make easy to use visualizations into the dashboard using the tools provided by Power BI platformhttps://www.igmguru.com/data-science-bi/power-bi-certification-training/
Solving Balanced Parenthesis Problem
Tags: programming, codenewbie, algorithms
Published: 2021-01-03 09:56:50

A famous interview question on stacks is to solve the balanced parenthesis problem. In this question, the input consists of a series of parenthesis and other characters and the expected output is to print "Balanced" if the bracket sequence is balanced otherwise "Unbalanced".

Example:
**INPUT**: []{}{}{}[]
**OUTPUT**:Balanced

**INPUT**: [{}]{}
**OUTPUT**:Balanced


**ALGORITHM**
To solve this problem, we scan through the elements of the string one by one. If the character under consideration is an opening parenthesis "([{", then we push it to the stack.
If the character is a closing parenthesis, then we check whether the stack is empty or not. If the stack is empty, then it means the brackets are unbalanced. However if the stack is not empty, then we check whether the top element on the stack is the corresponding opening parenthesis or not, that is,( for ), { for }, [ for ]. If it is then we continue scanning, else the sequence is unbalanced.
But the algorithm does not end here.
After the entire string has been scanned, we check again whether the stack is empty. If the stack is empty and the previous scanning results(the algorithm followed above) also show that the string is balanced, then we print that the sequence is Balanced.
However if the stack is not empty, then it means that there is some parenthesis whose match has not been found yet, and the sequence is, hence , unbalanced.

![stack](https://dev-to-uploads.s3.amazonaws.com/i/2z5bw195skorsm67krt3.png)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/sqw1d8kl5feg9q8t3jbx.png)

Hope this helps you!
Don't have an idea of starting web development?
Published: 2021-01-03 09:47:05

# Little bit about me
Here, I'm learning web development for the last 9 months, I'm not coming from a cs degree background, but a lot of curiosity and interest makes me learn to code. I want to share what is the struggle I was faced and what I learned from this. It will be something useful for your learning path.

### Begining
In the very first month, I planned to learn HTML and CSS, I used to watch all the tutorial on youtube, and at the end of the day, I was blank and I fell into tutorial hell. I've realized hands-on coding will only makes me a better developer.
 
###A months ago
After a lot of practice and hard work, I made a plain [HTML](https://shivashankar-741.github.io/HTML-and-CSS/day1/) without using any CSS that was my first line of code written and pushed into my repo. Then I learned CSS, I added styling to that plain HTML, now it looks like [this](https://shivashankar-741.github.io/HTML-and-CSS/survey_form/), this is not a completely responsive webpage.

###Tutorial hell
This is the very common mistake all the beginners do when they learning to code, I'm also one of them. whatever you learn, for example, if you learned flexbox in CSS just make the **navbar** using flexbox, even it's so simple that's not a problem, just **get your hands dirty** by doing the coding.

###React or Angular
After I learned the basics of Javascript, how the web works, and DNS. I chose react because it's lightweight and we can easily build a user interface and the community is quite big.
 
###First react App
Before I create the first react app, I'm completely explored the [react](https://reactjs.org/) documents, which gave me everything need to know about this.

A week later, I created a simple todo app, it's getting input from a user and forms a list. I really like [react](https://github.com/Shivashankar-741/React) it's easy for the beginner, we can able to create our own projects within a week.

###End of 2020
Before the end of 2020, I've really explored as much as I could, really looking forward to learning more and more in 2021.
Glassmorphism Login Form In HTML & CSS
Tags: css, html, weeklyui, webdev
Published: 2021-01-03 09:02:14

Glassmorphism effects are trading CSS effects which make in CSS3 with the help of box-shadow and blur CSS properties. So here we made the Glassmorphism login form in HTML and CSS.

In this form, we used pure HTML and CSS with help of media quires on the responsive side. Here we modify input fields and buttons with help of CSS properties. we used to flex and alignment properties to make our element in the proper center. this is fully responsive for mobile-view and table est view login forms.

Make it yours now by using it, downloading it, and please share it. we will design more elements for you.

[Source Code](https://w3hubs.com/glassmorphism-login-form-in-html-css/)
$PATH on Mac
Tags: path, mac
Published: 2021-01-03 08:58:29

<b>View your PATH</b>
Run the following command to view your PATH:
`echo $PATH`

<b>Edit your PATH</b>
`sudo nano /etc/paths`
If using zsh shell as default:
To do this via your .zshrc file type in:
export PATH="GEOSERVER_HOME=/usr/local/geoserver:$PATH"

<b>What is the purpose of PATH?</b>

PATH is an environment variable that contains a colon-separated list of directories where your shell will look for executables that you name on the command line without providing an explicit path to them (as in your jsdoc example). Thus, if your PATH has

/usr/bin:/bin:/home/bin
then any executable you call by name will be searched for in these directories (in that order) and the first executable found is the one executed.

source:
https://unix.stackexchange.com/questions/111550/what-is-path-on-a-mac-os/111557
Make Animated Fully Responsive Website Design

Tags: html, css, codenewbie, codepen
Published: 2021-01-03 08:51:08

Make Animated Fully Responsive Website Design Using HTML And CSS

Demo ==> https://codepen.io/Bilal1909/full/ExPJoNO

<img src="https://i.postimg.cc/MHwswhrw/screenshot-codepen-io-2021-01-03-13-46-36-495.png">
A Simple Weather Web App
Tags: html, css, javascript, openweatherapi
Published: 2021-01-03 08:45:36

**Hello Dev's**,
I created a Simple Weather Web App using HTML, CSS, Javascript, and openweather API.

**openweather API** is a great data source for live weather reports. I am using this API because it is easy to implement and it is free to use (open source).

#Demo - images
![demo images](https://dev-to-uploads.s3.amazonaws.com/i/oamc78b5tji0fs90q1ag.png)


**App Link:-** https://arwazkhan189.github.io/Weather-app/
**Code Link:-** https://github.com/arwazkhan189/Weather-app
**OpenWeather API Link:-** https://openweathermap.org/
How to have the same .zshrc setup on multiple computers
Tags: mac, setup, dropbox, zsh
Published: 2021-01-03 08:42:36

Use Dropbox and symbolic link to keep your file in once place across multiple computers:
`ln -s source_file myfile`
e.g. `ln -s /Users/username/Dropbox/.zshrc .zshrc`

https://kb.iu.edu/d/abbe
Awesome loading screen using only HTML & CSS
Tags: html, css, codenewbie, codepen
Published: 2021-01-03 08:40:54

Awesome loading screen using only HTML & CSS

demo ==> https://codepen.io/Bilal1909/full/zYqrdRe

 <img src="https://i.postimg.cc/vZ5dtsF7/screenshot-codepen-io-2021-01-03-13-37-54-475.png">
João Pozzobon e sua ‘Capelinha de Capim’
Tags: religioncatholich
Published: 2021-01-03 08:33:35

Havia uma família muito simples, uma avó e duas meninas, que morava num ranchinho. Elas não dispunham de um lugar para colocar a imagem da Mãe e Rainha que iria visitá-las, então a avó disse às netas: “Hoje de noite a ‘Santa’ (a Mãe Peregrina) vem para cá. Vamos dormir no curral com os cabritos para que eu possa colocar a Imagem no quarto de vocês”. Isso aconteceu no mês de julho, um mês de frio, bem gelado na região sul do país.
O senhor João Pozzobon soube dessa história um pouco antes do Natal, no dia 17 de dezembro de 1952. Quando a avó das meninas lhe contou sobre isso, ele ficou muito comovido e teve uma inspiração:
Perguntou-lhe: “Vamos construir uma capelinha?”
“Com que dinheiro?”, disse a avó, “Somos pobres”
“Também não tenho nada”, respondeu o Sr. João. E acrescentou: “Não existirá capim seco para cobrir a capela?”
8 Node.js Projects To Keep An Eye On
Tags: webdev, react, node, programming
Published: 2021-01-03 08:30:47

Cytoscape.js

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/pr8wy49iwzu81s5igsw5.png)


An open-source JavaScript library used for visualization and graph analysis which comes with rich and interactive implementation. It includes all out-of-the-box gestures which include box selection, panning,pinch-to-zoom, and so on.
Cytoscape could be used on Node.js to perform graph analysis on a web server or in the terminal. Developers moving toward data science in their interest can choose Cytoscape as a good choice, also it has a wonderful contribution guide with documentation.

PDFKit


Very useful PDF generation library for nodes which helps in building and downloading complex PDFs, also it supports text and font embedding, annotations, vector graphics. However, the project has no extensive documentation which makes it harder to contribute to it.




Socket.IO

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/adhnv15ycdhbh7h3cbns.png)



Bi-directional, real-time event-based communication and works on every browser device with equal focus on speed. A basic chat app is an example of two-way communication that the tool provides.

A new message is received by the server then it sends it to the client and notifies them bypassing the need to send a request between the client and the server.

Comes With Useful Features:

Binary Streaming
Analytics in real-time
Document Collaboiration

Strapi

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qws2j8xg9jnqzwem5b4h.png)


An opensource content management system which a backend only system that provides functions to use with RESTful APIs, the main aim to get and deliver content across all devices structurally.
Comes with plenty of features, includes an inbuilt email system, file upload, and JSON Web Token authentication. The content structure is created via Strapi which is very flexible and lets you create content groups and customizable APIs.


Nest

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/6kadn04i59uu1itj9jk4.png)

Nest is a popular progressive framework for creating efficient and scalable server-side apps. Uses TypeScript for combing functional and object-oriented programming elements & uses Express under the hood. This tool provides true flexibility by letting you use and libraries, thanks to its modular architecture.

Date-fns

Still, the most consistent and simple set of tools to manipulate JavaScript dates in Node.js and a browser and works well with modern module bundlers like, Browserify,webpack, and Rollup. With amazing community support, the tool has dozen of locales where each function has a detailed description along with examples.

Read the full post at: https://medium.com/javascript-in-plain-english/8-node-js-projects-to-keep-an-eye-on-66465e221db5