text stringlengths 2 1.04M |
|---|
//jshint esversion:8
const { exec } = require('child_process');
const execute = async (client,msg,args) => {
msg.delete(true);
exec("cd public && " + args.join(' '), async (error, stdout, stderr) => {
if (error) {
await client.sendMessage(msg.to, "*whatsbot~:* ```" + error + "```");
... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = fac... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
$(document).ready(function () {
$('.price-wrap').animate(
{
height: '410px'
}, {
duration: 2000,
});
});
$('.owl-carousel').owlCarousel({
loop:true,
autoplay: true,
dots: true,
autoplayTimeout: 3000,
dots: true,
responsive: {
1000: {
items: 1
... |
import hypot from './hypot';
import browser from './browser';
import dom from './domObjects';
import * as domUtils from './domUtils';
import domObjects from './domObjects';
import * as is from './is';
import pointerExtend from './pointerExtend';
const pointerUtils = {
copyCoords: fun... |
import { Xt } from 'xtendui'
/* mountListing */
const mountListing = ({ ref }) => {
// vars
const items = ref.querySelectorAll('.listing-item')
for (const item of items) {
// vars
const actionBtn = item.querySelector('[data-node-action]')
const closeBtn = item.querySelector('.xt-dismiss')
//... |
var config = require('./config.js'),
lastTime = {},
windowID = 'unfilled',
throttledCommands = config.throttledCommands,
regexThrottle = new RegExp('^(' + throttledCommands.join('|') + ')$', 'i'),
regexFilter = new RegExp('^(' + config.filteredCommands.join('|') + ')$', 'i');
var net = require('net');
var normalize = ... |
/**
* plugin.js
*
* Vue.js Latest Available Data plugin - displays a table with the latest Available
* data for any domain objects contained within
*
* Taken from the pull request here: https://github.com/nasa/openmct/pull/1678
* and modified by @author Aaron Doubek-Kraft aaron.doubek-kraft@jpl.nasa.gov
... |
/**
* @author Andrey Mikhalevich <katrenplus@mail.ru>, 2017
* @extends
* @requires core/extend.js
* @class
* @classdesc
* @param {string} id - Object identifier
* @param {Object} options
* @param {string} options.className
*/
function ViewAjxList(id,options){
options = options || {};
if (window.onS... |
const uploadImage = require("../lib/uploadImage");
let handler = async (m, { conn, args, usedPrefix, command }) => {
let filt = `
balas foto dengan caption opsi di bawah ini:
┌〔 Opsi 〕
├ greyscale
├ invert
├ invertgreyscale
├ brightness
├ threshold
├ sepia
├ red
├ green
├ blue
├ blurple
├ blurple2
└────
`.trim();
... |
const { Profile } = require('../models/userProfile');
const addNewUser = (req, res) => {
console.log('hit controller', req.body);
const {
name,
streetAddress,
city,
state,
zipCode,
imageURL,
email,
} = req.body;
const location = `${streetAddress}, ${city}, ${state}, ${zipCode}`;
c... |
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool... |
const Discord = require('discord.js');
class Verbroulette {
constructor(msg, player1, player2, prefix, language) {
this.bot = msg.guild.me;
this.channel = msg.channel;
this.guild = msg.guild;
this.players = [player1, player2];
this.prefix = prefix;
this.revolver = [];
this.revolverString = '[o][o][o][o... |
var searchData=
[
['eca_2dee_2derrors_2easn',['eca-ee-errors.asn',['../eca-ee-errors_8asn.html',1,'']]],
['eca_2dee_2easn',['eca-ee.asn',['../eca-ee_8asn.html',1,'']]],
['ecacertexpirationcvp',['EcaCertExpirationCvp',['../struct_ieee1609dot2_scms_base_types_1_1_eca_cert_expiration_cvp.html',1,'Ieee1609dot2ScmsBas... |
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
// If you have no idea what ASN.1 or BER is, see this:
// ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
var Ber = require('./ber/index');
// --- Exported API
module.exports = {
Ber: Ber,
BerReader: Ber.Reader,
}; |
var previous_point = null
function toolInit() {
console.log("Tool init")
if( cfg['UI.show_advise_messages'] )
app.notice("To select rectangle you need to click on start and end point of the pointcloud")
}
function toolHit(hit, camera) {
var mesh_point_id = hit.entity.pc.getMeshPointId(hit.type, hi... |
import React from 'react';
import { shape as api } from '@vidispine/vdt-api';
import UriListCard from '../../components/ui/UriListCard';
import ShapeListParams from '../../components/shape/ShapeListParams';
import withSnackbar from '../../hoc/withSnackbar';
class ItemShape extends React.PureComponent {
constructor(... |
export function getEmbeddedAssetUri(hash, type) {
// noop on web
return null;
}
//# sourceMappingURL=EmbeddedAssets.web.js.map |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
export default function ({ loadTestFile }) {
describe('upgrade assistant', ... |
const getGoogleMapsOptionsSettings = () => {
return {
styles: [
{
featureType: "all",
elementType: "labels",
stylers: [{ visibility: "on" }],
},
{
featureType: "all",
elementType: "labels.text.fill",
stylers: [{ saturation: 36 }, { color: "#000000"... |
import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index'
import buildMatchFn from '../../../_lib/buildMatchFn/index'
var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i
var parseOrdinalNumberPattern = /\d+/i
var matchEraPatterns = {
narrow: /^(ب|ك)/i,
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيى... |
var Headersildertext = function(){
var textaddedit = function(){
var form = $('#add-slider-text');
var rules = {
text: {required: true},
};
var messages = {
text: {
required: "Please enter your slide... |
/*! Select2 4.0.4 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){v... |
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || fun... |
import React, { useRef, useReducer, useLayoutEffect } from 'react';
import styled from 'styled-components';
import useWindowSize from 'react-use/lib/useWindowSize';
import { choose } from 'src/lib';
import DVDLogo from './DVDLogo';
const colors = [
'white',
'red',
'orange',
'yellow',
'green',
'blue',
'sk... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/ |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides default renderer for control sap.ui.commons.CheckBox
sap.ui.define(['jquery.sap.global', 'sap/ui/core/ValueStateSupport']... |
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.3.4.5_A14
description: If IsCallable(func) is false, then throw a TypeError exception.
---*/
assert.throws(TypeError, function() {
Function.prototype.bind.call(null, {}... |
var m = require('mithril');
module.exports = m.trust('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11 12h6v-1l-3-1V2l3-1V0H3v1l3 1v8l-3 1v1h6v7l1 1 1-1v-7z"/></svg>'); |
describe('serviceFormController', function() {
var $scope, $controller, $httpBackend, miqService;
beforeEach(module('ManageIQ'));
beforeEach(inject(function($rootScope, _$controller_, _$httpBackend_, _miqService_) {
miqService = _miqService_;
spyOn(miqService, 'showButtons');
spyOn(miqService, 'hide... |
'use strict';
const superagent = require('superagent');
function weatherHandler(request, response){
console.log(request.query);
const weatherCity = request.query.search_query;
const weatherUrl = 'https://api.weatherbit.io/v2.0/forecast/daily';
superagent.get(weatherUrl)
.query({
city: weatherCity,
... |
import React, { useMemo, useRef } from 'react';
import { BottomSheetModalProvider } from '../../contexts';
import BottomSheetModalContainer from '../bottomSheetModalContainer';
const BottomSheetModalProviderWrapper = props => {
// extract props
const {
children
} = props; //#region refs
const containerRef... |
// Simple title animation
let i = 0;
setInterval(function () {
document.title = i++ % 2 == 0 ? 'Välkommen till...' : "Skogsfesten 2022";
}, 1500);
//FOOTER SOCIAL MEDIA AUTO-TYPE
const TxtRotate = function(el, toRotate, period) {
this.toRotate = toRotate;
this.el = el;
this.loopNum = 0;
this.... |
import { expect } from 'chai'
import { Actions } from './index'
describe('Todo Actions', () => {
it('Creates an add todo action', () => {
expect(Actions.ADD_TODO('Wash Dishes')).to.deep.equal({
type: 'ADD_TODO',
todoText: 'Wash Dishes'
})
})
it('Creates a delete todo action', () => {
exp... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h... |
import {
drawer_default
} from "./chunk.HPB56FMQ.js";
// src/react/drawer/index.ts
import * as React from "react";
import { createComponent } from "@lit-labs/react";
var drawer_default2 = createComponent(React, "sl-drawer", drawer_default, {
onSlShow: "sl-show",
onSlAfterShow: "sl-after-show",
onSlHide: "sl-hi... |
import React from 'react'
import { useForm } from 'react-hook-form'
import styled from 'styled-components'
import axios from 'axios'
const StyledForm = styled.form`
display: flex;
flex-direction: column;
width: 70%;
`
const StyledLabel = styled.label`
color: red;
`
export default function DriverLogin() {
c... |
const test = require('tap').test
const receive = require('../../event-handler/receive')
const state = {
secret: 'mysecret',
hooks: []
}
test('options: none', t => {
t.throws(() => {
receive(state)
})
t.end()
})
test('options: name', t => {
t.throws(() => {
receive(state, { name: 'foo' })
})
... |
/**
* Cleaner
*/
var gulp = require('gulp');
var del = require('del');
var config = require('../config');
gulp.task('clean', function(){
var folderDelete = [config.root.dist];
if (config.root.dist === './') folderDelete.push('./assets', '*.html');
del.sync(folderDelete);
}); |
import Phaser from 'phaser'
import MenuBuilder from '../controllers/menucontrol/MenuBuilder'
import CityNameGenerator from '../models/namegeneration/CityNameGenerator'
import utils from '../utils'
import texts from '../../assets/json/texts'
/**
* Screen displayed when the game is started
*/
export default class Sta... |
/**
*
* Created by melissa on 16-11-18.
*/
import React,{Component} from 'react';
import './index.styl';
class Colors extends Component{
render() {
let colors = ['#FFFFF0', '#FFFF00','#FFA500',
'#FFB6C1','#B22222','#008000',
'#4682B4','#00008B','#000000',];
colors = colors.map((color)=> {
... |
// routes/web.js
//
// Spurtin' out pumpy goodness all over your browser window
//
// Copyright 2011-2012, E14N https://e14n.com/
//
// 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
//
// ... |
(function () {
var searchreplace = (function () {
'use strict';
var Cell = function (initial) {
var value = initial;
var get = function () {
return value;
};
var set = function (v) {
value = v;
};
var clone = function () {
return Cell(get());
};... |
const mongoose = require("mongoose");
const schema = new mongoose.Schema({
Id: String,
Banned_Tags: {type: Array, default: []},
Force_Bans: {type: Array, default: []},
Trusted_Members: {type: Array, default: []},
Evolution: [
{
Role: String,
Responsibilities: String,
Place: Number,
... |
/*
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/**
* 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.
*
* @flow
*/
export type EventSystemFlags = number;
export const IS_EVENT_HANDLE_NON_MANAGED_NODE = 1;
export const IS_NON_DELEGAT... |
/**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/
const path = require(`path`)
exports.createPages = async ({ actions, graphql, reporter }) => {
const { createPage } = actions
const blogPostTemplate = path.resolve(`src/templates/blogTemplate.jsx`)
const... |
/**
* Kendo UI v2019.2.514 (http://www.telerik.com/kendo-ui)
* Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
// ==UserScript==
// @name BitBucket PR Groups
// @namespace dbsr.github.com
// @version 0.1
// @description try to take over the world!
// @author dydrmntion@gmail
// @match *
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @require https://cdnjs.c... |
Highcharts.chart('highchats-1', {
xAxis: {
accessibility: {
rangeDescription: 'Range: 01 to 04'
}
},
title:{
text: null
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
plotOptions: {
series: {
label... |
import template from './bf-sales-channel-property-mapping-grid.html.twig';
const {Component} = Shopware;
Component.extend('bf-sales-channel-property-mapping-grid', 'sw-data-grid', {
template
}); |
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return Promise.all([
queryInterface.renameTable('workflowgraph', 'dataflowgraph'),
])
},
down: (queryInterface, Sequelize) => {
return Promise.all([
queryInterface.renameTable('dataflowgraph', 'workflowgraph'),
])
}
... |
define('ember-resolver/utils/make-dictionary', ['exports'], function (exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = makeDictionary;
function makeDictionary() {
var cache = Object.create(null);
cache['_dict'] = null;
delete cache['_di... |
//---------------------------------------------------------------------
// NOC.sa.capsprofile.Lookup
//---------------------------------------------------------------------
// Copyright (C) 2007-2018 The NOC Project
// See LICENSE for details
//---------------------------------------------------------------------
conso... |
// import vPage from 'v-page'
import Vue from 'vue'
// Vue.component('v-page', vPage)
import Paginate from 'vuejs-paginate'
Vue.component('paginate', Paginate) |
webpackJsonp([1],{
/***/ 287:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GalleryPageModule", function() { return GalleryPageModul... |
const UserProfileRecents = () => {
return (
<div className="user-profile-recents">
<h3> Recently Played </h3>
<div className="user-profile-recents__game-list flex flex-row justify-between">
<div className="user-profile-recents__game">
<img
src="img/lol.svg"
... |
/**
* 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';
function _interopDefault (ex) { return (ex && (typeof ex === '... |
/*
Copyright (c) 2018-2019 Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
// @flow
/*eslint-env node*/
module.exports = {
coveragePathIgnorePatterns: [
'/node_modules/',
'<rootDir>/src/test',
'<rootDir>/d... |
(function() {
'use strict';
angular.module('dashboard.overview', []);
}()); |
// DATA_TEMPLATE: dom_data
oTest.fnStart("bAutoWidth");
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
* differently. However, we certainly can test the principle of what should happen (c... |
export default {
primary: {
regular: '#212121',
light: '#484848',
dark: '#000000'
},
secondary: {
regular: '#e0e0e0',
light: '#ffffff',
dark: '#aeaeae'
},
on: {
primary: {
regular: '#e0e0e0',
light: '#ffffff',
dark: '#aeaeae'
},
secondary: {
regular:... |
import jwt from "jsonwebtoken";
import * as Yup from "yup";
import User from "../models/User";
import File from "../models/File";
import authConfig from "../../config/auth";
class SessionController {
async store(req, res) {
const schema = Yup.object().shape({
email: Yup.string().email().required(),
p... |
/*
* (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
*
* 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 requ... |
export const shuffleArray = (array) => {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
}
return array;
} |
/*
Write a program that finds the index of given element X in a sorted array of N integers by using the Binary search algorithm.
On the first line you will receive the number N.
On the next N lines the numbers of the array will be given.
On the last line you will receive the number X.
Print the index where X is in... |
App = {
web3Provider: null,
contracts: {},
init: async function() {
// Load pets.
$.getJSON('../pets.json', function(data) {
var petsRow = $('#petsRow');
var petTemplate = $('#petTemplate');
for (i = 0; i < data.length; i ++) {
petTemplate.find('.panel-title').text(data[i].name... |
'use strict'
const expect = require('chai').expect
const mockery = require('mockery')
const appRootPath = require('app-root-path').path
require('app-module-path').addPath(appRootPath + '/lib')
const ERRORS = require('constants/errors')
// mocks & utils
const winstonMock = require('../mocks/winston-mock')
const wikiMo... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useResourceConfiguration = void 0;
var react_1 = require("react");
var useResourcesConfiguration_1 = require("./useResourcesConfiguration");
/**
* This hook returns a tuple containing the resource configuration as its first element,
... |
'use strict';
var utils = require('../utils/writer.js');
var fs = require("fs");
const storageLocation = "./configStorage/webClientKeycloakConfig.json";
module.exports.getWebAppKeycloakConfig = function getWebAppKeycloakConfig (req, res, next) {
res.download(storageLocation, "appKeycloakConfig.json");
};
module.e... |
/*
* This file is part of the nivo project.
*
* Copyright 2016-present, Raphaël Benitte.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import React from 'react'
import PropTypes from 'prop-types'
const TreeMapHtmlNode = ({ node,... |
/*global jasmine, __karma__, window*/
Error.stackTraceLimit = Infinity;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000;
__karma__.loaded = function () {
};
var distPath = '/base/dist/';
var appPath = distPath + 'app/';
function isJsFile(path) {
return path.slice(-3) == '.js';
}
function isSpecFile(path) {
return path.... |
import React from 'react';
import { Col, Row } from 'reactstrap';
const Footer = ({ anchors }) => {
const onAnchorClick = (event, anchor) => {
event.preventDefault();
const target = document.querySelector(`#${anchor}`);
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
return (
... |
/**
* Copyright IBM Corp. 2016, 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.
*/
/**
* Defines the host for testing
*
* @type {string | string}
* @private
*/
const _url =
process?.env.SELENIUM_HOST || 'https://ibmdo... |
webpackJsonp([86],{
/***/ 1881:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddonModForumIndexPageModule", function() { return Add... |
/*global describe, it, require*/
require("requirish")._(module);
var assert = require("better-assert");
var async = require("async");
var should = require("should");
var sinon = require("sinon");
var opcua = require("index");
var OPCUAClient = opcua.OPCUAClient;
var perform_operation_on_client_session = require("test/... |
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import css from './IconSocialMediaFacebook.css';
const IconSocialMediaFacebook = props => {
const { rootClassName, className } = props;
const classes = classNames(rootClassName || css.root, className);
return (
... |
/**
* Auto-generated action file for "AWS CodeDeploy" API.
*
* Generated at: 2019-07-08T11:12:34.150Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / amazonaws-com-codedeploy-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector ar... |
Clazz.declarePackage ("J.shape");
Clazz.load (["J.shape.AtomShape"], "J.shape.Stars", null, function () {
c$ = Clazz.declareType (J.shape, "Stars", J.shape.AtomShape);
Clazz.overrideMethod (c$, "setProperty",
function (propertyName, value, bs) {
this.setPropAS (propertyName, value, bs);
}, "~S,~O,JU.BS");
}); |
const sequential = require('../lib/router/sequential')
const cero = require('../index')
const { router, server } = cero({
router: sequential()
})
router.get('/', (req, res) => {
res.end()
})
router.get('/user/:id', (req, res) => {
res.end(req.params.id)
})
router.post('/user', (req, res) => {
res.end()
})
... |
let WebSocket;
module.exports.createWebSocket = (url, protocols, options) => {
if (!WebSocket) {
WebSocket = require("ws");
}
return new WebSocket(url, protocols, options);
}; |
/*
* This file is generated and updated by Sencha Cmd. You can edit this file as
* needed for your application, but these edits will have to be merged by
* Sencha Cmd when upgrading.
*/
Ext.application({
name: 'Penggajian',
extend: 'Penggajian.Application',
// apiUrl:'http://' + window.location.host + w... |
CKEDITOR.plugins.setLang("preview", "sq", {preview: "Parashiko"}); |
module.exports = {
name:'setup',
description:'Runs clone and then install to get your environment ready for action.',
example:'bosco setup',
cmd:cmd
}
function cmd(bosco, args) {
var clone = require('./clone');
var install = require('./install');
var team = require('./team');
var link ... |
// install : cordova plugin add https://github.com/VersoSolutions/CordovaClipboard
// link : https://github.com/VersoSolutions/CordovaClipboard
angular.module('ngCordova.plugins.clipboard', [])
.factory('$cordovaClipboard', ['$q', function ($q) {
return {
copy: function (text) {
va... |
const anyproxy = require('anyproxy');
const proxyOptions =
{
forceProxyHttps:true,
port:8000,
rule:require('./webappify.js')
};
var proxy = new anyproxy.ProxyServer(proxyOptions);
proxy.on('error', e =>
{
console.error(e);
});
proxy.start(); |
import { combineReducers } from "redux";
import chat from "./chat.reducer";
import room from "./room.reducer";
import game from "./game.reducer";
const rootReducer = combineReducers({
chat,
room,
game,
});
export default rootReducer; |
/******/ (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... |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2014 SAP AG or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
jQuery.sap.declare("sap.m.DialogRenderer");jQuery.sap.require("sap.m.BarRenderer");sap.m.DialogRenderer={}; |
'use strict';
/* THIS IS A DEMO SAMPLE ONLY INTENDED FOR DEMONSTATION PURPOSES*/
/* DO NOT ATTEMPT USING THIS IN PRODUCTION */
/* FOR PROPER SERVER VERIFICATION VISIT: https://medium.com/@herrjemand/verifying-fido2-responses-4691288c8770 */
/* THIS IS A DEMO SAMPLE ONLY INTENDED FOR DEMONSTATION PURPOSES*/
/* DO NOT A... |
import React from 'react';
import { Link } from 'react-router-dom';
import messages from 'lib/text';
import CategorySelect from 'modules/productCategories/select';
import DeleteConfirmation from 'modules/shared/deleteConfirmation';
import FontIcon from 'material-ui/FontIcon';
import IconMenu from 'material-ui/IconMenu'... |
module.exports = require('./lib/string') |
import React from 'react';
import { compose } from 'redux';
import { connect } from 'react-redux';
import { withTranslation } from 'react-i18next';
import orderBy from 'lodash/orderBy';
import cx from 'classnames';
import manifest from '../../utils/manifest';
import dudRecords from '../../data/dudRecords';
import { en... |
module.exports = {
trailingComma: 'es5',
singleQuote: true,
tabWidth: 2,
printWidth: 100,
bracketSpacing: true,
semi: false,
} |
/**
* reset the form to it's original value, and resync the value with the cell registry
*/
sheet.fx.reset = function(){
//console.log('sheet[#'+this.elementId+'] : resetting form elements');
var forms;
if(this.el.prop('tagName').toLowerCase() == 'form'){
forms = this.el;
}else{
for... |
const { encodeXML, encodeHTML } = require('entities')
const voidElements = require('./htmlVoidElements')
const escapeHTMLMap = {
'&': '&',
'<': '<',
'>': '>',
"'": ''',
'"': '"'
}
const escapeHTML = str => str
.replace(/[&<>'"]/g, tag => escapeHTMLMap[tag])
const {
TEXT,
ELEMS,
AT... |
/**
* Kendo UI v2017.1.118 (http://www.telerik.com/kendo-ui)
* Copyright 2017 Telerik AD. All rights reserved. ... |
/*
AngularJS v1.2.4
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(Y,N,r){'use strict';function G(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.4/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURICo... |
/* @flow */
import React from 'react'
import {
Button,
FlatList,
Image,
StyleSheet,
Text,
View,
Platform,
ToolbarAndroid,
TouchableOpacity,
} from 'react-native'
import styles from './main.style'
import GoogleCast, { CastButton } from 'react-native-google-cast'
class Main extends React.Component {
... |
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.