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 |
|---|---|---|---|---|---|
function [P, K] = svm_dual(S, K)
%SVM_DUAL Dual QP Problem of SVM Learning
%
% P = svm_dual(S);
%
% constructs a QP problem corresponding to the dual formulation
% of the SVM problem given by S.
%
% P = svm_dual(S, K);
%
% performs the construction using the pre-computed kernel matrix
% ... | zzhangumd-smitoolbox | classics/svm/svm_dual.m | MATLAB | mit | 1,940 |
function svc_rbf_demo(n, solver)
%SVC_RBF_DEMO The Demo of RBF kernel SVM for classification
%
% SVC_RBF_DEMO;
% SVC_RBF_DEMO(n);
%
% Here, n is the number of samples per class. By default it is
% set to 100.
%
% SVC_RBF_DEMO(n, solver);
%
% User can also specifies a customized solver function h... | zzhangumd-smitoolbox | classics/svm/svc_rbf_demo.m | MATLAB | mit | 1,643 |
function [w, b, xi] = svm_primal_train(S, solver)
%SVM_PRIMAL_TRAIN Train Support Vector Machine using Primal formulation
%
% [w, b] = SVM_PRIMAL_TRAIN(S);
% [w, b] = SVM_PRIMAL_TRAIN(S, solver);
% [w, b, xi] = SVM_PRIMAL_TRAIN( ... );
%
% trains a linear SVM using primal QP formulation.
%
% Input arg... | zzhangumd-smitoolbox | classics/svm/svm_primal_train.m | MATLAB | mit | 1,475 |
function svc_linear_demo(n, solver)
%SVC_LINEAR_DEMO Demo of linear SVM classification
%
% SVC_LINEAR_DEMO;
% SVC_LINEAR_DEMO(n);
% SVC_LINEAR_DEMO(n, solver);
%
% Here, n is the number of samples per class. By default it is
% set to 100.
%
% User can also specifies a customized solver function ... | zzhangumd-smitoolbox | classics/svm/svc_linear_demo.m | MATLAB | mit | 1,871 |
function tf = is_svm_problem(S)
%IS_SVM_PROBLEM Whether the input argument is an SVM problem struct
%
% tf = is_svm_problem(S);
% returns whether S is a valid SVM problem struct.
%
% Created by Dahua Lin, on Jan 17, 2012
%
%% main
tf = isstruct(S) && numel(S) == 1 && isfield(S, 'tag') && ...
strcmp(S.tag... | zzhangumd-smitoolbox | classics/svm/is_svm_problem.m | MATLAB | mit | 337 |
function svr_rbf_demo(n, solver)
%SVR_RBF_DEMO The Demo of RBF kernel SVM for regression
%
% SVR_RBF_DEMO;
% SVR_RBF_demo(n);
%
% Here, n is the number of samples. By default it is set to 200.
%
% SVR_RBF_DEMO(n, solver);
%
% User can also specifies a customized solver function handle.
% (defaul... | zzhangumd-smitoolbox | classics/svm/svr_rbf_demo.m | MATLAB | mit | 987 |
function v = svm_dual_predict(R, X)
%SVM_DUAL_PREDICT SVM prediction based on dual formulation solution
%
% v = SVM_DUAL_PREDICT(R, X);
%
% Evaluates the prediction values based on the solution to the
% dual QP problem, using the following formula
%
% v = w' * x + b
% = sum_i a_i * ... | zzhangumd-smitoolbox | classics/svm/svm_dual_predict.m | MATLAB | mit | 799 |
function svmrank_rbf_demo(n, solver)
%SVMRANK_RBF_DEMO Demo of ranking using linear SVM
%
% SVMRANK_RBF_DEMO(n);
%
% Here, n is the number of samples. By default it is set to 200.
%
% SVMRANK_RBF_DEMO(n, solver);
%
% User can also specifies a customized solver function handle.
% (default is @mstd_... | zzhangumd-smitoolbox | classics/svm/svmrank_rbf_demo.m | MATLAB | mit | 1,286 |
function P = svm_primal(S)
%SVM_PRIMAL Primal QP Problem of SVM Learning
%
% P = SVM_PRIMAL(S);
%
% constructs a QP problem corresponding to the primal formulation
% of the SVM problem represented by S.
%
% The solution composition for different types of problems are
% different.
%
% - '... | zzhangumd-smitoolbox | classics/svm/svm_primal.m | MATLAB | mit | 2,022 |
function [R, alpha] = svm_dual_train(S, K, solver)
%SVM_DUAL_TRAIN SVM training based on dual QP formulation
%
% R = SVM_DUAL_TRAIN(S);
% R = SVM_DUAL_TRAIN(S, K);
% R = SVM_DUAL_TRAIN(S, [], solver);
% R = SVM_DUAL_TRAIN(S, K, solver);
%
% Trains a support vector machine (SVM) based on the dual QP
% ... | zzhangumd-smitoolbox | classics/svm/svm_dual_train.m | MATLAB | mit | 2,823 |
function S = svm_problem(type, X, Y, C, kernel, tol)
%SVM_PROBLEM Support Vector Machine (SVM) Learning Problem
%
% S = SVM_PROBLEM('class', X, y, C);
% S = SVM_PROBLEM('class', X, y, C, kernel);
%
% Constructs the problem struct for learning a binary SVM classifier.
%
% The primal formulation is given ... | zzhangumd-smitoolbox | classics/svm/svm_problem.m | MATLAB | mit | 7,995 |
function K = svm_kernel(S, X)
%SVM_KERNEL SVM Kernel evaluation
%
% K = SVM_KERNEL(S);
%
% Evaluates the kernel matrix (i.e. Gram matrix) for the given
% SVM problem or solution.
%
% Here, S should be either a svm-problem or a svm-dual-sol struct.
%
% In the output, K is a matrix of size S.n x... | zzhangumd-smitoolbox | classics/svm/svm_kernel.m | MATLAB | mit | 1,510 |
function [v, d1, d2] = svm_huber_loss(z, h)
% Compute the Huber loss with margin 1 as follows
%
% f(z) =
% 0, if z >= 1 + h
% (1+h-z)^2/4h, if |1 - z| < h
% 1 - z, if z <= 1 - h
%
% [v, d1, d2] = svm_huber_loss(z, h);
%
% Inputs:
% - z: the array of input values... | zzhangumd-smitoolbox | classics/svm/private/svm_huber_loss.m | MATLAB | mit | 1,039 |
function solver = svm_default_solver()
% Returns the default QP solver for SVM training
%
% solver = svm_default_solver();
%
optim_ver = ver('optim');
optim_ver = str2double(optim_ver.Version);
if optim_ver >= 6
alg = 'interior-point-convex';
else
alg = 'interior-point';
end
opts = optimset('Algorithm', alg... | zzhangumd-smitoolbox | classics/svm/private/svm_default_solver.m | MATLAB | mit | 379 |
function [v, g, H] = primal_svm_obj(sol, Q, F, y, c, lof, rb, op)
% The uniform objective function of primal linear/kernel svm training
%
% The objective is given by
%
% minimize (1/2) w' * Q * w + (rb/2) * b^2
% + sum_j c_j L(y_j * (w' * f_j + b))
%
% w.r.t. (w, b)
%
% For lin... | zzhangumd-smitoolbox | classics/svm/private/primal_svm_obj.m | MATLAB | mit | 4,832 |
function [w, b] = lsvm_dlm_train(S, hw, initsol, varargin)
%LSVM_DLM_TRAIN Linear SVM training via direct loss minimization
%
% [w, b] = LSVM_DLM_TRAIN(S, hw, initsol, ...);
%
% Learns a linear SVM model via direct minimization of an
% approximate regularized loss function, as
%
% (1/2) ||w||^2... | zzhangumd-smitoolbox | classics/svm/lsvm_dlm_train.m | MATLAB | mit | 3,692 |
function svmrank_linear_demo(n, solver)
%SVMRANK_LINEAR_DEMO Demo of ranking using linear SVM
%
% SVMRANK_LINEAR_DEMO(n);
%
% Here, n is the number of samples. By default it is set to 100.
%
% SVMRANK_LINEAR_DEMO(n, solver);
%
% User can also specifies a customized solver function handle.
% (defau... | zzhangumd-smitoolbox | classics/svm/svmrank_linear_demo.m | MATLAB | mit | 1,254 |
function svr_linear_demo(n, solver)
%SVR_LINEAR_DEMO Demo of SVM for linear regression
%
% SVR_LINEAR_DEMO;
% SVR_LINEAR_DEMO(n);
% SVR_LINEAR_DEMO(n, solver);
%
% Conducts the demo of SVM for linear regression.
%
% n is the number of samples (default = 200, if omitted).
%
% User can also... | zzhangumd-smitoolbox | classics/svm/svr_linear_demo.m | MATLAB | mit | 1,037 |
function [R, A] = knnc(D, M, L, K, wfun, op)
%KNNC K-nearest-neighbor classification
%
% R = KNNC(D, M, L, K);
% R = KNNC(D, M, L, K, wfun);
% R = KNNC(D, M, L, K, [], 'dis');
% R = KNNC(D, M, L, K, wfun, 'dis');
% R = KNNC(D, M, L, K, [], 'sim');
% R = KNNC(D, M, L, K, wfun, 'sim');
%
% Performs K-ne... | zzhangumd-smitoolbox | classics/classification/knnc.m | MATLAB | mit | 3,721 |
function [L, v] = sclassify(D, op)
%SCLASSIFY Standard Nearest Neighbor Classification
%
% L = SCLASSIFY(D, 'dis');
% L = SCLASSIFY(D, 'sim');
%
% Classifies each sample to a particular class that is closest to it.
%
% Suppose there are K class and n testing samples. Then D should be
% matrix of s... | zzhangumd-smitoolbox | classics/classification/sclassify.m | MATLAB | mit | 1,232 |
function [x, y, thres] = roc_curve(scores, L0, xname, yname, varargin)
% Computes the ROC curve from prediction results
%
% [x, y, thres] = roc_curve(scores, L0, xname, yname, ...);
%
% Computes the ROC curve from scores.
%
% Input arguments:
% - scores: The prediction scores.
% - L0: ... | zzhangumd-smitoolbox | classics/classification/roc_curve.m | MATLAB | mit | 7,035 |
// WorldEditor.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "WorldEditor.h"
#include "MainFrm.h"
#include "WorldEditorDoc.h"
#include "WorldEditorView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CWorldEditorApp
BEGIN_MESSA... | zz3d | WorldEditor/Src/MFCUI/WorldEditor.cpp | C++ | art | 4,363 |
// stdafx.cpp : source file that includes just the standard includes
// WorldEditor.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| zz3d | WorldEditor/Src/MFCUI/stdafx.cpp | C++ | art | 213 |
// WorldEditorDoc.h : interface of the CWorldEditorDoc class
//
#pragma once
class CWorldEditorDoc : public CDocument
{
protected: // create from serialization only
CWorldEditorDoc();
DECLARE_DYNCREATE(CWorldEditorDoc)
// Attributes
public:
// Operations
public:
// Overrides
public:
vir... | zz3d | WorldEditor/Src/MFCUI/WorldEditorDoc.h | C++ | art | 648 |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by WorldEditor.rc
//
#define IDD_ABOUTBOX 100
#define IDR_POPUP_EDIT 119
#define ID_STATUSBAR_PANE1 120
#define ID_STATUSBAR_PANE2 121
#define IDS_STATUS_PANE1 122
#define IDS_STATUS_PANE2 123
#define IDS_TOOLBAR_STAND... | zz3d | WorldEditor/Src/MFCUI/Resource.h | C | art | 1,555 |
// WorldEditor.h : main header file for the WorldEditor application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CWorldEditorApp:
// See WorldEditor.cpp for the implementation of this class
/... | zz3d | WorldEditor/Src/MFCUI/WorldEditor.h | C++ | art | 718 |
// MainFrm.h : interface of the CMainFrame class
//
#pragma once
#include "PropertiesWnd.h"
class CMainFrame : public CFrameWndEx
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
// Overrides
public:
v... | zz3d | WorldEditor/Src/MFCUI/MainFrm.h | C++ | art | 1,325 |
// MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "WorldEditor.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWndEx)
const int iMaxUserToolbars = 10;
const UINT uiFirstUserToolBarId = ... | zz3d | WorldEditor/Src/MFCUI/MainFrm.cpp | C++ | art | 9,911 |
// WorldEditorView.cpp : implementation of the CWorldEditorView class
//
#include "stdafx.h"
#include "WorldEditor.h"
#include "WorldEditorDoc.h"
#include "WorldEditorView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CWorldEditorView
IMPLEMENT_DYNCREATE(CWorldEditorView, CView)
BEGIN_MESS... | zz3d | WorldEditor/Src/MFCUI/WorldEditorView.cpp | C++ | art | 1,728 |
#pragma once
class CPropertiesToolBar : public CMFCToolBar
{
public:
virtual void OnUpdateCmdUI(CFrameWnd* /*pTarget*/, BOOL bDisableIfNoHndler)
{
CMFCToolBar::OnUpdateCmdUI((CFrameWnd*) GetOwner(), bDisableIfNoHndler);
}
virtual BOOL AllowShowOnList() const { return FALSE; }
};
class CPropertie... | zz3d | WorldEditor/Src/MFCUI/PropertiesWnd.h | C++ | art | 1,445 |
#include "stdafx.h"
#include "PropertiesWnd.h"
#include "Resource.h"
#include "MainFrm.h"
#include "WorldEditor.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
/////////////////////////////////////////////////////////////////////////////
// CResourceVi... | zz3d | WorldEditor/Src/MFCUI/PropertiesWnd.cpp | C++ | art | 9,058 |
// WorldEditorView.h : interface of the CWorldEditorView class
//
#pragma once
class CWorldEditorView : public CView
{
protected: // create from serialization only
CWorldEditorView();
DECLARE_DYNCREATE(CWorldEditorView)
// Attributes
public:
CWorldEditorDoc* GetDocument() const;
// Operation... | zz3d | WorldEditor/Src/MFCUI/WorldEditorView.h | C++ | art | 1,086 |
#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
... | zz3d | WorldEditor/Src/MFCUI/targetver.h | C | art | 1,432 |
// WorldEditorDoc.cpp : implementation of the CWorldEditorDoc class
//
#include "stdafx.h"
#include "WorldEditor.h"
#include "WorldEditorDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CWorldEditorDoc
IMPLEMENT_DYNCREATE(CWorldEditorDoc, CDocument)
BEGIN_MESSAGE_MAP(CWorldEditorDoc, CDocu... | zz3d | WorldEditor/Src/MFCUI/WorldEditorDoc.cpp | C++ | art | 1,212 |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef _SECURE_ATL
#define _SECURE_ATL 1
#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff fro... | zz3d | WorldEditor/Src/MFCUI/stdafx.h | C | art | 1,974 |
#pragma once
#ifdef ZZ3D_EXPORTS
#define ZZ3D_API __declspec(dllexport)
#else
#define ZZ3D_API __declspec(dllimport)
#endif
#include <D3D9.h>
#include <d3dx9math.h>
#pragma comment(lib,"d3d9.lib")
#pragma comment(lib,"d3dx9.lib")
#include <Windows.h> | zz3d | Kernel/Src/Kernel.h | C | art | 266 |
#include "CameraBase.h"
CameraBase::CameraBase()
{
}
CameraBase::~CameraBase()
{
}
void CameraBase::setCamera( D3DXVECTOR3 from,D3DXVECTOR3 to,D3DXVECTOR3 up )
{
} | zz3d | Kernel/Src/Camera/CameraBase.cpp | C++ | art | 186 |
#pragma once
#include "D3dx9math.h"
class CameraBase
{
public:
CameraBase();
virtual ~CameraBase();
void setCamera(D3DXVECTOR3 from,D3DXVECTOR3 to,D3DXVECTOR3 up);
protected:
D3DXVECTOR3 mPos;
D3DXVECTOR3 mLookAt;
D3DXVECTOR3 mUp;
D3DXMATRIX mMatView;
D3DXMATRIX mMatProj;
}; | zz3d | Kernel/Src/Camera/CameraBase.h | C++ | art | 309 |
#pragma once
#include "../Kernel.h"
struct DeviceCfg
{
DeviceCfg()
{
memset(this,0,sizeof(DeviceCfg));
mIsWindowed = true;
mMultiSampleType = D3DMULTISAMPLE_NONE;
}
bool mIsWindowed;
unsigned int mWidth;
unsigned int mHeight;
unsigned int mFullScreenHZ;
HWND mWnd;
boo... | zz3d | Kernel/Src/Device/D3D9Device.h | C++ | art | 899 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package res;
/**
*
* @author EnzoZhong
*/
public class Res {
}
| zzblog | src/java/res/Res.java | Java | asf20 | 189 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back;
import e.z.blog.back.setup.IntallSetup;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Encoding;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.M... | zzblog | src/java/e/z/blog/back/Mvc.java | Java | asf20 | 878 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import javax.servlet.http.HttpServletRequest;
/**
*
* @author EnzoZhong
*/
public interface ComGetIpApi {
/**
*
* @param request
* @re... | zzblog | src/java/e/z/blog/back/com/ComGetIpApi.java | Java | asf20 | 393 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import e.z.blog.back.bean.base.Tag;
/**
*
* @author EnzoZhong
*/
public interface DaoTagApi extends DaoBaseApi<Tag> {
}
| zzblog | src/java/e/z/blog/back/com/DaoTagApi.java | Java | asf20 | 266 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import e.z.blog.back.bean.base.Tab;
/**
*
* @author EnzoZhong
*/
public interface DaoTabApi extends DaoBaseApi<Tab> {
}
| zzblog | src/java/e/z/blog/back/com/DaoTabApi.java | Java | asf20 | 266 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import java.util.List;
/**
*
* @param <Type> < p/> thor Enzo
*/
public interface DaoBaseApi<Type> {
/**
*
*/
String CREATE = "create";
... | zzblog | src/java/e/z/blog/back/com/DaoBaseApi.java | Java | asf20 | 1,054 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl;
import e.z.blog.back.com.ComNavTreeApi;
import java.util.HashMap;
import java.util.Map;
import org.nutz.ioc.loader.annotation.IocBean;
import z.h.w.jar.data.tree.ReferTree;
imp... | zzblog | src/java/e/z/blog/back/com/impl/ComNavTree.java | Java | asf20 | 3,823 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl;
import e.z.blog.back.com.ComDataTableApi;
import java.lang.reflect.Field;
import java.util.*;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.ioc.loader.annotatio... | zzblog | src/java/e/z/blog/back/com/impl/ComDataTable.java | Java | asf20 | 3,543 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl;
import e.z.blog.back.com.ComGetLocaleApi;
import java.util.Collection;
import java.util.Locale;
import java.util.Set;
import java.util.TreeSet;
import org.nutz.ioc.loader.annot... | zzblog | src/java/e/z/blog/back/com/impl/ComGetLocale.java | Java | asf20 | 768 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl;
import e.z.blog.back.com.ComGetIpApi;
import javax.servlet.http.HttpServletRequest;
import org.nutz.ioc.loader.annotation.IocBean;
/**
*
* @author EnzoZhong
*/
@IocBea... | zzblog | src/java/e/z/blog/back/com/impl/ComGetIp.java | Java | asf20 | 1,633 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl;
import e.z.blog.back.com.ComFixNutzStringBugApi;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.nutz.ioc.loader.annotation.IocBean;
import z.h... | zzblog | src/java/e/z/blog/back/com/impl/ComFixNutzStringBug.java | Java | asf20 | 900 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl;
import e.z.blog.back.com.ComVerfiyCodeApi;
import java.awt.Color;
import java.awt.Font;
import java.awt.image.BufferedImage;
import java.util.HashMap;
import java.util.LinkedLi... | zzblog | src/java/e/z/blog/back/com/impl/ComVerfiyCode.java | Java | asf20 | 3,756 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl.dao;
import e.z.blog.back.bean.State;
import e.z.blog.back.bean.base.Lan;
import e.z.blog.back.com.DaoLanApi;
import java.util.List;
import org.nutz.dao.Cnd;
import org.nutz.dao... | zzblog | src/java/e/z/blog/back/com/impl/dao/DaoLan.java | Java | asf20 | 2,722 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl.dao;
import e.z.blog.back.com.DaoManagerApi;
import e.z.blog.back.bean.system.Manager;
import java.util.List;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.i... | zzblog | src/java/e/z/blog/back/com/impl/dao/DaoManager.java | Java | asf20 | 1,887 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl.dao;
import e.z.blog.back.bean.State;
import e.z.blog.back.bean.base.Tag;
import e.z.blog.back.com.DaoTagApi;
import java.util.List;
import org.nutz.dao.Cnd;
import org.nutz.dao... | zzblog | src/java/e/z/blog/back/com/impl/dao/DaoTag.java | Java | asf20 | 1,998 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com.impl.dao;
import e.z.blog.back.com.DaoTabApi;
import e.z.blog.back.bean.State;
import e.z.blog.back.bean.base.Tab;
import java.util.List;
import org.nutz.dao.Cnd;
import org.nutz.dao... | zzblog | src/java/e/z/blog/back/com/impl/dao/DaoTab.java | Java | asf20 | 2,753 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import java.util.Collection;
import java.util.List;
import java.util.Locale;
/**
*
* @author EnzoZhong
*/
public interface ComGetLocaleApi {
Collection<String> get... | zzblog | src/java/e/z/blog/back/com/ComGetLocaleApi.java | Java | asf20 | 335 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import java.lang.reflect.Field;
import java.util.List;
import java.util.Map;
/**
*
* @author EnzoZhong
*/
public interface ComDataTableApi {
Map<String , Field> in... | zzblog | src/java/e/z/blog/back/com/ComDataTableApi.java | Java | asf20 | 510 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import java.util.Map;
import z.h.w.jar.data.tree.ReferTree;
/**
*
* @author EnzoZhong
*/
public interface ComNavTreeApi {
/**
*
* @return
... | zzblog | src/java/e/z/blog/back/com/ComNavTreeApi.java | Java | asf20 | 386 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import java.awt.image.BufferedImage;
import javax.servlet.http.HttpSession;
/**
*
* @author EnzoZhong 生成验证码和验证验证码接口
*/
public interface ComVerfiyCodeApi {
/**
... | zzblog | src/java/e/z/blog/back/com/ComVerfiyCodeApi.java | Java | asf20 | 624 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import e.z.blog.back.bean.system.Manager;
/**
*
* @author EnzoZhong
*/
public interface DaoManagerApi extends DaoBaseApi<Manager>{
Boolean verfiy ( Manager ... | zzblog | src/java/e/z/blog/back/com/DaoManagerApi.java | Java | asf20 | 334 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import e.z.blog.back.bean.base.Lan;
/**
*
* @author EnzoZhong
*/
public interface DaoLanApi extends DaoBaseApi<Lan>{
}
| zzblog | src/java/e/z/blog/back/com/DaoLanApi.java | Java | asf20 | 275 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.com;
import java.util.Map;
/**
*
* @author EnzoZhong
*/
public interface ComFixNutzStringBugApi {
Map<String , String> fixString ( Map<String , String> map );
}
| zzblog | src/java/e/z/blog/back/com/ComFixNutzStringBugApi.java | Java | asf20 | 313 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.setup;
import e.z.blog.back.bean.base.Essay;
import e.z.blog.back.bean.base.New;
import e.z.blog.back.bean.base.Lan;
import e.z.blog.back.bean.base.Tab;
import e.z.blog.back.bean.base.Tag... | zzblog | src/java/e/z/blog/back/setup/LanTabEssayTagRemarkSetup.java | Java | asf20 | 1,948 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.setup;
import e.z.blog.back.bean.base.Lan;
import e.z.blog.back.bean.system.Manager;
import org.nutz.dao.Dao;
import org.nutz.ioc.Ioc;
import org.nutz.mvc.NutConfig;
import org.nutz.mvc.... | zzblog | src/java/e/z/blog/back/setup/ManagerSetup.java | Java | asf20 | 1,300 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.setup;
import org.nutz.mvc.NutConfig;
import org.nutz.mvc.Setup;
/**
*
* @author EnzoZhong
*/
public class IntallSetup implements Setup {
@Override
public void ... | zzblog | src/java/e/z/blog/back/setup/IntallSetup.java | Java | asf20 | 646 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean.system;
import e.z.blog.back.bean.AbstractUser;
import org.nutz.dao.entity.annotation.Table;
/**
*
* @author EnzoZhong
*/
@Table( "t_s_sys_bean_manager" )
public class Manage... | zzblog | src/java/e/z/blog/back/bean/system/Manager.java | Java | asf20 | 349 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean;
import java.util.Date;
import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.... | zzblog | src/java/e/z/blog/back/bean/AbstractUser.java | Java | asf20 | 4,497 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean.base;
import java.util.List;
import java.util.Map;
import org.nutz.dao.entity.annotation.*;
/**
*
* @author EnzoZhong
*/
@Table( "t_s_blog_bean_tag" )
public class Tag {
... | zzblog | src/java/e/z/blog/back/bean/base/Tag.java | Java | asf20 | 2,897 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean.base;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name... | zzblog | src/java/e/z/blog/back/bean/base/Lan.java | Java | asf20 | 2,506 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean.base;
import java.util.Date;
import java.util.List;
import org.nutz.dao.entity.annotation.*;
/**
*
* @author EnzoZhong
*/
@Table( "t_s_blog_bean_essay" )
public class Essay ... | zzblog | src/java/e/z/blog/back/bean/base/Essay.java | Java | asf20 | 1,177 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean.base;
import java.util.Date;
import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.... | zzblog | src/java/e/z/blog/back/bean/base/New.java | Java | asf20 | 1,097 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean.base;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.nutz.dao.entity.annotation.*;
/**
* 目录操作类,记录所有记录的目录,还有一个缺省目录,defTab他不能被修改和不能被删除,否
*
* ... | zzblog | src/java/e/z/blog/back/bean/base/Tab.java | Java | asf20 | 3,028 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.bean;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang... | zzblog | src/java/e/z/blog/back/bean/State.java | Java | asf20 | 744 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action.crud;
import e.z.blog.back.action.AbstractAction;
import e.z.blog.back.action.CrudBaseApi;
import e.z.blog.back.com.ComDataTableApi;
import e.z.blog.back.com.ComFixNutzStringBugApi;... | zzblog | src/java/e/z/blog/back/action/crud/CrudTab.java | Java | asf20 | 3,882 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action.crud;
import e.z.blog.back.action.AbstractAction;
import e.z.blog.back.action.CrudBaseApi;
import e.z.blog.back.bean.base.Tab;
import e.z.blog.back.bean.base.Tag;
import e.z.blog.b... | zzblog | src/java/e/z/blog/back/action/crud/CrudTag.java | Java | asf20 | 3,919 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action.crud;
import e.z.blog.back.action.AbstractAction;
import e.z.blog.back.action.CrudBaseApi;
import e.z.blog.back.com.ComDataTableApi;
import e.z.blog.back.com.ComGetLocaleApi;
impor... | zzblog | src/java/e/z/blog/back/action/crud/CrudLan.java | Java | asf20 | 3,076 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import z.h.w.jar.kit.IO;
/**
*
* @author EnzoZhong
*/
public abstract class ... | zzblog | src/java/e/z/blog/back/action/AbstractAction.java | Java | asf20 | 1,175 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action;
/**
*
* @author EnzoZhong
*/
public interface CrudBaseApi<Type> {
/**
*
*/
String CREATE = "/create";
/**
*
... | zzblog | src/java/e/z/blog/back/action/CrudBaseApi.java | Java | asf20 | 995 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action.base;
import e.z.blog.back.action.AbstractAction;
import e.z.blog.back.bean.system.Manager;
import e.z.blog.back.com.ComGetIpApi;
import e.z.blog.back.com.ComVerfiyCodeApi;
import ... | zzblog | src/java/e/z/blog/back/action/base/BackLogin.java | Java | asf20 | 4,602 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package e.z.blog.back.action.base;
import e.z.blog.back.action.AbstractAction;
import e.z.blog.back.com.ComNavTreeApi;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Map;
import j... | zzblog | src/java/e/z/blog/back/action/base/BackIndex.java | Java | asf20 | 1,822 |
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
... | zzblog | web/index.jsp | Java Server Pages | asf20 | 483 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/quickformat/quickformat.js | JavaScript | asf20 | 1,805 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/insertfile/insertfile.js | JavaScript | asf20 | 4,026 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/map/map.js | JavaScript | asf20 | 4,932 |
<!doctype html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style>
html { height: 100% }
body { height: 100%; margin: 0; padding: 0; background-color: #FFF }
#map_canvas { height: 100% }
</style>
<script src="http://maps.googleapis.com/maps/api/js?sensor=fal... | zzblog | web/js/kindeditor/plugins/map/map.html | HTML | asf20 | 1,752 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/plainpaste/plainpaste.js | JavaScript | asf20 | 1,413 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/code/code.js | JavaScript | asf20 | 2,071 |
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style... | zzblog | web/js/kindeditor/plugins/code/prettify.css | CSS | asf20 | 960 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/lineheight/lineheight.js | JavaScript | asf20 | 1,181 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/emoticons/emoticons.js | JavaScript | asf20 | 4,063 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/media/media.js | JavaScript | asf20 | 5,341 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/pagebreak/pagebreak.js | JavaScript | asf20 | 970 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/link/link.js | JavaScript | asf20 | 2,156 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/preview/preview.js | JavaScript | asf20 | 1,058 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/template/template.js | JavaScript | asf20 | 2,191 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<h3>
<img align="left" height="100" style="margin-right: 10px" width="100" />在此处输入标题
</h3>
<p>
在此处输入内容
</p>
</body>
</html> | zzblog | web/js/kindeditor/plugins/template/html/1.html | HTML | asf20 | 230 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<p>
在此处输入内容
</p>
<ol>
<li>
描述1
</li>
<li>
描述2
</li>
<li>
描述3
</li>
</ol>
<p>
在此处输入内容
</p>
<ul>
<li>
描述1
</li>
<li>
描述2
</li>
<li>
描述3
</li>
</ul>
</body>
</html> | zzblog | web/js/kindeditor/plugins/template/html/3.html | HTML | asf20 | 338 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<h3>
标题
</h3>
<table style="width:100%;" cellpadding="2" cellspacing="0" border="1">
<tbody>
<tr>
<td>
<h3>标题1</h3>
</td>
<td>
<h3>标题1</h3>
</td>
</tr>
<tr>
<td>
内容1
</td>
<td>
内容2
... | zzblog | web/js/kindeditor/plugins/template/html/2.html | HTML | asf20 | 498 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/filemanager/filemanager.js | JavaScript | asf20 | 7,157 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... | zzblog | web/js/kindeditor/plugins/anchor/anchor.js | JavaScript | asf20 | 1,518 |