Skip to content

Instantly share code, notes, and snippets.

View chayandatta's full-sized avatar
🚢
Harbored⛵are safe; but that's not their purpose.

Chayan Datta chayandatta

🚢
Harbored⛵are safe; but that's not their purpose.
View GitHub Profile
Initialize Git
$ git config --global user.name "Your Name"
$ git config --global user.email "you@youraddress.com"
$ git config --global push.default matching
$ git config --global alias.co checkout
$ git init
@chayandatta
chayandatta / webdev_online_resources.md
Created July 21, 2018 16:11 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@chayandatta
chayandatta / The Technical Interview Cheat Sheet.md
Created August 6, 2018 16:55 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@chayandatta
chayandatta / django-react.md
Last active October 31, 2019 13:05
django-react-config

FOR BACKEND

pip3 install coverage==4.5.4

pip3 install Django==2.2.6

pip3 install djangorestframework==3.10.3

pip3 install pytz==2019.3

@chayandatta
chayandatta / Error_manuelschneid3r.md
Last active May 20, 2024 10:48
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_18.04 Release: The following signatures were invalid: EXPKEYSIG 1488EB46E192A257 home:manuelschneid3r OBS Project <home:manuelschneid3r…

Problem:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_18.04  Release: The following signatures were invalid: EXPKEYSIG 1488EB46E192A257 home:manuelschneid3r OBS Project <home:manuelschneid3r@build.opensuse.org>
E: http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_18.04  Release.gpg is not (yet) available (The following signatures were invalid: EXPKEYSIG 1488EB46E192A257 home:manuelschneid3r OBS Project <home:manuelschneid3r@build.opensuse.org>)

Solution

repo

@chayandatta
chayandatta / fix.md
Created January 9, 2020 07:20
Elementaryos not showing minimize button in some applications

To get started, first install Dconf Editor.

run below command in terminal

sudo apt-get install dconf-tools

Open dconf-tools

Navagate to org > gnome > desktop > wm > preferences.

@chayandatta
chayandatta / readme.md
Created January 27, 2020 13:02
How to remove node_modules

How to remove node_modules

Create a .gitignore file in the git repository if it does not contain one

touch .gitignore -- Open up the .gitignore and add the following line to the file

.gitignore
node_modules 
@chayandatta
chayandatta / UnityFix.md
Last active April 26, 2020 09:31
Make Unity UI Stable and match with eos theme
GTK_CSD=0 /home/chayan/Unity/Hub/Editor/2019.3.11f1/Editor/./Unity -projectPath /home/chayan/unity/DemoTest -manualLicenseFile '/home/chayan/Downloads/Unity_v2017.x.ulf' 

Type this in terminal

change your paths

  • 1st path is for Unity file it's running as ./Unity
@chayandatta
chayandatta / no_pubkey.md
Created September 8, 2020 06:24
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <key>

Problem

Reading package lists... Done 
W: GPG error: http://deb.fdmpkg.org bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <key>
E: The repository 'http://deb.fdmpkg.org bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Solution