code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
package com.ch_linghu.fanfoudroid.service; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import android.app.AlarmManager; import android.app.PendingIntent; import android.app....
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/service/WidgetService.java
Java
asf20
4,485
package com.ch_linghu.fanfoudroid; import java.text.MessageFormat; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.widget.ListView; import com.ch_linghu.fanfoudroid.fanfou.Paging; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.b...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/FollowersActivity.java
Java
asf20
2,576
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/StatusActivity.java
Java
asf20
23,343
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.KeyEvent; import android.view.Lay...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/SearchActivity.java
Java
asf20
13,735
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import android.app.SearchManager; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.Menu; import android.widget...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/SearchResultActivity.java
Java
asf20
7,831
package com.ch_linghu.fanfoudroid.db; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; public final class UserInfoTable implements BaseColumns { public static final String TAG = "UserInfoTable"; public static...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/db/UserInfoTable.java
Java
asf20
4,443
package com.ch_linghu.fanfoudroid.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; /** * Table - Followers * */ public final class FollowTable implements BaseColumns { ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/db/FollowTable.java
Java
asf20
4,626
package com.ch_linghu.fanfoudroid.db; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.util.DateTimeHelper; /** * Table - Statuses * <br /> <br /> * 为节省流量,故此表不保证本地数据库中所有消息具有前后连贯性, 而只确保最新的MAX_...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/db/StatusTable.java
Java
asf20
6,715
package com.ch_linghu.fanfoudroid.db; /** * All information of status table * */ public final class StatusTablesInfo { }
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/db/StatusTablesInfo.java
Java
asf20
136
package com.ch_linghu.fanfoudroid.db; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import java.util.Locale; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; imp...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/db/TwitterDatabase.java
Java
asf20
39,471
package com.ch_linghu.fanfoudroid.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Dm; /** * Table - Direct Messages * */ public final class MessageTable implements BaseColumns { publ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/db/MessageTable.java
Java
asf20
3,293
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/LoginActivity.java
Java
asf20
11,496
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.ui.module.Feedback; public abstract class GenericTa...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/GenericTask.java
Java
asf20
3,039
package com.ch_linghu.fanfoudroid.task; import java.util.HashMap; import org.json.JSONException; import com.ch_linghu.fanfoudroid.http.HttpException; /** * 暂未使用,待观察是否今后需要此类 * @author lds * */ public class TaskParams { private HashMap<String, Object> params = null; public TaskParams() { params = new Has...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TaskParams.java
Java
asf20
3,288
package com.ch_linghu.fanfoudroid.task; import android.app.ProgressDialog; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.ui.base.WithHeaderActivity; public abstract class TaskFeedback { private static TaskFeedback _instance = null; pub...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TaskFeedback.java
Java
asf20
4,562
package com.ch_linghu.fanfoudroid.task; public enum TaskResult { OK, FAILED, CANCELLED, NOT_FOLLOWED_ERROR, IO_ERROR, AUTH_ERROR }
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TaskResult.java
Java
asf20
141
package com.ch_linghu.fanfoudroid.task; public interface TaskListener { String getName(); void onPreExecute(GenericTask task); void onPostExecute(GenericTask task, TaskResult result); void onProgressUpdate(GenericTask task, Object param); void onCancelled(GenericTask task); }
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TaskListener.java
Java
asf20
285
package com.ch_linghu.fanfoudroid.task; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.db.StatusTable; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.base.BaseActivity...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TweetCommonTask.java
Java
asf20
2,898
package com.ch_linghu.fanfoudroid.task; public abstract class TaskAdapter implements TaskListener { public abstract String getName(); public void onPreExecute(GenericTask task) {}; public void onPostExecute(GenericTask task, TaskResult result) {}; public void onProgressUpdate(GenericTask task, Object...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TaskAdapter.java
Java
asf20
384
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.util.Log; public class TaskManager extends Observable { private static final String TAG = "TaskManager"; public static final Integer CANCEL_ALL = 1; public void cancelAll() { L...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/task/TaskManager.java
Java
asf20
505
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/MentionActivity.java
Java
asf20
3,429
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/TwitterActivity.java
Java
asf20
7,741
package com.ch_linghu.fanfoudroid.data2; import java.util.Date; public class Status { private Date created_at; private String id; private String text; private String source; private boolean truncated; private String in_reply_to_status_id; private String in_reply_to_user_id; privat...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/data2/Status.java
Java
asf20
4,203
package com.ch_linghu.fanfoudroid.data2; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; public class DataUtils { static SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.US); pub...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/data2/DataUtils.java
Java
asf20
570
package com.ch_linghu.fanfoudroid.data2; import java.util.Date; public class User { private String id; private String name; private String screen_name; private String location; private String desription; private String profile_image_url; private String url; private boolean isProtected;...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/data2/User.java
Java
asf20
4,354
package com.ch_linghu.fanfoudroid.data2; public class Photo { private String thumburl; private String imageurl; private String largeurl; public Photo() {} public String getThumburl() { return thumburl; } public void setThumburl(String thumburl) { this.thumburl = thumb...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/data2/Photo.java
Java
asf20
815
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.ListView; import android.widget.TextView; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoud...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/UserTimelineActivity.java
Java
asf20
14,047
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/WriteDmActivity.java
Java
asf20
12,540
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/QueryResult.java
Java
asf20
6,405
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Configuration.java
Java
asf20
12,102
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Trends.java
Java
asf20
6,595
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/RefuseError.java
Java
asf20
4,494
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/WeiboSupport.java
Java
asf20
2,533
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/IDs.java
Java
asf20
4,847
/* * UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru) */ package com.ch_linghu.fanfoudroid.fanfou; import java.io.Serializable; import java.util.List; /** * 对User对象列表进行的包装,以支持cursor相关信息传递 * @author liudaoru - daoru at sina.com.cn */ public class UserWapper implements Seriali...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/UserWapper.java
Java
asf20
1,281
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Paging.java
Java
asf20
3,847
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Weibo.java
Java
asf20
61,339
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Status.java
Java
asf20
13,518
package com.ch_linghu.fanfoudroid.fanfou; /** * An exception class that will be thrown when WeiboAPI calls are failed.<br> * In case the Fanfou server returned HTTP error code, you can get the HTTP status code using getStatusCode() method. */ public class WeiboException extends Exception { private int statusCod...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/WeiboException.java
Java
asf20
982
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/SavedSearch.java
Java
asf20
5,041
/* Copyright (c) 2007-2009 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 dis...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Query.java
Java
asf20
6,708
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/WeiboResponse.java
Java
asf20
9,049
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/User.java
Java
asf20
25,389
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Trend.java
Java
asf20
3,323
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/RetweetDetails.java
Java
asf20
6,255
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/DirectMessage.java
Java
asf20
7,766
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/Photo.java
Java
asf20
3,160
/* Copyright (c) 2007-2009, Yusuke Yamamoto 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 ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/fanfou/RateLimitStatus.java
Java
asf20
4,015
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.database.Cursor; import android.os.Bundle; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.db.StatusTable; import com.ch_linghu.fanfoudroid.fanfou.Status; import com.ch_linghu.fanfoudroi...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/BrowseActivity.java
Java
asf20
2,319
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/WriteActivity.java
Java
asf20
29,383
package com.ch_linghu.fanfoudroid; import com.ch_linghu.fanfoudroid.app.Preferences; import android.app.Activity; import android.content.ComponentName; import android.content.pm.ActivityInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundl...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/AboutActivity.java
Java
asf20
1,534
package com.ch_linghu.fanfoudroid; import java.util.HashSet; //import org.acra.ReportingInteractionMode; //import org.acra.annotation.ReportsCrashes; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.net...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/TwitterApplication.java
Java
asf20
6,960
package com.ch_linghu.fanfoudroid.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.t...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/util/TextHelper.java
Java
asf20
5,209
package com.ch_linghu.fanfoudroid.util; import java.io.InputStream; import java.io.OutputStream; public class StreamUtils { public static void CopyStream(InputStream is, OutputStream os) { final int buffer_size=1024; try { byte[] bytes=new byte[buffer_size]; ...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/util/StreamUtils.java
Java
asf20
572
package com.ch_linghu.fanfoudroid.util; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Arrays; import java.util.HashMap; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; /** * Debug Timer * * Usage: * -------------------------------- * DebugTimer.s...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/util/DebugTimer.java
Java
asf20
4,762
package com.ch_linghu.fanfoudroid.util; import java.io.File; import java.io.IOException; import android.os.Environment; /** * 对SD卡文件的管理 * @author ch.linghu * */ public class FileHelper { private static final String TAG = "FileHelper"; private static final String BASE_PATH="fanfoudroid"; public st...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/util/FileHelper.java
Java
asf20
813
package com.ch_linghu.fanfoudroid.util; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import android.util.Log; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.TwitterAppl...
061304011116lyj-aa
src/com/ch_linghu/fanfoudroid/util/DateTimeHelper.java
Java
asf20
3,539
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
061304011116lyj-aa
src/com/commonsware/cwac/sacklist/SackOfViewsAdapter.java
Java
asf20
4,593
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
061304011116lyj-aa
src/com/commonsware/cwac/merge/MergeAdapter.java
Java
asf20
8,420
package com.hlidskialf.android.hardware; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; public class ShakeListener implements SensorEventListener { private static final int FORCE...
061304011116lyj-aa
src/com/hlidskialf/android/hardware/ShakeListener.java
Java
asf20
2,826
/* Javadoc 样式表 */ /* 在此处定义颜色、字体和其他样式属性以覆盖默认值 */ /* 页面背景颜色 */ body { background-color: #FFFFFF; color:#000000 } /* 标题 */ h1 { font-size: 145% } /* 表格颜色 */ .TableHeadingColor { background: #CCCCFF; color:#000000 } /* 深紫色 */ .TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* 淡紫色 */ .TableRowColor ...
061304011116lyj-aa
doc/stylesheet.css
CSS
asf20
1,370
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
061304011116lyj-aa
tools/openHttpDebug.sh
Shell
asf20
229
<?php function load() { header('Content-Type: text/text; charset=GBK'); $code = $_GET['code']; if ($code == "") { header('Location: https://oauth.taobao.com/authorize?response_type=code&redirect_uri=http://eagleonhill.oicp.net/editor/taobao.php&client_id=21134472'); } else { chdir('../../donation...
007slmg-np-activex-justep
web/taobao.php
PHP
mpl11
400
.itemline.newline:not(.editing) { display:none; } .list { width: 100%; height: 520px; } div[property=title] { width: 200px } div[property=type] { width: 60px } div[property=value] { width: 240px } div[property=enabled] { width: 60px } div[property=userAgent] { width: 70px } d...
007slmg-np-activex-justep
web/editor.css
CSS
mpl11
694
.list { width: 800px; height: 400px; font-family: Arial, sans-serif; overflow-x: hidden; border: 3px solid #0D5995; background-color: #0D5995; padding: 1px; padding-top: 10px; border-top-left-radius: 15px; border-top-right-radius: 15px; border-bottom-left-radius: 4px; border-bottom-r...
007slmg-np-activex-justep
web/list.css
CSS
mpl11
1,865
<?php function load() { $postData = ''; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $postData .= "&$key=$value"; } $postData = substr($postData, 1); if (!isset($_POST['item_number']) || $_POST['item_number'] != 'npax') { echo 'Not relevant item'; ...
007slmg-np-activex-justep
web/paypal.php
PHP
mpl11
430
<html> <head> <script> function stringHash(str) { var hash = 0; if (str.length == 0) return hash; for (var i = 0; i < str.length; i++) { ch = str.charCodeAt(i); hash = ((hash << 5) - hash) + ch; hash = hash & hash; // Convert to 32bit integer ...
007slmg-np-activex-justep
web/stringhash.html
HTML
mpl11
672
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved. // Use of this source code is governed by a Mozilla-1.1 license that can be // found in the LICENSE file. /* prop = { header, // String property, // String events, // type, // checkbox, select, ...
007slmg-np-activex-justep
web/list.js
JavaScript
mpl11
11,700
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved. // Use of this source code is governed by a Mozilla-1.1 license that can be // found in the LICENSE file. var baseDir = '/setting/'; var rules = []; var scripts = []; var issues = []; var dirty = false; function setScriptAutoComplet...
007slmg-np-activex-justep
web/editor.js
JavaScript
mpl11
9,473
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></meta> <style> .line { clear: both; margin: 4px 0px; } .item { margin: 4px 3px; float: left; } </style> <script> var link = "https://chrome.googl...
007slmg-np-activex-justep
web/share.html
HTML
mpl11
3,718
<html> <head> <link rel="stylesheet" type="text/css" href="list.css" /> <link rel="stylesheet" type="text/css" href="editor.css" /> <link type="text/css" href="jquery-ui-1.8.17.custom.css" rel="stylesheet" /> <script src="jquery-1.7.min.js"></script> <script src="jquery-ui-1.8.17.custom.min....
007slmg-np-activex-justep
web/editor.html
HTML
mpl11
1,570
// Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved. // Use of this source code is governed by a Mozilla-1.1 license that can be // found in the LICENSE file. List.types.input = function(p, prop) { p[0].listdata = this; this.p = p; var input = this.input = $('<input></input>').addClas...
007slmg-np-activex-justep
web/listtypes.js
JavaScript
mpl11
3,295
import urllib import urllib2 import argparse import sys from log import Logger from datetime import datetime, timedelta def verify_order(postdata, sandbox): data = 'cmd=_notify-validate&' + postdata if sandbox: scr = 'https://www.sandbox.paypal.com/cgi-bin/websc' else: scr = 'https://www.payp...
007slmg-np-activex-justep
Tools/donation/paypal.py
Python
mpl11
2,448
import threading import os import csv import argparse from datetime import datetime class Logger: fields = ['name', 'mail', 'nickname', 'amount', 'actual_amount', 'unit',\ 'comment', 'time', 'method', 'id'] def __init__(self, config): logfile = config['logfile'] self.path = logfile + '.c...
007slmg-np-activex-justep
Tools/donation/log.py
Python
mpl11
4,082
import sys import top.api as topapi import traceback import log import top import json import re import webbrowser import time import urllib2 import cookielib import urllib import httplib from ConfigParser import ConfigParser from datetime import datetime, timedelta class T: def trace_exception(sel...
007slmg-np-activex-justep
Tools/donation/taobao.py
Python
mpl11
11,377
from hgapi import * import shutil import os import threading import optparse import traceback import log from datetime import datetime, timedelta class HGDonationLog: def __init__(self, config, logger): self._path = config['path'] self._repo = Repo(self._path) self._target = config['logfile'...
007slmg-np-activex-justep
Tools/donation/hg.py
Python
mpl11
3,178
import subprocess import tempfile import shutil import os import codecs import json import zipfile class Packer: def __init__(self, input_path, outputfile): self.input_path = os.path.abspath(input_path) self.outputfile = os.path.abspath(outputfile) self.tmppath = None def pack(self): ...
007slmg-np-activex-justep
Tools/pack.py
Python
mpl11
2,602
#!/usr/bin/env python # # Copyright 2006, 2007 Google Inc. All Rights Reserved. # Author: danderson@google.com (David Anderson) # # Script for uploading files to a Google Code project. # # This is intended to be both a useful script for people who want to # streamline project uploads and a reference implementation for ...
007slmg-np-activex-justep
Tools/googlecode_upload.py
Python
mpl11
9,200
# Copyright (c) 2012 eagleonhill(qiuc12@gmail.com). All rights reserved. # Use of this source code is governed by a Mozilla-1.1 license that can be # found in the LICENSE file. import googlecode_upload import tempfile import urllib2 import optparse import os extensionid = 'lgllffgicojgllpmdbemgglaponefajn' ...
007slmg-np-activex-justep
Tools/upload.py
Python
mpl11
1,501
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/objectProxy.h
C++
mpl11
2,216
comment ? /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.moz...
007slmg-np-activex-justep
ffactivex/FakeDispatcherWrap.asm
Assembly
mpl11
1,879
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/axhost.cpp
C++
mpl11
15,111
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/npactivex.cpp
C++
mpl11
18,456
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/ObjectManager.cpp
C++
mpl11
5,998
; Copyright qiuc12@gmail.com ; This file is generated automatically by python. DON'T MODIFY IT! .386 .model flat _DualProcessCommandWrap proto PUBLIC ?fv0@FakeDispatcherBase@@EAGJXZ PUBLIC ?fv1@FakeDispatcherBase@@EAGJXZ PUBLIC ?fv2@FakeDispatcherBase@@EAGJXZ PUBLIC ?fv3@FakeDispatcherBase@@EAGJXZ PUBLIC ?fv4@...
007slmg-np-activex-justep
ffactivex/FakeDispatcherBase.asm
Assembly
mpl11
32,722
// stdafx.cpp : source file that includes just the standard includes // npactivex.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "npactivex.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
007slmg-np-activex-justep
ffactivex/stdafx.cpp
C++
mpl11
299
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/atlthunk.h
C
mpl11
2,219
#include "ScriptFunc.h" NPClass ScriptFunc::npClass = { /* version */ NP_CLASS_STRUCT_VERSION, /* allocate */ ScriptFunc::_Allocate, /* deallocate */ ScriptFunc::_Deallocate, /* invalidate */ NULL, /* hasMethod */ NULL, //Scriptable::_HasMethod, /* invoke */ NULL, //Scriptable::_Invoke, /* invokeDe...
007slmg-np-activex-justep
ffactivex/ScriptFunc.cpp
C++
mpl11
1,507
// Copyright qiuc12@gmail.com // This file is generated autmatically by python. DONT MODIFY IT! #pragma once #include <OleAuto.h> class FakeDispatcher; HRESULT DualProcessCommand(int commandId, FakeDispatcher *disp, ...); extern "C" void DualProcessCommandWrap(); class FakeDispatcherBase : public IDispatch { ...
007slmg-np-activex-justep
ffactivex/FakeDispatcherBase.h
C++
mpl11
7,671
comment ? /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.moz...
007slmg-np-activex-justep
ffactivex/atlthunk_asm.asm
Assembly
mpl11
2,081
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/npactivex.h
C
mpl11
2,994
#pragma once // The following macros define the minimum required platform. The minimum required platform // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run // your application. The macros work by enabling all features available on platform versions up to and /...
007slmg-np-activex-justep
ffactivex/targetver.h
C
mpl11
1,428
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/ObjectManager.h
C++
mpl11
2,783
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/HTMLDocumentContainer.h
C++
mpl11
17,424
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/scriptable.h
C++
mpl11
4,934
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/FakeDispatcher.h
C++
mpl11
6,240
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/FakeDispatcher.cpp
C++
mpl11
14,420
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/dllmain.cpp
C++
mpl11
7,451
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/variants.h
C
mpl11
2,086
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
007slmg-np-activex-justep
ffactivex/scriptable.cpp
C++
mpl11
13,344