Skip to content

Instantly share code, notes, and snippets.

View jaseclamp's full-sized avatar

Jase Clamp jaseclamp

  • Brisbane, Australia
View GitHub Profile
@jaseclamp
jaseclamp / scrape-nrf.js
Created January 11, 2018 05:26
Run in browser console to scrape exhibitor list found at https://nrfbigshow.nrf.com/exhibitors
function tabValues(array) {
var keys = Object.keys(array[0]);
var result = keys.join("\t") + "\n";
array.forEach(function(obj){
keys.forEach(function(k, ix){
if (ix) result += "\t";
@jaseclamp
jaseclamp / linkedin.js
Last active August 26, 2019 06:32
linkedin search results pager
/*
what this script does:
it pages through linkedin search results and copies names, images, company, location, position into a javascript array
once it reaches the end of the results it will prompt to download all the names as a tab delimited csv.
to use:
go to linkedin, run a search exactly how you want it
go to page 2 of those results
paste the below script into console and hit enter
paste this line into console to enable the script:
@jaseclamp
jaseclamp / linkedin-loop.js
Last active August 29, 2019 07:11
meetup linkedin search
/*
INSTRUCTIONS
1. Open this file in notepad or something similar
2. Paste your list of names where it says replace names
3. Go to linkedin and line up a people search for your city
4. In google chrome. In Windows and Linux hit: Ctrl + Shift + J. On Mac hit: Cmd + Option + J.
5. Copy paste this whole script in to the console and hit enter
6. leave the window active while it collects results
7. You should get a tab seperated CSV that you can open in Excel