Skip to content

Instantly share code, notes, and snippets.

View abbasfaisal's full-sized avatar

Faisal Abbas abbasfaisal

View GitHub Profile
@abbasfaisal
abbasfaisal / GSoC22Code.md
Created September 10, 2022 21:14
GCCRS GSoC 22 Complete Port of Constant Folding Code
function FindProxyForURL(url, host) {
/*********************** URL MATCHING ***********************/
/************************************************************/
/*********************** HOST MATCHING ************************/
if (shExpMatch(host, "*.4shared.com") || host=="4shared.com") { return "PROXY 192.168.0.102:3128"; }
if (shExpMatch(host, "*.jiveon.com") || host=="jiveon.com") { return "PROXY 192.168.0.102:3128"; }
if (shExpMatch(host, "*.servicebus.windows.net") || host=="servicebus.windows.net") { return "PROXY 192.168.0.102:3128"; }
if (shExpMatch(host, "*.my.bitcasa.com") || host=="my.bitcasa.com") { return "PROXY 192.168.0.102:3128"; }
if (shExpMatch(host, "*.idrive.com") || host=="idrive.com") { return "PROXY 192.168.0.102:3128"; }