teleren/devto huggingface dataset:
How to Gitignore (untrack) files already pushed to GitHub repository.
Published: 2020-12-29 13:48:05

Most developers usually initialize the folder they are working from as their GitHub repository. However, some files or/and directories may be present in that folder that you would not want to push to GitHub (files such as database, environment variables etc.)

Adding the file(s) or directories to [gitignore](https://git-scm.com/docs/gitignore) seems to solve the issue. However, sometimes, you might have unknowingly pushed that file(s) to our GitHub repository failing or forgetting to gitignore the file(s) we did not want to push to the remote repository. 

Once the file has been pushed, adding it to gitignore afterwards would not untrack the file from that commit. The file would still be present in the repository.

If you have that kind of issue, follow these simple five steps to solve the problem.

##Step 1:

__Git commit__

Make sure the changes you have made on the projects have been added and committed, including the .gitignore file.

Do this by 

```git
git add .
git commit -m "initial commit" 
```
##Step 2:

__Remove all the files in the repository__.

You do that by:
```git
git rm -r --cached .
```
rm is the remove command,  adding __-cached__ allow us to remove the files from the index. Our files are still present.

##Step 3:

__Add everything__

The next step is to re-add/track our files. By doing this, the files in the . gitignore file will not be tracked.

This is done by:

```git
git add .
```

##Step 4:

__Commit the changes.__

Thus, let's commit our changes by 
```git
git commit -m "gitignore fix"
```

##Step 5: 

__Push to GitHub__

After we are through with everything, we still need to push it to our online GitHub repository by 
```git
git push
```


Thanks for reading.
Free Coding Courses – Refer a Friend
Tags: release, mailinglist
Published: 2021-01-13 16:08:52

---
title: Free Coding Courses – Refer a Friend
published: true
date: 2020-12-29 13:47:22 UTC
tags: Release,MailingList
canonical_url: https://qvault.io/2020/12/29/refer-a-friend/
---

 ![Social Friends](https://qvault.io/wp-content/uploads/2020/12/undraw_social_friends.jpg "undraw social friends")

The post [Free Coding Courses – Refer a Friend](https://qvault.io/2020/12/29/refer-a-friend/) first appeared on [Qvault](https://qvault.io).

We think learning is better with friends! For every person you invite to join, you’ll both earn some free gems which you can immediately use to purchase coding courses. As soon as your friend signs up, we’ll credit each of your accounts with, at the time of writing, **150 gems**.

## How to Invite Friends

Follow these steps to refer your friends directly from the app.

1. [Login to Qvault](https://app.qvault.io/)
2. Click the **Store** tab on the left
3. Click “Invite friends, get free gems” from the bullet list
4. Copy your unique invite link and share it with as many friends as you want
5. When friends sign up, you’ll both receive free gems

## What are gems?

True to our goal to gamify the experience of computer science education, we’ve implemented a popular feature that many videogames take advantage of, **virtual currency**. Qvault’s gem economy allows us to easily reward our users with digital money as they refer friends, unlock achievements, and complete exercises. Those digital gems then are used by students to purchase courses on the platform.

![Qvault Gems](https://qvault.io/wp-content/uploads/2020/11/gem-3.a9c3dec3-300x300.png "gem 3.a9c3dec3")

Gems are required in order to buy courses on the platform, but you can buy gems with real money so don’t worry if you run out of gems.

`Real money $$$ -> gems -> courses`

## Which Courses are Available?

All of our courses are unlocked using gems, so all of them! The more friends you invite, the more free gems and courses you’ll get. Here are a few examples of the courses we offer:

- [Basic Intro to Coding (JavaScript)](https://qvault.io/basic-intro-to-coding-course/)
- [Big-O Algorithms (Golang)](https://qvault.io/big-o-algorithms-course/)
- [Big-O Data Structures (Python)](https://qvault.io/big-o-data-structures-course/)
- [Intro to Functional Programming (JavaScript and PureScript)](https://qvault.io/intro-to-functional-programming/)
- [Go Mastery (Golang)](https://qvault.io/go-mastery-course/)
- [Go Interview Prep (Golang)](https://qvault.io/interview-prep-golang-course/)
- [Practical Cryptography (Golang)](https://qvault.io/practical-cryptography-course/)

## Thanks For Reading!

Take [computer science courses on our new platform](https://app.qvault.io/)

Follow and hit us up on Twitter [@q\_vault](https://twitter.com/q_vault) if you have any questions or comments

[Subscribe](https://mailchi.mp/5c7f5c281bbe/qvault-newsletter-subscribe) to our Newsletter for more programming articles
How Video Games Have Changed Over the Years
Tags: runescape, mmorpg, osrs
Published: 2020-12-29 13:45:47

In the past decade, the gaming industry has made remarkable strides. We have seen several game franchises dissolve while multiple others have risen. Nevertheless, the technological advancements over the decade have allowed us to take gaming to an entirely different realm. Not only have we shifted from traditional 720p and 1080p gaming to native 4K, and now 8K resolutions.

Admittedly, the visual fidelity of games has never been this good. But with high-resolution textures come significantly larger games. In 2010, the release of Call of Duty: Black Ops left gamers across the globe shocked with its 12GB file size. However, this year’s CoD: Modern Warfare puts that to shame by introducing a whopping game size of 175GB. And since games continue to become more immersive, the future of game development will undoubtedly be a hot topic. You can check the best rs gold site where you can [buy osrs gold](https://probemas.com) from.

While some may say the videogame industry’s growth rate has plateaued, it is without a doubt that the future of gaming is certainly bright. With the current decade coming to an end, 2021 and the years to follow are going to be an exciting time for all gaming enthusiasts. The gaming industry is now widely considered the highest-grossing entertainment industry.

Long gone are the days when physical copies of games were the only way of playing the game. With the shift towards forming a digital library of games, developers now move towards the next step: cloud-stream gaming. Let’s admit, over 90% of the population does not have access to games merely due to the lack of an adequate gaming machine. Gamers are often unable to experience the full potential of gaming due to their budgetary limits. Therefore, cloud-streaming enables players to play games on their computers, as long as they have access to a screen, keyboard, and mouse.

Alas, virtual-reality may still require further improvements, but the strides made by developers and engineers this past decade have considerably enhanced the experience. Numerous companies have invested insurmountable investments into VR technology, and are always on the look for more developers.
Crazy Tabbing !!
Tags: webdev, uiweekly, ux, a11y
Published: 2020-12-29 13:16:18

{% youtube yGu4LlFp3Eg %}

This video is for all the web devs/enthusiasts who might be interested in knowing how basic keyboard accessibility using tab/shift+tab work across different sites.

This is more of a walkthrough through many sites where we will see some issues and some UX/accessibility blend.

Technical content :-

📌 How order or flex-direction for display:flex elements impacts accessibility ?

📌 What are skip links that you see on some websites ?

📌 Why outline:none alone impacts visualization of focused elements ?

📌 How box-shadow can be used in for more flexible focus ?

Sites covered

Dev : -

📌 GitHub

E-commerce : -

📌 Amazon
📌 Walmart
📌 Flipkart
📌 Myntra

Social media : -

📌 Twitter
📌 Facebook
📌 LinkedIn

Streaming : -

📌 YouTube
📌 Netflix
📌 Amazon Prime

Bonus : -
📌 Animeccha 😉

P.S. - Pardon me for using `accessibility` word where instead usage of `outline` would be better. It's a long video but I hope it's fairly insightful. Also this was created just for fun. There are people who work dedicatedly to tackle accessibility issues in much depth.
What is your contribution to open source in 2020?  
Tags: githubwrapped
Published: 2020-12-29 13:08:10

Let's just admit that 2020 wasn't a good year for everybody. The pandemic, the lockdown, climate change....everything was the opposite of what we would have expected. This has been a challenging year for everyone. 
Now let's take a moment and look back at all the contributions we have made to the open-source community. 
[Click here](https://githubwrapped.tech) to check your contribution to the open-source community. **Feel free to comment your contribution**

GithubWrapped repo https://github.com/ishandeveloper/github-wrapped
How to name your default git branch "bananas"
Published: 2020-12-29 13:04:59

---
title: How to name your default git branch "bananas"
published: true
description: How to name your default branch anything you want.
tags: 
//cover_image: https://media-exp1.licdn.com/dms/image/C4D12AQE54PtXeKA-aw/article-inline_image-shrink_1500_2232/0/1608653549282?e=1614816000&v=beta&t=WcqWY4wIfbZeiDZINcCuOpkh0JiGsRQX0ZnJxGvBoQI
---

Branch names are not special. They are just references to commits. If you want you can name your branch "bananas" or any other name if you want. Git in its simplest form only deals with blobs, trees, sub-trees, and commit objects.



Let's walk through an example of creating a manual commit to show how you can give a default branch any name:



You are in a working directory and have added a file to the Index using the "git add" command once you do that, git inserts your file into a blob (binary large object). This blob isn’t referenced by a tree and only exists at the .git/Index file. You can confirm this by checking the .git directory, it holds a lot of information normally ignored by casual git users.



Now let's record the contents of the index in a tree:

$ git write-tree

It will return a 40 character hash-id that for example looks like 17e2de4, I truncated it for brevity.



Now manually make a new commit object by using this tree directly:

$ echo "Initial commit" | git commit-tree 17e2de4



A commit -id is returned from that command example cce612



Now you have to register the commit as the new head of the current branch:

$ echo <40 character commit id from the commit-tree above > .git/refs/heads/master



Remember I said, branches are just names or references to commit objects? so the above command can look like this:

$ echo <40 character commit id from the commit-tree above > .git/refs/heads/bananas

please note that I have swapped "master" for "bananas".



Now after creating the "bananas" branch, we must associate our working tree with it:

$ git symbolic-ref HEAD refs/heads/bananas



You can now run git log to verify that your operation was successful. Casual git users never have to do this because git does it under the hood once you issue the git add, git commit commands respectively.



Git commands like "git write-tree and commit-tree" etc are called PLUMBING COMMANDS which commands like "git add, commit" etc are PORCELAIN COMMANDS.



If you are interested in learning more git concepts like this and how git works under the hood, you can check here [Learn Git Visually](https://gumroad.com/l/SziQL). Disclosure: I wrote it, so shameless plug :-)
Bash Scripting: If Conditions & the difference from other programming languages
Tags: beginners, tutorial, linux, bash
Published: 2020-12-29 13:01:30

Previously, we talked about [bash commands](https://dev.to/medsaad/8-bash-commands-with-options-for-beginner-developers-3g7i), then saw [how to use them in a more complex ways](https://dev.to/medsaad/writing-complex-bash-commands-using-redirecting-chaining-nesting-51l) and finally, we had a [shell file walk-through](https://dev.to/medsaad/bash-scripting-fundamentals-shell-file-walkthrough-2aob) and got introduced to [arguments, user inputs](https://dev.to/medsaad/bash-scripting-command-arguments-user-inputs-5-mins-4agf)  and [variables](https://dev.to/medsaad/bash-scripting-variables-string-manipulation-5hh).

In the next 5 minutes, we will discuss the weird part of bash. Bash if conditions structure does not look different than any other if statement structures in other programming languages. However, how the test condition is written and get tested is a bit confusing at the beginning.

{% youtube BdU5SflFHKk %}
Daily Developer Jokes - Tuesday, Dec 29, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-12-29 13:00:01

---
title: "Daily Developer Jokes - Tuesday, Dec 29, 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=Tuesday%2C%20Dec%2029%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/5e1258f50f7c0.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:___ Why did the developer go broke?

___A:___ Because they used up all their cache
 -->
7 attribution-free illustrations for you, from Scale
Tags: illustrations, designs, resources, startup
Published: 2020-12-29 12:57:35

---
title: 7 attribution-free illustrations for you, from Scale
published: true
description: 
tags: illustrations,designs,resources,startup
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/kfqw42x10nww88c8amic.png
---

Ending this year with the successful launch [Scale](https://2.flexiple.com/scale/home), I'm excited to share some of the latest illustrations this week with you!  

Commercial, academic or your pet project, doesn't matter, use Scale's illustrations without attribution. Here we go!<br><br>


Here is an illustration on **online shopping** that you can use on your ecommerce platforms.

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

**Going live or making a podcast?** Decorate your social media announcements with this illustration.

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

Next, an illustration on exercising for you, to share your **new year fitness goals** with your friends.

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

Talk about your productive **brainstorming sessions** in remote meetings with this cool illustration.

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

This new year, remind yourself to be more mindful of the environment and make more **sustainable choices.**

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

**Welcoming a new member to your remote team?** We heard you!

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

Inviting friends over for a **game night?** game night? add this fun illustration to your invite!

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

Like our project? do follow and [support me on twitter](http://twitter.com/intent/tweet?url=https%3A%2F%2F2.flexiple.com/scale/all-illustrations&via=KarthikS2206%20&text=Use%20FREE%20high-quality%20illustrations%20without%20attribution&original_referer=https://2.flexiple.com/scale/all-illustrations). 

If you are unable to find an illustration on a specific topic? Do let me know in the comments below!
Mac OS Keyboard substitution's for most useful thing's 🔥
Tags: showdev, watercooler, github, tutorial
Published: 2020-12-29 12:55:30

Are you the one, who fed up of copy and pasting `urls`, `emoticons`, `icons` when filling up application forms or organizing any other things??

If yes, then there's a cool solution for you guys 🤗 🎉 - 

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

**For more details, regarding how to set up and use like it a pro, check this link:** 👇🏽

{% github https://github.com/abhisheknaiidu/shortski %} 

 **Tweets**
 {% twitter 1343871499837399041 %} 

That's it :D
Thanks for reading so far, I hope you guys like it.
_For more information, lets connect on [Twitter](https://twitter.com/abhisheknaiidu)_!
Inverted Paging | Operating System - M05 P14 
Tags: linux, beginners, tutorial, devops
Published: 2020-12-29 12:53:45

**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 fifth module which consists of 26 articles.**

_In this article we will see about inverted paging, we will see that what is the need of inverted paging and why it is used._

### Inverted paging
- In normal paging each process has its own page table and page table is present in main memory.
- So some place in main memory is used to store the page table and it is not good.
- In inverted paging instead of making page table for every process we make a global page table.
- Number of entries in global page table will be equal to total number of frame number in main memory.
- There is a problem in inverted paging that its searching time is more.
- While it uses less memory than normal paging because of the use of global page table.

_So this was a brief description about inverted paging. Hope you liked it and learned something new form it._

If you have any doubt, question, quires related to this topic article or just want to share something with me, than 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)
Things I Wish I Knew Before I Started Coding
Tags: programming, productivity, career, discuss
Published: 2020-12-29 12:49:10


#### This article was originally published here: https://thewholesome.dev/p/things-i-wish-i-knew-before-i-started

Coding has been an overall positive experience in my life. It tremendously nurtured my ability to think deeply about problems.

Programming also taught me to break down problems into solvable and digestible chunks.

Here’s what I’d tell my younger self. Use my thoughts and advice to your advantage.

### It’s OK to Ask for Help
Programming is extremely challenging at times— especially when starting. Don’t feel bad about asking for help.

Having reliable and friendly coworkers whom you can always ask for support and vice versa. This makes for a great work environment.

A great team is open to exchanging thoughts and problems, as well as solutions too.

### Learn to Say “No” More Often — Know Your Limits
Coding is all about solving problems as efficiently and swiftly as possible. It’s easy to overcommit and underestimate how long things will take.

Don’t spread yourself out too thin — it’s nice to meet deadlines and finish projects on time. As a general rule of thumb— underpromise and overdeliver.

Put your feet down, and learn to say no often. But still, keep an ear open for good ideas (you never know).

Some of the best ideas started undoubtedly as crazy ideas — for example, take Airbnb.

When the founders started, it seemed like a terrible idea.

You want to invite strangers to your home to sleep on an air-filled mattress and serve them breakfast? What sounded crazy turned out great for them.

### Take Short Breaks to Recharge and Avoid Burnouts
This is something I struggle with a lot. I have the urge to work day and night.

I realized this is not a sustainable lifestyle. It took me a couple of burnouts to finally fix this.

I’ve come to terms with myself, and I’ve allowed myself to take breaks on Saturday and Sunday.

Saturdays I’m allowed to work on side projects, while on Sundays I’m not even allowed to open the code editor.

It’s a marathon, not a sprint.

People have been programming for decades — there are no shortcuts to becoming great. It takes a long, long time to become proficient and confident.

P.S; If you’re into startups; <a href="https://www.startupscrushing.com/">check out my newsletter about early-stage startups.</a>

Here’s a warm intro, say hi <a href="https://twitter.com/lasnindrek">@lasnindrek</a>
FB Celebrations
Tags: dohackathon
Published: 2020-12-29 12:38:06

 FB Celebrations, headed by Mr. Bhavnesh Sawhney & Mr. Farid Khan, is top event management companies in Mumbai, India. Ranging from a plethora of social events, corporate and live events, it is the go-to company for you to experience novelty and precision. 

Category Submission: Event Planners


https://www.fbcelebrations.com/


### Screenshots


### Description
 

### Link to Source Code

### Permissive License


## Background
(What made you decide to build this particular app? What inspired you?)

### How I built it 
The entire structure has build purely on html 5 with CSS and Bootstrap integrations


### Additional Resources/Info
https://www.fbcelebrations.com/
https://www.fbcelebrations.com/corporate-event-planners.html