Skip to content

Instantly share code, notes, and snippets.

View i-sannikov's full-sized avatar

Igor Sannikov i-sannikov

View GitHub Profile
@i-sannikov
i-sannikov / LoadModule.java
Created January 23, 2018 11:55
JAVA9 load module in runtime
import java.lang.module.ModuleFinder;
import java.lang.module.ModuleReference;
import java.lang.reflect.Method;
import java.util.Optional;
public class LoadModule {
public static void main(String[] args) throws Exception {
load("java.activation");
}
@i-sannikov
i-sannikov / removeTheConvo.js
Created June 2, 2018 21:17 — forked from amritsinghbains/removeTheConvo.js
This scripts is for lazy people who want to get rid of all LinkedIn messages at once. This works with the latest LinkedIn 2018. Tested on 15th April 2018
var removeTheConvo = function()
{
try{
$(".msg-thread__topcard-btn--icon").click();
setTimeout(function(){
$(".msg-topcard__full-width-action-button.delete").click();
setTimeout(function(){
@i-sannikov
i-sannikov / clean.sh
Created November 28, 2019 08:26
Clean local branches
git branch -l --merged | grep -v '>' | grep -v master | xargs -L1 | xargs git branch -D