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
<?xml version="1.0" encoding="UTF-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" | |
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<head> | |
<title>Ubiquity Google bookmarks tool</title> | |
</head> | |
<body> | |
<div id="google-bookmarks-search" style="display: none;"> | |
<small>${tipsMessage}</small> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" | |
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<head> | |
<title>Ubiquity Google reader tool</title> | |
</head> | |
<body> | |
<div id="google-reader" style="display: none;"> | |
<small>${tipsMessage}</small> |
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
var gmailAppsDomain = ""; | |
function findGmailTab()( | |
Utils.tabs.search(/^https?:\/\/mail\.google\.com\/mail\/(?:[?#]|$)/)[0]); | |
function extractGmailAppsDomain(URL) { | |
// given a URL, will find the gmail apps domain part of it | |
if (gmailAppsDomain.length > 0) { | |
return gmailAppsDomain; | |
} |
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
/* | |
* Copyright (C) 2008 The Android Open Source Project | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* * Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* * Redistributions in binary form must reproduce the above copyright |
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 ruby | |
# | |
# encoding: utf-8 | |
# | |
require 'rexml/document' | |
require 'erb' | |
=begin |
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
mmc read <device num> addr blk# cnt | |
| | | | | | |
`-------+----------|---|----|-- disk2mem 从device-num中读取 blk# * 512 <-----> (blk# + cnt)*512 的数据到内存(地址以addr开头)中 | |
| | | | | |
`----------|---|----|-- mmc list | |
| | | | |
`---|----|-- memory start address | |
| | | |
`----|-- disk start block | |
| |
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
#include <errno.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/wait.h> | |
#include <sys/stat.h> | |
pid_t child; | |
int childStatus; |
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
#include <string.h> | |
#include "step.h" | |
#include "step_imp.h" | |
void init_context(char* CONTEXT_FILE_PATH, struct desc_set* set) | |
{ | |
FILE *fp; | |
char buff[1024]; | |
char* line; | |
struct status_step_context * context = set->context; |
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
/* | |
* | |
* Please Add: | |
* LOCAL_LDLIBS := -llog | |
* to Android.mk | |
*/ | |
#ifndef __ANDROID_APP_LOG__ | |
#define __ANDROID_APP_LOG__ 1 | |
#include <android/log.h> |
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 | |
source build/envsetup.sh | |
lunch xxxxx | |
LOG_DIR=clog | |
CPU_NUM=10 | |
mkdir -p $LOG_DIR | |
(make -j${CPU_NUM} | tee ${LOG_DIR}/buildresult.std) 3>&1 1>&2 2>&3 | tee ${LOG_DIR}/buildresult.err |
OlderNewer