Skip to content

Instantly share code, notes, and snippets.

View speedoholic's full-sized avatar
👨‍💻
Exploring SwiftUI

Kushal Ashok speedoholic

👨‍💻
Exploring SwiftUI
View GitHub Profile
@speedoholic
speedoholic / automateRequests.js
Last active June 23, 2019 17:01
Don't want to pay for those browser extensions that help you add more connections on LinkedIn? Use this snippet while you are on the "search/results/people/" page and filters are applied to get "People" who are "2nd" or "3rd+" connections. Feel free to optimize it or add more functionalities.
function clickSend(x,i) {
var y = document.getElementsByClassName('artdeco-button--3 ml1');
if(y.length > 0) {
y[0].click();
console.log("Request sent for index: "+ i)
setTimeout(function(){
clickConnect(x,i+1);
}, 1000);
} else {
console.log("Button not found for index: " + i)
@speedoholic
speedoholic / Reachability+NetworkType.swift
Last active March 11, 2019 13:21 — forked from floriankrueger/Reachability+NetworkType.swift
Getting the current network connection type through Reachability and CoreTelephony (based on https://stackoverflow.com/a/36451194/766873)
//
// ReachabilityHelper.swift
// TradeX
//
// Created by Kushal Ashok on 1/11/19.
//
import Reachability //https://cocoapods.org/pods/ReachabilitySwift
import CoreTelephony