teleren/devto huggingface dataset:
Build Trello Cards from GitHub Events Automatically
Tags: startup, tutorial, serverless, wayscript
Published: 2020-11-30 13:14:55

Introduction
------------

Collaboration is an extremely important aspect of any business, but especially so when it comes to creating software and websites. Trello cards are great ways to keep everyone organized and on the same page. In today’s script, we’ll learn how to utilize these with GitHub in order to efficiently manage important tasks for your business. Keep reading to learn more about this simple script!

Building our Script
-------------------

The first step in creating this script is to add the GitHub Trigger module. This is the starting point for the script and essentially keys the script to run. Once the trigger is added, choose a repository, mode, and when to run the program from the drop-down menus in the toolbar at left. For this script the “issue events” mode is selected, and the program will run whenever a GitHub issue is created. There are also options for outputs to be used later; this example uses the title, URL, and username.  
  

![tutorial step #1](https://wayscript.com/blog_img/151/1.png)

  
  
When selected, these appear as variables at the bottom of the toolbar.  
  
Next, the Trello module is inserted below the GitHub Trigger. If this is the first time using Trello the account must be authorized by selecting “add an account” before moving forward. Once the account is authorized and selected, use the drop-down menu to choose the appropriate action. In this case, it’s “create a new card.” Once this is done there are multiple menus in the toolbar to select the correct Trello board and list to use. There are also inputs for the card name and description. This is where the output options created earlier (title, URL, username) should go, as seen in the image below.  
  

![tutorial step #1](https://wayscript.com/blog_img/150/2.png)

  
  
Additionally, there are further options to explore in the toolbar for the card.  
  
Finally, activate the GitHub Trigger by clicking the switch to the “on” position. Now, whenever an issue is submitted in GitHub the script begins to run, eventually creating the Trello card corresponding to the issue.  
  
Having the ability to automate Trello cards whenever updates occur in GitHub is a great way to stay on top of collaborations between team members. There’s no more needing to constantly remind yourself and others about updates; simply use this quick and efficient script to do the work for you!

Conclusion
----------

Questions about this script or anything else? Join our [discord](https://discord.gg/VWbXSbj). We're always around to help.
Weekly Challenge 089
Tags: perl, perlweeklychallenge, weeklychallenge
Published: 2020-11-30 13:06:15

[Challenge 089](https://perlweeklychallenge.org/blog/perl-weekly-challenge-089/)

# TASK #1 › GCD Sum

## Task

You are given a positive integer `$N`. Write a script to sum GCD of all possible unique pairs between 1 and `$N`.

## My solution

This is relatively straight forward. All possible unique pairs can be calculated with the first number from 1 to `$N` - 2, and the second number one more than the first number to `$N`.

It's then a matter of calculating the GCD for this combination. For this I have a subroutine `_gcd` that takes the minimum of the two numbers and work backwards to one. It will return the first value that can be divided by both numbers with no remainder.

## Examples

```
» ./ch-1.pl 3
3

» ./ch-1.pl 4
7
```

# TASK #2 › Magical Matrix

## Task

Write a script to display matrix as below with numbers 1 - 9. Please make sure numbers are used once.

`[ a b c ]
[ d e f ]
[ g h i ]`

So that it satisfies the following:

`a + b + c = 15
d + e + f = 15
g + h + i = 15
a + d + g = 15
b + e + h = 15
c + f + i = 15
a + e + i = 15
c + e + g = 15`

## My solution

My first thought was to just brute force this. The possible permutation is 9! = 362880, and even a half decent computer could figure this out pretty quickly.

But I took a slight different approach to make it even faster.

1. Work out all the possible ordered three digit combinations that sum to 15. It turns out there are only eight combinations: 1 5 9, 1 6 8, 2 4 9, 2 5 8, 2 6 7, 3 4 8, 3 5 7, 4 5 6
1. Using these rows, work out all combinations of these rows such that all numbers are used. There are twelve rows returned.
1. This now means the possible solutions are 6³ × 12 (2,592). We know that we won't need all of these. For example, the 1 will always be found in top left, top middle or centre position (all other places will be a mirror/flip of one of these).
1. At this point, I just use a brute force approach until I find a solution.
  1. Each row can be ordered one of six ways (abc, acb, bac, bca, cab, cba).
  1. For each of the twelve solutions, we can cycle through the six numbers combinations in each row.
  1. If a solution is found that meets the requirements, we print the solution and exit.

I'm looking forward to seeing how other Team PWC members tackle this task.

## Examples

```
» ./ch-2.pl 
[ 6 1 8 ]
[ 7 5 3 ]
[ 2 9 4 ]
```
How the UI Bakery Low-Code Web App Builder Was Created – CEO's Story
Tags: webdev, showdev, interview, startup
Published: 2020-11-30 13:05:29

Read an interview with the #UIBakery CEO to get #productdevelopment tips and learn:
✔️How UI Bakery was created.
✔️How the platform differs from its low-code competitors.
✔️What its future plans and upcoming improvements are.

Check it out -> https://microempires.me/interview-with-ui-bakery-founder-valdimir-lugovski/?utm_campaign=ui_bakery%20-%20microempires%20-%20article%20-%20cacq%20-%20vova_interview%20-%20traffic&utm_source=DevTo&utm_medium=webdev&utm_content=article_announcement
Daily Developer Jokes - Monday, Nov 30, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-11-30 13:00:29

---
title: "Daily Developer Jokes - Monday, Nov 30, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Monday%2C%20Nov%2030%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12596bcfd66.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ What was Grace Hopper's favorite car?

___A:___ VW Bug
 -->
How to run PHP and link to MySQL using XAMPP
Tags: php, mysql, webdev, database
Published: 2020-11-30 12:49:19

I spent 12 hours on the day of my presentation trying to figure this out so if you ask me what was the inspiration behind writing this post, it's to save someone from this plight.

#Installing PHP:
Go to https://www.php.net/downloads.php
I downloaded 7.2, on clicking on the link a zip folder gets downloaded, extract the files inside a folder PHP7 in the C drive.

If you use VSCode, change php.validate.executablePath = "C://PHP7//php.exe" in settings.json 
Install the Code Runner Extension and run the file from terminal itself.
  
#Installing XAMPP
Go to https://www.apachefriends.org/download.html
and download the latest version of XAMPP, installation process begins, press Finish when it is done.

Open XAMPP Control Panel
Press Start for Apache and MySQL modules.
The panel appears like: ![Control Panel](https://dev-to-uploads.s3.amazonaws.com/i/3ihmq10ow60ttfnk4kk5.PNG)

Go to your browser and type localhost
If the following screen appears , you have installed XAMPP successfully ![Dashboard](https://dev-to-uploads.s3.amazonaws.com/i/er2kn9wn5mhrj4ya4koe.PNG)

#Run PHP Files using XAMPP
Go to C Drive -> xampp -> htdocs -> create a folder and store your php files there.

Inside your browser go to localhost/your folder name/path to your php file and you will be able to see your output on the webpage.

#Linking PHP to Database

$host = "127.0.0.1";
$username = "root";
$pass = "foobar";
$conn = mysqli_connect($host, $username, $pass, "speed_age");
if(!$conn)
{
	echo 'could not connect'.mysqli_error();
}

The next error I encountered was root@localhost not connected using password if you do too go to XAMPP Control Panel -> Config button for Apache Module -> phpMyAdmin -> Section under Authentication type and info

Change this line as $cfg['Servers'][$i]['password'] = 'your password';

I have used foobar so I changed it to *$cfg['Servers'][$i]['password'] = 'foobar';*

If you get the no database detected error go to Admin in MySQL Module -> Databases -> Create Database ->  Give the name as you used in your code , I used *speed_age* in mine.

For creating tables and manipulate data in rows use GUI or go to SQL tab right to Databases and run query.

Thank you for reading , this is my first post let me know what you think :)
Best OS X utilities to help you be more productive in 2020
Tags: productivity, osx
Published: 2020-11-30 12:47:46

I recently started to use Mac as my main development machine. I had pretty good workflow established on my Windows machine (with heavy use of their party utilities and system build-ins) that I have hard time recreating on Macs. 

This article is a list of tools/utilities to help me create best workflow as possible and to stay productive. 

## [f.lux](https://justgetflux.com)

This is such a no brainer. It helps you adjust color temperature of your screens. Yes OS X has something similar (as well as Windows) but none is as good as flux. 

I have it setup so that the blue light is filtered a bit even during a day. Without f.lux my eyes are hurting. 

![My Flux Settings](https://dev-to-uploads.s3.amazonaws.com/i/z6bf78vq4eaq7mkdkhfn.png)

## [Caffeine](https://intelliscapesolutions.com/apps/caffeine)

It's very simple utility that prevents your screen from going to sleep. 

![Caffeine](https://dev-to-uploads.s3.amazonaws.com/i/u7m4kqgfmwy5ju7kakov.png)

## [Maccy](https://maccy.app)

Clipboard management is very important to me. I need to have a searchable history of my keyboard accessible through very simple keyboard shortcut. 

![Maccy](https://dev-to-uploads.s3.amazonaws.com/i/n45vsnzcm1plnte4vp23.png)

## [AltTab](https://alt-tab-macos.netlify.app/) 

This utility brings back the windows style alt tab command. Old habits die quickly and I still using this shortcut to navigate my system. 

## [Rectangle](https://rectangleapp.com/)

OS X has terrible window management, you need to resize all the windows manually, it's pain and it slows you down. 

Again there is a lot of tools that can help you with this, but Rectangle is open source and free and absolutely does its job. 

![Rectangle](https://dev-to-uploads.s3.amazonaws.com/i/uhytak8psf0lvhs6dmbo.png)

---
I hope you like this list. You can follow me on [Twitter](https://twitter.com/pavel_polivka) to get more content like this.
❎❓Quiz: Web Performance #30
Tags: challenge, webperf, webdev, quiz
Published: 2020-11-30 12:17:04

Caching is essential for web performance. How much do you know about it?

What does max-age in the HTTP cache headers stand for?

- The time a cache expires.
- The maximum amount of time a resource is considered fresh.
- The time a service worker caches fonts.
- The max-age of an image.

---
<center>[Answer the question](https://marcradziwill.com/web-performance-quiz/what-does-max-age-in-the-http-cache-headers-stand-for/)</center>
---
❎❓Quiz: Web Performance #29
Tags: challenge, webperf, webdev, quiz
Published: 2020-11-30 12:16:43

Quiz time! Today it's about fonts.

What does font-display mean?

- Tells the developer which font he should download locally.
- The font-display property defines how font files are loaded and displayed by the browser.
- Tells the browser what font the website has.

---
<center>[Answer the question](https://marcradziwill.com/web-performance-quiz/what-does-font-display-means/)</center>
---
❎❓Quiz: Web Performance #28
Tags: challenge, webperf, webdev, quiz
Published: 2020-11-30 12:16:29

How many pages include at least one third-party script?


- 93.59%
- 81.53%
- 52.49%
- 16.41%

---
<center>[Answer the question](https://marcradziwill.com/web-performance-quiz/how-many-pages-include-at-least-one-third-party-script/)</center>
---
Features of E-learning app in 2020–2021
Tags: mobile, startup, education
Published: 2020-11-30 12:01:41

“E-learning” became one of the most popular words in 2020, though this phenomenon has appeared a long time ago. It is an approach to education that offers anyone to study from any place, on any device, and anytime.
Today this field is very profitable for creating a startup. According to Forbes data, the digital education market will increase to $325 billion by 2025. However, we can see that the demand for e-learning apps and platforms will grow because of COVID situation worldwide.
At Exceed Team we build such platforms for business owners from scratch. One of the most important stages before development is to analyse the market and set goals. Here’s <a href="https://exceed-team.com/blog/features-of-elearning-app-2021#features-of-an-e-learning-app-in-2021">the list of features</a> that continue appearing in e-learning apps and for sure keep popular for the next year:
* Personalized Learning
* Mobile Learning
* Microlearning
* Use of AR and VR
* Artificial Intelligence as Tutors
* Increase in Big Data Analytics
* Gamification

We will write a post about why we need gamification in digital education later. Now you can read <a href="https://exceed-team.com/blog/features-of-elearning-app-2021">the original article</a> to learn more about building an e-learning app and starting business in this profitable niche.
Producer Consumer Problem | Operating System - M03 P02
Tags: linux, devops, codenewbie, beginners
Published: 2020-11-30 11:43:53

**This is a multipart blog article series, and in this series I am going to explain you the concepts of operating system. This article series is divided into multiple modules and this is the third module which consists of 10 articles.**

_In this article we will discuss about producer consumer problem in an operating system._

### Producer consumer problem
- It is standard problem of multiprocessor synchronization.
- In this we have two process one of producer and another of consumer and both the process are arriving at same time and they are sharing something _(cooperative process.)_

***Consumer program***
```c
void consumer(void) {
    int itemC;
    while(true);
    {
        while(count == 0)
        itemC = Buffer(out);
        out = count - 1;
        count = count - 1;
        process_item(itemC); 
    }
}
```

***Producer program***
```c
int count = 0;
void poducer(void) {
    int itemP;
    while(true) {
        producer_item(itemP);
        while(count == n);
        Buffer[in] = itemP;
        in = (in+1)mod n;
        count = count + 1;
    }
}
```
- Here producer process will generate an item while executing and put it in buffer. Consumer will execute the code _(consumer code)_ and then it will use item by taking out line from buffer and perform any task/process.
- This is the ideal case in this case producer will put the item in buffer and consumer will take it out and use, and the buffer is completely field then it will start over again from zero.

_This was all about producer consumer problem. Hope you liked it and learned something new from it._

If you have any doubt, question, queries related to this topic or just want to share something with me, then please feel free to contact me. 

### 📱 Contact Me

[Twitter](https://twitter.com/r_mishra10)
[LinkedIn](https://www.linkedin.com/in/rahul-mishra-66210b185)
[Telegram](https://t.me/rahul_mishra10)
[Instagram](https://www.instagram.com/rahul_mishra10/?hl=en)

### 📧 Write a mail
<rahulmishra102000@gmail.com>

#### 🚀 Other links

[GitHub](https://github.com/rahulMishra05)
[HackerRank](https://www.hackerrank.com/rahulmishra10201)
What are basic practices for implementing css/scss modules in react project?
Tags: react, css, discuss, webdev
Published: 2020-11-30 11:30:43

---
title: What are basic practices for implementing css/scss modules in react project? 
published: true
description: basic practices for css modules 
tags: react, css, discuss, webdev
//cover_image: https://direct_url_to_image.jpg
---
Tutorials would be great too. :)
How to Search Keywords
Published: 2020-11-30 11:28:48

Keyword Research :- Keyword research should be the first step when someone starts the SEO campaign and many people miss this step because they think that they know the right words which people are looking for. I have found that doing the right research first will always benefit in SEO. SO in this Article you will see the value of doing Key research. and the module is set up to provide a clear plan/ picture to you of how to find the keywords that really make difference.


How Keywords Work in SEO :- A keyword can just be a simple or it can be a descriptive phrase which can be used to describe what you are searching for. for examples if we are in business of selling the pens and we have a website that sells and arrangement of our pens. We obviously want to rank in what people are going to type in to the search box in order to find our product. Some words we might come up with such as marker, pen, highlighter.

Base keywords :- These words represent the root of a keyword is called base keyword. Below we have used base words in the scenario of pen company

Base keywords

Marker

Pen 

Highlighter

But Having a base keyword doesn’t tell us what the user is looking for so we need to add more information to the base keyword to find out what is being searched for more.

Modifier:- The sort of words which provides additional inside is called modifier Keywords which clarify the meaning of the key word such as:

Modifier

Permanent Marker alternative

Industrial Pen Holder

Black Highlighter

So understanding the intent of the search is quite valuable for someone who is doing SEO and modifiers play an important role in doing this.

Extenders :- Adding additional action words to a keyword base and modifier further enhance the keyword meaning and these are called keyword extenders such as :-

Extenders

Need permanent marker alternative

find industrial pen holder

highlighter black no bleed

All three elements will help to dig deeper into understanding the purpose of the key word. Also like to mention that search engines don’t need base, modifier and extender to be in order and you can mix up the order without concern of the search engine. Read more at - https://www.devopsschool.com/blog/how-to-search-keywords/
Introduction | Shell Scripting 
Tags: tutorial, linux, devops, beginners
Published: 2020-11-30 11:11:44

**This is a multipart blog article series where I am going to explain the concepts of shell scripting and how to write a shell script in Linux, UNIX or Mac based systems. You can also follow this tutorial blog using windows but for that you have to install a bash from.**

_This article is introduction article of this series so we will not do fancy stuff here, just basic._

- To see how many shell are present in your system just type `cat /etc/shells` in the terminal.
After this command you will see the list of different shells present in your system, it depends from system to system.
We are going to use **Bash** for this tutorial but you can follow by using any shell of your choice.
- Next command I want to show you is `which <shell_name>`.
By this command you will see the directory where your bash is installed/ present.
- Now, to write a shell script we need a file of _.sh_ extension. We can create this file using this command `touch <file_name.sh>`
Remember one thing when you create a file using **touch** command by default it does not have execute permission, which means that you can only read and write in that file.
To give it the execution permission just type this command in the terminal `chmod “+x” <file_name>`.
- Now open the file in your favorite editor and type`“echo “Hello World”`
And then go in terminal and type `./<file_name.sh>`
You will see an output `Hello World` in the terminal.

Congrats you successfully write a hello world program in shell.

[Practice code file for this article](https://github.com/rahulMishra05/shell-scripting/blob/main/video1.sh)

_This was all about the introduction of shell scripting. Hope you liked it and learned something new from it._

If you have any doubt, question, queries related to this topic or just want to share something with me then please feel free to contact me.   

### 📱 Contact Me

[Twitter](https://twitter.com/r_mishra10)
[LinkedIn](https://www.linkedin.com/in/rahul-mishra-66210b185)
[Telegram](https://t.me/rahul_mishra10)
[Instagram](https://www.instagram.com/rahul_mishra10/?hl=en)

### 📧 Write a mail
<rahulmishra102000@gmail.com>

#### 🚀 Other links

[GitHub](https://github.com/rahulMishra05)
[HackerRank](https://www.hackerrank.com/rahulmishra10201)
Interview With Giuliano Liguori: The Most Effective IoT Trends Businesses Can Adopt To Overcome The COVID-19 Pandemic
Tags: iot, technology
Published: 2020-11-30 10:29:21

Giuliano Liguori is GLweb.eu's Digital Transformation Specialist and CEO. Giuliano assists entrepreneurs and managers in the achievement of their business objectives with extensive expertise in IoT, IT security, data protection and project management. Giuliano has also aided many enterprises in introducing the right new technology and has helped turn them into a profitable investment for increased ROI. He has considerable experience assisting companies in driving growth and developing a credible web presence. As an accomplished specialist in digital transformation, Giuliano will address our questions about the different disruptive IoT trends that organizations should follow in order to solve the COVID-19 pandemic.
Read more at: https://thinkpalm.com/blogs/interview-with-giuliano-liguori-the-most-effective-iot-trends-businesses-can-adapt-to-overcome-the-covid-19-pandemic/
Explore our technology expertise at: https://thinkpalm.com/technologies/internet-of-things/