This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import inspect | |
import logging | |
from devguard_carrier import CarrierStream, CarrierError, SizeT, Slice, StreamConfig, IOUnixAsync, CarrierEndpoint, \ | |
CarrierIdentity, CarrierSync, CarrierStream, HpackDecoderIterator | |
from devguard_carrier import err_make, io_unix_make, carrier_endpoint_from_home_carriertoml, \ | |
carrier_identity_identity_from_str, carrier_sync_start, carrier_sync_connect, carrier_sync_wait, \ | |
carrier_endpoint_close, hpack_decoder_decode, hpack_decoder_next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Register getURLVar for jQuery | |
$.extend({ | |
getUrlVars: function(){ | |
var vars = [], hash; | |
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); | |
for(var i = 0; i < hashes.length; i++) | |
{ | |
hash = hashes[i].split('='); | |
vars.push(hash[0]); | |
vars[hash[0]] = hash[1]; |