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
// These 'settings' put on the navigator will result in a plugin detection, not ActiveX | |
// I will link a gist for IE when I finish that one. | |
// edit: Link to IE example: https://gist.github.com/3796408 | |
var SHOCKWAVE_FLASH = "Shockwave Flash", | |
FLASH_MIME_TYPE = "application/x-shockwave-flash"; | |
this.Given(/^some step that tests Flash availability$/, function(callback) { | |
// Tell Zombie to pose as Safari 5.0 | |
browser = new zombie.Browser({ |
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
// To the extent possible under law, the Yawning Angel has waived all copyright | |
// and related or neighboring rights to orhttp_example, using the creative | |
// commons "cc0" public domain dedication. See LICENSE or | |
// <http://creativecommons.org/publicdomain/zero/1.0/> for full details. | |
package main | |
import ( | |
// Things needed by the actual interface. | |
"golang.org/x/net/proxy" |
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/perl | |
use strict; | |
use LWP::UserAgent; | |
# ip address of the router | |
my $routerip = "192.168.8.1"; | |
# ussd command to send, change for your ISP | |
my $ussd = "*123*523#"; |