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/python | |
__author__ = 'aaron.train@gmail.com' | |
import sys | |
import getopt | |
import HTML | |
import json | |
class generate_table: |
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
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice | |
browsers = ['org.mozilla.fennec/.App'] | |
sites = ["http://google.com", | |
"http://facebook.com", | |
"http://youtube.com", | |
"http://yahoo.com", | |
"http://baidu.com", | |
"http://wikipedia.org", | |
"http://live.com", |
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
#!/bin/bash | |
# This script will try to upgrade to latest OSX Chromium build on your system via the | |
# command line (right, that means you'll have to open a term and run it from there) | |
# | |
# See README for further informations | |
die() { | |
echo "$@ => exiting" >&2 | |
exit 1 | |
} |
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
I/ActivityManager( 196): START {flg=0x40010000 cmp=org.mozilla.fennec/org.mozilla.gecko.AwesomeBar (has extras)} from pid 15144 | |
I/GeckoApp(15144): pause | |
D/GeckoAwesomeBar(15144): creating awesomebar | |
D/GeckoAwesomeBarTabs(15144): Creating AwesomeBarTabs | |
D/GeckoAwesomeBarTabs(15144): Creating All Pages tab | |
D/GeckoAwesomeBarTabs(15144): Creating Bookmarks tab | |
D/GeckoAwesomeBarTabs(15144): Creating History tab | |
D/AndroidRuntime(15144): Shutting down VM | |
W/dalvikvm(15144): threadid=1: thread exiting with uncaught exception (group=0x40a3b1f8) | |
E/GeckoAppShell(15144): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main") |
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
W/WindowManager( 197): ActivityRecord{41ae9d00 org.mozilla.fennec/.App} failed creating starting window | |
W/WindowManager( 197): android.view.InflateException: Binary XML file line #28: Error inflating class <unknown> | |
W/WindowManager( 197): at android.view.LayoutInflater.createView(LayoutInflater.java:606) | |
W/WindowManager( 197): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680) | |
W/WindowManager( 197): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739) | |
W/WindowManager( 197): at android.view.LayoutInflater.rInflate(LayoutInflater.java:742) | |
W/WindowManager( 197): at android.view.LayoutInflater.inflate(LayoutInflater.java:489) | |
W/WindowManager( 197): at android.view.LayoutInflater.inflate(LayoutInflater.java:396) | |
W/WindowManager( 197): at android.view.LayoutInflater.inflate(LayoutInflater.java:352) | |
W/WindowManager( 197): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2685) |
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
"http://google.com" | |
"http://facebook.com" | |
"http://youtube.com" | |
"http://yahoo.com" | |
"http://baidu.com" | |
"http://wikipedia.org" | |
"http://live.com" | |
"http://blogspot.com" | |
"http://qq.com" | |
"http://twitter.com" |
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 python | |
__author__ = 'aaron.train@gmail.com' | |
import cssutils | |
import sys, getopt | |
def main(): | |
try: | |
opts, args = getopt.getopt(sys.argv[1:], "", ["url=", "file="]) |
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
#!/bin/bash | |
# website history generator v 0.02 | |
# | |
# Usage webhistgen <n> <appname> | |
# n: number of websites to visit | |
# appname: application name such as org.mozilla.fennec | |
# | |
n=$1; | |
appname=$2; |
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
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
from gaiatest import GaiaTestCase | |
import time | |
class TestIMEI(GaiaTestCase): | |
# Dialer |
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
from gaiatest import GaiaTestCase | |
import time | |
class TestIMEI(GaiaTestCase): | |
# Dialer | |
_keyboard_container_locator = ('id', 'keyboard-container') | |
_call_bar_locator = ('id', 'keypad-callbar-call-action') | |
_phone_number_view_locator = ('id', 'phone-number-view') | |
_attention_frame_locator = ('xpath', '//*[@id="attention-screen"]/iframe') |