text
stringlengths
3
1.05M
import React from 'react' import '../assets/css/EndOfResult.css' function EndOfResult() { return ( <div className='text-center EndOfResult'> <h4> <i className="fab fa-twitter" style={{ color: '#008eff' }} /> </h4> </div> ) } export default EndOfResult;
import os import datetime import logging import threading from io import FileIO from abc import ABC from .base import StorageObject, StoragePrefixBase, StorageIOSeekable logger = logging.getLogger(__name__) class BucketStorageObject(StorageObject): """Represents a cloud storage object associated with a bucket. ...
//@flow import React from 'react'; import { screen } from '@testing-library/react'; import DashboardServices from './DashboardServices'; import { render } from './__TEST__/util'; import type { Alert } from '../services/alertUtils'; import { useHighestSeverityAlerts } from '../containers/AlertProvider'; import { STATU...
/*========================================================================================= File Name: moduleCalendarMutations.js Description: Calendar Module Mutations ---------------------------------------------------------------------------------------- Item Name: Tripcarte.Asia Dashboard Management Portal ...
from smooth.components.component_trailer_gate_cascade import TrailerGateCascade import oemof.solph as solph def test_init(): gate = TrailerGateCascade({}) assert hasattr(gate, "max_input") def test_add_to_oemof_model(): gate = TrailerGateCascade({ "bus_in": "bus_in", "bus_out": "bus_out"...
'use strict'; const Image = require('pmp-image-model'); module.exports = function getImageById(args, done) { return Image .findById(args.id) .exec(done); };
Hi there!Working with git!Hello World!
/*global Cypress, cy*/ require('cypress-plugin-snapshots/commands'); import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command'; addMatchImageSnapshotCommand(); import { INLINE_TOOLBAR_BUTTONS, PLUGIN_TOOLBAR_BUTTONS, IMAGE_SETTINGS, GALLERY_SETTINGS, VIDEO_PLUGIN, HTML_PLUGIN, PLUGIN_C...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = handleActions; var _handleAction = require('./handleAction'); var _handleAction2 = _interopRequireDefault(_handleAction); var _ownKeys = require('./ownKeys'); var _ownKeys2 = _interopRequireDefault(_ownKeys); var _red...
var callbackArguments = []; var argument1 = function callback(a,b,c) { callbackArguments.push(JSON.stringify(arguments)) base_0[1] = -1 argument1[2] = {"893":5.436214805129499e+307,"":59,"0Q":705,"+":"t(","5e-324":969} return a+b*c }; var argument2 = function callback(a,b,c) { callbackArguments.push(JSON.string...
/* * file.js: Base container from which all pkgcloud files inherit from * * (C) 2010 Nodejitsu Inc. * */ var fs = require('fs'), utile = require('utile'), model = require('../base/model'), storage = require('../storage'); var File = exports.File = function (client, details) { model.Model.call(this,...
let validationError = require('../lib/errors/validationError'); let randomColor = require('randomcolor'); let bcrypt = require('bcrypt'); module.exports = (sequelize, DataTypes) => { let User = sequelize.define('User', { username: { type: DataTypes.STRING, unique: { msg: 'This username is already register...
#!/usr/bin/env python3 # # This module requires HatSploit: https://hatsploit.netlify.app # Current source: https://github.com/EntySec/HatSploit # from hatsploit.lib.module import Module from hatsploit.utils.http import HTTPClient class HatSploitModule(Module, HTTPClient): details = { 'Name': "MessageSol...
eventsApp.factory('eventData', function($resource) { var resource = $resource('/data/event/:id', {id:'@id'}, {"getAll": {method: "GET", isArray:true}}); return { getEventData: function(eventId) { // usually the id is passed in from a request, here it is just hard coded return re...
var settings = { "async": true, "crossDomain": true, "url": "http://mockbin.com/har", "method": "GET", "headers": { "accept": "application/json", "x-foo": "Bar" } } $.ajax(settings).done(function (response) { console.log(response); });
import os INPUT_FILE = os.path.join(os.path.dirname(__file__), "input") def solve(steps): with open(INPUT_FILE, "r") as fp: starting_numbers = list(map(int, fp.read().split(","))) mem = {n: idx + 1 for idx, n in enumerate(starting_numbers[:-1])} current_number = starting_numbers[-1] ...
'use strict'; var _createElement = require('./createElement'); var _createElement2 = _interopRequireDefault(_createElement); var _render = require('./render'); var _render2 = _interopRequireDefault(_render); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exp...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; var Icon = require('../Icon-1083255b.js'); var React = require...
'use strict'; exports.__esModule = true; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD...
module.exports = require('./eslint-config-react.json');
const IPFS= require("ipfs-api"); const ipfs = new IPFS({ host: 'ipfs.infura.io', port: 5001, protocol: 'https' }); export default ipfs;
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['fr-ca']={"editor":"Éditeur de texte enrichi","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Appuyez sur 0 pour de l'aide","browseServer":"Parco...
# Copyright 2018 Argo AI, LLC # 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 applicable law or agreed to in writing, sof...
function readSettings() { } function saveSettings() { }
#!/usr/bin/env python3 # Copyright (c) 2014-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the walletupgrade functionality. - 1) start one bitrubcoind node from an pre-HD wallet wallet.dat...
// // // Produces the data required to teach classifiers. Traverses all existing tables, extracting cell values and associating it with the human annotations. // async function trainingData(){ // // var cui_data = await CUIData () // // var header = [ // {id: 'docid', title: 'docid'}, // {id: 'page', t...
import utils from '../utils'; import handleSchema from '../schema.js'; const _ = require('underscore'); let fieldNum = 1; export default { state: { message: null, data: { title: '', type: 'object', properties: {} }, open: { properties: true } }, changeEditorSchemaAct...
import GridRowForm from './grid_row_form'; export default class GridRow { constructor(opts) { this.on_grid_fields_dict = {}; this.on_grid_fields = []; $.extend(this, opts); if (this.doc && this.parent_df.options) { frappe.meta.make_docfield_copy_for(this.parent_df.options, this.doc.name, this.docfields); ...
import { repeat as higherOrder } from '../operators/repeat'; /** * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times. * * <img src="./img/repeat.png" width="100%"> * * @param {number} [count] The number of times the source Observable items are repeated, a c...
/* global AppUpdatable, LazyLoader, MozActivity, NotificationScreen, Service, SettingsListener, SystemBanner, mozIntl, SystemUpdatable */ 'use strict'; /* * The UpdateManager is a central component for apps *and* system updates. * The user can start or cancel all downloads at once. * This component also ...
require(__dirname).test ( { xml : "<compileClassesResponse>"+ "<result>"+ "<bodyCrc>653724009</bodyCrc>"+ "<column>-1</column>"+ "<id>01pG0000002KoSUIA0</id>"+ "<line>-1</line>"+ "<name>CalendarController</name>"+ "<success>true</success>"+ ...
import React, { memo } from 'react'; import PropTypes from 'prop-types'; import { makeStyles, List, FormControlLabel, Icon } from '@material-ui/core'; import MUIDataTable from 'mui-datatables'; import { compose } from 'redux'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; i...
from tools.distinct_n.metrics import *
"""Migrate dashboard position_json data from V1 to V2 Revision ID: bebcf3fed1fe Revises: fc480c87706c Create Date: 2018-07-22 11:59:07.025119 """ # revision identifiers, used by Alembic. import collections import json import sys from functools import reduce import uuid from alembic import op import sqlalchemy as sa...
$(function() { //initialise modals var modelOpen = false; var needToUpdate = false; var lastAlertData; var alertPollTimeout; var newsPollTimeout; $('.modal').modal({ ready: function(modal, trigger) { var iframeId = 'iframe_' + modal.attr('id').slice(5); $('#' ...
const path = require("path"); const readline = require("readline"); const {spawn} = require("child_process"); const {EventEmitter} = require("events"); function Position(coords,timestamp){ this.coords = coords; this.timestamp = timestamp; } function Coordinates(){} class Geolocator extends EventEmitter { construct...
var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Arr...
/** * Add Car page * * @author Kelvin Yin */ import React, { Component } from 'react'; import { Link, withRouter } from 'react-router-dom'; import { Editor } from '@tinymce/tinymce-react'; import axios from 'axios'; class AddCar extends Component { /** * Constructor for Notifications * * @pa...
{"mlist":[],"rlist":{},"page":{"page":1,"count":0,"size":10,"type":0,"id":29141}}
window.addEventListener('load', function(){ // USse Geolocation API to determine where we are if("geolocation" in navigator) { navigator.geolocation.getCurrentPosition(function(position){ d3.select('body') .insert('div', ':first-child') .attr('class', 'location-bar') .text("you ar...
/** * 验证身份证及返回户籍所在地区、出生年月、性别 * * @param string sId => 身份证号码 * @return object returnResult => 结果对象 */ function CheckIdCard(sId) { //定义地区对象 var CityArray = {11: "北京", 12: "天津", 13: "河北", 14: "山西", 15: "内蒙古", 21: "辽宁", 22: "吉林", 23: "黑龙江", 31: "上海", 32: "江苏", 33: "浙江", 34: "...
'use strict'; var chalk = require('chalk'); var util = require('util'); var conf = require('./lib/conf.js'); module.exports = function (grunt) { grunt.registerTask('ec2-pagespeed', 'Requests the Google PageSpeed API, prints insights', function (ip) { conf.init(grunt); if (arguments.length === 0)...
import _mergeJSXProps from "@vue/babel-helper-vue-jsx-merge-props"; export default { name: 'Tallymark2Icon', props: { size: { type: String, default: '24' } }, functional: true, render(h, ctx) { const size = parseInt(ctx.props.size) + 'px'; const attrs = ctx.data.attrs || {}; a...
$(document).ready(function() { var baseUrl = 'http://localhost:1000/www/my-project/public/'; $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); // Xử lý đăng nhập $('#dang-nhap').click(function(e) { e.preventDefault(); var email = $('#email').val(...
# Description: Display all symmetry mates in 3 x 3 x 2 array of unit cells. Uses supercell.py in $HOME/Scripts/PyMOLscripts/. # Source: placeHolder """ cmd.do('run $HOME/${1:Scripts/PyMOLscripts/}supercell.py;') cmd.do('supercell 3, 3, 2, , ${2:orange}, ${3:supercell1}, 1;') """ cmd.do('run $HOME/Scripts/PyMOLscr...
import Ember from 'ember'; import layout from '../templates/components/input-list'; export default Ember.Component.extend({ layout emptyText: null, selectAllEnabled: true, type: 'checkbox', objects: null, //list of Ember.Objects //selectedObject: null, selectedObjects: null, validObjects: null, in...
import React from "react"; import youtube2Thumbnail from "../Utilities/youtube2Thumbnail"; const Video = ({ url, className }) => { const src = youtube2Thumbnail(url); return ( url && ( <img className={className} src={src} alt="NASA Space" ></img> ) ); }; export def...
import angular from 'angular'; import fileService from './file.service'; import config from '../utils/config'; const { restRoot } = config; class TemplateService { constructor($http, FileService) { 'ngInject'; this.$http = $http; this.FileService = FileService; } all(projectId) { return this.$...
import torch.nn as nn import torch.utils.model_zoo as model_zoo import math __all__ = [ 'VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19_bn', 'vgg19', ] model_urls = { 'vgg11': 'https://download.pytorch.org/models/vgg11-bbd30ac9.pth', 'vgg13': 'https://download.pytorch.or...
import { test } from 'ember-qunit'; import moduleForAcceptance from 'dummy/tests/helpers/module-for-acceptance'; import { create, visitable } from 'ember-cli-page-object' import { createClickTrackerComponent, ClickTrackerDef } from './helpers'; const node = create( Object.assign({}, ClickTrackerDef, { visit: vis...
"use strict"; const Base = require("./Base"); const Permission = require("./Permission"); const Permissions = require("../Constants").Permissions; const User = require("./User"); const VoiceState = require("./VoiceState"); /** * Represents a server member * @prop {String} id The ID of the member * @prop {String} ment...
# qubit number=3 # total number=9 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collection...
var $=Object.defineProperty;var y=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var m=(t,a,e)=>a in t?$(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,p=(t,a)=>{for(var e in a||(a={}))E.call(a,e)&&m(t,e,a[e]);if(y)for(var e of y(a))T.call(a,e...
from cereal import car from common.numpy_fast import clip, interp from selfdrive.car.nissan import nissancan from opendbc.can.packer import CANPacker # Steer angle limits ANGLE_MAX_BP = [1.3, 10., 30.] ANGLE_MAX_V = [540., 120., 23.] ANGLE_DELTA_BP = [0., 5., 15.] ANGLE_DELTA_V = [5., .8, .15] # windup limit ANGLE...
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/axis-numeric-base/axis-numeric-base.js']) { __coverage__['build/axis-numeric-base/axis-numeric-base.js'] = {"path":"build/axis-numeric-base/axis-numeric-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,...
import React from 'react' import { Form, Input, Button, Checkbox } from 'antd' import { useHistory } from 'react-router-dom' import styles from './index.module.less' const layout = { labelCol: { span: 8, }, wrapperCol: { span: 16, }, } const tailLayout = { wrapperCol: { offset: 8, ...
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the DataLad package for the # copyright and license terms. # ### ### ### ### ##...
/* 打开一个标签 */ function OpenTab(title, url, icon){ /** 如果这个标题的标签存在,则选择该标签 否则添加一个标签到标签组 */ if($("#tabs").tabs('exists', title)){ $("#tabs").tabs('select', title); }else{ $("#tabs").tabs('add',{ title: title, content: createTabContent(url), closable: true, icon: icon }); } } /* 生成标签内容 */ functi...
import React, { useState, useEffect } from 'react'; //jabCHA.png import Img from 'gatsby-image'; import { useStaticQuery, graphql } from 'gatsby'; /** * This is a component to prevent non human interactions by solving simple maths problems. * @param {String} xtraClassCss optional an entra class. * @param {Function}...
import { createStore, combineReducers } from 'redux'; import { createReducer } from 'redux-act'; import { INFO, WARNING, ERROR } from '../components/modal.view'; import { loginSuccess, logoutSuccess, modalClose, usersLoadSuccess } from './actions'; const userReducer = createReducer({ [loginSuccess]: (state, payl...
const actions = { INIT_DATA: 'ECOMMERCE_INIT_DATA', INIT_DATA_SAGA: 'ECOMMERCE_INIT_DATA_SAGA', UPDATE_DATA: 'ECOMMERCE_UPDATE_DATA', UPDATE_DATA_SAGA: 'ECOMMERCE_UPDATE_DATA_SAGA', CHANGE_VIEW: 'ECOMMERCE_CHANGE_VIEW', VIEW_TOPBAR_CART: 'ECOMMERCE_VIEW_TOPBAR_CART', initData: () => ({ type: actions.INIT_...
import commonjs from "rollup-plugin-commonjs"; import resolve from "@rollup/plugin-node-resolve"; import { terser } from "rollup-plugin-terser"; import json from "@rollup/plugin-json"; import builtins from "builtins"; export default { input: "index.js", output: { file: "dist/index.js", format: "cjs", ...
import { wrapFontAwesomeIcon } from './icon-wrappers' import { faHandRock } from '@fortawesome/free-regular-svg-icons/faHandRock' const HandRockRegular = wrapFontAwesomeIcon(faHandRock, 'Regular') export default HandRockRegular
import Vue from 'nativescript-vue'; import Home from './components/Home'; new Vue({ template: ` <Frame> <Home /> </Frame>`, components: { Home, }, }).$start();
import React, { useState, useEffect, useCallback, useMemo } from 'react'; import { useSelector } from 'react-redux'; import { navigate } from '@reach/router'; import ReactPlaceholder from 'react-placeholder'; import Popup from 'reactjs-popup'; import { FormattedMessage, useIntl } from 'react-intl'; import messages fro...
/* *work:图片预览插件 */ var uploadPreview = function(setting) { /* *author:周祥 *date:2014年12月11日 *work:this(当前对象) */ var _self = this; /* *work:判断为null或者空值 */ _self.IsNull = function(value) { if (typeof (value) == "function") { return false; } if (value == undefined ||...
window.common = { getJsonFromUrl: function() { let query = location.search.substr(1); let result = {}; query.split("&").forEach((part) => { let item = part.split("="); result[item[0]] = decodeURIComponent(item[1]); }); return result; } };
// $routes->post('division/inscripciones/actividad', 'Division/InscripcionController::get_actividades_periodo'); ( () => { const selectActividadHTML = document.querySelector('#selectActividad'); if ( !selectActividadHTML ) return; const selectPeriodoHTML = document.querySelector('#periodo21'); const B...
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"5FeJ":function(t,e,n){"use strict";n.r(e);var i=n("1C3z"),o=n("8AiQ"),c=n("ZSGP"),r=n("BYtS"),a=n("JjjS"),s=n("ruJL"),d=n("5/c3"),l=n("k5pS"),u=n("j2Hr"),f=n("IXvK"),m=n("Uj1/");function h(t,e){if(1&t){var n=i.oc();i.nc(0,"p",10),i.zc("click",(function(t){retur...
/** * @class Oskari.mapframework.bundle.mapmodule.plugin.ScaleBarPlugin * Provides scalebar functionality for map * See http://www.oskari.org/trac/wiki/DocumentationBundleMapModulePluginScaleBar */ Oskari.clazz.define('Oskari.mapframework.bundle.mapmodule.plugin.ScaleBarPlugin', /** * @static @metho...
{ var s = scale.scalePow(); test.deepEqual(s.domain(), [0, 1]); test.deepEqual(s.range(), [0, 1]); test.equal(s.clamp(), false); test.equal(s.exponent(), 1); test.deepEqual( s.interpolate()( { array: ["red"] }, { array: ["blue"] } )(0.5), { array: ["...
/** * * ChatLogList * */ /* eslint-disable indent */ /* eslint-disable no-underscore-dangle */ import React from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; import { graphql } from 'react-apollo'; import ChatLogListQuery from 'graphql/ChatLogQuery'; import withModal from 'compo...
/** * Copyright 2013-2014 Facebook, Inc. * * 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 applicable law or agree...
'use strict' exports.rectangle = (x, y, x1, y1, x2, y2) => (x >= x1 && x <= x2 && y >= y1 && y <= y2) exports.circle = (x, y, cx, cy, cr) => Math.pow(x - cx, 2) + Math.pow(y - cy, 2) <= Math.pow(cr, 2) module.exports = exports
import calcObj from './calcobj'; test('calcObj object exists', () => { expect(calcObj).toBeDefined(); }); test('return type of calcObj is an object', () => { expect(typeof calcObj).toBe('object'); }); test('calcObj object calculator works on summation of positive integers', () => { expect(calcObj.sum(12, 10))....
import api from './api'; const base_path = '/costumer'; class MaterialService { static list = async () => { const response = await api.get(base_path); return response.data; } static delete = async (id) => { const response = await api.delete(`${base_path}/${id}`); return re...
#! /bin/env python # Standard library imports import os.path import wave import numpy # Enthought library imports from traits.util.resource import find_resource def wav_to_numeric( fname, max_frames=-1 ): f = wave.open( fname, 'rb' ) sampleRate = f.getframerate() channels = f.getnchannels() if max_frames < ...
#!/usr/bin/env python # # copy_tests.py: testing the many uses of 'svn cp' and 'svn mv' # # Subversion is a tool for revision control. # See http://subversion.apache.org for more information. # # ==================================================================== # Licensed to the Apache Software Foundation (AS...
from selfdrive.controls.lib.pid import PIController from selfdrive.kegman_conf import kegman_conf from common.numpy_fast import gernterp, interp, clip from common.profiler import Profiler import numpy as np import os import time from cereal import car from common.params import Params, put_nonblocking from numpy import...
ngapp.service('mergeIntegrationService', function(settingsService, modManagerService, progressLogger, gameService) { let service = this; const oldFormatGames = ['TES5', 'TES4', 'FO3', 'FNV']; let runIntegration = function(key, modManager, merge) { let fn = (modManager && modManager[key]) || servic...
"use strict"; import '../style/bubble.scss'; import Youdao from './util/youdao'; class Bubble { static keyfrom = 'your-youdao-appKey'; static key = 'appSecret'; static renderBubble(tpl) { if (document.querySelector('#y-bubble')) { let unnecessaryBubble = document.querySelector('#y-bubble'); unn...
/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ var parentJsonpFunction = window["webpackJsonp"]; /******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { /******/ // add "moreModules" to the modules o...
import time from SPARQLWrapper import SPARQLWrapper, JSON from SPARQLWrapper.SPARQLExceptions import EndPointNotFound from stop_words import get_stop_words, StopWordError import regex #Change the rapidfuzz for fuzzywuzzy if it is needed the original implementation from rapidfuzz import fuzz class FilteringNEL: def...
""" Module to do callbacks for Keras models. """ from __future__ import division from keras.callbacks import Callback # ModelCheckpoint , EarlyStopping import matplotlib.pyplot as plt import h5py import itertools import logging import numpy as np import os import subprocess import shutil import codecs import sys fro...
(function(/*! Brunch !*/) { 'use strict'; var globals = typeof window !== 'undefined' ? window : global; if (typeof globals.require === 'function') return; var modules = {}; var cache = {}; var has = function(object, name) { return ({}).hasOwnProperty.call(object, name); }; var expand = function...
/* * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. *...
#!/usr/bin/env python3 from pwn import * context.arch = 'i386' io = remote('chall.pwnable.tw', 10201) #io = process('./death_note') elf = ELF('./death_note') def del_note(index): io.recvuntil('Your choice :') io.sendline(str(3)) io.recvuntil('Index :') io.sendline(str(index)) def add_note(index, name): io.rec...
// Copyright 2010 The Emscripten Authors. All rights reserved. // Emscripten is available under two separate licenses, the MIT license and the // University of Illinois/NCSA Open Source License. Both these licenses can be // found in the LICENSE file. //"use strict"; // An implementation of basic necessary librarie...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
// For a detailed explanation regarding each configuration property, visit: // https://jestjs.io/docs/en/configuration.html module.exports = { coverageDirectory: '../coverage', coverageThreshold: { global: { branches: 100, functions: 100, lines: 100, statements: 100, }, }, modul...
var csrftLarVe = $('meta[name="csrf-token"]').attr("content"); function loadSalesReturnItem(itemID){ $("#salesReturnMSG").html(loadingOrProcessing("Please wait, loading customer invoices.")); //------------------------Ajax Customer Start-------------------------// var table_data="<tr><t...
// imports const client = require('./client.js') const user = require('./categories/user') const group = require('./categories/group') exports.Client = client exports.user = user exports.group = group
'use strict'; var AbstractExtension = require('../core/abstract-extension'); var Selection = require('../selection'); var Toolbar = require('../toolbars/toolbar'); var Button = require('../toolbars/button'); var I18n = require('../i18n'); var Layout = require('../layout'); var Utils = require('../utils'); var Loader =...
import {getThemedPrefix, getCurrentList} from '../lib.js'; function createNewItemElement(item) { const elWrapper = document.createElement('div'); elWrapper.className = 'sidebar-item'; const link = document.createElement('a'); link.href = item.url; link.className = 'item-link'; link.title = item.title; ...
#!usr/bin/env python __author__ = "Xiaoguang Zhang" __email__ = "xzhang@westwoodrobotics.net" __copyright__ = "Copyright 2020 Westwood Robotics" __date__ = "Feb 26, 2021" __version__ = "0.1.0" __status__ = "Beta" # Change the direction of INDEX_M external encoder from default(CW) to CCW from Play.MPS import MPS_Encod...
import React from 'react'; import {Container, Option, Img, Label} from './styles'; import img1 from '../../images/01.png'; import img2 from '../../images/02.png'; import img3 from '../../images/03.png'; import img4 from '../../images/04.png'; import img5 from '../../images/05.png'; import img6 from '../../images/06.p...
var group___s_t_d = [ [ "arm_std_f32", "group___s_t_d.html#ga4969b5b5f3d001377bc401a3ee99dfc2", null ], [ "arm_std_q15", "group___s_t_d.html#gaf9d27afa9928ff28a63cd98ea9218a72", null ], [ "arm_std_q31", "group___s_t_d.html#ga39495e74f96116178be085c9dc7742f5", null ] ];
/* * @Author: FT.FE.Bolin * @Date: 2018-09-26 18:01:14 * @Last Modified by: FT.FE.Bolin * @Last Modified time: 2018-09-29 14:52:01 */ // 客源管理-客户来源 export const customerData = { sourceList: [ '闲鱼', '麦邻租房APP', '个人安居客', '58个人', '老客推荐', '58企业', '公司贝壳找房', '个人贝壳找房', '公司赶集', '蹲点...
# 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 applicable law or agreed to in writing, software # d...
from __future__ import print_function, absolute_import, division # makes these scripts backward compatible with python 2.6 and 2.7 from KratosMultiphysics.CoSimulationApplication.factories import base_factory def CreatePredictor(predictor_settings, solver_wrapper): """This function creates and returns the Predic...