Skip to content

Instantly share code, notes, and snippets.

View ashwin1014's full-sized avatar
🎯
Focusing

Ashwin Bordoloi ashwin1014

🎯
Focusing
View GitHub Profile
@bradtraversy
bradtraversy / js_linked_list.js
Last active May 21, 2024 17:52
JS Linked List Class
// Construct Single Node
class Node {
constructor(data, next = null) {
this.data = data;
this.next = next;
}
}
// Create/Get/Remove Nodes From Linked List
class LinkedList {
@DianaEromosele
DianaEromosele / Change "origin" of your GIT repository
Created August 7, 2016 00:31
Change "origin" of your GIT repository
$ git remote rm origin
$ git remote add origin git@github.com:aplikacjainfo/proj1.git
$ git config master.remote origin
$ git config master.merge refs/heads/master