text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```objective-c
//
// YYTextLayout.m
// YYKit <path_to_url
//
// Created by ibireme on 15/3/3.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import "YYTextLayout.h"
#import "YYKitMacro.h"
#import "YYCGUtilities.h"
#import ... | /content/code_sandbox/WeChat/ThirdLib/YYKit/Text/Component/YYTextLayout.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 33,357 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:WeChat.xcodeproj">
</FileRef>
</Workspace>
``` | /content/code_sandbox/WeChat.xcodeproj/project.xcworkspace/contents.xcworkspacedata | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 51 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
``` | /content/code_sandbox/WeChat.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 72 |
```unknown
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "2EC85B8C592CCB280FFF35553C87D09BA745C035",
your_sha256_hashKey" : {
"be73ea83-1ef3-4b60-8caa-c8a69a106ff0++9413" : {
}
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"be73ea83-1ef3-4b60-8caa-c8a69a106ff0... | /content/code_sandbox/WeChat.xcodeproj/project.xcworkspace/xcshareddata/WeChat.xcscmblueprint | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 714 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterR... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/Maker.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,975 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning ... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/Maker.xcuserdatad/xcschemes/WeChat.xcscheme | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 760 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WeChat.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation<... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/Maker.xcuserdatad/xcschemes/xcschememanagement.plist | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 179 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueA... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/wenming.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,958 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning ... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/wenming.xcuserdatad/xcschemes/WeChat.xcscheme | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 760 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WeChat.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation<... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/wenming.xcuserdatad/xcschemes/xcschememanagement.plist | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 179 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "0C74E315-6ACE-4BED-BF3F-6625E34C00CB"
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "4E475C68-B6C5-44AB-BCD2... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/zhengwenming.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 255 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning ... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/zhengwenming.xcuserdatad/xcschemes/WeChat.xcscheme | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 760 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WeChat.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation<... | /content/code_sandbox/WeChat.xcodeproj/xcuserdata/zhengwenming.xcuserdatad/xcschemes/xcschememanagement.plist | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 179 |
```unknown
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
182E60F0243E13C8002128BA /* ConversationListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 182E60EF243E13C8002128BA /* ConversationListCell.m */; };
187DF9C1243C9D4700D3A52B /*... | /content/code_sandbox/WeChat.xcodeproj/project.pbxproj | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 62,238 |
```unknown
``` | /content/code_sandbox/java/basic/draw.drawio | unknown | 2016-01-23T06:32:17 | 2024-08-15T07:35:30 | Tutorial | zhonghuasheng/Tutorial | 1,601 | 1 |
```shell
#!/bin/sh
TODAY_PNG=$(date +%Y-%m-%d.png)
YESTERDAY_PNG=$(date -d last-day +%Y-%m-%d.png)
cd /root/luke/ci
rm -f $(date -d last-day +%Y-%m-%d.png)
wget path_to_url
mv 5c9867cde4b0afc7441ea764.png $TODAY_PNG
cd /root/luke/ci/Tutorial
git checkout develop
git pull --all
rm -f $YESTERDAY_PNG
cp /root/luke/ci/$T... | /content/code_sandbox/tool/shell/auto-commit.sh | shell | 2016-01-23T06:32:17 | 2024-08-15T07:35:30 | Tutorial | zhonghuasheng/Tutorial | 1,601 | 915 |
```objective-c
%% Here is the code to generate the bounding box from the heatmap
%
% to reproduce the ILSVRC localization result, you need to first generate
% the heatmap for each testing image by merging the heatmap from the
% 10-crops (it is exactly what the demo code is doing), then resize the merged heatmap back to... | /content/code_sandbox/generate_bbox.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 532 |
```objective-c
% Sample code to generate class activation map from 10 crops of activations
% Bolei Zhou, March 15, 2016
% for the online prediction, make sure you have complied matcaffe
clear
addpath('/opt/caffe/matlab');
imgID = 2; % 1 or 2
img = imread(['img' num2str(imgID) '.jpg']);
img = imresize(img, [256 256])... | /content/code_sandbox/demo.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 582 |
```python
# simple implementation of CAM in PyTorch for the networks such as ResNet, DenseNet, SqueezeNet, Inception
# last update by BZ, June 30, 2021
import io
from PIL import Image
from torchvision import models, transforms
from torch.autograd import Variable
from torch.nn import functional as F
import numpy as np
... | /content/code_sandbox/pytorch_CAM.py | python | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 780 |
```objective-c
function crops_data = prepare_image(im)
% your_sha256_hash--------
% caffe/matlab/+caffe/imagenet/ilsvrc_2012_mean.mat contains mean_data that
% is already in W x H x C with BGR channels
d = load('ilsvrc_2012_mean.mat');
mean_data = d.mean_data;
IMAGE_DIM = 256;
CROPPED_DIM = 224; % 224 for googLeNet , 2... | /content/code_sandbox/prepare_image.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 461 |
```objective-c
datasetName = 'ILSVRCvalSet';
load('imagenet_toolkit/ILSVRC2014_devkit/evaluation/cache_groundtruth.mat');
load('imagenet_toolkit/ILSVRC2014_devkit/data/meta_clsloc.mat');
% download the toolkit at path_to_url
datasetPath = 'dataset/ILSVRC2012';
load([datasetPath '/imageListVal.mat']);
load('sizeImg_IL... | /content/code_sandbox/ILSVRC_evaluate_bbox.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,834 |
```objective-c
function [curColumnMap] = returnCAMmap( featureObjectSwitchSpatial, weights_LR)
%RETURNCOLUMNMAP Summary of this function goes here
% Detailed explanation goes here
if size(featureObjectSwitchSpatial,4) ==1
featureObjectSwitchSpatial_vectorized = reshape(featureObjectSwitchSpatial,[size(featu... | /content/code_sandbox/returnCAMmap.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 320 |
```objective-c
function [img] = map2jpg(imgmap, range, colorMap)
imgmap = double(imgmap);
if(~exist('range', 'var') || isempty(range)), range = [min(imgmap(:)) max(imgmap(:))]; end
heatmap_gray = mat2gray(imgmap, range);
heatmap_x = gray2ind(heatmap_gray, 256);
heatmap_x(isnan(imgmap)) = 0;
if(~exist('colorMap', 'var... | /content/code_sandbox/map2jpg.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 134 |
```objective-c
function alignImgMean = mergeTenCrop( CAMmap_crops)
% align the ten crops of CAMmaps back to one image (take a look at caffe
% matlab wrapper about how ten crops are generated)
cropSize = size(CAMmap_crops,1);
cropImgSet = zeros([cropSize cropSize 3 10]);
cropImgSet(:,:,1,:) = CAMmap_crops;
cropImgSet(:,... | /content/code_sandbox/mergeTenCrop.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 441 |
```objective-c
% raw script used to generate heatmaps for ILSVRC localization experiment
% please load the necessary packages like matcaffe and ILSVRC toolbox correctly, some functions in matcaffe might be already deprecated.
% you could take it as an example to see how to reproduce the ILSVRC localization experiment.
... | /content/code_sandbox/ILSVRC_generate_heatmap.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,316 |
```c
/**
* Distance transform for binary image or gray-scale image.
* @param
* @return
*/
#include <stdlib.h>
#include <math.h>
#ifdef __cplusplus
extern "C" {
#endif
#define INF 1E20
#define SQUARE(q) ((q)*(q))
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define ROUND(t) ((int)((t) + 0.5))
#define BOUND... | /content/code_sandbox/bboxgenerator/dt.c | c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,294 |
```objective-c
#ifndef DT_H
#define DT_H
#ifdef __cplusplus
extern "C" {
#endif
void dt(double *m, int rows, int cols);
void dt_binary(unsigned char *bimg, int rows, int cols, int step);
void dt_gray(unsigned char *gray, int rows, int cols, int step);
#ifdef __cplusplus
}
#endif
#endif
``` | /content/code_sandbox/bboxgenerator/dt.h | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 77 |
```c++
/*
----------------------------------------
Using Heat map as the foreground input of
the grabcut.
Update:
0. output the biggest bounding box
1. expose the two thresholding value to the command line.
----------------------------------------
*/
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <vector>
... | /content/code_sandbox/bboxgenerator/gc.cpp | c++ | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,154 |
```unknown
all: cut dt_box
cut:
g++ -g -O3 gc.cpp -o cut `pkg-config --libs opencv` -lm
dt_box:
g++ -g -O3 dt.c dt_box.cpp -o dt_box `pkg-config --libs opencv` -lm
.PHONY: clean
clean:
rm cut dt_box
``` | /content/code_sandbox/bboxgenerator/Makefile | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 75 |
```objective-c
%this script demos the usage of evaluation routines
% the result file 'demo.val.pred.txt' on validation data is evaluated
% against the ground truth
fprintf('CLASSIFICATION WITH LOCALIZATION TASK\n');
meta_file = '../data/meta_clsloc.mat';
%pred_file='demo.val.pred.loc.txt';
%pred_file='/data/vision/to... | /content/code_sandbox/evaluation/demo_eval_clsloc.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 748 |
```c++
/*
----------------------------------------
Given an heatmap, given out the bbox.
0. Get the DT-ed images
1. detect all contour in the bboxes
2. merge based on some rules.
3. output the bbox
----------------------------------------
*/
#include <stdio.h>
#include "dt.h"
#include <vector>
#include <algorithm>
#in... | /content/code_sandbox/bboxgenerator/dt_box.cpp | c++ | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,825 |
```objective-c
% this script demos the usage of evaluation routines for detection task
% the result file 'demo.val.pred.det.txt' on validation data is evaluated
% against the ground truth
fprintf('DETECTION TASK\n');
pred_file='demo.val.pred.det.txt';
meta_file = '../data/meta_det.mat';
eval_file = '../data/det_lists... | /content/code_sandbox/evaluation/demo_eval_det.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 471 |
```objective-c
function [cls_error clsloc_error] = eval_clsloc ( predict_file, gtruth_file, gtruth_dir, ...
meta_file, max_num_pred_per_image, ...
blacklist_file, optional_cache_file )
% Evaluate flat localization error
... | /content/code_sandbox/evaluation/eval_clsloc.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,388 |
```objective-c
load('cache_groundtruth.mat');
load('/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/data/meta_clsloc.mat');
datasetName = 'ValSet';
datasetPath = '/data/vision/torralba/gigaSUN/deeplearning/dataset/ILSVRC2012';
load([datasetPath '/imageListVal.mat']);
ground_truth_file='../data/IL... | /content/code_sandbox/evaluation/showLocalizationGT.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 437 |
```objective-c
function class_str2node = get_class2node(hash,wnid)
class_str2node = hash.get(wnid);
end
``` | /content/code_sandbox/evaluation/get_class2node.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 30 |
```objective-c
function ov_vector = compute_overlap(bb,gt_bbox,gt_label)
ov_vector = [];
for j=1:numel(gt_bbox.objects)
assert( ~isempty(gt_bbox.objects(j).label))
if( gt_label ~= 1001 && gt_bbox.objects(j).label ~= gt_label )
continue;
end
bbgt = gt_bbox.objects(j).... | /content/code_sandbox/evaluation/compute_overlap.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 263 |
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge
function rec = VOCreadxml(path)
if length(path)>5&&strcmp(path(1:5),'http:')
xml=urlread(path)';
else
f=fopen(path,'r');
xml=fread(f,'*char')';
fclose(f);
end
rec=VOCxml2struct(xml);
``` | /content/code_sandbox/evaluation/VOCreadxml.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 84 |
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge, with minor modifications for ILSVRC2013
function rec = VOCreadrecxml(path,hash)
x=VOCreadxml(path);
x=x.annotation;
rec.folder=x.folder;
rec.filename=x.filename;
rec.source.database=x.source.database;
%% rec.sourc... | /content/code_sandbox/evaluation/VOCreadrecxml.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 308 |
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge
function ap = VOCap(rec,prec)
mrec=[0 ; rec ; 1];
mpre=[0 ; prec ; 0];
for i=numel(mpre)-1:-1:1
mpre(i)=max(mpre(i),mpre(i+1));
end
i=find(mrec(2:end)~=mrec(1:end-1))+1;
ap=sum((mrec(i)-mrec(i-1)).*mpre(i));
`... | /content/code_sandbox/evaluation/VOCap.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 118 |
```objective-c
function dict = make_hash(synsets)
dict = java.util.Hashtable;
for i = 1:numel(synsets)
dict.put(synsets(i).WNID, i);
end
``` | /content/code_sandbox/evaluation/make_hash.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 42 |
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge
function res = VOCxml2struct(xml)
xml(xml==9|xml==10|xml==13)=[];
[res,xml]=parse(xml,1,[]);
function [res,ind]=parse(xml,ind,parent)
res=[];
if ~isempty(parent)&&xml(ind)~='<'
i=findchar(xml,ind,'<');
re... | /content/code_sandbox/evaluation/VOCxml2struct.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 524 |
```objective-c
% this code is inspired by VOCevaldet in the PASVAL VOC devkit
% Note: this function has been significantly optimized since ILSVRC2013
function [ap recall precision] = eval_detection(predict_file,gtruth_dir,meta_file,...
eval_file,blacklist_file,optional_ca... | /content/code_sandbox/evaluation/eval_detection.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 2,339 |
```shell
#!/usr/bin/env bash
cd $(dirname $0)
curl -O path_to_url
``` | /content/code_sandbox/models/download.sh | shell | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 20 |
```objective-c
function [error_clsSet, error_locSet] = simpleEvaluation(pred_input)
max_num_pred_per_imageBound = 5;
gtruth_dir='/data/vision/torralba/deeplearning/imagenet_toolkit/val_bbox';
meta_file = '/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/data/meta_clsloc.mat';
gtruth_file='/data/vi... | /content/code_sandbox/evaluation/simpleEvaluation.m | objective-c | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,414 |
```unknown
name: "VGG_ILSVRC_16_layers"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
layers {
bottom: "data"
top: "conv1_1"
name: "conv1_1"
type: CONVOLUTION
convolution_param {
num_output: 64
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weigh... | /content/code_sandbox/models/deploy_vgg16CAM.prototxt | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 2,267 |
```unknown
name: "placesCNNobjectdiscoveryAverageSumDeepNoDropout"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 227
input_dim: 227
layers {
name: "conv1"
type: CONVOLUTION
bottom: "data"
top: "conv1"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 96
... | /content/code_sandbox/models/deploy_alexnetplusCAM_places205.prototxt | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,654 |
```unknown
net: "train_val_imagenet_googlenetCAM.prototxt"
test_iter: 1000
test_interval: 3000
base_lr: 0.001
lr_policy: "step"
gamma: 0.1
stepsize: 40000
display: 20
max_iter: 160000
momentum: 0.9
weight_decay: 0.0005
snapshot: 10000
snapshot_prefix: "CAMmodels/imagenet_googlenetCAM_train"
solver_mode: GPU
device_id: ... | /content/code_sandbox/models/solver_imagenet_googlenetCAM.prototxt | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 122 |
```unknown
name: "imagenetCNN_alexnetdeep"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 227
input_dim: 227
layers {
name: "conv1"
type: CONVOLUTION
bottom: "data"
top: "conv1"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 96
kernel_size: 11
... | /content/code_sandbox/models/deploy_alexnetplusCAM_imagenet.prototxt | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 1,700 |
```unknown
name: "GoogleNet"
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 224
mean_value: 104
mean_value: 117
mean_value: 123
}
data_param {
source: "/data/vision/scratch/torralba/khosla/deep_t... | /content/code_sandbox/models/train_val_googlenetCAM.prototxt | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 11,561 |
```unknown
name: "GoogleNet"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
force_backward: true
layer {
name: "conv1/7x7_s2"
type: "Convolution"
bottom: "data"
top: "conv1/7x7_s2"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution... | /content/code_sandbox/models/deploy_googlenetCAM_places205.prototxt | unknown | 2016-04-11T21:59:28 | 2024-08-12T19:22:17 | CAM | zhoubolei/CAM | 1,839 | 11,202 |
```css
div, ul, li {
margin: 0;
padding: 0;
}
ul, li {
list-style: none outside none;
}
/* layer begin */
.ios-select-widget-box.olay {
position: fixed;
z-index: 500;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.75);
}
.ios-select-widge... | /content/code_sandbox/src/iosSelect.css | css | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 2,765 |
```javascript
/**
* IosSelect
* @param {number} level 1 2 3 4 5 6 6
* @param {...Array} data [oneLevelData[, twoLevelData[, threeLevelData[, fourLevelData[, fiveLevelData[, sixLevelData]]]]]]
* @param {Object} options
* @param {string=} options.container
* @param {Function} options.callback
* @param {Funct... | /content/code_sandbox/src/iosSelect.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 14,587 |
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var ... | /content/code_sandbox/demo/five/time.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 1,174 |
```javascript
var suData = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009',... | /content/code_sandbox/demo/longbackgroud/data.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 427 |
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var ... | /content/code_sandbox/demo/longbackgroud/sanguokill.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 587 |
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDis... | /content/code_sandbox/demo/five/zepto.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 14,120 |
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/ajax/area1.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 869 |
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDis... | /content/code_sandbox/demo/ajax/zepto.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 14,120 |
```javascript
[
{"id":"110100","value":"","parentId":"110000"},
{"id":"120100","value":"","parentId":"120000"},
{"id":"130100","value":"","parentId":"130000"},
{"id":"130200","value":"","parentId":"130000"},
{"id":"130300","value":"","parentId":"130000"},
{"id":"130400","value":"","parentId":"13... | /content/code_sandbox/demo/ajax/areaData_v2.2.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 5,071 |
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/ajax/area.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 964 |
```javascript
//
var iosProvinces = [
/***************/
{'id': '110000', 'value': '', 'parentId': '0'},
{'id': '120000', 'value': '', 'parentId': '0'},
{'id': '130000', 'value': '', 'parentId': '0'},
{'id': '140000', 'value': '', 'parentId': '0'},
{'id': '150000', 'value': '', 'parentId': '0'},... | /content/code_sandbox/demo/ajax/areaData_v2.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 46,689 |
```javascript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Mock=e():t.Mock=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};r... | /content/code_sandbox/demo/ajax/mock.min.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 32,198 |
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/ajax/area2.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 4,128 |
```javascript
[
{"id":"110101","value":"","parentId":"110100"},
{"id":"110102","value":"","parentId":"110100"},
{"id":"110105","value":"","parentId":"110100"},
{"id":"110106","value":"","parentId":"110100"},
{"id":"110107","value":"","parentId":"110100"},
{"id":"110108","value":"","parentId":"11... | /content/code_sandbox/demo/ajax/areaData_v2.3.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 39,511 |
```javascript
[
{"id": "110000", "value": "", "parentId": "0"},
{"id": "120000", "value": "", "parentId": "0"},
{"id": "130000", "value": "", "parentId": "0"},
{"id": "140000", "value": "", "parentId": "0"},
{"id": "150000", "value": "", "parentId": "0"},
{"id": "210000", "value": "", "parentId"... | /content/code_sandbox/demo/ajax/areaData_v2.1.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 561 |
```javascript
/*
* @Author: william
* @Date: 2017-07-19 15:04:04
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-19 21:56:54
*/
define(function (require, exports, module) {
var angular = require('angular');
var asyncLoader = require('angular-async-loader');
require('angular-ui-router');
... | /content/code_sandbox/demo/ajax/angular/app.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 135 |
```javascript
/*
* @Author: william
* @Date: 2017-07-19 15:04:38
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-20 08:44:58
*/
define(function (require) {
var app = require('./app');
app.run(['$state', '$stateParams', '$rootScope', function ($state, $stateParams, $rootScope) {
$rootSc... | /content/code_sandbox/demo/ajax/angular/app-routes.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 254 |
```javascript
/*
* @Author: william
* @Date: 2017-07-19 15:04:19
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-20 08:47:39
*/
require.config({
baseUrl:'/iosselect/demo/ajax/angular/',
map:{
'*': {
'css': 'assets/requirecss/css'
}
},
paths:{
'angular':'assets/angular/angular.min',... | /content/code_sandbox/demo/ajax/angular/bootstrap.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 258 |
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
<body>
<p>
Router: $state = {{$state.current.name}}
</p>
<p>
Navigate Menu: <a ui-sref="home">Home</a> | <a ui-sre... | /content/code_sandbox/demo/ajax/angular/index.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 181 |
```javascript
define(function(){if("undefined"==typeof window)return{load:function(a,b,c){c()}};var a=document.getElementsByTagName("head")[0],b=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/)||0,c=!1,d=!... | /content/code_sandbox/demo/ajax/angular/assets/requirecss/css.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 470 |
```javascript
!function(){function e(e){function r(e){return"string"==typeof e&&(e=[e]),["$q",function(r){var n=r.defer();return t(e,function(){n.resolve(arguments)}),n.promise}]}function n(e){function n(e,r){e.controllerUrl&&r.push(e.controllerUrl),e.dependencies&&("string"==typeof e.dependencies?r.push(e.dependencies... | /content/code_sandbox/demo/ajax/angular/assets/angular-async-loader/angular-async-loader.min.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 719 |
```php
<?php
/**
* @Author: william
* @Date: 2017-06-30 09:17:00
* @Last Modified by: pengweifu
* @Last Modified time: 2017-06-30 09:25:16
*/
/**
*
*/
header('Access-Control-Allow-Origin:*');
$province=$_GET['province'];
$city=$_GET['city'];
$provinceStr='[
{"id": "110000", "value": "", "parentId": "0"},
... | /content/code_sandbox/demo/ajax/area.php | php | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 45,384 |
```javascript
/** vim: et:ts=4:sw=4:sts=4
* Released under MIT license, path_to_url
*/
var requirejs,require,define;!function(global,setTimeout){function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}fun... | /content/code_sandbox/demo/ajax/angular/assets/requirejs/require.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 5,595 |
```javascript
/*
AngularJS v1.2.0-rc.3
(c) 2010-2012 Google, Inc. path_to_url
*/
(function(Y,R,s){'use strict';function D(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] path_to_url"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof ... | /content/code_sandbox/demo/ajax/angular/assets/angular/angular.min.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 34,567 |
```javascript
/**
* State-based routing for AngularJS
* @version v0.4.2
* @link path_to_url
*/
"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(a,b,c){"use strict";function d(a,b){return T(new(T(function(){},{prototype:a})),b)}function e(a){ret... | /content/code_sandbox/demo/ajax/angular/assets/angular-ui-router/angular-ui-router.min.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 11,222 |
```css
div, ul, li {
margin: 0;
padding: 0;
}
ul, li {
list-style: none outside none;
}
/* layer begin */
.ios-select-widget-box.olay {
position: absolute;
z-index: 500;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.75);
}
.ios-select-widget-box.olay > div {
position: ... | /content/code_sandbox/demo/ajax/angular/assets/IosSelect/iosSelect.css | css | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 2,582 |
```html
<p>Welcome to <b>{{name}}</b> Page.</p>
<h2>Load 'IosSelect' module</h2>
<div>
<input type="text" ng-model="phonenumber" readonly ng-iosselect />
<input type="text" ng-model="phonenumber1" readonly ng-iosselect />
</div>
``` | /content/code_sandbox/demo/ajax/angular/components/components.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 71 |
```javascript
/*
* @Author: william
* @Date: 2017-07-19 16:26:58
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-19 23:53:08
*/
define(function(require) {
var app = require('../app');
// dynamic load angular-ui-mask plugins for UI
// require('angular-ui-mask');
// app.useModule('... | /content/code_sandbox/demo/ajax/angular/components/componentsCtrl.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 535 |
```javascript
/*
* @Author: william
* @Date: 2017-07-19 16:26:58
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-19 16:44:19
*/
define(function (require) {
var app = require('../app');
app.controller('homeCtrl', ['$scope', function($scope) {
$scope.name = 'Home';
}]);
});
``` | /content/code_sandbox/demo/ajax/angular/home/homeCtrl.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 100 |
```html
<p>Welcome to <b>{{name}}</b> Page.</p>
<p>You can switch menu to load others.</p>
``` | /content/code_sandbox/demo/ajax/angular/home/home.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 26 |
```javascript
/**
* IosSelect
* @param {number} level 1 2 3 4 5 5
* @param {...Array} data [oneLevelArray[, twoLevelArray[, threeLevelArray]]]
* @param {Object} options
* @param {string=} options.container
* @param {Function} options.callback
* @param {Function} options.fallback
* @param {string=} options.... | /content/code_sandbox/demo/ajax/angular/assets/IosSelect/iosSelect.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 18,049 |
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var ... | /content/code_sandbox/demo/six/time.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 1,296 |
```javascript
var data = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', ... | /content/code_sandbox/demo/rem/bank.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 317 |
```javascript
(function (win, lib) {
var doc = win.document;
var docEl = doc.documentElement;
//
var devicePixelRatio = win.devicePixelRatio;
//
var dpr = 1;
// viewport
var scale = 1;
// viewport
function setViewport() {
// IOS
var isIPhone = /iphone/gi.test... | /content/code_sandbox/demo/rem/adaptive.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 1,002 |
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDis... | /content/code_sandbox/demo/six/zepto.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 14,120 |
```html
<!DOCTYPE html>
<head>
<title>rem-bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,target-densitydpi=device-dpi">
<script src="adaptive.js"></script>
<script>
window['adaptive'].desinWidth = 750... | /content/code_sandbox/demo/rem/bank.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 516 |
```javascript
var data = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', ... | /content/code_sandbox/demo/one/bank.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 213 |
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/one/html.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 471 |
```css
div, ul, li {
margin: 0;
padding: 0;
}
ul, li {
list-style: none outside none;
}
/* layer begin */
.ios-select-widget-box.olay {
position: absolute;
z-index: 500;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.75);
}
.ios-select-widget-box.olay > div {
position: ... | /content/code_sandbox/demo/rem/iosSelect.css | css | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 1,242 |
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/one/bank.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 577 |
```javascript
var data = [
{'id': '10001', 'value': '<b></b><i>ICBC</i>'},
{'id': '10002', 'value': '<b></b><i>ABC</i>'},
];
``` | /content/code_sandbox/demo/one/html.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 53 |
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/one/animate.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 476 |
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createE... | /content/code_sandbox/demo/one/multi.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 1,532 |
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDis... | /content/code_sandbox/demo/three/zepto.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 14,120 |
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
... | /content/code_sandbox/demo/three/area.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 709 |
```javascript
var suData = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009',... | /content/code_sandbox/demo/two/data.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 427 |
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var ... | /content/code_sandbox/demo/two/sanguokill.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 563 |
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDis... | /content/code_sandbox/demo/datepicker/zepto.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 14,120 |
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var ... | /content/code_sandbox/demo/datepicker/date.html | html | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 1,028 |
```javascript
//
var iosProvinces = [
/***************/
{'id': '110000', 'value': '', 'parentId': '0'},
{'id': '120000', 'value': '', 'parentId': '0'},
{'id': '130000', 'value': '', 'parentId': '0'},
{'id': '140000', 'value': '', 'parentId': '0'},
{'id': '150000', 'value': '', 'parentId': '0'},... | /content/code_sandbox/demo/three/areaData_v2.js | javascript | 2016-04-29T06:05:07 | 2024-06-11T13:27:51 | iosselect | zhoushengmufc/iosselect | 1,174 | 46,689 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.