teleren/devto huggingface dataset:
GitHub isn't just for code - Stream Deck templates for everyone
Tags: github, opensource
Published: 2020-12-18 05:49:53

Giving gifts at Christmas time isn't just about physical objects. In the same way, GitHub isn't just about code. [Twilio's Gift of Code](https://giftofcode.splashthat.com/) event encourages people to build digital things to gift for Christmas this year. There was also the Cloud Family's [Festive Tech calendar](https://festivetechcalendar.com/) which we were part of.

I took all these elements and built some really cool assets for streamers this Christmas. Everything is available on GitHub and it was such a fun experience.

## Gift of Code

This year Twilio's Gift of Code encourages the community to build something to gift to people. For every gift, Twilio makes a donation to the World Food Program USA in support of the United Nations World Food Programme for each entry submitted.

![Gift of Code](https://dev-to-uploads.s3.amazonaws.com/i/l2im6fhle5xouh13cnx5.JPG)

So the gift goes both ways. I am getting better at coding, but I wanted to use the skills I have to build something that everyone could use. So we decided to make Christmas themed screensavers for the Elgato Stream Deck.

## Elgato Stream Deck Templates

Not only did I make some Christmas examples for people to use, I built the templates so people could clone, download, and modify it themselves. We did all this live on stream and have everything [uploaded on GitHub](https://github.com/MishManners/stream-deck-template). The stream deck templates are available in the Mini, Standard, and XL sizes.

![Mona example](https://dev-to-uploads.s3.amazonaws.com/i/dihmvkftklx1c4cmj96r.png) 

If you're a streamer, or you have an Elgato Stream Deck, please feel free to use these [templates](https://github.com/MishManners/stream-deck-template) however you like! I've already had heaps of people using these and loving them!

## GitHub not just for Code

Yes GitHub's primary purpose is for collaborating on code. But you can also use it for other things too! All the files we built during the #GiftofCode stream are available on GitHub. We used the Readme file to add instructions on using the files, and links to all the assets we utilised.

[Check out the repo](https://github.com/MishManners/stream-deck-template) and if you want to watch us build all the fun assets, [check out the stream VOD](https://www.twitch.tv/videos/841372783).
Conditional schema setup with Yoast & WP
Published: 2020-12-18 05:25:10

Wordpress and multilanguage plugins are a horrifying experience all round. WPML is one of the slowest, resource intensive plugins I've seen.

Every now and again I want a few language specific pages for SEO in other countries. So I prefer to do it without any other plugins and here's how I did it on my [presets landing page](https://brisbaneagency.com/light-and-airy-presets/).

###Set the language in header.php###
First you need to set the language for that page in your header like:

```
<?php
if ( is_single( 'german' ))  {  
echo '<html lang=de-DE class="no-js">'; 
}
elseif ( is_single( 'poland' ))  {  
echo '<html lang=pl-PL class="no-js">'; 
}
else                           
{  
echo '<html lang=en-US class="no-js">'; 
} ?>
```

###Override Yoast's schema in functions.php###
Now here's the important part. If you use an SEO plugin (you should) like Yoast, it puts in schema that your language is the main site language, and doesn't look for your custom code in header.php.

So we need to override Yoast's schema for specific pages like this:

```
function change_inLanguage( $data ) { 
  if ( is_single( 'german' ) ) {  $data['inLanguage'] = 'de-DE';   }
  else if ( is_single( 'polish' ) ) {  $data['inLanguage'] = 'pl-PL';   }
  else {  $data['inLanguage'] = 'en-US';  }
  return $data;   
}
add_filter( 'wpseo_schema_webpage', 'change_inLanguage' );
```

Now you can check on Google Structured Data Tool that it's working and Google will do the rest. 

See it in action here:

[EN](https://brisbaneagency.com/light-and-airy-presets/)
[FR](https://brisbaneagency.com/preset-lightroom/)
[DE](https://brisbaneagency.com/lightroom-presets/)
[RU](https://brisbaneagency.com/%d0%bf%d1%80%d0%b5%d1%81%d0%b5%d1%82%d1%8b-%d0%b4%d0%bb%d1%8f-lightroom/).
[WC](https://brisbaneagency.com/woocommerce-tax-rates-csv/)
[XX](https://brisbaneagency.com/instagram-presets/)
[X](https://brisbaneagency.com/lightroom-hdr-presets/)
Progress: Authentication & laying out the UI
Tags: dohackathon
Published: 2020-12-18 05:21:19

Here's what I've been able to accomplish so far:

### Registration & Login

This is the only "functional" part of the system right now. I'm taking advantage of Django's authentication system.

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

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

You have to be logged in to see the other pages in the system.

Logging out ends your session and redirects to the login page.

### Dashboard

Nothing to see here. I just included this so I can have a page to redirect to when users log in. This will be the very last thing I do because everything else has to be working to get data to show here.

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

### Jobs

This is where jobs will be listed. Jobs can fall into three categories:
- Estimates (or drafts)
- In progress (confirmed and currently being worked on)
- Done

I'm using tabs to separate them.

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

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

## Next steps
I can't create jobs without clients and vehicles so that's what I'll be working on next.
Best Online Resources(Courses, YouTube, Tutorials, etc) to Learn R Programming in 2021
Tags: datascience, machinelearning, deeplearning
Published: 2020-12-18 04:38:44

Whether you are a Beginner in Data Science or an experienced data scientist, In both cases, you know the **importance of R programming in the Data Science field.** So if you are looking for Best Online Resources to Learn R Programming, give your few minutes and find out some **best online resources to learn R.**

Most of the time we waste, searching for different resources such as **books, courses, YouTube videos, etc for learning R programming.** That’s why I thought to collect all the best resources to learn R including **courses, books, tutorials, and YouTube videos.**

I would recommend you to **bookmark this article** for further referrals. But before I begin, I would like to tell you Why R programming is important in data science.

In Data Science, you have to perform statistical analysis, and for that R is much better than Python. R has approximately **12000 packages**, R has a huge variety of libraries to perform **statistical analysis.** Some most powerful visualization packages in R are **ggplot2, ggvis, googleVis, and rCharts.**

If you have a knowledge of Python and R both, then you will get more privilege as a data scientist or data analyst. I hope now you understood the importance of R programming.

Now without further ado, let’s get started-

For your convenience, I have created **separate sections for each resources.** So let’s start with **online courses-**
**[Click to continue reading...](https://www.mltut.com/best-online-resources-to-learn-r/#online-courses)**
How to open CMD in current directory.
Tags: webdev, programming, html, javascript
Published: 2020-12-18 04:11:05

Steps:



- 
Open Folder


![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1608264078868/1zqkPWBpl.png)



- 
Type cmd in search bar


![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1608264110790/7GCpEA990.png)


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



- 
Press Enter


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

-- optional --


- 
To open this folder in vs code type code . [It will open this folder in vs code]


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


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


-- connect --

- 

Twitter

https://twitter.com/NewGenDeveloper
Machine a stream processing library with opentelemetry support, dynamic processing with yaegi, and a clean interface
Tags: go
Published: 2020-12-18 03:17:40

https://github.com/whitaker-io/machine

I built this library in order to quickly build stream processors with tracing, serialization support, and a command to generate the projects.

The API is now stable and inface implementations for kafka, SQS, redis streams and google pub/sub are provided out of the box.

Let me know your thoughts and leave a star if you like it!
Jamstack Article | COMP2112 | Braden Scott
Tags: javascript
Published: 2020-12-18 03:13:50

The session title is called "State of the Jamstack". What I currently know about Jamstack is some of its strengths. Some of these strengths include higher security and good performance. I was hoping to learn about any new features and tools that have been released. I would also like to learn about how these new tools improve a developer's experience.

## What I Learned

The size of Jamstack is one thing I learned about. over 100 million investors consisting of people and organizations are supporting Jamstack. Matt Biilmann, the CEO of netlify talks about the many improvements that Jamstack has brought the development community. Jamstack continues to grow and improve overtime, more companies will likely want to be a part of it.

Another thing I learned about was how edge handlers work. They work with netlify edge and allow a developer to run custom code while allowing them to personalize it. This service offers faster authentication and personalization. Edge Handlers are said to shorten the distance between the user and authentication. It is clear that edge handlers will speed up many processes.

One more thing I learned about was the ongoing simplicity of Jamstack architecture over time. The general purpose data is said to be simpler and easier to reason with. The simpler Jamstack gets, the more services it will likely interact with. It is already a part of several different services and will likely keep widening its horizons. I think that it is easy to forget that simplicity can greatly increase the use of something.

## Final Thoughts

Jamstack is a highly developed web architecture that has millions of contributors. this helps to make it a well-developed way to create fast and secure applications. I have a few questions about where Jamstack expects to be in 3 years. will the architecture get simpler and become more available to different frameworks? Also, will Jamstack provide exclusive tools for different and compatible frameworks?
Fix AWS amplify React app error on Access Denied error

Tags: aws, react, webdev, beginners
Published: 2020-12-18 03:07:32

When I deployed my build react app on AWS amplify, the first landing page is able to load. However, when you defined a path in your router, and try to access it, you would hit Access Denied error:
like /signin first page loaded but unable to go /signup route or any other routes .

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

Here, what i did,

Go AWS amplify console, select “ Rewrites and redirects ”, add a new rewrite and redirects, click on “ Open text editor ”, and add the below rule:
#
    [{
        "source": "</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf)$)([^.]+$)/>",
        "target": "/index.html",
        "status": "200",
        "condition": null
    }]


Looks like this:

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


Try again to access your url, it should work now.

Stackoverflow answer:
[ https://stackoverflow.com/questions/63546586/access-denied-error-from-protected-routes-from-react-app-hosted-on-aws-amplify]( https://stackoverflow.com/questions/63546586/access-denied-error-from-protected-routes-from-react-app-hosted-on-aws-amplify)
Jamil How We Find Our Ways Again!
Tags: intern, tech, interview, experience
Published: 2020-12-18 02:37:15

Two Weeks Ago, I Have Got A bad Interview Experience, but today wasn't The Case, I've enjoyed every second of it because the interviewer was super open and cool.
I feel motivated and satisfied with the Me now because of the good energy that person sends me during our 30 min.

please, dear interviewers *BE GENTLE AND COOL*
CoderDave: 1000 Subscribers thanks to YOU!
Tags: devops, youtube, celebration, milestone
Published: 2020-12-18 01:59:22

WE MADE IT!

__Thanks to all of you__, [CoderDave](https://youtube.com/CoderDave) has reached 1,000 subscribers on YouTube!

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

It's crazy to think so many people listen to me and want to learn about DevOps, GitHub and Azure DevOps.

When I started this channel I didn't know what to expect, but I knew that I wanted to keep up what I've been doing for years on conferences, events, and eveything else:  __all I wanted to do is share knowledge, help people and grow together with the Community__

I know 1,000 Subscribers may seem like a small milestone, but for me it is __VERY meaningful__ and once again I want to thank you all for being part of this.

I will soon have a VERY special video to celebrate, don't miss it!
Scrimba Challenges Solution from start to end
Tags: javascript
Published: 2020-12-18 01:09:29

Hello guys my name is ahmadullah, Today I want to share the challenges that I solved in Scrimba #javascriptmas.
1. [Candies Challenge](https://scrimba.com/scrim/co85746cd9fd3e2d1a72ae181)
2. [Deposit Profit Challenge](https://scrimba.com/scrim/co11b4d4eb47e2673d896e989)
3. [Chunky Monkey Challenge](https://scrimba.com/scrim/coa074112a7e8d3f5bbd5b1d3)
4. [Century from year](https://scrimba.com/scrim/co856432696124433a0a4e599)
5. [Reverse a String](https://scrimba.com/scrim/co96046fca1dd12b430fe13ef)
6. [Sort by length](https://scrimba.com/scrim/cod5749a6858098eff2bdb6d8)
7. [Count Vowel Consonant](https://scrimba.com/scrim/co6e742af88889f1f25c4415c)
8. [The Rolling Dice](https://scrimba.com/scrim/co8ba4e06ba5165b28891ecce)
9. [Sum odd fibonacci numbers](https://scrimba.com/scrim/cocdf4be0ae09c10ab8989888)
10. [Adjacent Elements Product](https://scrimba.com/scrim/co7ec40c88d2c534774805a60)
11. [Avoid Obstacle](https://scrimba.com/scrim/co2904fe39369e1ce15b1984a)
12. [Valid Time](https://scrimba.com/scrim/coafb4e64bb1081ffdac69039)
13. [Extract Each Kth](https://scrimba.com/scrim/co0734ca8a32d3345dce64e31)
14. [Maximal Adjacent Difference](https://scrimba.com/scrim/co2b048539355fa7ccc2ddca3)
15. [Carousel](https://scrimba.com/scrim/co39c4e1d8fe02d86e811d1c1)
16. [Insert Dashes](https://scrimba.com/scrim/cof554e6f859c93bf9d62f4ff)
17. [Different Symbols Naive](https://scrimba.com/scrim/co68147cab3028ad5c834111d)
18. [Array Previous Less](https://scrimba.com/scrim/co4d1406e9af0e3386047899f)
19. [Alpahbet Subsequence](https://scrimba.com/scrim/cod54443a8267c339014f3b2c)
20. [Domain Type](https://scrimba.com/scrim/co2af4431a591f294a6ad33c3)
21. [Sum of 2](https://scrimba.com/scrim/coa1d4f8a86c8f97f8e949c11)
22. [Extract Matrix Column](https://scrimba.com/scrim/co4a84796bca5c26919edf979)
🔥🎉🔥🔨🔥❤️🔥🔨🔥🎉🔥❤️😎List of Cool People😎❤️🔥🎉🔥🔨🔥❤️🔥🔨🔥🎉🔥
Published: 2020-12-18 01:40:50

# Hi 👋 Wanna be cool 😎?
This is my second post on this cool website 🎉, but today I've made something even [cool][repository]er.
Do you know what is cool😎? Everyone

## List of Cool People 😎
![cool people readme](https://dev-to-uploads.s3.amazonaws.com/i/g6h6zf1ecisv0quozmgk.png)
I've thought that everyone should feel cool (loved) ❤️ so I've created the 
[list of cool people][repository] on [GitHub](http://github.com/KonradLinkowski) and I want to show you how I've done it 🔥

## Stars ⭐
You can just star ⭐ the [repository][repository] to show up on that wonderful list ❤️

## GitHub Actions 🔨
To show cool ✨ users on the list I've used the [GitHub Actions](https://github.com/features/actions) which is the easiest way to create cool things in this year. The only thing you need to do 🔨 to automate your stuff 🔥 is to add a [workflow file](https://github.com/KonradLinkowski/awesome-list-of-cool-people/blob/master/.github/workflows/cool.yml) to your repository.

## Workflow 🔨🌊
In my workflow file I used some bash magic ✨ to run less powerful, but easier magic ✨ of JavaScript.
JavaScript made it easy to download the data from GitHub API and serve it to the users 🎉

## Love ❤️
If anyone is interested how to do something like this, you can browse and even use my code if you want to 🖥️

If you have your own cool projects and want to brag, please put it in the comment below 😂

Remember to follow me ❤️ on GitHub and share 🔗

Have a nice day 😄

<sub><sub>Yes, I've just used random emojis again xd</sub></sub>

[repository]: https://github.com/KonradLinkowski/awesome-list-of-cool-people
The thing(s) you are not doing right!
Tags: safetime, programming, life, experience
Published: 2020-12-18 01:40:49

Focus on input and the output will not fail you if you get the input and operation right! Yes, that is it, I know you will be like... what? but don't worry I will explain myself.

The first time I made this statement, it was a shocker to some people until they read it again. Sometimes I find myself in such a situation where I am doing the right thing on the wrong input or vice versa. so I end up in a frustrated state of mind but after I have realized that I am doing something wrong and figure which is which...I get relief like am in heaven! 

I am looking for a way to tell the world the thing(s) you have found yourself doing wrong but expecting the right output/expect result but until you figure out what you are not doing right, you have already wasted a lot of time. <b>please let's help someone to not waste time on something you have encountered before by dropping a comment on that thing and how you figure it out</b>. And I promise to add it to this post to help someone out there.
MarkdownIt - A Comprehensive Guide.
Tags: javascript, html, webdev, watercooler
Published: 2020-12-18 01:32:59


# <h1 align=center>MarkdownIt-Guide</h1>
A Efficent Code Editor to live render Markdown and Can save the rendered file as **Markdown**,**Html** and **Pdf**.Also Instant Hosting for static single paged websites.
   
    
    
</p>

## __Editor__



<img src="https://drive.google.com/uc?export=view&id=1F3ReX5Ej7Z3P2VZDnJ-ZYszMRQauOU9x" width="100%">



* The left window is the editor where you can edit the markdown.
* The right window live previews the changes you made in the editor.
 
***

<img src="https://drive.google.com/uc?export=view&id=1XErneMVVsWWCddvbdoF-3WHGMKS76P1C" width="100%">



* The SAVE AS button allows you to save your .md files.
* With OPEN FILE you can open any .md files to edit.
* SAVE AS PDF allows you to convert the markdown you wrote in editor to pdf.
* SAVE AS HTML allows you to convert the markdown you wrote in editor to html format.
* Settings button gives you access to change theme of editor. 

## __Settings__



<img src="https://drive.google.com/uc?export=view&id=1jpMMY1kAMsp-7jpoEXIo2rbZSsi_NmtV" width="100%">

***

* You can change the theme of the editor to various themes available.
* You can also change the background and text color.( Refer image above ).

***

# __MarkdownItHost__

##### Web hosting service inside MarkdownIt.
***
<img src="https://drive.google.com/uc?export=view&id=1NmnRInPHcfwn0MpR9pKf0_NkU5OF-6Tj" width="100%">

***

* You can create a new website with the CREATE SITE button.
* Instant publishing can be done using PUBLISH button.
* You can edit any websites you made (provided you have the config file for the respective website in your system).

***

### __For more explanation watch the gif below.__

***

[Click here to see the gif.](http://drive.google.com/uc?export=view&id=1rSRo7hfEeITO9p8zErd4hJRAPWsMdSKJ)

***


## __Contact__

***

* Feel free to email [me](mailto:fredysomy@gmail.com) for Bugs Found or queries.
  * [Twitter](https://twitter.com/FredySomy)
  * [Linkedin](https://linkedin.com/in/fredysomy)

* I will be happy to help.
Staying Healthy In The Field Of Technology
Tags: discuss
Published: 2020-12-18 01:04:03

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/lb3fox68eh9ianehvhgg.jpg)
I remember my professor telling me about how much **stress** is brought forward while working on software projects. Moreover, if you add lack of activity, eating on the go, and smoking into the mix you are creating a recipe that could have irreversible consequences to you and possible family members. So I wanted to open up a discussion and ask *"How do work within the field without compromising of your health?"* *"What are some of things you would recommend to alleviate stress within workplace?"* *"How do you stay healthy?"*
Static VS Dynamic Websites

Published: 2020-12-18 00:16:55

At a high level, there are generally two different types of websites, a static website and a dynamic website. 

Basically, a dynamic website displays the same layout but different content for each user (like Facebook, Twitter, etc.). So if you and your friend are on Twitter at the same time you both see the same exact layout but the content inside that layout is different. This is because the pages are dynamically generated. Long story short, when you go to twitter.com it asks you for your username and password which then tells the Twitter server who you are so it knows what information to generate on the dynamic web page. Dynamic websites give you the ability to put logic in your code making it convenient and easy to maintain. However, dynamic websites are usually a bit slower than static websites because of how much more is being done, behind the scenes, whenever you open a dynamic web page. Also security is at a greater risk when using a dynamic site vs a static. 

A static website is a collection of static web pages, the content is hard coded and the same no matter who views it or how many times you refresh it(like a company website).  When you go to a static website, the web server shows you and everyone else the same thing. The page layout and content look and feel the same way for all users. Static websites have a speed advantage over dynamic websites because they don’t have any type of processing to do! Static websites also offer more security compared to a dynamic website mainly because of how simplistic they are. There really isn’t much to play around with when a web server is just showing you plain HTML pages!

Personally, I don’t believe one is better than the other. Like a lot of things in programming, there's a situation that suits each use case. The best thing to do is analyze the type of website you’re building then see whether a static or dynamic website would be a better fit! 

I hope you enjoyed this post, thanks for stopping by!