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 |
|---|---|---|---|---|---|
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/ObjectManager.cpp | C++ | mpl11 | 5,998 |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by npactivex.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTRO... | zzhongster-wxtlactivex | ffactivex/resource.h | C | mpl11 | 403 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/npactivex.cpp | C++ | mpl11 | 18,456 |
maxVf = 200
# Generating the header
head = """// 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()... | zzhongster-wxtlactivex | ffactivex/FakeDispatcherBase_gen.py | Python | mpl11 | 1,484 |
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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | ffactivex/FakeDispatcher.h | C++ | mpl11 | 6,240 |
// 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
| zzhongster-wxtlactivex | ffactivex/stdafx.cpp | C++ | mpl11 | 299 |
#pragma once
#include <npapi.h>
#include <npruntime.h>
#include <OleAuto.h>
#include "scriptable.h"
#include "npactivex.h"
#include <map>
using std::map;
using std::pair;
class ScriptFunc : public NPObject
{
private:
static NPClass npClass;
Scriptable *script;
MEMBERID dispid;
void setControl(Scrip... | zzhongster-wxtlactivex | ffactivex/ScriptFunc.h | C++ | mpl11 | 1,139 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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
* t... | zzhongster-wxtlactivex | ffactivex/authorize.cpp | C++ | mpl11 | 10,040 |
#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... | zzhongster-wxtlactivex | ffactivex/ScriptFunc.cpp | C++ | mpl11 | 1,507 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/axhost.cpp | C++ | mpl11 | 15,111 |
// (c) Code By Extreme
// Description:Inline Hook Engine
// Last update:2010-6-26
#include <Windows.h>
#include <stdio.h>
#include "Hook.h"
#define JMPSIZE 5
#define NOP 0x90
extern DWORD ade_getlength(LPVOID Start, DWORD WantLength);
static VOID BuildJmp(PBYTE Buffer,DWORD JmpFrom, DWORD JmpTo)
{
DWO... | zzhongster-wxtlactivex | ffactivex/ApiHook/Hook.cpp | C++ | mpl11 | 3,588 |
#ifndef _HOOK_H_
#define _HOOK_H_
typedef struct _HOOKINFO_
{
PBYTE Stub;
DWORD CodeLength;
LPVOID FuncAddr;
LPVOID FakeAddr;
}HOOKINFO, *PHOOKINFO;
VOID HEInitHook(PHOOKINFO HookInfo, LPVOID FuncAddr, LPVOID FakeAddr);
BOOL HEStartHook(PHOOKINFO HookInfo);
BOOL HEStopHook(PHOOKINFO HookInfo);
#en... | zzhongster-wxtlactivex | ffactivex/ApiHook/Hook.h | C | mpl11 | 323 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/AtlThunk.cpp | C++ | mpl11 | 10,401 |
; 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@... | zzhongster-wxtlactivex | ffactivex/FakeDispatcherBase.asm | Assembly | mpl11 | 32,722 |
/* ***** 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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | ffactivex/Host.h | C++ | mpl11 | 2,241 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/scriptable.cpp | C++ | mpl11 | 13,344 |
/* ***** 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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | ffactivex/NPSafeArray.cpp | C++ | mpl11 | 8,634 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/variants.cpp | C++ | mpl11 | 11,038 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/npactivex.h | C | mpl11 | 2,994 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/NPSafeArray.h | C++ | mpl11 | 3,324 |
/* ***** 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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | ffactivex/GenericNPObject.h | C++ | mpl11 | 5,100 |
#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
/... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | ffactivex/FakeDispatcher.cpp | C++ | mpl11 | 14,420 |
// 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 {
... | zzhongster-wxtlactivex | ffactivex/FakeDispatcherBase.h | C++ | mpl11 | 7,671 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/ItemContainer.cpp | C++ | mpl11 | 4,191 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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
* t... | zzhongster-wxtlactivex | ffactivex/common/ControlEventSink.h | C++ | mpl11 | 4,288 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/IOleCommandTargetImpl.h | C++ | mpl11 | 10,589 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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
* t... | zzhongster-wxtlactivex | ffactivex/common/ControlSite.cpp | C++ | mpl11 | 45,015 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/PropertyList.h | C++ | mpl11 | 5,004 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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
* t... | zzhongster-wxtlactivex | ffactivex/common/ControlEventSink.cpp | C++ | mpl11 | 9,226 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/ControlSiteIPFrame.cpp | C++ | mpl11 | 4,135 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/ItemContainer.h | C++ | mpl11 | 3,631 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/ControlSite.h | C++ | mpl11 | 18,194 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/PropertyBag.cpp | C++ | mpl11 | 3,426 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/ControlSiteIPFrame.h | C++ | mpl11 | 3,891 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | zzhongster-wxtlactivex | ffactivex/common/PropertyBag.h | C++ | mpl11 | 2,769 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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
* t... | zzhongster-wxtlactivex | ffactivex/common/StdAfx.h | C++ | mpl11 | 4,966 |
/* ***** 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... | zzhongster-wxtlactivex | ffactivex/stdafx.h | C | mpl11 | 2,250 |
/* ***** 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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | ffactivex/objectProxy.h | C++ | mpl11 | 2,216 |
<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
... | zzhongster-wxtlactivex | web/stringhash.html | HTML | mpl11 | 672 |
<?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';
... | zzhongster-wxtlactivex | web/paypal.php | PHP | mpl11 | 430 |
<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... | zzhongster-wxtlactivex | web/share.html | HTML | mpl11 | 3,718 |
<?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... | zzhongster-wxtlactivex | web/taobao.php | PHP | mpl11 | 400 |
// 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... | zzhongster-wxtlactivex | web/listtypes.js | JavaScript | mpl11 | 3,295 |
.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... | zzhongster-wxtlactivex | 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... | zzhongster-wxtlactivex | web/list.css | CSS | mpl11 | 1,865 |
<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.... | zzhongster-wxtlactivex | 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.
var baseDir = '/setting/';
var rules = [];
var scripts = [];
var issues = [];
var dirty = false;
function setScriptAutoComplet... | zzhongster-wxtlactivex | web/editor.js | JavaScript | mpl11 | 9,473 |
// 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, ... | zzhongster-wxtlactivex | web/list.js | JavaScript | mpl11 | 11,700 |
package com.example.pphotocapsule;
import com.nhn.android.maps.NMapOverlay;
import com.nhn.android.maps.NMapOverlayItem;
import com.nhn.android.maps.NMapView;
import com.nhn.android.mapviewer.overlay.NMapCalloutOverlay;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Pa... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/NMapCalloutBasicOverlay.java | Java | epl | 4,062 |
package com.example.pphotocapsule;
import java.util.ArrayList;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
im... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/AlbumActivity.java | Java | epl | 6,380 |
package com.example.pphotocapsule;
import java.io.IOException;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.app.NotificationManager;
import android.content.Intent;
import android.database.Cursor;
import android.view.Menu;
public class SplashActivity ext... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/SplashActivity.java | Java | epl | 1,618 |
package com.example.pphotocapsule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.gr... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/MergeActivity.java | Java | epl | 3,241 |
package com.example.pphotocapsule;
import android.graphics.Bitmap;
public class DivideImage {
public static Bitmap croppedBmpLeft;
public static Bitmap croppedBmpright;
public void segmentImage(Bitmap bitmap) {
int width = bitmap.getWidth();
int height = bitmap.getHeight();
int halfheight = heig... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/DivideImage.java | Java | epl | 498 |
package com.example.pphotocapsule;
public class NMapPOIflagType {
public static final int UNKNOWN = 0x0000;
// Single POI icons
private static final int SINGLE_POI_BASE = 0x0100;
// Spot, Pin icons
public static final int SPOT = SINGLE_POI_BASE + 1;
public static final int PIN = SPOT + 1;
// Dire... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/NMapPOIflagType.java | Java | epl | 2,450 |
package com.example.pphotocapsule;
import java.io.IOException;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.CheckBox;
import android.widget.ImageButton;
public class IntroActivity extends Ac... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/IntroActivity.java | Java | epl | 1,653 |
package com.example.pphotocapsule;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Locale;
import java.util.... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/CameraActivity.java | Java | epl | 11,732 |
package com.example.pphotocapsule;
import java.util.Date;
import java.util.Properties;
import javax.activation.CommandMap;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.activation.MailcapCommandMap;
import javax.mail.BodyPart;
... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/Mail.java | Java | epl | 4,866 |
package com.example.pphotocapsule;
import java.io.ByteArrayOutputStream;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.view.M... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/ReceiveMergedImageActivity.java | Java | epl | 2,622 |
package com.example.pphotocapsule;
import android.graphics.Bitmap;
import android.graphics.Canvas;
public class MergeImage {
public Bitmap mergedImage(Bitmap c, Bitmap s) {
Bitmap cs = null;
int width, height = 0;
width = c.getWidth();
height = c.getHeight() + s.getHeight();
cs = B... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/MergeImage.java | Java | epl | 549 |
package com.example.pphotocapsule;
import android.graphics.Canvas;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.text.TextPaint;
import android.text.TextUtils;
import android.util.Log;
import com.nhn... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/NMapCalloutCustomOldOverlay.java | Java | epl | 11,924 |
package com.example.pphotocapsule;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteExcepti... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/Database.java | Java | epl | 4,551 |
package com.example.pphotocapsule;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawab... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/NMapViewerResourceProvider.java | Java | epl | 14,657 |
package com.example.pphotocapsule;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.ImageView;
public class MainActivity extends Activity {
ImageView main_imageView_camera, main_imageView_album;
... | zzikgong | trunk/PphotoCapsule/src/com/example/pphotocapsule/MainActivity.java | Java | epl | 1,496 |
package com.example.photocapsule;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.Paint.Style;
import android.graphics.drawable.Drawable;
import com.nhn.android.maps.NMapOverlay... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/NMapCalloutBasicOverlay.java | Java | epl | 4,060 |
package com.example.photocapsule;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.provide... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/AlbumActivity.java | Java | epl | 6,367 |
package com.example.photocapsule;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
public class SplashActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sav... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/SplashActivity.java | Java | epl | 906 |
package com.example.photocapsule;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/ImagePopupActivity.java | Java | epl | 1,647 |
package com.example.photocapsule;
import android.graphics.Bitmap;
public class DivideImage {
public static Bitmap croppedBmpLeft;
public static Bitmap croppedBmpright;
public void segmentImage(Bitmap bitmap) {
int width = bitmap.getWidth();
int height = bitmap.getHeight();
int halfWidth = width ... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/DivideImage.java | Java | epl | 494 |
package com.example.photocapsule;
public class NMapPOIflagType {
public static final int UNKNOWN = 0x0000;
// Single POI icons
private static final int SINGLE_POI_BASE = 0x0100;
// Spot, Pin icons
public static final int SPOT = SINGLE_POI_BASE + 1;
public static final int PIN = SPOT + 1;
// Direc... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/NMapPOIflagType.java | Java | epl | 2,449 |
package com.example.photocapsule;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.ImageButton;
public class IntroActivity extends Activity {
ImageButton intro_imageButton_ok;
@Override
pro... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/IntroActivity.java | Java | epl | 1,214 |
package com.example.photocapsule;
import java.util.Date;
import java.util.Properties;
import javax.activation.CommandMap;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.activation.MailcapCommandMap;
import javax.mail.BodyPart;
i... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/Mail.java | Java | epl | 4,865 |
package com.example.photocapsule;
import android.graphics.Bitmap;
public class MergeImage {
public Bitmap combineImages(Bitmap c, Bitmap s) {
Bitmap cs = null;
int width, height = 0;
width = c.getWidth() + s.getWidth();
height = c.getHeight();
cs = Bitmap.createBitmap(width, height, Bitmap.Co... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/MergeImage.java | Java | epl | 363 |
package com.example.photocapsule;
import android.graphics.Canvas;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.text.TextPaint;
import android.text.TextUtils;
import android.util.Log;
import com.nhn.... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/NMapCalloutCustomOldOverlay.java | Java | epl | 11,925 |
package com.example.photocapsule;
public class Database {
}
| zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/Database.java | Java | epl | 67 |
package com.example.photocapsule;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawabl... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/NMapViewerResourceProvider.java | Java | epl | 14,656 |
package com.example.photocapsule;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.ImageView;
public class MainActivity extends Activity {
ImageView main_imageButton_camera, main_imageButton_album... | zzikgong | trunk/PhotoCapsule/src/com/example/photocapsule/MainActivity.java | Java | epl | 1,560 |
package com.example.mobilemultimediacontents_timecapsule;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class AlbumActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R... | zzikgong | trunk/MobileMultimediaContents_TimeCapsule/src/com/example/mobilemultimediacontents_timecapsule/AlbumActivity.java | Java | epl | 565 |
package com.example.mobilemultimediacontents_timecapsule;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
public class SplashActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState)... | zzikgong | trunk/MobileMultimediaContents_TimeCapsule/src/com/example/mobilemultimediacontents_timecapsule/SplashActivity.java | Java | epl | 930 |
package com.example.mobilemultimediacontents_timecapsule;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.ImageButton;
public class IntroActivity extends Activity {
ImageButton intro_imageButton_... | zzikgong | trunk/MobileMultimediaContents_TimeCapsule/src/com/example/mobilemultimediacontents_timecapsule/IntroActivity.java | Java | epl | 1,238 |
package com.example.mobilemultimediacontents_timecapsule;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.ImageButton;
public class MainActivity extends Activity {
ImageButton main_imageButton_ca... | zzikgong | trunk/MobileMultimediaContents_TimeCapsule/src/com/example/mobilemultimediacontents_timecapsule/MainActivity.java | Java | epl | 1,596 |
<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
<meta charset="utf-8">
<title>Welcome</title>
</head> ... | zzizily-examples | sswm/src/main/webapp/index.jsp | Java Server Pages | asf20 | 446 |
<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<meta charset="utf-8">
<title>Welcome</title>
</head>
<body>
<h2>${message}</h2>
</body>
</html>
| zzizily-examples | sswm/src/main/webapp/WEB-INF/view/showMessage.jsp | Java Server Pages | asf20 | 231 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | type.h | C | gpl3 | 1,741 |
fpgaTest.exe: Command.o Node.o atpg.o fileRead.o fileWrite.o global.o logicSim.o main.o preprocess.o
g++ Command.o Node.o atpg.o fileRead.o fileWrite.o global.o logicSim.o main.o preprocess.o -o fpgaTest.exe
Command.o: Command.cpp Command.h
g++ -c Command.cpp
Node.o: Node.cpp Node.h atpg.h
g++ -c Node.cpp
atpg.o: at... | zzfall2010ee658 | Makefile | Makefile | gpl3 | 1,064 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | Command.cpp | C++ | gpl3 | 1,067 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | fileWrite.h | C | gpl3 | 1,422 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | Node.h | C++ | gpl3 | 7,135 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | Node.cpp | C++ | gpl3 | 24,791 |
/*
* File: atpg.h
* Author: zhouzhao
*
* Created on November 25, 2010, 5:32 PM
*/
#ifndef ATPG_H
#define ATPG_H
#include "type.h"
#include "Node.h"
int implyCheck(Node* np);
int implyProcess(int num, e_logic logic, e_direction direction);
int propagate(Node* node, e_logic value, e_direction direction);
e_log... | zzfall2010ee658 | atpg.h | C | gpl3 | 903 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | atpg.cpp | C++ | gpl3 | 14,235 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | Command.h | C++ | gpl3 | 1,606 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | preprocess.h | C | gpl3 | 1,462 |
/**
* Copyright 2010 Zhou Zhao
*
* This file is part of FPGA test system for EE658 at USC
*
FPGA test system is a free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your o... | zzfall2010ee658 | fileWrite.cpp | C++ | gpl3 | 9,765 |