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($){
/**
* jqGrid extension for manipulating columns properties
* Piotr Roznicki roznicki@o2.pl
* http://www.roznicki.prv.pl
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
$.jgrid.extend({
set... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.setcolumns.js | JavaScript | art | 5,638 |
;(function($){
/**
* jqGrid extension
* Paul Tiseo ptiseo@wasteconsultants.com
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
$.jgrid.extend({
getPostData : function(){
var $t = this[0];
if(!$... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.postext.js | JavaScript | art | 1,608 |
;(function($){
/*
* jqGrid common function
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
*/
$.extend($.jgrid,{
// Modal functions
showModal : func... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.common.js | JavaScript | art | 22,864 |
;(function($){
/*
* jqGrid extension for constructing Grid Data from external file
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
$.jgrid.ext... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.import.js | JavaScript | art | 8,732 |
;(function($){
/**
* jqGrid Ukrainian Translation v1.0 02.07.2009
* Sergey Dyagovchenko
* http://d.sumy.ua
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Перегляд {0... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-ua.js | JavaScript | art | 5,470 |
;(function($){
/**
* jqGrid Catalan Translation
* Traducció jqGrid en Catatà per Faserline, S.L.
* http://www.faserline.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordt... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-cat.js | JavaScript | art | 4,260 |
;(function($){
/**
* jqGrid Hebrew Translation
* Shuki Shukrun shukrun.shuki@gmail.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "מצי... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-he.js | JavaScript | art | 4,455 |
;(function($){
/**
* jqGrid Spanish Translation
* Traduccion jqGrid en Español por Yamil Bracho
* Traduccion corregida y ampliada por Faserline, S.L.
* http://www.faserline.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licen... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-es.js | JavaScript | art | 4,495 |
;(function($){
/**
* jqGrid Polish Translation
* Łukasz Schab
* http://FreeTree.pl
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Pokaż {0} - {1} z {2}",
empty... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-pl.js | JavaScript | art | 4,262 |
;(function($){
/**
* jqGrid German Translation
* Version 1.0.0 (developed for jQuery Grid 3.3.1)
* Olaf Klöppel opensource@blue-hit.de
* http://blue-hit.de/
*
* Updated for jqGrid 3.8
* Andreas Flack
* http://www.contentcontrol-berlin.de
*
* Dual licensed under the MIT and GPL licenses:
* http:/... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-de.js | JavaScript | art | 4,480 |
;(function($){
/**
* jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
* Sergey Dyagovchenko
* http://d.sumy.ua
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-ru.js | JavaScript | art | 5,526 |
;(function($){
/**
* jqGrid Swedish Translation
* Harald Normann harald.normann@wts.se, harald.normann@gmail.com
* http://www.worldteamsoftware.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-sv.js | JavaScript | art | 4,246 |
(function(a) {
a.jgrid =
{
defaults:
{
recordtext: "regels {0} - {1} van {2}",
emptyrecords: "Geen data gevonden.",
loadtext: "laden...",
pgtext: "pagina {0} van {1}"
},
search:
{
caption: "Zoeken..... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-nl.js | JavaScript | art | 5,406 |
;(function($){
/**
* jqGrid Danish Translation
* Kaare Rasmussen kjs@jasonic.dk
* http://jasonic.dk/blog
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "View {0} - {1} of {2}",... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-dk.js | JavaScript | art | 4,002 |
;(function ($) {
/**
* jqGrid Persian Translation
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults: {
recordtext: "نمابش {0} - {1} از {2}",
emptyrecords: "رک... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-fa.js | JavaScript | art | 6,408 |
;(function($){
/**
* jqGrid Brazilian-Portuguese Translation
* Sergio Righi sergio.righi@gmail.com
* http://curve.com.br
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-pt-br.js | JavaScript | art | 4,390 |
;(function($){
/**
* jqGrid Turkish Translation
* Erhan Gündoğan (erhan@trposta.net)
* http://blog.zakkum.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "{0}-{1} ... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-tr.js | JavaScript | art | 4,338 |
;(function($){
/**
* jqGrid Danish Translation
* Aesiras A/S
* http://www.aesiras.dk
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Vis {0} - {1} of {2}",
empt... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-da.js | JavaScript | art | 4,097 |
;(function($){
/**
* jqGrid Romanian Translation
* Alexandru Emil Lupu contact@alecslupu.ro
* http://www.alecslupu.ro/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext:... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-ro.js | JavaScript | art | 4,602 |
;(function($){
/**
* jqGrid Greek (el) Translation
* Alex Cicovic
* http://www.alexcicovic.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "View {0} - {1} of {2}",... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-el.js | JavaScript | art | 5,151 |
;(function($){
/**
* jqGrid Icelandic Translation
* jtm@hi.is Univercity of Iceland
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "View {0} - {1} of {2}",
emptyr... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-is.js | JavaScript | art | 4,182 |
;(function($){
/**
* jqGrid Chinese Translation for v3.6
* waiting 2010.01.18
* http://waiting.javaeye.com/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* update 2010.05.04
* add double u3000 SPACE for ... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-cn.js | JavaScript | art | 4,154 |
;(function($){
/**
* jqGrid Bulgarian Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "{0} - {1}... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-bg.js | JavaScript | art | 5,099 |
;(function($){
/**
* jqGrid Japanese Translation
* OKADA Yoshitada okada.dev@sth.jp
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "{2} \u... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-ja.js | JavaScript | art | 6,853 |
;(function($){
/**
* jqGrid (fi) Finnish Translation
* Jukka Inkeri awot.fi 2010-05-19 Version
* http://awot.fi
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
//recordtext: "N&... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-fi.js | JavaScript | art | 4,204 |
;(function($){
/**
* jqGrid Galician Translation
* Translated by Jorge Barreiro <yortx.barry@gmail.com>
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Amosando {0} - {... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-gl.js | JavaScript | art | 4,411 |
;(function($){
/**
* jqGrid Serbian Translation
* Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
d... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-sr.js | JavaScript | art | 5,027 |
;(function($){
/**
* jqGrid French Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Enregistremen... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-fr.js | JavaScript | art | 4,239 |
;(function($){
/**
* jqGrid Czech Translation
* Pavel Jirak pavel.jirak@jipas.cz
* doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-cs.js | JavaScript | art | 4,312 |
;(function($){
/**
* jqGrid English Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "View {0} - {... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-en.js | JavaScript | art | 3,927 |
;(function($){
/**
* jqGrid Hungarian Translation
* Őrszigety Ádám udx6bs@freemail.hu
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Ol... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-hu.js | JavaScript | art | 4,102 |
;(function($){
/**
* jqGrid Slovak Translation
* Milan Cibulka
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "Zobrazených {0} - {1} z {2}... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/i18n/grid.locale-sk.js | JavaScript | art | 4,291 |
/*
The below work is licensed under Creative Commons GNU LGPL License.
Original work:
License: http://creativecommons.org/licenses/LGPL/2.1/
Author: Stefan Goessner/2006
Web: http://goessner.net/
Modifications made:
Version: 0.9-p5
Description: Restructured code, JSLint val... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/JsonXml.js | JavaScript | art | 9,193 |
;(function($){
/*
**
* jqGrid extension for cellediting Grid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
/**
* all events and options ... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.celledit.js | JavaScript | art | 17,500 |
/* Multiselect
----------------------------------*/
.ui-multiselect { border: solid 1px; font-size: 0.8em; }
.ui-multiselect ul { -moz-user-select: none; }
.ui-multiselect li { margin: 0; padding: 0; cursor: default; line-height: 20px; height: 20px; font-size: 11px; list-style: none; }
.ui-multiselect li a { color: #9... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/css/ui.multiselect.css | CSS | art | 1,886 |
/*Grid*/
.ui-jqgrid {position: relative; font-size:11px;}
.ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: .0em;}
/* caption*/
.ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; border-left: 0px none;border-right: 0px none; border-top: 0px none;}
.ui-jqgrid... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/css/ui.jqgrid.css | CSS | art | 12,090 |
// This file should be used if you want to debug
function jqGridInclude()
{
var pathtojsfiles = "js/"; // need to be ajusted
// set include to false if you do not want some modules to be included
var modules = [
{ include: true, incfile:'i18n/grid.locale-en.js'}, // jqGrid translation
... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.loader.js | JavaScript | art | 2,242 |
;(function($) {
/*
**
* jqGrid extension - Tree Grid
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid.extend({
setTreeNode : function(rd, ro... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.treegrid.js | JavaScript | art | 15,608 |
;(function($){
/**
* jqGrid extension for SubGrid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
$.jgrid.extend({
setSubGrid : function () {... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.subgrid.js | JavaScript | art | 8,895 |
// Grouping module
;(function($){
$.jgrid.extend({
groupingSetup : function () {
return this.each(function (){
var $t = this,
grp = $t.p.groupingView;
if(grp !== null && ( (typeof grp === 'object') || $.isFunction(grp) ) ) {
if(!grp.groupField.length) {
$t.p.grouping = false;
... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/src/grid.grouping.js | JavaScript | art | 7,509 |
/*Grid*/
.ui-jqgrid {position: relative; font-size:11px;}
.ui-jqgrid .ui-jqgrid-view {position: relative;left:0px; top: 0px; padding: .0em;}
/* caption*/
.ui-jqgrid .ui-jqgrid-titlebar {padding: .3em .2em .2em .3em; position: relative; border-left: 0px none;border-right: 0px none; border-top: 0px none;}
.ui-jqgrid... | zzh-simple-hr | ZJs/webapp/grid/jqgrid/3.8.2/css/ui.jqgrid.css | CSS | art | 12,090 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>高级设置示例</title>
<script type="text/javascript" src="../../jquery... | zzh-simple-hr | ZJs/webapp/grid/aygrid/example2.html | HTML | art | 2,279 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>高级设置示例</title>
<script type="text/javascript" src="../../jquery... | zzh-simple-hr | ZJs/webapp/grid/aygrid/example3.html | HTML | art | 2,994 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无任何设置示例</title>
<script type="text/javascript" src="../../jquery/... | zzh-simple-hr | ZJs/webapp/grid/aygrid/example1.html | HTML | art | 651 |
<?php
$con = mysql_connect("host","root","root");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("aygrid", $con);
mysql_query("SET NAMES 'UTF8'");
$pro = '';
if (isset($_GET['pro']))$pro = $_GET['pro'];
function acatch($pro){
switch($pro){
ca... | zzh-simple-hr | ZJs/webapp/grid/aygrid/aygrid.php | PHP | art | 2,568 |
/**
* ayGrid : JQuery Datagrid Control
*
* Copyright (c) 2011 Toly (http://www.54kao.com/)
*
*
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* @requires jQuery v1.4+
... | zzh-simple-hr | ZJs/webapp/grid/aygrid/jquery.aygrid.v0.0.2.js | JavaScript | art | 37,847 |
(function() {
var global = this,
objectPrototype = Object.prototype,
toString = objectPrototype.toString,
enumerables = true,
enumerablesTest = { toString: 1 },
i;
if (typeof Ext === 'undefined') {
global.Ext = {};
}
Ext.global = global;
for (i in e... | zzh-simple-hr | ZJs/webapp/template/xtemplate/xtemplate.js | JavaScript | art | 154,783 |
<h1><%= title %></h1>
<ul>
<% for(var i=0; i<supplies.length; i++) { %>
<li>
<a href='supplies/<%= supplies[i] %>'>
<%= supplies[i] %>
</a>
</li>
<% } %>
</ul> | zzh-simple-hr | ZJs/webapp/template/EJS/tutorial/test1.ejs | EJS | art | 232 |
// jslint.js
// 2007-12-10
/*
Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to... | zzh-simple-hr | ZJs/webapp/template/EJS/ejs_fulljslint.js | JavaScript | art | 135,344 |
EJS.Helpers.prototype.date_tag = function(name, value , html_options) {
if(! (value instanceof Date))
value = new Date()
var month_names = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var years = [], months = [], days =[];
v... | zzh-simple-hr | ZJs/webapp/template/EJS/view.js | JavaScript | art | 7,253 |
(function(){
var rsplit = function(string, regex) {
var result = regex.exec(string),retArr = new Array(), first_idx, last_idx, first_bit;
while (result != null)
{
first_idx = result.index; last_idx = regex.lastIndex;
if ((first_idx) != 0)
{
first_bit = string.substring(0,first_idx);
retArr.push(str... | zzh-simple-hr | ZJs/webapp/template/EJS/ejs.js | JavaScript | art | 13,277 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/conn/ManagerConnectDirect.java | Java | art | 5,543 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/conn/OperatorConnectDirect.java | Java | art | 4,603 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/conn/OperatorConnectProxy.java | Java | art | 7,155 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/conn/ManagerConnectProxy.java | Java | art | 7,360 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientCustomSSL.java | Java | art | 3,447 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientKerberosAuthentication.java | Java | art | 7,023 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientWithResponseHandler.java | Java | art | 2,719 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientEvictExpiredConnections.java | Java | art | 5,002 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientChunkEncodedPost.java | Java | art | 3,728 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientExecuteDirect.java | Java | art | 2,954 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientExecuteProxy.java | Java | art | 3,182 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientProxyAuthentication.java | Java | art | 3,441 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientAbortMethod.java | Java | art | 2,809 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientGZipContentCompression.java | Java | art | 6,219 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientConnectionRelease.java | Java | art | 3,863 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java | Java | art | 4,950 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientExecuteSOCKS.java | Java | art | 5,904 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientInteractiveAuthentication.java | Java | art | 5,134 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java | Java | art | 4,187 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientPreemptiveDigestAuthentication.java | Java | art | 4,458 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientAuthentication.java | Java | art | 2,989 |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this ... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientCustomContext.java | Java | art | 3,776 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/client/ClientFormLogin.java | Java | art | 4,291 |
/*
* ====================================================================
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF license... | zzh-simple-hr | Zhttpclient/examples/org/apache/http/examples/entity/mime/ClientMultipartFormPost.java | Java | art | 3,280 |
package day11;
public class TestAnonyInnerClass {
private int i = 10;
private Animal a = new Animal("animal");
private IB ib = new IB(){
public void show(){
System.out.println("IB show");
}
};
public static void main(String[] args) {
IB ib = AnonyOuter.getIB();
ib.show();
AbsClass ac = A... | zzh-simple-hr | guodh/src/day11/TestAnonyInnerClass.java | Java | art | 1,463 |
package day11;
public enum Operation {
ADD{
public double cal(double d1, double d2){
return d1+d2;
}
},
SUB{
public double cal(double d1, double d2){
return d1-d2;
}
},
MUTI{
public double cal(double d1, double d2){
return d1*d2;
}
},
DIV{
public double cal(double d1, d... | zzh-simple-hr | guodh/src/day11/Operation.java | Java | art | 415 |
package day11;
public class TestOperation {
public static void main(String[] args) {
double a = 8;
double b = 2;
Operation[] os = Operation.values();
for (int i = 0; i < os.length; i++) {
System.out.println(os[i].cal(a, b));
}
}
}
| zzh-simple-hr | guodh/src/day11/TestOperation.java | Java | art | 259 |
package day11;
public class TestInnerInterface {
public static void main(String[] args) {
InterfaceClass.ID ic = new IDImpl();
IE.IEClass ie = new IE.IEClass();
}
}
interface IE{
public static final int i = 10;
public static interface IH{
interface IJ{}
void show();
}
public static fina... | zzh-simple-hr | guodh/src/day11/TestInnerInterface.java | Java | art | 694 |
package day11;
public /*final*/ abstract class Abs {
enum A{}
}
interface IA{
enum B{}
} | zzh-simple-hr | guodh/src/day11/Abs.java | Java | art | 98 |
package day11;
public class TestMemberInnerClass {
public static void main(String[] args) {
Outer o = new Outer();
//int i = o.i1;
Outer.Inner inner = o.new Inner();
inner.show();
}
}
class Outer{
private int i1 = 10;
private int i3 = 30;
static int s1 = 1000;
public void show(){
Inner... | zzh-simple-hr | guodh/src/day11/TestMemberInnerClass.java | Java | art | 752 |
package day11;
public class TestInnerInheri {
public static void main(String[] args) {
OuterClass.Inner oi = new ChildInner();
oi.show();
OuterClass oc = new OuterClass();
OuterClass.Inner1 oi1 = new ChildInner1(oc);
}
}
class OuterClass{
static class Inner{
public void show(){
System.... | zzh-simple-hr | guodh/src/day11/TestInnerInheri.java | Java | art | 674 |
package day11;
public class TestStaticInnerClass {
public static void main(String[] args) {
//StaticOuter.i = 200;
StaticOuter.StataicInner si = new StaticOuter.StataicInner();
StaticOuter.StataicInner.sm();
si.show();
}
}
class StaticOuter{
private int i3 = 30;
private static int i = 100;
pu... | zzh-simple-hr | guodh/src/day11/TestStaticInnerClass.java | Java | art | 709 |
package day11;
public class TestInterface {
public static void main(String[] args) {
IC ic = Anon.getIC();//IC ic = new ICImpl();
ic.show();
}
}
interface IC{
void show();
}
class Anon{
public static IC getIC(){
/* class ICImpl implements IC{
public void show(){
System.out.println("show"... | zzh-simple-hr | guodh/src/day11/TestInterface.java | Java | art | 489 |
package day13;
import java.util.Iterator;
import java.util.Set;
public class CollectionUtil {
public static void print(Set set){
System.out.println("==========================");
Iterator it = set.iterator();
while(it.hasNext()){
Student s = (Student) it.next();
System.out.println(s.getId()+":"+... | zzh-simple-hr | guodh/src/day13/CollectionUtil.java | Java | art | 362 |
package day13;
public class Teacher/* implements Comparable*/{
private int id;
private String name;
private int age;
public Teacher(int id, String name, int age) {
super();
this.id = id;
this.name = name;
this.age = age;
}
public int getId() {
return id;
}
public void setId(int id) {
... | zzh-simple-hr | guodh/src/day13/Teacher.java | Java | art | 781 |
package day13;
import java.util.HashMap;
import java.util.Iterator;
public class TestHashMap2 {
public static void print(HashMap hm){
for (Iterator it = hm.keySet().iterator(); it.hasNext();) {
Object key = it.next();
String value = (String) hm.get(key);
System.out.println(key+":"+value);
}
... | zzh-simple-hr | guodh/src/day13/TestHashMap2.java | Java | art | 716 |
package day13;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
public class TestForEach {
public static void main(String[] args) {
int[] a = {1,2,3,4,5,6,7,8,9,0};
for(int i=0; i<a.length; i++){
System.out.print(a[i]);
}
for(int i : a){
System.out.print(i);
}
... | zzh-simple-hr | guodh/src/day13/TestForEach.java | Java | art | 633 |
package day13;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
public class TestHashMap {
public static void main(String[] args) {
HashMap hm = new HashMap();
hm.put(new Integer(1), "aaa");
hm.put(2, "bbb");
hm.put(3, "ccc");
System.out.p... | zzh-simple-hr | guodh/src/day13/TestHashMap.java | Java | art | 1,040 |
package day13;
import java.util.HashSet;
import java.util.Iterator;
import java.util.TreeSet;
public class TestTreeSet {
public static void main(String[] args) {
TreeSet ts = new TreeSet();
ts.add("ddd");
ts.add("aaa");
ts.add("ccc");
ts.add("bbb");
Iterator it = ts.iterator();
while(it.h... | zzh-simple-hr | guodh/src/day13/TestTreeSet.java | Java | art | 741 |
package day09;
public class Teacher {
private int id;
private String name;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Teacher(int id, ... | zzh-simple-hr | guodh/src/day09/Teacher.java | Java | art | 674 |
package day09;
public class TestMainParameter {
public static void main(String[] args) {
//String[] ss = new String[0];
/*System.out.println(args.length);
for (int i = 0; i < args.length; i++) {
System.out.println(args[i]);
}
*/
String s = args[0];
int count = Integer.parseInt(s);
for(i... | zzh-simple-hr | guodh/src/day09/TestMainParameter.java | Java | art | 383 |
package day09.callback;
public class Match {
public static void match(Player p1, Player p2) {
int p1Count = 0;
int p2Count = 0;
String p1Name = p1.getName();
String p2Name = p2.getName();
for (int i = 1; i <= 100; i++) {
System.out.print("Round " + i + ":\t");
String p1Show = p1.show();
... | zzh-simple-hr | guodh/src/day09/callback/Match.java | Java | art | 1,212 |
package day09.callback;
public class RunMatch {
public static void main(String[] args) {
Player p1 = new WangChaoPlayer();
Player p2 = new SongJiePlayer();
Player p3 = new Guodh();
Match.match(p1, p3);
}
}
| zzh-simple-hr | guodh/src/day09/callback/RunMatch.java | Java | art | 230 |
package day09;
import java.util.Random;
public class TestString {
public static void main(String[] args) {
String s1 = new String("hello");
System.out.println(s1);
String s2 = new String("hello");
System.out.println(s1==s2);
System.out.println(s1.equals(s2));
String s3 = "abc";
String s4 = ... | zzh-simple-hr | guodh/src/day09/TestString.java | Java | art | 1,621 |
package day09.adapter;
public class TestAdapter {
public static void main(String[] args) {
IA ia = new IAImpl();
ia.m1();
}
}
| zzh-simple-hr | guodh/src/day09/adapter/TestAdapter.java | Java | art | 145 |
package day09.adapter;
public interface IA {
void m1();
void m2();
void m3();
void m4();
void m5();
}
| zzh-simple-hr | guodh/src/day09/adapter/IA.java | Java | art | 117 |
package day09;
public class TestToString {
public static void main(String[] args) {
Student s = new Student("guodh",20);
Student s1 = new Student("SongJie", 18);
Student s2 = s;
/* String ss = s.toString();
System.out.println(ss);*/
System.out.println("s:"+s/*.toString()*/);
System.out.println(... | zzh-simple-hr | guodh/src/day09/TestToString.java | Java | art | 852 |
package day21;
import java.io.Serializable;
public class Teacher implements Serializable{
private String name;
public Teacher() {
}
public Teacher(String name) {
super();
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name ... | zzh-simple-hr | guodh/src/day21/Teacher.java | Java | art | 338 |
package day21;
import java.io.Serializable;
public class Address implements Serializable{
private String city;
private String street;
private String number;
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getStreet() {
return s... | zzh-simple-hr | guodh/src/day21/Address.java | Java | art | 679 |