teleren/devto huggingface dataset:
Just Got The 4 Week Streak On DEV🙌
Published: 2021-01-14 09:22:48

## Hi Dev!, I Just Got The 4 Week Streak Sticker!!!🎉

Just got the four-week posting sticker, and it is very cool indeed. What stickers have you gotten? Write about it in the comments, if you have a sticker that most people don't write about how you got it.
5 common Windows problems and fixes for users
Published: 2021-01-14 08:43:29

At the point when I attempt to discover a PC, I generally put in a safe spot an unobtrusive spending plan for programs I need to purchase without the PC group. Be that as it may, preferably, this extra expense ought to be kept to a base or even zero. For a long time, I have kept related freeware programs as I download them preceding I utilize my new PC. Since business you need to go through something with a free other option? Most online programming from your PC is useful for being persistently important for your PC. So we should investigate https://otherwhatsapp.com/.com and how precisely it identifies with Whatsapp GB conceivable. Odds are your PC or PC is prepared to get and communicated the Whatsapp GB TV world over the organization. One of the product that I have intended for some time works with all Windows working programming renditions from Win 2,000. Alongside a planning gadget, which incorporates a miniature USB link for charging the gadget from the PC's USB port and the US power connector for 100V-240V voltage. Hostile to infection programming can bend over to eliminate this present PC's dangers. Recall the most recent change of your Whatsapp GB APK physician endorsed drugs. It will check all tainted and ruin documents and erase them for all time on the framework's whatsapp GB baixar Are you hoping to total practically the entirety of your present customers? The relationship with this application would all be able to make everything significantly simpler. Basically download the module that will and build up your booking framework. It's principally expected for online appointments and permits clients to leap to their schedules quickly. You will have 2 documents, your Master and your HTML Web Master. At that point the one you download into KDP. Yet, first transfer to your Kindle (or Caliber see beneath) to search for arranging and dispersing messes.
React Use Smooth Scroll 😍
Tags: react, javascript, smoothscroll, css
Published: 2021-01-14 08:34:24

React Provider Component to add a smooth scroll effect 😍🎉

Live demo: https://react-smooth-scroll-effect.netlify.app/

NPM: https://www.npmjs.com/package/react-use-smooth-scroll

Repo : https://github.com/saidMounaim/React-Use-Smooth-Scroll
We build a StumbleUpon alternative to discover random websites
Tags: showdev, laravel, webdev
Published: 2021-01-14 08:34:08

Stumbleupon was a great tool to and social networking website that helps discover interesting things online. 

There is some alternatives which are similar to Stumbleupon but they don't the interesting content fuelled by users. 

We try to change that by building [Bunklist.com](https://www.bunklist.com), a website to collect and discover interesting website links through simple lists. Bunklist is social, you can follow your others, discover what they are bookmarking, their tags, add a comment on public lists, and more fun features.
 
We have also build a [Shuffle](https://www.bunklist.com/shuffle), a StumbleUpon alternative to discover random websites posted by Bunklist users. You can also Save the website which you like in to your list of bookmarks.

Let us know what you think what it?

Direct link to website - [https://www.bunklist.com](https://www.bunklist.com)
How to Publish Artifacts on Maven Central
Tags: maven, devops, java, github
Published: 2021-01-14 09:31:54

---
title: How to Publish Artifacts on Maven Central
published: true
date: 2021-01-14 08:31:05 UTC
tags: maven,devops,java,github
canonical_url: https://medium.com/codestory/how-to-publish-artifacts-on-maven-central-24342fd286cd
---

[![](https://cdn-images-1.medium.com/max/1280/1*qcYs-UPEV_xhDFUeTiCdeg.png)](https://medium.com/codestory/how-to-publish-artifacts-on-maven-central-24342fd286cd?source=rss-299466747366------2)

Publishing your first artifact on Maven Central with GitHub Actions made easy!

[Continue reading on Code Story »](https://medium.com/codestory/how-to-publish-artifacts-on-maven-central-24342fd286cd?source=rss-299466747366------2)
Error due to (.) in Domain Name End[www.ashish.com.]
Published: 2021-01-14 07:02:40

1) I saw a Very Interesting behavior today.
Let me explain it with an example

> `https://www.google.com./`
> `https://www.google.com/`

*Both URL are ALMOST Same the difference is a (.)*

The Above Both URL will access the same Resource, Also If we do the DNS LOOKUP, we will GET the same IP [Yes it will change depending on DNS and it's config] [To Check it Please Use a Domain that Points to only one IP]

A Quick Look [example.com]
```
C:\Users\@sh>nslookup example.com
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    example.com
Addresses:  2606:2800:220:1:248:1893:25c8:1946
          93.184.216.34


C:\Users\@ash>nslookup example.com.
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    example.com
Addresses:  2606:2800:220:1:248:1893:25c8:1946
          93.184.216.34
```

So The Main Point to Focus, is yes a "." at End is accepted in DNS Query and So in Chrome or FireFox Browser.

The Same Happens When the Browser tries to access such a URL.

The Results were Hilarious.

The Browser will Treat Both as 2 Different Domains [As per what i understood from it].
Which means that if i Go to `https://www.google.com./`
Then Browser will not send any Cookie that is for "Google.com" or "www.google.com"
[i.e Any Cookie Set for google.com and it's subdomain]

**ALSO**

Browser will not send any Cookie when the Request is made to google.com and it's subdomain via a "www.google.com." [ending with a DOT(.)]
*IF* the Cookie `SameSite` Attribute is Not None.
Because it will treat it as a `CSR` *[Cross Site Request]*
and only Cookies with `SameSite` Attribute as `None` are sent by the Browser 

> [Also if the Request is not a Top-Level Navigation, In Other words if the Link Accessed does not Show in Browser's URL Bar Cookies will not be Sent]

Which Means if you are logged in to Google and then on the URL Bar you access

This is the Result I Got

![Google.com with . at End](https://dev-to-uploads.s3.amazonaws.com/i/ffhyjmc3ctqwmx46ksml.png)

Let's do some Debugging

The Browser Says that it cannot set the New Cookie Received From "www.google.com." which is "www.google.com", but the Browser will match it with "www.google.com." [Since this is what was requested by the user and this is what is shown in the Browser URL Bar]

Therefore, No Cookie which was for "www.google.com" was sent and the Received Cookies were also discarded as the domain or the URL Path (Hard to tell what!!) did not qualify for "www.google.com." [With a (.)]

![Browser Rejects Sending Cookies and Receiving Cookies](https://dev-to-uploads.s3.amazonaws.com/i/09ii2m6s6tq7b63m9csj.png)!

I am Already Logged in Therefore when I click on sign in

![Google in "www.google.com" is Proper](https://dev-to-uploads.s3.amazonaws.com/i/dzvft2bt1hzzocjd604m.png)

> Note:
*Please Feel Free to Comment your own View points and correct me*
#100DaysOfCode , Day 4 😍
Tags: react, javascript, css, 100daysofcode
Published: 2021-01-14 08:15:23

Color Palette Generator App Using React Hooks 🎉😍

Demo : https://react-color-palette-gen.netlify.app/

Repo : https://github.com/saidMounaim/100DaysOfCode/tree/main/Day4
JSON5 : JSON with superpower
Published: 2021-01-14 08:15:14

Have you ever wanted to use multilines strings in JSON objects ?
[JSON5](https://github.com/json5/json5) allows that and much more

You can test it here : [JSON5-TEST](https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0ALeBbKIANCAGYCWMYaA2qAHYCGuEamO+RIsA9nYn6wA8YWACcyAB3gACMKNgBeADogc8CWFQB6LQFc6EgNYBzDD1xaAVmF4BWAAIA9AEwYADO61IyYeFrJ0SBAAHhi4ARjWKgB8gloi4lLRSnQpwmKS8Ml00tI8dL7SuAmZYNIK0sDSKbm5WNBQ3NKo0gAGNbW5JPoIZLzS9VCNABQAlJUdnbkMMKLwwwDkg43SJKLcuNIAUgDKAPIAcrYLo5O1AL4A3Gd1Ddxj1zlT7U-nHTAyvqLl2-tHGF8AsYyCQAJ7DYoZKRgcbvCAyUQQMo-XaHWwYCQMUSQYZfWE5CAANxmEJK0Owd3xcTJWRSnEgMF6vCo6AAjLZUG4ALRuTkgc6EehMFjoSJUYj5fjwVj8wUgRjMVhmMDiri8KUy84AXXOQA)

```html
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>

<script>
  const mscripts = { 
    hello : `
      function hello() {
        alert('hello from JSON5')
      };
      hello();
      `
  }
  let str = JSON5.stringify(mscripts) 
  let res  = JSON5.parse(str) 
 eval(mscripts.hello) 
</script>
```
Aplikasi Terbaik Paling Populer di Perangkat Smartphone
Tags: smartphone, facebook, googlecloud, youtube
Published: 2021-01-14 08:14:52

Tahukah anda aplikasi terbaik populer yang banyak dipakai oleh setiap pengguna smartphone di dunia ?

Berbagai aplikasi dibuat dengan beragam kegunaan disesuaikan dengan kebutuhan seiring perkembangan Teknologi gadget, tentunya sebuah aplikasi sebagai alat atau software sebagai media pembantu dalam segala aktifitas manusia yang berarti untuk mempermudah pastinya dalam kehidupan.

Berikut ini beberapa Aplikasi Terbaik Paling Populer di Perangkat Smartphone yang banyak digunakan oleh para pengguna smartphone, diantaranya adalah sebagai berikut ini :

Facebook : 103,42 juta pengguna di smartphone Android maupun iOS
Google Search : 75,9 juta pengguna smartphone
Google Play : 73,6 juta pengguna smartphone
Youtube : 71,9 juta pengguna smartphone
Google Maps : 68,5 juta pengguna smartphone
Gmail : 64, 4 juta pengguna smartphone
Instagram : 31,8 juta pengguna smartphone
Apple Maps : 31,8 juta pengguna smartphone
Stocks (pialang saham) : 30,78 juta pengguna di smartphone Android maupun iOS
Twitter : 30,76 pengguna perangkat smartphone
Berbagai aplikasi tersebut diatas merupakan 10 aplikasi terbaik yang paling disukai oleh pengguna smartphone berdasarkan kunjungan yang tercatat dan penggunaannya. Apakah anda sudah menginstal berbagai aplikasi populer tersebut ?

cek disini : https://kilat.lezzat.id/kemajuan-teknologi-dan-manfaat-internet-yang-ada-di-indonesia-2021/2/

Terlihat bahwa pemenangnya yaitu Facebook dimana sebuah aplikasi yang memang sangat populer karena fungsinya yang multimedia seperti bisa menjalin komunikasi juga berhubungan secara online dengan berbagai orang di seluruh dunia termasuk teman dekat maupun yang jauh, facebook juga telah berkembang sebagai media dan sarana untuk berdagang juga beriklan dan promosi berbagai hal serta banyak fungsi lainnya.

Bisa kita ketahui juga bahwa produk dari Google yang paling banyak diminati, beberapa diantaran yaitu Google Search, Google Play, Youtube, Google Maps, Gmail yang menjadi populer aplikasi paling diminati. Sebenarnya masih banyak produk google yang populer seperti blogger sebagai media catatan yang biasa dikenal dengan blog atau weblog oleh banyak kalangan.

Aplikasi terbaik yang paling banyak digunakan bisa didownload secara gratis di store smartphone yang ada dipasaran tergantung sistem operasi apa yang digunakan, misalnya seperti Android cukup kunjungi dan download dari Google Play Store.

Secara ringkas Aplikasi Terbaik Paling Populer di Perangkat Smartphone adalah yang paling banyak digunakan yang memang pada dasarnya sudah sangat terkenal dan fungsional di dunia online internet.
Gunakan berbagai aplikasi di smartphone yang anda miliki secara bijaksana, aturlah waktu secara seimbang dalam hidup anda jangan sampai mengganggu keseimbangan pola hidup sehat anda. Ketahuilan juga bisa dimanfaatkan dalam kehidupan sehingga sudah menjadi keharusan sebuah aplikasi untuk menunjang hidup lebih baik.h bahwa aplikasi dibuat untuk mempermudah

source :https://kilat.lezzat.id
Software Development Services to Boost Your Business Growth!
Tags: websitedevelopment, mobileappdevelopment, softwaredevelopment
Published: 2021-01-14 08:10:56

Allianze GCC is the top-notch outsourcing company, specialized in rendering the finest non-core business solutions to our GCC-settled clients. Our pool of trained specialists will guarantee to offer credible business services including content writing, website development, digital marketing, mobile app development, artificial intelligence, machine learning, BPO activities etc... Our ultimate motive is to create a unique identity for your business in the global marketplace at an affordable cost.

https://www.allianzegcc.com/
Best Programming languages in 2021
Published: 2021-01-14 07:42:37

1 Javascript 

JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform.Many famous sites like Google ,Youtube and Facebook are built on Javascript .

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




2.Python

Python is an interpreted, high-level and general-purpose programming language. Python's is the most loved language among the developers as it is very simple to learn and used in web Development to Data science 

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

3.GO

It is very much designed with server-side development in mind. Channels, go routines, non-blocking IO built-in—all point to the preference for creating highly concurrent servers. I would say that here it is mostly in the same area as Erlang. In reality most Go projects are either web applications, pure socket servers (games, streaming media, proxies, load balance rs, &c.) or clients connecting to multiple servers (like web crawlers).

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

4.Swift 

Swift is a powerful and intuitive programming language for macOS, iOS, watchOS, tvOS and beyond. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love. Swift code is safe by design, yet also produces software that runs lightning-fast.

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

5.Ruby

Ruby is an interpreted, high-level, general-purpose programming language.There's more than one way to do the same thing . It is a dynamic, reflective, object-oriented.
Companies that use Ruby: Hulu, Twitter, ZenDesk, Basecamp, Shopify, Urban Dictionary, GitHub

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


**Hey Guys we just dropped our 1st video on YouTube at 10 Am (IST) on 16 January 2020 .Please hit that subscribe button and make sure you smash that like button .Hotstar+Disney is a very famous streaming and entertainment service in India with more than 27 millon paid viewers and 300 millon monthly active users . We would love to hear your response .**

https://www.youtube.com/watch?v=4pjpHUN28kk

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

**Do you want to become ethical hacker and want to know how hackers hack in Real World. Join the telegram group and be a
part of us **

**Telegram**  = https://t.me/infosecbugbounty


Be a part of us 🚀 🚀
Telegram https://t.me/forthecommunity
Discord https://discord.com/invite/QsAqC4yKkm
Facebook https://www.facebook.com/forcommunity.tech
Youtube https://www.youtube.com/channel/UCP33irJmpa60rIuztDP2itQ
Why coding standards are needed?
Tags: programming, productivity, webdev, codenewbie
Published: 2021-01-14 07:22:37

Just a small post regarding "Why Coding standards are needed?". Coding standard is a set of guidelines and best practices that developers adhere to when writing source code for the project. Let's see why many people follow them. 

---

### Enhanced Efficiency

It would help the team to detect the problems early or even prevent them completely. Work a few hours but make those few hours productive. This will increase efficiency throughout the software process. 

Tips: 
- Minimize the use of `if-else` 
- Learn concept of dynamic programming
- Avoid declaring unnecessary variables

---

### Low risk of failure

It happens very often that personal or competition projects fail due to problems while developing software. Coding standards reduce that risk of project failures. 

### Minimal complexity

If a code is complex, there are higher chances of it being vulnerable to errors. Coding standards help to reduce those errors. 

### Easy to maintain

The code becomes consistent and can be easily maintained. This is because anyone can understand it and can modify it at any time. 

### Bug rectification

It becomes really easy to locate and correct bugs in the software it the source code is written in a consistent manner. 

### Comprehensive look

If the source code maintains consistency, a clear view of how code fits in the larger application or fits into the company as a whole. 

### Cost-efficient

A clear code gives the developers an opportunity to re-use the code whenever required. This radically reduces the cost and efforts. 

---

🎂 Thanks For Reading | Happy Coding ⚡

<p><a href="https://www.buymeacoffee.com/rahxuls"> <img align="left" src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="50" width="210" alt="rahxuls" /></a></p>
How Microsoft Office Add-Ins Simplify Daily Routine and Prevent Costly Mistakes
Tags: microsoft, routine, management
Published: 2021-01-14 07:21:33

Take a closer look at how Office add-ins improve productivity, what mundane tasks can be eliminated, what types of add-ins exist, and how to start using them. https://www.brimit.com/blog/how-microsoft-office-add-ins-simplify-daily-routine-and-prevent-costly-mistakes
Python Tutorial
Tags: python, tutorial
Published: 2021-01-14 07:10:23

The Python programming instructional exercise which I'm telling about now is the best python tutorial. This will assist you with learning the rudiments of Python and fabricate a vocation in this top programming language. This instructional exercise contains Python fundamentals, its notable highlights, punctuation, string, numbers, information types, factors, tuples, records, sets, word reference, contingent articulations, circles, and client characterized capacities. Expert Python from here through its Python Certification course and dominate in your vocation! 

Python is essentially a cross-stage viable language. All in all, would you be able to think about what does this implies? Indeed, you can introduce and run Python on different working frameworks. Regardless of whether you have a Windows, Mac, or Linux, you can remain guarantee that Python will deal with all these working frameworks. 

Moreover, Python is quite possibly the most well-known dialect for AI and profound learning. Actually, today, all top associations are putting resources into Python to actualize AI in the back-end. 

Python has tremendous professional openings in the IT business. Pretty much every other IT firm, be it a startup or a Multi-National Company utilizes python for different applications. In this way, on the off chance that you realize python well overall, you will be sought after for a more extensive scope of occupations in various spaces, for example, AI, cloud framework, site planning, testing, and some more. 

All in all, for what reason would you say you are burning through any additional time, continue ahead with this best python instructional exercise to begin your excursion as a python designer?
Local Hack Day - Build
Tags: localhackday, majorleaguehacking
Published: 2021-01-14 05:59:04

I stumbled upon an event as i was wailing away my time doing, well surfing the internet. It was called "Local Hack Day". The post said that it was a week long hackathon. I was about to scroll over to the next post when I took the leap and signed up for the event. I'm four days in and boy I love it!
This is my first ever hackathon and I must tell, If this is what people call "Hackathon", then lets do this over and over again.
Let me tell you a little about the event.
"Major League Hacking's Local Hack Day is a series of simultaneous global events designed to spark a passion for technology in your local community. Spend the day getting hands-on experience and collaborating in an open and welcoming environment at a local event.* Whether you are learning to code or are an expert hacker, Local Hack Day is the perfect opportunity for you and your community."
            ~ MLH
We must also be a part of a guild in this event. The guild system enables us to work in a smaller team guided by mentors and felloe mlhers.
I'm part of the EddieHub guild and I'm proud to say that we stand #1 on the leaderboard.
I shouldn't give up a chance to boast now should I.
I'm on the leaderboard as well holding the #31st, #8th and #11th position on days 1, 2 and 3 respectively.
The challenges are the best part, both technical and non-technical, and of course "Totally Not Ryan" is a must not miss.
I'm having great fun at the event. You are not too late to sign up!!

                                                     ~ Nimisha
TF30063
Tags: visualstudio
Published: 2021-01-14 06:26:51

From time to time I have to work with projects using Azure DevOps TFVC.
It is fairly common that I get a TF30063 error in the Team Explorer, saying I'm unauthorized and need to reenter my credentials. But unfortunately that doesn't help.

I just found a [visual studio developer community post](https://developercommunity.visualstudio.com/content/problem/630870/tf30063-authorization-error-when-opening-projects.html) containing the solution.

1. If Visual Studio is showing the `Team Explorer` tab/panel, select the `Solution Explorer` tab/panel.
2. If Visual Studio had already been showing the `Solution Explorer` tab, select the `Team Explorer` tab and then select the `Solution Explorer` tab again.
3. Make sure that the `Solution Explorer` tab is currently selected, and close this instance of Visual Studio (if I have other Visual Studio instances open that are connected to the on-premises TFS server, I leave those open).
4. Re-open the same project (connected to Azure DevOps) in Visual Studio, and now everything seems to be fine.
code-server deamon on your VPS
Tags: codeserver
Published: 2021-01-14 05:51:25

Install Code-Server and Launch Code-Cerver At Server Restart Your VPS.


# install

```
curl -fsSL https://code-server.dev/install.sh | sh
```

# kick code-server shell

/opt/code-server.sh 

```
#!/bin/sh

while true
do
  PASSWORD=<Your Password> code-server --auth password --host 0.0.0.0 --port 8443 /app
  sleep 1
done

```

```
$ chmod 655 /opt/code-server.sh 
```

# service script

/etc/systemd/system/my-code-server.service

```
[Unit]
Description = code-server deamon

[Service]
ExecStart = /opt/code-server.sh
Restart = always
Type = simple

[Install]
WantedBy = multi-user.target
```

# start command

```
systemctl enable my-code-server
```
MLH LHD Build
Tags: localhackday, mlh, majorleaguehacking
Published: 2021-01-14 05:23:17

MLH(Major League Hacking)LHD :Build
I like this event every much their are so many technologies about which you will come to know. 
One of the best thing is that it has Daily and Week long Challenges in which you have to make projects 

I learned a lot form this event.
The project were for both beginners friendly and advanced developers.

I learned to make a Tic-Tac-Toe game using c++.

Overall this was a great event and lots of learnings.

Thank you.
Testing with Mockito
Tags: java, junit, mockito
Published: 2021-01-14 05:22:57

1) Register MockitoExtension

```java
@ExtendWith(MockitoExtension.class)
class ObjectTest {
    static final Long ID = 1L;
```
2) Create the mock
```java
    @Mock
    private ObjectRepo mockRepo;
```
3) Inject the mock
```java
    @InjectMocks
    private ObjectService objectService;

    @Test
    void whenfindByIdThenReturnResult() {
        var objectDAO = new ObjectDAO();
        objectDAO.setId(ID);
```
4) Define the behavior
```java
        when(mockRepo.findById(any(Long.class))).thenReturn(Optional.of(objectDAO));
```

5) Test
```java
        var result = ObjectService.findById(ID);
```
6) Verify
```java
        verify(mockRepo, times(1)).findById(any(Long.class));
```
7) Validate
```java
        assertAll(
                () -> assertNotNull(result),
                () -> assertEquals(objectDAO.getId(), result.getId())
        );
    }
}
```