This file contains hidden or 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 ruby | |
| require 'rubygems' | |
| require 'watir-webdriver' | |
| require 'watir-webdriver/wait' | |
| def wait(sec) | |
| sleep sec | |
| if sec == 1 | |
| puts "Wait for 1 second" |
This file contains hidden or 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
| <0>[ 1205.308499] (sec_debug_set_upload_magic) 0 | |
| <3>[ 1205.308774] set_dload_mode <0> ( c015250c ) | |
| <6>[ 1205.309964] Sensors unset: 7fff | |
| <6>[ 1205.310758] msm_fb_blank blank_mode : 2 mfd->op_enable : 1 | |
| <6>[ 1205.338287] set_esd_disable is called | |
| <3>[ 1205.338287] ESD refresh isr is on going!! |
This file contains hidden or 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
| /system/lib/hw/alsa.msm8960.so | |
| /system/lib/hw/audio.primary.msm8960.so | |
| /system/lib/hw/audio_policy.msm8960.so | |
| /system/lib/libaudiopolicy_sec.so |
This file contains hidden or 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 perl | |
| use strict; | |
| use warnings; | |
| die "Usage: $0 <root_path>" unless @ARGV == 1; | |
| my $root_path = $ARGV[0]; | |
| print_file_list($root_path); |
This file contains hidden or 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 perl | |
| use strict; | |
| use warnings; | |
| use File::Basename; | |
| use File::Spec; | |
| my $default_boot_class_path = ""; | |
| my $boot_class_path_list = { |
This file contains hidden or 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 pygments.lexer import RegexLexer, bygroups, include, using, this | |
| from pygments.token import * | |
| __all__ = ['SmaliLexer'] | |
| class SmaliLexer(RegexLexer): | |
| name = 'Smali' | |
| aliases = ['smali'] | |
| filenames = ['*.smali'] |
This file contains hidden or 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
| /* | |
| * AndroidManifest.xmlに | |
| * <uses-permission android:name="com.twitter.android.permission.AUTH_APP" /> | |
| * を追加する必要がある | |
| */ | |
| public class MainActivity extends Activity { | |
| private static final String TAG = MainActivity.class.getSimpleName(); | |
| private static final int AUTH_REQUEST_CODE = 1; | |
| @Override |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "path/filepath" | |
| ) | |
| func main() { | |
| if len(os.Args) != 3 { |
This file contains hidden or 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
| package main | |
| import ( | |
| "archive/zip" | |
| "fmt" | |
| "io" | |
| "os" | |
| "os/exec" | |
| "path/filepath" | |
| "strings" |
This file contains hidden or 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/sh | |
| set -e | |
| SCRIPT_DIR=$(cd $(dirname "$0"); pwd) | |
| AOSP_ROOT="$SCRIPT_DIR/.." | |
| download_and_extract() { | |
| if [ $# -ne 1 ]; then | |
| echo "Invalid arguments." |
OlderNewer