Skip to content

Instantly share code, notes, and snippets.

View helloeliza's full-sized avatar

Eliza Morrison helloeliza

View GitHub Profile
@maksii
maksii / linkedin auto-inviter
Last active December 19, 2020 16:54
Script to automatically add connections from "People You May Know" page
var inviter = {} || inviter;
inviter.userList = [];
inviter.className = 'button-secondary-small';
inviter.refresh = function () {
window.scrollTo(0, document.body.scrollHeight);
window.scrollTo(document.body.scrollHeight, 0);
window.scrollTo(0, document.body.scrollHeight);
};
@fire1ce
fire1ce / linkedin auto-inviter
Created April 25, 2017 06:15 — forked from maksii/linkedin auto-inviter
Script to automatically add connections from "People You May Know" page
var inviter = {} || inviter;
inviter.userList = [];
inviter.className = 'mn-person-card__person-btn-ext button-secondary-medium';
inviter.refresh = function () {
window.scrollTo(0, document.body.scrollHeight);
window.scrollTo(document.body.scrollHeight, 0);
window.scrollTo(0, document.body.scrollHeight);
};
@surferxo3
surferxo3 / auto_connect.js
Last active July 26, 2020 12:10
LinkedIn 'People you may know' auto connect script
/*
* just copy and paste the script inside the console and hit enter
* {"status":429} response is returned when api rate limit exceeds
*/
jQuery('button[data-control-name="invite"]').each(function(index, value) {
setTimeout(function() {
jQuery(value).trigger('click');
}, index * 1000);
});

git

This is list of the git commands I use.

The usual flow of developed is clone or fork a repo, create a branch, change code, create commits at logical stopping points, push those commits, and finally merge the branch (usually done on a website).

Branches

Branches let you create a copy all the code from whatever branch you are on. This lets you make changes that can be merged back into the original branch, but doesn't effect the original. They help with conflicting changes by multiple people and code reviews.

Create new branch