Skip to content

Instantly share code, notes, and snippets.

View joshuarose's full-sized avatar

Josh Rose joshuarose

View GitHub Profile
@joshuarose
joshuarose / cloudSettings
Created August 11, 2020 10:53
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-11T10:53:11.638Z","extensionVersion":"v3.4.3"}
@joshuarose
joshuarose / active.md
Created May 30, 2020 21:39 — forked from nopara73/active.md
GitHubHallOfFame

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Mon, 01 May 2017 19:27:03 GMT till Tue, 01 May 2018 19:27:03 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user => user.followers > 1000)
@joshuarose
joshuarose / gist:5d3bafa60b538e9aa3b4
Created May 18, 2014 14:26
Passing IWebDriver to Selenium to load headers
var fireFoxProfile = new FirefoxProfile();
fireFoxProfile.AddExtension(@"c:\Selenium\modify_headers-0.7.1.1-fx.xpi");
fireFoxProfile.SetPreference("modifyheaders.config.active", true);
fireFoxProfile.SetPreference("modifyheaders.headers.count", 1);
fireFoxProfile.SetPreference("modifyheaders.headers.action0", "Add");
fireFoxProfile.SetPreference("modifyheaders.headers.name0", "HEADER");
fireFoxProfile.SetPreference("modifyheaders.headers.value0", "myHeader");
fireFoxProfile.SetPreference("modifyheaders.headers.enabled0", true);
var driver = new FirefoxDriver(fireFoxProfile);