text stringlengths 2 1.04M |
|---|
var searchData=
[
['panic',['Panic',['../namespacelogging.html#a761a90e9584fe62f65576bc5c0ea8b97ad4dbdf6f8e0aa2f9cb0e0efa247d4762',1,'logging']]],
['port1',['PORT1',['../ps2__controller_8hpp.html#ae3cded804eb4bf2887474ca709bc2b84ac455d7a285f95e8dd4ea3327006d91b7',1,'ps2_controller.hpp']]],
['port2',['PORT2',['../... |
const data = [
{
content: "在github上获得了第一个star,感恩一位名叫Bequiet2014的github用户",
timestamp: "2020-03-23",
},
{
content: "增加更换主题功能",
timestamp: "2020-04-10",
},
{
content: "大幅精简代码",
timestamp: "2020-04-14",
},
{
content: "修复群友反馈的bug",
timestamp: "2020-04-16",
},
{
content:... |
const db = require('../models/model.js');
const feedController = {};
// feedController.getUsers = (req, res, next) => {
// const getQuery = 'SELECT * FROM user_info';
// db.query(getQuery)
// .then((users) => {
// res.locals.users = users.rows;
// return next();
// })
// .catch((err) => ne... |
import React from 'react';
import PropTypes from 'prop-types';
const Maximize = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWid... |
suite('Layer', function() {
// ======================================================
test('test canvas inline styles', function() {
var stage = addStage();
var layer = new Konva.Layer();
var circle = new Konva.Circle({
x: 100,
y: stage.getHeight() / 2,
radius: 70,
fill: 'green... |
import Page from 'containers/admin/AdminCandidateUpdatesPage';
export default function Admin() {
return <Page />;
} |
export default class PymLoader {
constructor() {
this.addPym();
}
addPym = () => {
(function (d, s) {
let a = d.getElementsByTagName("head")[0];
let r = d.createElement("script");
r.async = 1;
r.src = s;
r.onload = function () {
window.pymChild = new pym.Child();
... |
const path = require('path');
const rimraf = require('rimraf');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const autoprefixe... |
// 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 iterateArray() {
var array = new Array();
var it = array.entries();
it.next();
}
function iterateTyped... |
import { Dimensions } from 'react-native';
const width = Dimensions.get('window').width;
const height = Dimensions.get('window').height;
export default {
window: {
width,
height,
},
isSmallDevice: width < 375,
};
export const MAX_WIDTH = 500
export const POSTS_LIST_PADDING = 20 |
import { resolve } from 'path';
import express from 'express';
import logger from 'morgan';
import routes from '../routes';
import errorHandler from '../middlewares/error-handler';
import webpackBuilder from '../middlewares/webpack-builder';
const app = express();
export default function () {
app.set('view engine... |
import { r as registerInstance, f as getIonMode, d as createEvent, h, c as getElement, H as Host } from './chunk-91927964.js';
import { p as present, d as dismiss, e as eventMethod, s as safeCall } from './chunk-f3bc287c.js';
import { g as getClassMap } from './chunk-20d65ce5.js';
/**
* iOS Picker Enter Animation
*/... |
/* eslint-disable global-require */
import React from 'react';
import {
View,
Animated,
Easing,
StyleSheet,
Switch,
Image,
Text,
TouchableOpacity,
} from 'react-native';
import LottieView from 'lottie-react-native';
import Slider from '@react-native-community/slider';
import ExamplePicker from './Exampl... |
// For info about this file refer to webpack and webpack-hot-middleware documentation
// For info on how we're generating bundles with hashed filenames for cache busting: https://medium.com/@okonetchnikov/long-term-caching-of-static-assets-with-webpack-1ecb139adb95#.w99i89nsz
import webpack from 'webpack';
import Webpa... |
class Menu {
static init() {
this.tippyInstances = [];
Loader.mapModelLoaded.then(this.activateHandlers.bind(this));
}
static reorderMenu(menu) {
$(menu).children().sort(function (a, b) {
return a.textContent.toLowerCase().localeCompare(b.textContent.toLowerCase());
}).appendTo(menu);
... |
/**
* 通用js方法封装处理
* Copyright (c) 2019 rong
*/
const baseURL = process.env.VUE_APP_BASE_API
// 日期格式化
export function parseTime(time, pattern) {
if (arguments.length === 0 || !time) {
return null
}
const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}'
let date
if (typeof time === 'object') {
date = time
} el... |
import React from 'react'
import ReactDOMServer from 'react-dom/server'
import BlockContent from '@sanity/block-content-to-react'
import PropTypes from 'prop-types'
import Image from './Image'
import './Content.css'
const encodeMarkdownURIs = (source = '') => {
const markdownLinkRegex = /\[(.+)\]\((.+)(".+)\)/g
c... |
import CollectionNode from '../nodes/collectionNode.js';
import FieldNode from '../nodes/fieldNode.js';
import ReducerNode from '../nodes/reducerNode.js';
import dotize from './dotize.js';
import createReducers from '../reducers/lib/createReducers';
export const specialFields = [
'$filters',
'$options',
'$... |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... |
/****************************************************************************
Copyright (c) 2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwi... |
/*
* These are the default resources and filters.
* They contain minimum filters for public accessibility of resources.
*/
module.exports = [
{
type: 'posts',
modelOptions: {
modelName: 'Post',
filter: 'visibility:public+status:published+page:false',
exclude: ... |
import React from 'react'
import { Button, Card, Divider } from 'antd'
import styled from 'styled-components'
import 'antd/dist/antd.css'
const CardImage = styled.img`
width: 110px;
height: 100px;
object-fit: cover;
border-radius: 15px;
`
const BaseCard = styled(Card)`
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @constructor
* @extends {WebInspector.VBox}
*/
WebInspector.DeviceModeView = function()
{
WebInspector.VBox.call(this, true);
this.setMin... |
/*
* angular-ui-bootstrap
* http://angular-ui.github.io/bootstrap/
* Version: 2.5.0 - 2017-01-28
* License: MIT
*/angular.module("ui.bootstrap", ["ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","... |
import Vue from "vue";
import { getDefaultLocale } from "@mr-hope/vuepress-shared";
import { navigate } from "@theme/utils/navigate";
export default Vue.extend({
name: "ArticleType",
computed: {
types() {
const blogI18n = this.$themeLocaleConfig.blog || getDefaultLocale().blog;
r... |
function addTransactionService(){
var temporary = localStorage.getItem('transactioncountservice');
temporary++;
localStorage.setItem('transactioncountservice', temporary);
alert("Added 1 to service transaction count");
}
function addTransactionProduct(){
var temporary = localStorage.getItem... |
"use strict";
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* -----------------------... |
require('dotenv').load()
var express = require('express');
var http = require('http');
var logger = require('morgan');
var bcrypt = require('bcrypt');
var TweetStream = require('./models/tweet');
var User = require('./models/user');
var usersController = require('./controller/usersC... |
import { parseCorsOrigins } from '../cors'
describe('cors', () => {
it('parses string origins', () => {
const parsedOrigins = parseCorsOrigins('example.com,something.com')
expect(parsedOrigins).toEqual(['example.com', 'something.com'])
})
it('parses regex origins', () => {
const parsedOrigins = pars... |
// These aren't the droids you are looking for... |
'use strict';
var _ = require('lodash')
, mapObject = _.compose(_.object, _.map);
module.exports = function(env, opts) {
var assets = mapObject(opts || {}, function(opt, key) {
opt = env.toLowerCase() === 'production'
? opt.replace(/(\..+)$/, function(m, ext) { return '.min' + ext; })
: opt;
... |
define((require, exports, module) => true); |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
ScrollView, View, StyleSheet, RefreshControl,
} from 'react-native';
import { connect } from 'react-redux';
import _ from 'lodash';
import { MaterialHeaderButtons, Text, Item } from '../common';
import {
NAVIGATION_HOME_PRODUCT_P... |
export default [
{
name: 'active',
def: 'false',
type: 'boolean',
desc: 'Active state of the toggle button, effective only if the <code>toggle</code> property is set',
},
{
name: 'class',
def: "''",
type: 'string',
desc: 'Custom global CSS class name',
},
{
name: 'color',
def: 'null',
type: '... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/ |
'use strict';
/*
* Defining the Package
*/
var Module = require('meanio').Module;
var Conference = new Module('mean-hangouts');
/*
* All MEAN packages require registration
* Dependency injection is used to define required modules
*/
Conference.register(function(app, auth, database) {
//We enable routing. B... |
import { combineReducers } from 'redux';
import codeReducer from './code';
import trackReducer from './track';
export default combineReducers({
codeReducer,
trackReducer,
}); |
/**
* @license Copyright 2020 The Lighthouse Authors. 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 applica... |
//# sourceMappingURL=5.b9dd996a.chunk.js.map |
import React from 'react'
import PropTypes from 'prop-types'
import { HolderTextProvider } from './HolderTextProvider'
const HolderIconProvider = (props) => {
const { iconChar, children, ...otherProps } = props
return (
<HolderTextProvider font='FontAwesome' text={iconChar} {...otherProps}>
{children}
... |
import auth from './auth';
import config from './config';
import integrations, * as fromIntegrations from './integrations';
import entries, * as fromEntries from './entries';
import cursors from './cursors';
import editorialWorkflow, * as fromEditorialWorkflow from './editorialWorkflow';
import entryDraft from './entry... |
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
exports.deactivate = exports.activate = void 0;
const vscode_1 = require("vscode");
const SharedLinkProvider_1 = require("./providers/SharedLinkProvider");
const lodash_1 = require("lodash");
const util = require("./util");
let providers = [];... |
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/
/*!
* vue-router v3.5.1
* (c) 2021 Evan You
* @license MIT
//# sourceMappingURL=chunk-vendors.aa4d9fa6.js.map |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va... |
const register = require('./register');
const coreHelpers = require('../../../helpers');
const registerThemeHelper = register.registerThemeHelper;
const registerAsyncThemeHelper = register.registerAsyncThemeHelper;
let registerAllCoreHelpers;
registerAllCoreHelpers = function registerAllCoreHelpers() {
// Registe... |
define({"topics" : [{"title":"Example","href":"datacollector\/UserGuide\/Processors\/SQLParser.html#concept_bnv_cm2_wdb","attributes": {"data-id":"concept_bnv_cm2_wdb",},"menu": {"hasChildren":false,},"tocID":"concept_bnv_cm2_wdb-d46e106649","topics":[]}]}); |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.schema = undefined;
var _slicedToArray2 = require('babel-runtime/helpers/slicedToArray');
var _slicedToArray3 = _interopRequireDefault(_slicedToArray2);
var _ast = require('../util/ast');
function _interopRequireDefault(obj) { r... |
import tests from "./index.js";
tests.test({
xml: "<xmlns/>",
expect: [
[
"opentagstart",
{
name: "xmlns",
attributes: {},
ns: {},
},
],
[
"opentag",
{
name: "xmlns",
uri: "",
prefix: "",
local: "xmlns",
attri... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.convertIfDate = convertIfDate;
var _const = require("../../core/prelude/date/const");
/*!
* V4Fire Core
* https://github.com/V4Fire/Core
*
* Released under the MIT license
* https://github.com/V4Fire/Core/blob/master/LICENSE
... |
const path = require('path');
module.exports = {
mode: process.env.NODE_ENV,
entry: './src/client/index.jsx',
output: {
path: path.resolve(__dirname, 'build'),
filename: '[name].bundle.js',
publicPath: '/build/',
},
devServer: {
publicPath: '/build/',
hot: true,
open: true,
proxy:... |
function lastSequence(n, k) {
let result = [1];
for(let i = 1; i < n; i++) {
let elements = result.slice(-k);
let current = 0;
for(let j = 0; j < elements.length; j++) {
current += elements[j];
}
result.push(current);
}
console.log(result.join(... |
// ==UserScript==
// @name WaniKani Kanjidamage Mnemonics
// @namespace https://greasyfork.org/users/649
// @version 2.0.6
// @description Includes Kanjidamage Mnemonics in WaniKani
// @author Adrien Pyke
// @match *://www.wanikani.com/kanji/*
// @match *://www.wanikani.com/level/*/... |
const Osaka = {
city:"Osaka",
province:"Osaka",
country:"Japan",
statusOfWomen:"shy, humurous and beautiful",
climate:"humid and subtropical",
cuisine:"world class",
haveSubway:true,
imageLeft:"<img src='./images/Nakanoshima_Skyscrapers.jpg' />",
imageCenter:"<img src='./images/Osaka... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
/**
* Assessment Schema
*/
var AssessmentSchema = new Schema({
name: {
type: String,
default: '',
required: 'Please fill Assessment name',
trim: true
},
created: {
type: Date,
... |
$(document).ready(function(){
$("#calculate-final-ranking").click(function () {
alert("clicked")
});
}) |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
/* global hljs, $ */
// initialize highlight.js for JavaScript code highlighting
hljs.initHighlightingOnLoad()
$(() => {
// initialize Bootstrap popovers
$('[data-toggle="popover"]').popover()
// begin: draw dots on canvas on mouse click ---
let canvas = document.getElementById('action-canvas')
let contex... |
// Umbraco SpeechBubble Javascript
// Dependency Loader Constructor
function UmbracoSpeechBubble(id) {
this.id = id;
this.ie = document.all ? true : false;
this.GenerateSpeechBubble();
}
UmbracoSpeechBubble.prototype.GenerateSpeechBubble = function () {
var sbHtml = document.getElementById(this.id)... |
var test = require('tap').test
var LRU = require('../')
test('forEach', function (t) {
var l = new LRU(5)
for (var i = 0; i < 10; i ++) {
l.set(i.toString(), i.toString(2))
}
var i = 9
l.forEach(function (val, key, cache) {
t.equal(cache, l)
t.equal(key, i.toString())
t.equal(val, i.toString... |
// modules are defined as an array
// [ module function, map of requireuires ]
//
// map of requireuires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the requireuire for previous bundles
(function outer (modules, cache, entry) {
//... |
/**
* waterlock-google-auth
* Copyright(c) 2014 David Rivera <david.r.rivera193@gmail.com>
* MIT Licensed
*/
module.exports = require('./lib'); |
/**
* Created by XUPQ on 2017/1/22.
*/
// Array.from()
// Array.of()
// 数组实例的copyWithin()
// 数组实例的find()和findIndex()
// 数组实例的fill()
// 数组实例的entries(),keys()和values()
// 数组实例的includes()
// 数组的空位 |
var SnapkiteStreamClient = require('snapkite-stream-client');
var TweetActionCreators = require('../actions/TweetActionCreators');
function initializeStreamOfTweets() {
SnapkiteStreamClient.initializeStream(TweetActionCreators.receiveTweet);
}
module.exports = {
initializeStreamOfTweets: initializeStreamOfTweets
... |
import Vue from 'vue'
import * as VueGoogleMaps from 'vue2-google-maps'
Vue.use(VueGoogleMaps, {
load: {
// key: process.env.GOOGLE_MAPS_API_KEY,
key: 'AIzaSyCbJ9q4wE-kF96sFcMKiYPmBfiGw_MpvuY',
libraries: 'places,drawing,visualization',
// libraries: 'places', // This is required if you use the Autoc... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Assistant Treasurer", "CONTRIBUTION AMOUNT (F3L Bundled)": "33.23", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Liberty Mutual", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "100 Liberty Way", "CONTRIBUTOR MIDDLE NAME": "P", "DONOR CANDIDATE FEC ID": ""... |
$('#html1').jstree({
"core" : {
"check_callback" : true,
"themes" : { "stripes" : true },
'data' : {
'url' : '/tree',
'dataType': 'json',
'data' : function (node) {
return { 'id' : node.id };
}
}
},
"plugins" : ['contextmenu'],
"contextmenu": {
... |
//imports
import { API_URL, FB_APP_ID } from "../../constants";
import { AsyncStorage } from "react-native";
import * as Facebook from "expo-facebook";
//actions
const LOGIN = "LOG_IN";
const LOGOUT = "LOG_OUT";
const SET_USER = "SET_USER";
const SET_NOTIFICATION = "SET_NOTIFICATION";
//action creators
function log... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/ |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... |
export default (m: number): Date =>
new Date(new Date().setMonth(new Date().getMonth() + m)); |
import {
types,
fuels,
designations,
} from "../components/Details/SystemDescriptions";
import {
bypassApproachCodes,
substituteDataApproachCodes,
parameterCodes,
methodCodes,
} from "../components/datatablesContainer/DataTableMethod/MethodModalData";
import {
componentTypes,
acqMethodCode,
basisCo... |
export { default } from './PanelBox'; |
module.exports = {
book: {
assets: "./assets",
js: ["plugin.js"]
}
}; |
let inputCity = document.getElementById('city');
let tableBody = document.getElementById('table-body-content');
const search = document.getElementById('search');
const apiKey = 'd8273ff3fb899f65070a8154465cb75d'
//Initial request
search.addEventListener('click',(event) => {
inputCity = document.getElementById('city'... |
import styled from 'styled-components';
import { darken } from 'polished';
import { Link, NavLink } from 'react-router-dom';
export const Header = styled.header`
background: ${props => props.theme.light};
border: 1px solid ${props => props.theme.border};
padding: 0 30px;
height: 64px;
display: flex;
align-... |
/**
* Created by charlie on 10/11/15.
*/
var bitlyLinks = {
"status_code": 200,
"data": {
"link_history": [{
"keyword_link": "http://bit.ly/bootstrap-basics-01-sm",
"archived": false,
"user_ts": 1444163942,
"title": "BootstrapBasics01Small.png (307×261... |
// Overide these functions for custom pass/fail behaviours
Smoke.passed = function(mock){
Smoke.passCount++;
};
Smoke.failed = function(mock, message){
Smoke.failCount++;
throw(message);
};
// Some helpers
Smoke.reset = function(){
Smoke.mocks = [];
Smoke.passCount = 0;
Smoke.failCount = 0;
};
Smoke.reset();
S... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var express_1 = __importDefault(require("express"));
var app = express_1.default();
app.use(express_1.de... |
import React from "react";
import { FormattedMessage } from "react-intl";
import { Row } from "react-bootstrap";
import { Link } from "react-router-dom";
import { Field } from "redux-form";
import {
AVAILABLE_EXPORT_FORMATS,
OMIT_FROM_FORMAT_OPTIONS,
getFormatCheckboxes,
renderCheckboxes
} from "./utils";
con... |
import React from 'react';
export default ({ config, changeTheme, selectedId }) => {
const { id, label, options } = config;
return (
<div className="themeSwitchBlock">
<h4>
{label}
</h4>
<div className="themeSwitchBtnWrapper">
{options.map(option => {
const { themeNa... |
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "en-CK",
identity: {
language: "en",
territory: "CK"
},
territory: "CK",
numbers: {
symbols: {
decimal: ".",
group: ",",
list: ";",
percentSign: "%",
... |
/*
* Kendo UI Complete v2012.1.515 (http://kendoui.com)
* Copyright 2012 Telerik AD. All rights reserved.
*
* Kendo UI Complete commercial licenses may be obtained at http://kendoui.com/complete-license
* If you do not own a commercial license, this file shall be governed by the trial license terms.
*/
(function(a,b){... |
import React, { Component } from 'react';
import algoliasearch from 'algoliasearch/lite';
import {
InstantSearch,
Hits,
SearchBox,
Pagination,
Highlight,
Stats,
PoweredBy,
SortBy,
} from 'react-instantsearch-dom';
import PropTypes from 'prop-types';
import './App.css';
const searchClient = algoliasearc... |
import * as uploadController from '../controllers/upload';
export async function upload(request, response) {
await uploadController.upload(request, response);
} |
// results.js - programmatic handling of plugin results
'use strict';
var config = require('./config');
var util = require('util');
// see docs in docs/Results.md
var append_lists = ['msg','pass','fail','skip','err'];
var overwrite_lists = ['hide','order'];
var log_opts = ['emit','human','human_html'];
var all_o... |
'use strict';
// STEP 1
// This is a standard function expression. You may also be familiar with function declarations, which begin with the "function" keyword.
const theOldWay = function(course) {
return `I am currently enrolled in ${course}`;
};
// TODO: Uncomment the following line of code to see the output in t... |
var SlackApiExplorer = {};
$(document).ready(function() {
SlackApiExplorer.message = function(text) {
$('#messages').fadeOut('slow', function() {
$('#messages').fadeIn('slow').html(text)
});
};
SlackApiExplorer.error = function(xhr) {
try {
var message;
if (xhr.responseText) {
... |
export function jena_fibonaci(n) {
var serye = [];
for (var i = 0; i < n; i++) {
if (i == 0)
serye.push(1);
else if (i == 1)
serye.push(1);
else
serye.push(serye[i - 2] + serye[i - 1]);
}
return serye;
}
//# sourceMappingURL=matike.js.map |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The production x -= y is the same as x = x - y
*
* @path ch11/11.13/11.13.2/S11.13.2_A4.5_T2.3.js
* @description Type(x) is different from Type(y) and both types vary between Nu... |
const { prettierConfig } = require('poetic');
module.exports = {
...prettierConfig,
// Add custom rules here
tabWidth: 4,
printWidth: 100,
}; |
/*
* @flow strict
* Copyright (C) 2019 MetaBrainz Foundation
*
* This file is part of MusicBrainz, the open internet music database,
* and is licensed under the GPL version 2, or (at your option) any
* later version: http://www.gnu.org/licenses/gpl-2.0.txt
*/
import * as React from 'react';
import addIconUrl f... |
import React, { Component } from 'react';
import { Redirect } from 'react-router-dom';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import axios from 'axios';
import config from 'Config';
import { setWallet, errorAlert, setOrder } from 'Actions/index.js';
import { bindCrispEmail }... |
#!/usr/bin/env node
'use strict';
const {argv} = require('yargs').options({
faviconPath: {
describe:
'The path to the favicon file to use in the static site. If no path is specified, the http://keepachangelog.com favicon will be used as a fallback.',
},
markdownChangelogPath: {
default: 'CHANGELOG.... |
import * as React from 'react';
import wrapIcon from '../utils/wrapIcon';
const rawSvg = (iconProps) => {
const { className, primaryFill } = iconProps;
return React.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", className: className },
React.crea... |
// mostrar y ocultar enlaces
$(document).ready(function(){
$(".ilustraciones").hide();
$(".videos").hide();
$(".contVMas").hide();
$('.enlaces').click(function(){
var valor = $(this).attr('data-nombre');
if(valor == 'todos'){
$('.filtro').show('1000');
}else{
... |
// inventory, path, realpath, root, and parent
//
// node.root is a reference to the root module in the tree (ie, typically the
// cwd project folder)
//
// node.location is the /-delimited path from the root module to the node. In
// the case of link targets that may be outside of the root's package tree,
// this can... |
const util = require('../util')
const jsesc = require('jsesc')
const toDart = curlCommand => {
const r = util.parseCurlCommand(curlCommand)
let s = ''
if (r.auth || r.isDataBinary) s += "import 'dart:convert';\n"
s +=
"import 'package:http/http.dart' as http;\n" +
'\n' +
'void main() async {\n'
... |
import React from 'react'
import { render } from 'react-testing-library'
import { IntlProvider } from 'react-intl'
import { BrowserRouter } from 'react-router-dom'
import SkillNetwork from '../index'
import { DEFAULT_LOCALE } from '../../../../i18n'
const initialProps = {
graphData: { nodes: '' },
deleteNode: jest.... |
<<<<<<< HEAD
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
=======
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
>>>>>>> 89f18ea84... |
import config from 'config';
// import { authHeader } from '../_helpers';
export const newProjectService = {
getAll,
getById,
createProject,
update,
delete: _delete
};
function getAll() {
const requestOptions = {
method: 'GET',
// headers: authHeader()
};
return fetch(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.