text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
import { useTask } from 'vue-concurrency' import { ClientService } from '../../services/client' import { useClientService } from '../clientService' import { buildSpace, buildWebDavSpacesPath } from '@ownclouders/web-client/src/helpers' import { DavProperty, DavPropertyValue } from '@ownclouders/web-client/src/webdav/co...
owncloud/web/packages/web-pkg/src/composables/resources/useLoadFileInfoById.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/composables/resources/useLoadFileInfoById.ts", "repo_id": "owncloud", "token_count": 396 }
860
export * from './constants' export * from './useSearch'
owncloud/web/packages/web-pkg/src/composables/search/index.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/composables/search/index.ts", "repo_id": "owncloud", "token_count": 18 }
861
import { useRouteParam } from '../router' import { Resource, SpaceResource } from '@ownclouders/web-client' import { MountPointSpaceResource, buildShareSpaceResource, extractStorageId, isMountPointSpaceResource, isProjectSpaceResource, ShareTypes, OCM_PROVIDER_ID, isShareResource } from '@ownclouders/we...
owncloud/web/packages/web-pkg/src/composables/spaces/useGetMatchingSpace.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/composables/spaces/useGetMatchingSpace.ts", "repo_id": "owncloud", "token_count": 1160 }
862
export const displayPositionedDropdown = (dropdown, event, contextMenuButton) => { const contextMenuButtonPos = contextMenuButton.$el.getBoundingClientRect() const isKeyboardEvent = event.clientY === 0 const yValue = isKeyboardEvent ? event.srcElement?.getBoundingClientRect().top || 0 : event.clientY d...
owncloud/web/packages/web-pkg/src/helpers/contextMenuDropdown.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/helpers/contextMenuDropdown.ts", "repo_id": "owncloud", "token_count": 319 }
863
import Fuse from 'fuse.js' import { defaultFuseOptions } from '../fuse' import { Resource } from '@ownclouders/web-client' export const filterResources = <T extends Resource>( resources: T[], term: string, limit?: number ): T[] => { const engine = new Fuse(resources, { ...defaultFuseOptions, keys: ['na...
owncloud/web/packages/web-pkg/src/helpers/resource/filter.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/helpers/resource/filter.ts", "repo_id": "owncloud", "token_count": 148 }
864
import { SortDir, SortField } from '../../composables/sort' // just a dummy function to trick gettext tools function $gettext(msg) { return msg } export const sortFields: SortField[] = [ { label: $gettext('A-Z'), name: 'name', sortable: true, sortDir: SortDir.Asc }, { label: $gettext('Z-A'...
owncloud/web/packages/web-pkg/src/helpers/ui/resourceTiles.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/helpers/ui/resourceTiles.ts", "repo_id": "owncloud", "token_count": 645 }
865
import { Cache } from '../helpers/cache' const filePreviewCache = new Cache< string, { etag?: string src?: string dimensions?: [number, number] } >({ ttl: 10 * 1000, capacity: 250 }) const avatarUrlCache = new Cache< string, { size?: number src?: string } >({ ttl: 10 * 1000, capacity: ...
owncloud/web/packages/web-pkg/src/services/cache.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/services/cache.ts", "repo_id": "owncloud", "token_count": 178 }
866
export interface AncestorMetaDataValue { id: string shareTypes: number[] parentFolderId: string spaceId: string path: string } export type AncestorMetaData = Record<string, AncestorMetaDataValue> export type FederatedUser = { display_name: string idp: string mail: string user_id: string } export ty...
owncloud/web/packages/web-pkg/src/types.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/src/types.ts", "repo_id": "owncloud", "token_count": 116 }
867
import { mock } from 'vitest-mock-extended' import { RouteLocation, defaultComponentMocks, defaultPlugins, shallowMount } from 'web-test-helpers' import { Resource } from '@ownclouders/web-client/src/helpers' import AppTopBar from '../../../src/components/AppTopBar.vue' import { Action } from '../../../src/comp...
owncloud/web/packages/web-pkg/tests/unit/components/AppTopBar.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/components/AppTopBar.spec.ts", "repo_id": "owncloud", "token_count": 1110 }
868
import { defaultPlugins, mount } from 'web-test-helpers' import ResourceTiles from '../../../../src/components/FilesList/ResourceTiles.vue' import { sortFields } from '../../../../src/helpers/ui/resourceTiles' import { Resource } from '@ownclouders/web-client' import { mock } from 'vitest-mock-extended' vi.mock('../.....
owncloud/web/packages/web-pkg/tests/unit/components/FilesList/ResourceTiles.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/components/FilesList/ResourceTiles.spec.ts", "repo_id": "owncloud", "token_count": 2206 }
869
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`SpaceInfo > shows space info 1`] = ` "<div class="space_info oc-p-s"> <div class="space_info__body oc-text-overflow oc-flex oc-flex-middle"> <div class="oc-mr-s"> <oc-icon-stub name="layout-grid" filltype="fill" accessiblelabel="" type=...
owncloud/web/packages/web-pkg/tests/unit/components/sidebar/Spaces/__snapshots__/SpaceInfo.spec.ts.snap/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/components/sidebar/Spaces/__snapshots__/SpaceInfo.spec.ts.snap", "repo_id": "owncloud", "token_count": 246 }
870
import { useFileActionsSetReadme } from '../../../../../src' import { useMessages } from '../../../../../src/composables/piniaStores' import { buildSpace, FileResource, SpaceResource } from '@ownclouders/web-client/src/helpers' import { mock } from 'vitest-mock-extended' import { defaultComponentMocks, RouteLocati...
owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsSetReadme.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsSetReadme.spec.ts", "repo_id": "owncloud", "token_count": 2817 }
871
import { useDriveResolver } from '../../../../src/composables/driveResolver' import { ref, unref } from 'vue' import { mock, mockDeep } from 'vitest-mock-extended' import { isShareSpaceResource, SpaceResource } from '@ownclouders/web-client/src/helpers' import { getComposableWrapper, defaultComponentMocks, RouteLocatio...
owncloud/web/packages/web-pkg/tests/unit/composables/driveResolver/useDriveResolver.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/driveResolver/useDriveResolver.spec.ts", "repo_id": "owncloud", "token_count": 1981 }
872
import { defaultComponentMocks, getComposableWrapper } from 'web-test-helpers' import { CapabilityStore, useSearch } from '../../../../src/composables' import { SpaceResource } from '@ownclouders/web-client' describe('useSearch', () => { describe('method "search"', () => { it('can search', async () => { co...
owncloud/web/packages/web-pkg/tests/unit/composables/search/useSearch.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/search/useSearch.spec.ts", "repo_id": "owncloud", "token_count": 815 }
873
import { Resource } from '@ownclouders/web-client' import { filterResources } from '../../../../src/helpers/resource' describe('filterResources', () => { it('filters given resources by given term', () => { const resultset = filterResources( [{ name: 'foo' } as Resource, { name: 'bar' } as Resource], ...
owncloud/web/packages/web-pkg/tests/unit/helpers/resource/filter.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/helpers/resource/filter.spec.ts", "repo_id": "owncloud", "token_count": 264 }
874
import { encodePath } from '../../../src/utils' describe('encodePath', () => { it('is empty if input is empty', () => { expect(encodePath()).toBe('') expect(encodePath('')).toBe('') }) it('encodes a uri', () => { expect(encodePath('xyz.com')).toBe('xyz.com') expect(encodePath('xyz.com/')).toBe('...
owncloud/web/packages/web-pkg/tests/unit/utils/encodePath.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/utils/encodePath.spec.ts", "repo_id": "owncloud", "token_count": 192 }
875
<template> <div id="web-nav-sidebar" :class="{ 'oc-app-navigation-collapsed': closed, 'oc-app-navigation-expanded': !closed }" > <oc-button appearance="raw" :class="toggleSidebarButtonClass" class="toggle-sidebar-button oc-pb-s oc-pt-m" :aria-label="$gettext('Togg...
owncloud/web/packages/web-runtime/src/components/SidebarNav/SidebarNav.vue/0
{ "file_path": "owncloud/web/packages/web-runtime/src/components/SidebarNav/SidebarNav.vue", "repo_id": "owncloud", "token_count": 2352 }
876
export * from './useLoadTokenInfo'
owncloud/web/packages/web-runtime/src/composables/tokenInfo/index.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/src/composables/tokenInfo/index.ts", "repo_id": "owncloud", "token_count": 11 }
877
import { Language } from 'vue3-gettext' export const setCurrentLanguage = ({ language, languageSetting = null }: { language: Language languageSetting?: string }): void => { let currentLanguage = languageSetting if (currentLanguage) { if (currentLanguage.indexOf('-')) { currentLanguage = currentLa...
owncloud/web/packages/web-runtime/src/helpers/language.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/src/helpers/language.ts", "repo_id": "owncloud", "token_count": 136 }
878
<template> <div class="oc-login-card oc-position-center"> <img class="oc-login-logo" :src="logoImg" alt="" :aria-hidden="true" /> <div v-show="error" class="oc-login-card-body"> <h2 v-translate class="oc-login-card-title">Authentication failed</h2> <p v-translate>Please contact the administrator i...
owncloud/web/packages/web-runtime/src/pages/oidcCallback.vue/0
{ "file_path": "owncloud/web/packages/web-runtime/src/pages/oidcCallback.vue", "repo_id": "owncloud", "token_count": 1200 }
879
import { Modal } from '@ownclouders/web-pkg' import EditPasswordModal from '../../../src/components/EditPasswordModal.vue' import { defaultPlugins, shallowMount } from 'web-test-helpers' import { mock } from 'vitest-mock-extended' describe('EditPasswordModal', () => { describe('computed method "confirmButtonDisabled...
owncloud/web/packages/web-runtime/tests/unit/components/EditPasswordModal.spec.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/tests/unit/components/EditPasswordModal.spec.ts", "repo_id": "owncloud", "token_count": 620 }
880
import UserMenu from 'web-runtime/src/components/Topbar/UserMenu.vue' import { defaultPlugins, defaultStubs, mount, defaultComponentMocks, RouteLocation } from 'web-test-helpers' import { mock } from 'vitest-mock-extended' import { SpaceResource } from '@ownclouders/web-client' const totalQuota = 1000 const ...
owncloud/web/packages/web-runtime/tests/unit/components/Topbar/UserMenu.spec.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/tests/unit/components/Topbar/UserMenu.spec.ts", "repo_id": "owncloud", "token_count": 2711 }
881
import { RouteLocation, defaultComponentMocks, defaultPlugins, shallowMount } from 'web-test-helpers' import oidcCallback from '../../../src/pages/oidcCallback.vue' import { authService } from 'web-runtime/src/services/auth' import { mock } from 'vitest-mock-extended' import { computed } from 'vue' const mockU...
owncloud/web/packages/web-runtime/tests/unit/pages/oidcCallback.spec.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/tests/unit/pages/oidcCallback.spec.ts", "repo_id": "owncloud", "token_count": 1665 }
882
import { AxiosPromise, AxiosResponse } from 'axios' import { mock } from 'vitest-mock-extended' export const mockAxiosResolve = <T>(data: T = {} as any): AxiosResponse<T> => { const response = mock<AxiosResponse>({ data }) return response } export const mockAxiosReject = <T>(message = ''): AxiosPromise<T> => { ...
owncloud/web/packages/web-test-helpers/src/mocks/axios.ts/0
{ "file_path": "owncloud/web/packages/web-test-helpers/src/mocks/axios.ts", "repo_id": "owncloud", "token_count": 124 }
883
// from https://github.com/nightwatchjs/nightwatch/issues/1221#issuecomment-327635848 // Wrapper around standard .click() // // If click fails, it might be because something is in the way. // Try dismissing lightboxes/overlays by clicking on the body tag, // then click again. exports.command = function angryClick(selec...
owncloud/web/tests/acceptance/customCommands/angryClick.js/0
{ "file_path": "owncloud/web/tests/acceptance/customCommands/angryClick.js", "repo_id": "owncloud", "token_count": 359 }
884
Feature: create files As a user I want to create files So that I can organize my data Background: Given user "Alice" has been created with default attributes and without skeleton files in the server And user "Alice" has created file "/lorem.txt" in the server And user "Alice" has logged in using th...
owncloud/web/tests/acceptance/features/webUICreateFilesFolders/createFile.feature/0
{ "file_path": "owncloud/web/tests/acceptance/features/webUICreateFilesFolders/createFile.feature", "repo_id": "owncloud", "token_count": 180 }
885
@ocis-reva-issue-194 @disablePreviews Feature: Sharing files and folders with internal groups As a user I want to share files and folders with groups So that those groups can access the files and folders Background: Given the administrator has set the default folder for received shares to "Shares" in the s...
owncloud/web/tests/acceptance/features/webUISharingInternalGroupsSharingIndicator/shareWithGroups.feature/0
{ "file_path": "owncloud/web/tests/acceptance/features/webUISharingInternalGroupsSharingIndicator/shareWithGroups.feature", "repo_id": "owncloud", "token_count": 2107 }
886
const { client } = require('nightwatch-api') /** * @enum {string} * @readonly */ const BACKENDS = (exports.BACKENDS = Object.freeze({ local: 'LOCAL', remote: 'REMOTE' })) /** * Give the backend URL for currently default backend */ exports.getCurrentBackendUrl = function () { // eslint-disable-next-line cam...
owncloud/web/tests/acceptance/helpers/backendHelper.js/0
{ "file_path": "owncloud/web/tests/acceptance/helpers/backendHelper.js", "repo_id": "owncloud", "token_count": 176 }
887
{ "version": "0.0.0", "description": "ownCloud web test suite", "license": "AGPL-3.0", "scripts": { "test:acceptance:ocis": "NODE_TLS_REJECT_UNAUTHORIZED=0 cucumber-js --require-module @babel/register --require-module @babel/polyfill --require setup.js --require stepDefinitions --format @cucumber/pretty-for...
owncloud/web/tests/acceptance/package.json/0
{ "file_path": "owncloud/web/tests/acceptance/package.json", "repo_id": "owncloud", "token_count": 547 }
888
const { join } = require('../helpers/path') module.exports = { url: function () { return join(this.api.launchUrl, '/files/upload/') }, commands: { /** * like build-in navigate() but also waits till for the progressbar to appear and disappear * @returns {*} */ navigateAndWaitTillLoaded:...
owncloud/web/tests/acceptance/pageObjects/filesDropPage.js/0
{ "file_path": "owncloud/web/tests/acceptance/pageObjects/filesDropPage.js", "repo_id": "owncloud", "token_count": 894 }
889
#!/usr/bin/env bash SCRIPT_PATH=$(dirname "$0") SCRIPT_PATH=$( cd "${SCRIPT_PATH}" && pwd ) # normalized and made absolute FEATURES_DIR="${SCRIPT_PATH}/features" COMMENTS_FILE="${COMMENTS_FILE:-comments.file}" rm -rf logfile.txt "$COMMENTS_FILE" echo 'run.sh: running acceptance-tests-drone' # Look for command lin...
owncloud/web/tests/acceptance/run.sh/0
{ "file_path": "owncloud/web/tests/acceptance/run.sh", "repo_id": "owncloud", "token_count": 5370 }
890
app_registry: mimetypes: - mime_type: application/pdf extension: pdf name: PDF description: PDF document icon: "" default_app: "" allow_creation: false - mime_type: application/vnd.oasis.opendocument.text extension: odt name: OpenDocument description: Open...
owncloud/web/tests/drone/app-registry.yaml/0
{ "file_path": "owncloud/web/tests/drone/app-registry.yaml", "repo_id": "owncloud", "token_count": 716 }
891
Feature: groups management Scenario: admin creates group When "Admin" logs in And "Admin" opens the "admin-settings" app And "Admin" navigates to the groups management page When "Admin" creates the following groups | id | | sales | | security | Then "Admin" should see t...
owncloud/web/tests/e2e/cucumber/features/admin-settings/groups.feature/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/features/admin-settings/groups.feature", "repo_id": "owncloud", "token_count": 591 }
892
Feature: Copy As a user I want to copy/move So that I can work safely on a copy or move resource to different location Scenario: Copy and move resources in personal space Given "Admin" creates following user using API | id | | Alice | And "Alice" logs in And "Alice" creates the follo...
owncloud/web/tests/e2e/cucumber/features/smoke/copyMove.feature/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/features/smoke/copyMove.feature", "repo_id": "owncloud", "token_count": 3624 }
893
Feature: download space As a user I want to download the project space So that I can store the project's resources locally Scenario: download space Given "Admin" creates following users using API | id | | Alice | | Brian | And "Admin" assigns following roles to the users using API ...
owncloud/web/tests/e2e/cucumber/features/spaces/downloadSpace.feature/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/features/spaces/downloadSpace.feature", "repo_id": "owncloud", "token_count": 509 }
894
import { DataTable, Then, When } from '@cucumber/cucumber' import { Page, expect } from '@playwright/test' import { World } from '../../environment' import { objects } from '../../../support' import { processDelete, processDownload } from './resources' import { editor } from '../../../support/objects/app-files/utils' ...
owncloud/web/tests/e2e/cucumber/steps/ui/public.ts/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/steps/ui/public.ts", "repo_id": "owncloud", "token_count": 2523 }
895
import join from 'join-path' import { checkResponseStatus, request } from '../http' import { User } from '../../types' export const getOpenWithWebUrl = async ({ user, fileId, editorName }: { user: User fileId: string editorName: string }): Promise<string> => { const response = await request({ method:...
owncloud/web/tests/e2e/support/api/external/openWithWeb.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/api/external/openWithWeb.ts", "repo_id": "owncloud", "token_count": 190 }
896
import { Actor } from '../../types' import { ActorOptions, buildBrowserContextOptions } from './shared' import { BrowserContext, Page } from '@playwright/test' import path from 'path' import EventEmitter from 'events' export class ActorEnvironment extends EventEmitter implements Actor { private readonly options: Act...
owncloud/web/tests/e2e/support/environment/actor/actor.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/environment/actor/actor.ts", "repo_id": "owncloud", "token_count": 482 }
897
import { Page } from '@playwright/test' import { UsersEnvironment } from '../../../environment' import * as po from './actions' export class Groups { #page: Page #usersEnvironment: UsersEnvironment constructor({ page }: { page: Page }) { this.#usersEnvironment = new UsersEnvironment() this.#page = page ...
owncloud/web/tests/e2e/support/objects/app-admin-settings/groups/index.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/objects/app-admin-settings/groups/index.ts", "repo_id": "owncloud", "token_count": 681 }
898
import { Page } from '@playwright/test' import { Actor } from '../../../../../support/types' const sharesNavSelector = '//a[@data-nav-name="files-shares"]' const openShareWithMeButton = `//a/span[text()='Open "Shared with me"']` const shareWithMeNavSelector = '//a/span[text()="Shared with me"]' export class WithMe { ...
owncloud/web/tests/e2e/support/objects/app-files/page/shares/withMe.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/objects/app-files/page/shares/withMe.ts", "repo_id": "owncloud", "token_count": 292 }
899
import { expect, Page } from '@playwright/test' import util from 'util' const spaceIdSelector = `[data-item-id="%s"]` export interface searchForSpacesIdsArgs { spaceID: string page: Page } export const spaceWithSpaceIDNotExist = async (args: searchForSpacesIdsArgs): Promise<void> => { const { page, spaceID } = ...
owncloud/web/tests/e2e/support/objects/app-files/spaces/utils.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/objects/app-files/spaces/utils.ts", "repo_id": "owncloud", "token_count": 145 }
900
import { Link } from '../types' export const createdLinkStore = new Map<string, Link>()
owncloud/web/tests/e2e/support/store/link.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/store/link.ts", "repo_id": "owncloud", "token_count": 26 }
901
export default { load: vi.fn() }
owncloud/web/tests/unit/stubs/webfontloader.ts/0
{ "file_path": "owncloud/web/tests/unit/stubs/webfontloader.ts", "repo_id": "owncloud", "token_count": 14 }
902
@CHARSET "UTF-8"; #xss_main table{ width:1200px; table-layout: fixed; word-wrap: break-word; } #xss_main table tr td{ padding-left:10px; border:1px solid black; } #title{ font-size:24px; } #result table tr td{ padding-left:10px; border:1px solid black; } #xsstest_main ul li{ margin-top:15px; } #xsstest_mai...
zhuifengshaonianhanlu/pikachu/pkxss/pkxss.css/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/pkxss/pkxss.css", "repo_id": "zhuifengshaonianhanlu", "token_count": 198 }
903
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "dir.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','...
zhuifengshaonianhanlu/pikachu/vul/dir/dir.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/dir/dir.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 2139 }
904
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "sqli_blind_b.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','...
zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_blind_b.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_blind_b.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 1484 }
905
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "ssrf_fgc.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''...
zhuifengshaonianhanlu/pikachu/vul/ssrf/ssrf_fgc.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/ssrf/ssrf_fgc.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 1050 }
906
<?php $PIKA_ROOT_DIR = "../../"; include_once $PIKA_ROOT_DIR."inc/function.php"; header("Content-type:text/html;charset=utf-8"); // $file_name="cookie.jpg"; $file_path="download/{$_GET['filename']}"; //用以解决中文不能显示出来的问题 $file_path=iconv("utf-8","gb2312",$file_path); //首先要判断给定的文件存在与否 if(!file_exists($file_path)){ ...
zhuifengshaonianhanlu/pikachu/vul/unsafedownload/execdownload.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/unsafedownload/execdownload.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 543 }
907
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "xss_dom.php"){ $ACTIVE = array('','','','','','','','active open','','','','','active','','','','','','','','','','','','','','','','','','...
zhuifengshaonianhanlu/pikachu/vul/xss/xss_dom.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/xss/xss_dom.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 1328 }
908
# 8th Wall Web Examples - AFrame - Change animations This interactive example allows the user to position, scale, rotate, and change between animations embedded in a 3D model. This showcases raycasting, gesture inputs and using A-Frame's animation-mixer. ![](https://media.giphy.com/media/Su738nSVeEnp36q5iA/giphy.gif)...
8thwall/web/examples/aframe/animation-mixer/README.md/0
{ "file_path": "8thwall/web/examples/aframe/animation-mixer/README.md", "repo_id": "8thwall", "token_count": 183 }
0
# 8th Wall Web Examples - AFrame - Capture photo This example allows the user to capture photo evidence of a UFO abduction. This showcases the 8th Wall Web screenshot API as well as using HTML to show an interface controlled by an A-Frame component. ![capture-screenshot](../../../images/screenshot-capture.jpg) [Try ...
8thwall/web/examples/aframe/capturephoto/README.md/0
{ "file_path": "8thwall/web/examples/aframe/capturephoto/README.md", "repo_id": "8thwall", "token_count": 105 }
1
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>8th Wall Web: Tap to place</title> <!-- We've included a slightly modified version of A-Frame, which fixes some polish concerns --> <script src="//cdn.8thwall.com/web/aframe/8frame-1.3.0.min.js"></script> <!-- XR Extras - provides utili...
8thwall/web/examples/aframe/placeground/index.html/0
{ "file_path": "8thwall/web/examples/aframe/placeground/index.html", "repo_id": "8thwall", "token_count": 1099 }
2
# AFrame - React ## Getting started In a terminal, clone this repository and `cd` to this directory. Run `npm install && npm start` to install dependencies and launch the web app. Create a self-hosted project in the 8th Wall console. Add `localhost` and the web app IP address as connected domains. Add the project a...
8thwall/web/examples/aframe/reactapp/README.md/0
{ "file_path": "8thwall/web/examples/aframe/reactapp/README.md", "repo_id": "8thwall", "token_count": 414 }
3
<a-scene id="ascene" xrextras-tap-recenter landing-page xrextras-loading xrextras-runtime-error xrextras-gesture-detector xrweb> <a-entity light="type:directional; castShadow:true; color:white; intensity:0.5" position="5 10 7"></a-entity> <a-camera position="0 2 2"></a-camera> <a-box xrextras-o...
8thwall/web/examples/aframe/reactapp/src/views/cube.html/0
{ "file_path": "8thwall/web/examples/aframe/reactapp/src/views/cube.html", "repo_id": "8thwall", "token_count": 209 }
4
/* Ported to JavaScript by Lazar Laszlo 2011 lazarsoft@gmail.com, www.lazarsoft.info */ /* * * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/datamask.js/0
{ "file_path": "8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/datamask.js", "repo_id": "8thwall", "token_count": 1689 }
5
# 8th Wall Web Examples - three.js - 8i hologram This example illustrates how to integrate an 8i hologram (www.8i.com) into an 8th Wall Web experience. ![tapplace-threejs-screenshot](../../../images/screenshot-8i.jpg) [Try the live demo here](https://templates.8thwall.app/hologram-8i-threejs) ## Overview This exam...
8thwall/web/examples/threejs/8i-hologram/README.md/0
{ "file_path": "8thwall/web/examples/threejs/8i-hologram/README.md", "repo_id": "8thwall", "token_count": 153 }
6
# Getting Started with PlayCanvas ## Sample Projects To get started go to https://playcanvas.com/user/the8thwall and fork one of our sample projects: * [World Effects](https://playcanvas.com/project/631719/overview/8th-wall-ar-world-tracking): An application to get you started quickly creating an AR World Effects ap...
8thwall/web/gettingstarted/playcanvas/README.md/0
{ "file_path": "8thwall/web/gettingstarted/playcanvas/README.md", "repo_id": "8thwall", "token_count": 442 }
7
import type {ComponentDefinition} from 'aframe' declare const XRExtras: any declare const XR8: any // Show an error-handling scene on error. const runtimeErrorComponent: ComponentDefinition = { init() { const load = () => { XR8.addCameraPipelineModule(XRExtras.RuntimeError.pipelineModule()) } window.XRExtra...
8thwall/web/xrextras/src/aframe/components/debug-components.ts/0
{ "file_path": "8thwall/web/xrextras/src/aframe/components/debug-components.ts", "repo_id": "8thwall", "token_count": 863 }
8
let debugwebviews = null const DebugWebViewsFactory = () => { if (!debugwebviews) { debugwebviews = create() } return debugwebviews } function create() { let logstr = '' const nativelog = window.console.log const enableLogToScreen = () => { const mylog = (args) => { nativelog(args) lo...
8thwall/web/xrextras/src/debugwebviews/debug-web-views.js/0
{ "file_path": "8thwall/web/xrextras/src/debugwebviews/debug-web-views.js", "repo_id": "8thwall", "token_count": 535 }
9
import {getConfig} from './capture-config' const scaleToFit = (width, height, maxWidth, maxHeight) => { const scale = Math.min(maxWidth / width, maxHeight / height) return {width: width * scale, height: height * scale} } const START_ALIGNMENT = 0 const MIDDLE_ALIGNMENT = 1 const END_ALIGNMENT = 2 const getVertic...
8thwall/web/xrextras/src/mediarecorder/watermark.js/0
{ "file_path": "8thwall/web/xrextras/src/mediarecorder/watermark.js", "repo_id": "8thwall", "token_count": 782 }
10
declare global { interface Window { XR8: any; XRExtras: any; THREE: any; } } export {}
8thwall/web/xrextras/src/types/global.d.ts/0
{ "file_path": "8thwall/web/xrextras/src/types/global.d.ts", "repo_id": "8thwall", "token_count": 48 }
11
## 一、常用标签 > https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element ### 1.1、单标签 - 注释标签 :`<!-- 注释 --> ` - 换行标签:`<br> 或 <br />` - 水平线标签:`<hr> 或 <hr />` - 图片标签:`<img> 或 <img />` > `src` : 图片的来源(必写属性) > > `alt` : 替换文本 ,图片不显示的时候显示的文字(重要性:1.SEO优化 2.盲人阅读需求) > > `title` : 提示文本,鼠标放到图片上显示的文字 > > `width` : 图片宽度 > >...
Daotin/Web/01-HTML/01-HTML基础/02-常用标签.md/0
{ "file_path": "Daotin/Web/01-HTML/01-HTML基础/02-常用标签.md", "repo_id": "Daotin", "token_count": 7098 }
12
## 一、边框图片 边框图片:就是**给边框加图片背景**。 我们之前加的边框都是纯颜色的边框,那么我们怎么给边框加图片呢? **原理:把一张图片分成九宫格的形式,然后一一对应到需要添加边框的元素上。** ![5](./images/5.png) 并且,添加边框图片是**以背景的方式**添加的,所以会有**可能文字覆盖在边框**的情况,后面也会介绍处理方法。 **语法:** ```css /* border-image-source:可以指定边框图片的路径,默认只是填充到容器的四个角点 */ border-image-source: url("../images/border1.png"); /* borde...
Daotin/Web/02-CSS/02-CSS3/04-边框图片,过渡.md/0
{ "file_path": "Daotin/Web/02-CSS/02-CSS3/04-边框图片,过渡.md", "repo_id": "Daotin", "token_count": 5410 }
13
/*从下面开始就不是公共的部分了*/ /*sub-banner部分start*/ .sub-banner { width: 100%; position: relative; } .sub-banner a { position: absolute; width: 100%; height: 625px; background: url("../images/subbanner.jpg") no-repeat center ; } /*sub-banner部分end*/ /*...
Daotin/Web/02-CSS/03-案例/01-仿JD静态首页/css/index.css/0
{ "file_path": "Daotin/Web/02-CSS/03-案例/01-仿JD静态首页/css/index.css", "repo_id": "Daotin", "token_count": 2420 }
14
## 1、字符串的定义 **通过字面量定义字符串**: ```js var str1 = "abcd"; ``` **字面量字符串转字符串** ```js var str2 = String("abcd"); ``` **通过构造函数定义字符串**: ```js var str3 = new String("abcd"); ``` 字面量字符串和构造函数字符串的区别: ```js console.log(typeof str1) // string console.log(typeof str3) // Object ``` ## 2、字符串属性 字符串长度: `字符串名称.length;...
Daotin/Web/03-JavaScript/01-JavaScript基础知识/06-字符串.md/0
{ "file_path": "Daotin/Web/03-JavaScript/01-JavaScript基础知识/06-字符串.md", "repo_id": "Daotin", "token_count": 2411 }
15
BOM 中有两中方式设置定时器。 ## 1、setInterval **定时器的定义:** ```javascript // 参数有两个: // 第一个参数:定时器定时结束处理函数 // 第二个参数:定时事件,单位毫秒。 // 返回值:定时器id值 var timeId = window.setInterval(function() { // ... }, 1000); // 定时1s ``` 如果setInterval 的匿名函数中是一个函数,可以直接写入调用的函数名。 ```js function foo() {}; var timerId = window.setInterval(foo, 1000); ``...
Daotin/Web/03-JavaScript/03-BOM/02-定时器,轮播图.md/0
{ "file_path": "Daotin/Web/03-JavaScript/03-BOM/02-定时器,轮播图.md", "repo_id": "Daotin", "token_count": 12122 }
16
1、时钟案例 ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <style> * { margin: 0; padding: 0; ...
Daotin/Web/03-JavaScript/03-BOM/案例01:定时器相关.md/0
{ "file_path": "Daotin/Web/03-JavaScript/03-BOM/案例01:定时器相关.md", "repo_id": "Daotin", "token_count": 3452 }
17
## 一、jQuery的概念 ### 1、什么是 JavaScript 库? JavaScript 开发的过程中,处理浏览器的兼容很复杂而且很耗时,于是一些封装了这些操作的库应运而生。这些库还会把一些常用的代码进行封装。 把一些常用到的方法写到一个单独的 js 文件,使用的时候直接去引用这js文件就可以了,这个 js 文件就是 JavaScript 库。(比如我们自己写的 common.js 就是一个 js 库。) ### 2、常见的 JS 库 常见的JavaScript 库:jQuery、Prototype、MooTools。其中jQuery是最常用的一个。 ### 3、什么是 jQuery? jQuery 就是一个...
Daotin/Web/04-jQuery/01-jQuery的概念,页面加载事件.md/0
{ "file_path": "Daotin/Web/04-jQuery/01-jQuery的概念,页面加载事件.md", "repo_id": "Daotin", "token_count": 4099 }
18
@charset "UTF-8"; /*css 初始化 */ html, body, ul, li, ol, dl, dd, dt, p, span, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img, input, div { margin: 0; padding: 0; /* 盒模型 */ box-sizing: border-box; /* 去掉移动端特有的点击高亮效果: transparent 透明色*/ -webkit-tap-highlight-color: transparent; } body { widt...
Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/css/base.css/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/css/base.css", "repo_id": "Daotin", "token_count": 1001 }
19
// Spinning Icons // -------------------------- .#{$fa-css-prefix}-spin { -webkit-animation: fa-spin 2s infinite linear; animation: fa-spin 2s infinite linear; } .#{$fa-css-prefix}-pulse { -webkit-animation: fa-spin 1s infinite steps(8); animation: fa-spin 1s infinite steps(8); } @-webkit-key...
Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_animated.scss/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_animated.scss", "repo_id": "Daotin", "token_count": 309 }
20
## 一、Generator > 以下来自 [ECMAScript 6 入门 - 阮一峰](http://es6.ruanyifeng.com/) Generator 函数是 ES6 提供的一种**异步编程**解决方案。 Generator 函数有多种理解角度。语法上,首先可以把它理解成,Generator 函数是一个状态机,封装了多个内部状态。 执行 Generator 函数会返回一个**遍历器对象**,也就是说,Generator 函数除了状态机,还是一个**遍历器对象生成函数**。返回的遍历器对象,可以依次遍历 Generator 函数内部的每一个状态。 形式上,Generator 函数是一个普通函数,但是有两个...
Daotin/Web/08-ES6语法/05-Generator,async,Class.md/0
{ "file_path": "Daotin/Web/08-ES6语法/05-Generator,async,Class.md", "repo_id": "Daotin", "token_count": 7529 }
21
## 模块化进化史教程 ### 1、全局function模式 之前我们定义的数据和方法都是全局的,这样很容易导致命名冲突。 * module1.js ```js //数据 let data = 'Daotin' //操作数据的函数 function foo() { console.log(`foo() ${data}`) } function bar() { console.log(`bar() ${data}`) } ``` * module2.js ```js let data2 = 'other data' function foo() { //与另一...
Daotin/Web/09-模块化规范/01-JS模块化进化史.md/0
{ "file_path": "Daotin/Web/09-模块化规范/01-JS模块化进化史.md", "repo_id": "Daotin", "token_count": 2434 }
22
## 1、加密模块 我们之前用户登录和注册的时候,密码都是明文形式进行数据存取的,这样安全性就非常糟糕。 node中有专门的加密工具可以进行文本的加密,这个工具叫做`crypto`。 安装crypto ```js npm i crypto -S ``` 编写自己的加密模块,作用是输入一段文本进行加密输出。 在项目根目录新建一个`tools`文件夹,存放项目会用到的一些工具。这里以md5加密算法为例: ```js // encrypt.js let crypto = require('crypto'); module.exports = text => { // 获取加密对象(这里以md5加密算法为...
Daotin/Web/10-Node.js/08-session验证,上传图片,websocket通信.md/0
{ "file_path": "Daotin/Web/10-Node.js/08-session验证,上传图片,websocket通信.md", "repo_id": "Daotin", "token_count": 8796 }
23
项目仓库地址: - 图书商城demo:https://github.com/Daotin/react-demo - 仿必要商城:https://github.com/Daotin/react-biyao-demo
Daotin/Web/13-React/07-react-demo项目.md/0
{ "file_path": "Daotin/Web/13-React/07-react-demo项目.md", "repo_id": "Daotin", "token_count": 85 }
24
## 一、响应式编程 ### 1、什么是响应式编程 响应式编程就是用异步数据流进行编程,这不是新理念。即使是最典型的点击事件也是一个异步事件流,从而可以对其进行侦测(observe)并进行相应操作。 可以基于任何东西创建数据流。流非常轻便,并且无处不在,任何东西都可以是一个流:用户输入、缓存、数据结构等等。例如,想象一下微博推文也可以是一个数据流,和点击事件一样。你可以对其进行侦听,并作相应反应。 使用响应式编程实现观察者模式。 观察者模式存在着被观察对象和观察者。 Angular中使用 RxJS 模块可以创建一个流对象,流对象就是一个被观察者。流对象可以被订阅,也就是被接收到。 为了测试流对象上面的一些方法,...
Daotin/Web/14-Angular/06-响应式编程,响应式表单.md/0
{ "file_path": "Daotin/Web/14-Angular/06-响应式编程,响应式表单.md", "repo_id": "Daotin", "token_count": 2268 }
25
## 一、混合开发Hybrid 移动端UI一般分为: 原生app:native App 网页app:web app Hybrid App是指介于web-app、native-app这两者之间的app,它虽然看上去是一个Native App,但只有一个UI WebView,里面访问的是一个Web App。 ![](./img/14.png) ![](./img/16.png) hybrid开发app一般遵循: 对于不经常改变视图的使用native APP开发,经常改变的使用 web APP,就综合了native APP和web App的优点。 ### 1、安装环境 这里使用HbuilderX集成的H...
Daotin/Web/16-前端综合/02-Hybrid混合开发.md/0
{ "file_path": "Daotin/Web/16-前端综合/02-Hybrid混合开发.md", "repo_id": "Daotin", "token_count": 4098 }
26
package pers.husen.web.bean.po; import java.io.Serializable; /** *访问统计 * * @author 何明胜 * * 2017年10月18日 */ public class AccessAtatisticsPo implements Serializable{ private static final long serialVersionUID = 1L; private int accessToday; private int accessTotal; private int onlineCurrent; /** * @return ...
Humsen/web/web-core/src/pers/husen/web/bean/po/AccessAtatisticsPo.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/bean/po/AccessAtatisticsPo.java", "repo_id": "Humsen", "token_count": 350 }
27
package pers.husen.web.common.constants; import pers.husen.web.config.ProjectDeployConfig; /** * 后端返回前端常量 * * @author 何明胜 * * 2017年11月8日 */ public class ResponseConstants { /** 操作成功(如果是请求数量, 直接返回数量. 不为-1都为成功) */ public static final int RESPONSE_OPERATION_SUCCESS = 1; /** 操作失败 (不用0是因为如果有数量请求, 0不知道是失败还是成功)*/ ...
Humsen/web/web-core/src/pers/husen/web/common/constants/ResponseConstants.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/common/constants/ResponseConstants.java", "repo_id": "Humsen", "token_count": 887 }
28
package pers.husen.web.config; import java.io.File; import java.io.FileOutputStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSource; import javax....
Humsen/web/web-core/src/pers/husen/web/config/Log4j2Config.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/config/Log4j2Config.java", "repo_id": "Humsen", "token_count": 2091 }
29
package pers.husen.web.dao.impl; import java.util.ArrayList; import java.util.Date; import pers.husen.web.bean.vo.BlogArticleVo; import pers.husen.web.common.constants.DbConstans; import pers.husen.web.dao.BlogArticleDao; import pers.husen.web.dbutil.DbQueryUtils; import pers.husen.web.dbutil.DbManipulationUtils; imp...
Humsen/web/web-core/src/pers/husen/web/dao/impl/BlogArticleDaoImpl.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/dao/impl/BlogArticleDaoImpl.java", "repo_id": "Humsen", "token_count": 2914 }
30
package pers.husen.web.dbutil.mappingdb; /** * 代码库数据映射 * * @author 何明胜 * * 2017年10月20日 */ public class CodeLibraryMapping { /** * 数据库名称 */ public static final String DB_NAME = "code_library"; public static final String CODE_ID = "code_id"; public static final String CODE_TITLE = "code_title"; public s...
Humsen/web/web-core/src/pers/husen/web/dbutil/mappingdb/CodeLibraryMapping.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/dbutil/mappingdb/CodeLibraryMapping.java", "repo_id": "Humsen", "token_count": 271 }
31
package pers.husen.web.service; import java.util.ArrayList; import pers.husen.web.bean.vo.UserInfoVo; import pers.husen.web.dao.UserInfoDao; import pers.husen.web.dao.impl.UserInfoDaoImpl; /** * @author 何明胜 * * 2017年9月17日 */ public class UserInfoSvc implements UserInfoDao{ private static final UserInfoDaoImpl...
Humsen/web/web-core/src/pers/husen/web/service/UserInfoSvc.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/service/UserInfoSvc.java", "repo_id": "Humsen", "token_count": 560 }
32
package pers.husen.web.servlet.message; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http....
Humsen/web/web-core/src/pers/husen/web/servlet/message/MessageSvt.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/message/MessageSvt.java", "repo_id": "Humsen", "token_count": 972 }
33
@charset "UTF-8"; .fh5co-loader { position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 9999; /* background: url(/images/loader.gif) center no-repeat #fff; */ } .gototop { position: fixed; bottom: 20px; right: 20px; z-index: 999; opacity: 0; visibility: hidden; -webkit-transition: 0....
Humsen/web/web-mobile/WebContent/css/article/article.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/css/article/article.css", "repo_id": "Humsen", "token_count": 537 }
34
@charset "UTF-8"; .modify-email-form { margin-top: 50px; }
Humsen/web/web-mobile/WebContent/css/personal_center/modify-email.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/css/personal_center/modify-email.css", "repo_id": "Humsen", "token_count": 31 }
35
/** * 加载下载区 * * @author 何明胜 * * 2017年9月29日 */ /** 加载插件 * */ $.ajax({ url : '/plugins/plugins.html', async : false, type : 'GET', success : function(data) { $($('head')[0]).find('script:first').after(data); } }); $(function() { /** 顶部导航栏 **/ $.ajax({ url : '/module/navigation/topbar.html', async...
Humsen/web/web-mobile/WebContent/js/download/download.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/js/download/download.js", "repo_id": "Humsen", "token_count": 1925 }
36
/** * @author 何明胜 * * 2017年10月26日 */ /** 初始化 */ $(document).ready(function() { // 有效性校验 modifyPwdValidator(); // 提交 $('#submitModifyPwd').click(submitModifyPwdForm); }); /** * 提交修改密码表单 * @returns */ function submitModifyPwdForm() { // 触发全部验证 $('#modifyPwdForm').data('bootstrapValidator').validate(); v...
Humsen/web/web-mobile/WebContent/js/personal_center/modify-pwd.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/js/personal_center/modify-pwd.js", "repo_id": "Humsen", "token_count": 2474 }
37
<link rel="stylesheet" href="/css/personal_center/upload-file.css"> <!-- 库文件 --> <link href="/plugins/webuploader/webuploader.css" rel="stylesheet" /> <script src="/plugins/webuploader/webuploader.min.js"></script> <!-- 上传文件脚本 --> <script src="/js/personal_center/upload-file.js"></script> <div class="form-horizontal ...
Humsen/web/web-mobile/WebContent/personal_center/upload_file.html/0
{ "file_path": "Humsen/web/web-mobile/WebContent/personal_center/upload_file.html", "repo_id": "Humsen", "token_count": 362 }
38
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/edit/continuelist.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/edit/continuelist.js", "repo_id": "Humsen", "token_count": 764 }
39
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // Utility function that allows modes to be combined. The mode given // as the base argument takes care of most of the normal mode // functionality, but a second (typically simple) mode is use...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/mode/overlay.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/mode/overlay.js", "repo_id": "Humsen", "token_count": 1140 }
40
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // Because sometimes you need to mark the selected *text*. // // Adds an option 'styleSelectedText' which, when enabled, gives // selected text the CSS class given as option value, or // "Code...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/selection/mark-selection.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/selection/mark-selection.js", "repo_id": "Humsen", "token_count": 1513 }
41
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE /** * Author: Gautam Mehta * Branched from CodeMirror's Scheme mode */ (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/cobol/cobol.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/cobol/cobol.js", "repo_id": "Humsen", "token_count": 4687 }
42
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../xml/xml"), require("../javascript/javascript"),...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/htmlmixed/htmlmixed.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/htmlmixed/htmlmixed.js", "repo_id": "Humsen", "token_count": 2104 }
43
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // Modelica support for CodeMirror, copyright (c) by Lennart Ochel (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codem...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/modelica/modelica.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/modelica/modelica.js", "repo_id": "Humsen", "token_count": 3032 }
44
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../python/python"), require("../stex/stex"), requi...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/rst/rst.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/rst/rst.js", "repo_id": "Humsen", "token_count": 7640 }
45
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/sparql/sparql.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/sparql/sparql.js", "repo_id": "Humsen", "token_count": 2786 }
46
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/vb/vb.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/vb/vb.js", "repo_id": "Humsen", "token_count": 4275 }
47
/* Loosely based on the Midnight Textmate theme */ .cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; } .cm-s-night div.CodeMirror-selected { background: #447 !important; } .cm-s-night.CodeMirror ::selection { background: rgba(68, 68, 119, .99); } .cm-s-night.CodeMirror ::-moz-selection { background: rgba(6...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/night.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/night.css", "repo_id": "Humsen", "token_count": 662 }
48
/*! * HTML entities dialog plugin for Editor.md * * @file html-entities-dialog.js * @author pandao * @version 1.2.0 * @updateTime 2015-03-08 * {@link https://github.com/pandao/editor.md} * @license MIT */ (function() { var factory = function (exports) { var $ = jQuer...
Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/html-entities-dialog/html-entities-dialog.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/html-entities-dialog/html-entities-dialog.js", "repo_id": "Humsen", "token_count": 2072 }
49
(function($) { /** * Belgium (French) language package * Translated by @neilime */ $.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, { base64: { 'default': 'Veuillez fournir une donnée correctement encodée en Base64' }, between: { ...
Humsen/web/web-mobile/WebContent/plugins/validator/js/language/be_FR.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/validator/js/language/be_FR.js", "repo_id": "Humsen", "token_count": 7757 }
50