repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
PiotrDabkowski/Js2Py
tests/test_cases/language/keywords/S7.6.1.1_A1.13.js
299
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The "in" token can not be used as identifier es5id: 7.6.1.1_A1.13 description: Checking if execution of "in=1" fails negative: SyntaxError ---*/ in = 1;
mit
eric-seekas/jquery-builder
dist/1.8.3/jquery-ajax-dimensions-effects.js
217443
/*! * jQuery JavaScript Library v1.8.3 -ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Feb 07...
mit
xtrasmal/adaptive-speech
demo/js/controllers/todoCtrl.js
5691
/*global todomvc */ (function () { 'use strict'; /** * The main controller for the app. The controller: * - retrieves and persists the model via the todoStorage service * - exposes the model to the template and provides event handlers */ todomvc.controller('TodoCtrl', function TodoCtrl($scope, $location, todoStora...
mit
Keno/TexExtensions.jl
LICENSE.md
1167
The TexExtensions.jl package is licensed under the MIT Expat License: > Copyright (c) 2013: Keno Fischer. > > 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 > w...
mit
aspose-words/Aspose.Words-for-Java
Plugins/Aspose_Words_Java_for_Docx4j/src/main/java/com/aspose/words/examples/featurescomparison/documents/comments/Docx4jCommentsSample.java
4780
/* * Copyright 2007-2008, Plutext Pty Ltd. * * This file is part of docx4j. docx4j is 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/...
mit
plajjan/vrnetlab
nxos/README.md
1181
vrnetlab / Cisco Nexus NXOS =========================== This is the vrnetlab docker image for Cisco Nexus NXOS Titanium emulator. Building the docker image ------------------------- Titanium doesn't appear to be exactly official but you can get it from the Internet. VIRL is said to include it, so you may have luck in ...
mit
andycmaj/cake
src/Cake.Common/Tools/MSBuild/MSBuildSettings.cs
3061
using System; using System.Collections.Generic; using Cake.Core.Diagnostics; using Cake.Core.Tooling; namespace Cake.Common.Tools.MSBuild { /// <summary> /// Contains settings used by <see cref="MSBuildRunner"/>. /// </summary> public sealed class MSBuildSettings : ToolSettings { private r...
mit
six519/disclose.ph
gulp/git.js
318
'use strict'; var gulp = require('gulp'); var shell = require('gulp-shell'); module.exports = function () { gulp.task('git-add', function () { return gulp.src('*.js', { read: false }).pipe(shell(['git ls-files --others docroot/sites/all | egrep \'.css|.js|.png|.map\' | xargs git add -f'])); }); };
mit
prat0318/dbms
mini_dbms/je-5.0.103/src/com/sleepycat/persist/evolve/Converter.java
3660
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002, 2014 Oracle and/or its affiliates. All rights reserved. * */ package com.sleepycat.persist.evolve; import java.lang.reflect.Method; import com.sleepycat.compat.DbCompat; /** * A mutation for converting an old version of an obj...
mit
blyk/BlackCode-Fuse
Welcome/.build/Simulator/Android/include/Fuse.Scripting.NativePromise-2.PromiseClosure.h
2442
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Scripting\0.19.3\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Object.h> namespace g{namespace Fuse{namespace Scripting{struct Context;}}} namespace g{namespace Fuse{namespace Scripting{struct F...
mit
kakra/rack-offline
lib/rack/offline/config.rb
490
module Rack class Offline class Config def initialize(root, &block) @cache = [] @network = [] @fallback = {} @root = root instance_eval(&block) if block_given? end def cache(*names) @cache.concat(names) end def network(*names) ...
mit
plumer/codana
tomcat_files/8.0.22/Introspection.java
6566
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
mit
ryfeus/lambda-packs
pytorch/source/PIL/FpxImagePlugin.py
6282
# # THIS IS WORK IN PROGRESS # # The Python Imaging Library. # $Id$ # # FlashPix support for PIL # # History: # 97-01-25 fl Created (reads uncompressed RGB images only) # # Copyright (c) Secret Labs AB 1997. # Copyright (c) Fredrik Lundh 1997. # # See the README file for information on usage and redistribution. # fr...
mit
Thijzer/forkcms
src/Backend/Modules/ContentBlocks/Event/ContentBlockCreated.php
283
<?php namespace Backend\Modules\ContentBlocks\Event; final class ContentBlockCreated extends ContentBlockEvent { /** * @var string The name the listener needs to listen to to catch this event. */ const EVENT_NAME = 'content_blocks.event.content_block_created'; }
mit
liaojing/videomorphing
include/resample/extension.h
1425
#ifndef EXTENSION_H #define EXTENSION_H #include <cmath> namespace extension { class base { public: virtual ~base() { ; } virtual float operator()(float t) const = 0; virtual int operator()(int i, int n) const = 0; virtual float wrap(float t) const { return (*this)(t); } virtual...
mit
wjyadlx/simple-rtmp-server
trunk/src/utest/srs_utest_amf0.cpp
32587
/* The MIT License (MIT) Copyright (c) 2013-2014 winlin 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, modify, merge, p...
mit
mitchgu/TAMProxy-Firmware
src/Packet.h
246
#ifndef PACKET_H #define PACKET_H #include <cstdint> #include <vector> // A packet struct. Pretty self explanatory. namespace tamproxy { struct Packet { public: uint16_t id; uint8_t dest; std::vector<uint8_t> payload; }; } #endif
mit
bankonme/bitcoind.js
example/index.js
502
#!/usr/bin/env node 'use strict'; /** * bitcoind.js example */ process.title = 'bitcoind.js'; /** * daemon */ var daemon = require('../').daemon({ datadir: process.env.BITCOINDJS_DIR || '~/.bitcoin', }); daemon.on('ready', function() { console.log('ready'); }); daemon.on('tx', function(txid) { console.l...
mit
LiuWenJu/v2ray-core
common/protocol/id.go
1634
package protocol import ( "crypto/hmac" "crypto/md5" "hash" "v2ray.com/core/common" "v2ray.com/core/common/uuid" ) const ( IDBytesLen = 16 ) type IDHash func(key []byte) hash.Hash func DefaultIDHash(key []byte) hash.Hash { return hmac.New(md5.New, key) } // The ID of en entity, in the form of a UUID. type ...
mit
widgetworks/rails_admin
spec/rails_admin/config/fields/types/string_like_spec.rb
2109
require 'spec_helper' RSpec.describe RailsAdmin::Config::Fields::Types::StringLike do describe '#treat_empty_as_nil?', active_record: true do context 'with a nullable field' do subject do RailsAdmin.config('Team').fields.detect do |f| f.name == :name end.with(object: Team.new) ...
mit
ACOKing/ArcherSys
owncloud-serv/apps/files_sharing/l10n/ru.php
1975
<?php $TRANSLATIONS = array( "Shared with you" => "Опубликованы вами", "Shared with others" => "Опубликованы другими", "Shared by link" => "Доступно по ссылке", "No files have been shared with you yet." => "Вы ещё не опубликовали файлы", "You haven't shared any files yet." => "Вы не имеете файлов в открытом доступе", "...
mit
VelvetMirror/test
vendor/bundles/Sensio/Bundle/GeneratorBundle/PHP-Parser/lib/Node/BreakStmt.php
52
<?php class Node_BreakStmt extends NodeAbstract { }
mit
wakiyamap/electrum-mona
electrum_mona/dnssec.py
5922
#!/usr/bin/env python # # Electrum - lightweight Bitcoin client # Copyright (C) 2015 Thomas Voegtlin # # 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...
mit
beagleboard/bonescript
test/TODO/basic_sanity.sh
210
#!/bin/sh cd $(dirname $0) node -pe "'Name: ' + require('../index').getPlatform().name" node -pe "'Version: ' + require('../index').getPlatform().bonescript" node -pe "require('../index').digitalRead('P8_19')"
mit
itowtips/shirasagi
config/routes/gws/report/routes.rb
1375
SS::Application.routes.draw do Gws::Report::Initializer concern :deletion do get :delete, on: :member delete :destroy_all, on: :collection, path: '' end gws 'report' do get '/' => redirect { |p, req| "#{req.path}/forms" }, as: :setting resources :forms, concerns: :deletion do match :pub...
mit
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/lib/directory.js
2300
var path = require('path'); var util = require('util'); var Item = require('./item'); var constants = process.binding('constants'); /** * A directory. * @constructor */ function Directory() { Item.call(this); /** * Items in this directory. * @type {Object.<string, Item>} */ this._items = {}; ...
mit
gdomorski/client-recon
contribute.md
2774
##Project tools ####Initial Set-Up Clone down the repo and head over to [Initial Set-Up](https://github.com/laudatory-flannel/client-recon/blob/master/setup.md) for step-by-step instructions to get Rapport running on your machine. ####Git-Splainin This is a way to create Pull Request templates that can be used acro...
mit
eslint/eslint.github.io
docs/developer-guide/scope-manager-interface.md
10366
--- title: ScopeManager layout: doc edit_link: https://github.com/eslint/eslint/edit/master/docs/developer-guide/scope-manager-interface.md --- <!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. --> # ScopeManager This document was written based on the implementation...
mit
beachyapp/standalone-migrations
vendor/migration_helpers/lib/migration_helper.rb
1887
module MigrationConstraintHelpers # Creates a foreign key from +table+.+field+ against referenced_table.referenced_field # # table: The tablename # field: A field of the table # referenced_table: The table which contains the field referenced # referenced_field: The field (which should be part of the ...
mit
zzamboni/hammerspoon
extensions/uielement/test_uielement.lua
2388
hs.uielement = require("hs.uielement") hs.window = require("hs.window") hs.timer = require("hs.timer") hs.eventtap = require("hs.eventtap") hs.application = require("hs.application") function getPrefs() hs.openPreferences() return hs.uielement.focusedElement() end function getConsole() hs.openConsole() return...
mit
cbetheridge/simpleclassroom
static/third-party/closure-library/closure/goog/net/xhrio.js
43124
// Copyright 2006 The Closure Library 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 requ...
mit
n1ghtmare/Algorithm-Implementations
Ranrot-B-Pseudo_Random_Number_Generator/Go/jcla1/ranrotb_prng.go
443
package ranrotb // Call with seed and it will return a closure // which will return pseudo-random numbers on // consecutive calls // Note: seed could be uint32(time.Now().Unix()) func rrbRand(seed uint32) func() uint32 { var lo, hi uint32 // In Go ^ is the bitwise complement operator // In C this would be the tild...
mit
Bragaman/atom
lecture6/source/src/main/java/ru/atom/model/dao/MatchDao.java
737
package ru.atom.model.dao; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import ru.atom.model.data.Match; import sun.reflect.generics.reflectiveObjects.NotImplementedException; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.L...
mit
XristosMallios/cache
exareme-master/src/main/java/madgik/exareme/master/engine/rmi/OptimizerConstants.java
248
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.master.engine.rmi; /** * @author heraldkllapi */ public class OptimizerConstants { public static boolean USE_SKETCH = false; public static int MAX_TABLE_PARTS = 2; }
mit
fahidRM/aqua-couch-test
test/client/pages/admin/statuses/search/actions.js
4225
'use strict'; const Code = require('code'); const Constants = require('../../../../../../client/pages/admin/statuses/search/constants'); const FluxConstant = require('flux-constant'); const Lab = require('lab'); const Proxyquire = require('proxyquire'); const lab = exports.lab = Lab.script(); const stub = { ApiAc...
mit
mu-editor/mu-editor.github.io
es/tutorials/1.1/shortcuts.md
4941
--- layout: default title: Keyboard Shortcuts i18n: en --- # Keyboard Shortcuts All the features in Mu can be accessed via keyboard shortcuts. Here's how they work! ## Common Buttons <dl> <dt>CTRL SHIFT M</dt> <dd>Change mode (the same as clicking "Modes").</dd> <dt>CTRL N</dt> <dd>Create a new em...
mit
yogeshsaroya/new-cdnjs
ajax/libs/bootstrap-datepicker/1.2.0-rc.1/js/locales/bootstrap-datepicker.et.min.js
128
version https://git-lfs.github.com/spec/v1 oid sha256:3e7e8daeb7e94086c854616e881862ffc0555684031d339b30c0b67afa82b530 size 492
mit
imyzf/element
packages/table/src/table-body.js
7259
import { getCell, getColumnByCell, getRowIdentity } from './util'; import ElCheckbox from 'element-ui/packages/checkbox'; export default { components: { ElCheckbox }, props: { store: { required: true }, context: {}, layout: { required: true }, rowClassName: [String, Funct...
mit
Neurosploit/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.BlockStore/Pruning/IPruneBlockStoreService.cs
1414
using System; using NBitcoin; namespace Stratis.Bitcoin.Features.BlockStore.Pruning { /// <summary> /// This service starts an async loop task that periodically deletes from the blockstore. /// <para> /// If the height of the node's block store is more than <see cref="PruneBlockStoreService.MaxBlocksT...
mit
GRAVITYLab/edda
html/search/variables_15.js
362
var searchData= [ ['w',['w',['../structedda_1_1dist_1_1GMMTuple.html#a3f52857178189dcb76b5132a60c0a50a',1,'edda::dist::GMMTuple']]], ['weights',['weights',['../classedda_1_1dist_1_1JointGMM.html#a479a4af061d7414da3a2b42df3f2e87f',1,'edda::dist::JointGMM']]], ['width',['width',['../structBMPImage.html#a35875dd635e...
mit
DmsChrisPena/EnergyPro-CodeRed
public/modules/locations/views/view-location.client.view.html
717
<section data-ng-controller="LocationsController" data-ng-init="findOne()"> <div class="page-header"> <h1 data-ng-bind="location.name"></h1> </div> <div class="pull-right" data-ng-show="((authentication.user) && (authentication.user._id == location.user._id))"> <a class="btn btn-primary" href="/#!/locations/{{lo...
mit
OnekO/respond
app/Exceptions/Handler.php
1610
<?php namespace App\Exceptions; use Exception; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Symfony\Component\HttpKernel\Exception\HttpException; use Laravel\Lumen\Exceptions\Handler as ExceptionHandler; ...
mit
savichris/spongycastle
core/src/main/java/org/spongycastle/LICENSE.java
3397
package org.spongycastle; /** * The Bouncy Castle License * * Copyright (c) 2000-2015 The Legion Of The Bouncy Castle Inc. (http://www.bouncycastle.org) * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to...
mit
libin/kanboard
app/Controller/ExternalTaskViewController.php
895
<?php namespace Kanboard\Controller; use Kanboard\Core\ExternalTask\ExternalTaskException; /** * Class ExternalTaskViewController * * @package Kanboard\Controller * @author Frederic Guillot */ class ExternalTaskViewController extends BaseController { public function show() { try { $...
mit
dotnet-bot/corefx
src/System.Drawing.Common/src/System/Drawing/Drawing2D/CustomLineCapType.cs
396
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Drawing.Drawing2D { /** * Various custom line cap types */ internal enum CustomLi...
mit
sinnwerkstatt/common-good-online-balance
ecg_balancing/templates/ecg_balancing/dustjs/gwoe-matrix-data_en.js
15425
var Data = {}; Data.matrix = { valueName: 'Wert', stakeholdersName : 'Berührungs&#8203;gruppe', negativeCriteriaName : 'Negativ-Kriterien', values : [ 'Menschen&#8203;würde', 'Solidarität', 'Ökologische Nachhaltigkeit', 'Soziale Gerechtigkeit', 'Demokratische M...
mit
CONDACORE/fahndo-app
plugins/cordova-plugin-facebook4/src/android/ConnectPlugin.java
37503
package org.apache.cordova.facebook; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import com.facebook.AccessToken; import com.facebook.CallbackManager; import com.facebook.FacebookCallback; import com.facebook.FacebookDialogException; import com.facebook.Fa...
mit
eyeswebcrea/cheminee-mario.com
spip/ecrire/inc/rechercher.php
10890
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2011 * * ...
mit
Maijin/sdb
bindings/nodejs/nan/README.md
668
SDB bindings for nodejs ======================= SDB is a fast and small key-value database. All keys and values can only be strings, those strings are interpreted as arrays, numbers, booleans, pointers, or even JSON objects that can be parsed and indented pretty quickly. The SDB database works like memcache, as it i...
mit
camperjz/trident
modules/boonex/organizations/updates/8.0.1_8.0.2/install/config.php
1044
<?php /** * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ * CC-BY License - http://creativecommons.org/licenses/by/3.0/ */ $aConfig = array( /** * Main Section. */ 'title' => 'Organizations', 'version_from' => '8.0.1', 'version_to' => '8.0.2', 'vendor' => 'BoonEx', 'compa...
mit
colemickens/autorest
ClientRuntimes/CSharp/ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs
3207
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.Rest.Azure.Authentication.Properties; namespace Microsoft.Rest.Azure.Authen...
mit
femtoio/femto-usb-blink-example
blinky/sam0/applications/dmac_cpu_usage_demo/adc_no_dmac_usart.c
16015
/** * \file * * \brief SAMD10/SAMD11 DMAC Application Note Example for the case 'ADC_NO_DMAC_USART' * * Copyright (C) 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted pro...
mit
felipecvo/rails
activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb
1873
# frozen_string_literal: true module ActiveSupport module NumberHelper class NumberToRoundedConverter < NumberConverter # :nodoc: self.namespace = :precision self.validate_float = true def convert helper = RoundingHelper.new(options) rounded_number = helper.round(number) ...
mit
otgaard/zap
third_party/asio/doc/asio/reference/serial_port_service/native_handle.html
2830
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>serial_port_service::native_handle</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" title...
mit
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/node_modules/rewire/node_modules/expect.js/node_modules/serve/node_modules/less-middleware/node_modules/express/lib/application.js
10240
/** * Module dependencies. */ var finalhandler = require('finalhandler'); var flatten = require('./utils').flatten; var Router = require('./router'); var methods = require('methods'); var middleware = require('./middleware/init'); var query = require('./middleware/query'); var debug = require('debug')('express:appli...
mit
aspose-cells/Aspose.Cells-for-Cloud
SDKs/Aspose.Cells-Cloud-SDK-for-Python/asposecellscloud/models/PivotFilter.py
1456
#!/usr/bin/env python class PivotFilter(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.""" def __init__(self): """ Attributes: swaggerTypes (dict): The key is attribute name and the value is attribute type. ...
mit
femtoio/femto-usb-blink-example
blinky/blinky/asf-3.21.0/thirdparty/freertos/demo/avr32_uc3_example/at32uc3l064_uc3l_ek/iar/asf.h
4041
/** * \file * * \brief Autogenerated API include file for the Atmel Software Framework (ASF) * * Copyright (c) 2012 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
mit
octavioalapizco/diem
dmCorePlugin/web/lib/dmMarkitup/skins/markitup/style.css
1818
div.markItUp a:link, div.markItUp a:visited { color:#000; text-decoration:none; } div.markItUp { } div.markItUpContainer { border:1px solid #3C769D; background:#FFF url(images/bg-container.png) repeat-x top left; padding:5px 5px 2px 5px; font:11px Verdana, Arial, Helvetica, sans-serif; border-radius: ...
mit
marko-asplund/github-services
services/presently.rb
1116
class Service::Presently < Service string :subdomain, :group_name, :username password :password white_list :subdomain, :group_name, :username def receive_push repository = payload['repository']['name'] prefix = (data['group_name'].nil? || data['group_name'] == '') ? '' : "b #{data['group_name']} " ...
mit
JustinMuniz/HoverChat-iOS-App
Spika/lib/DatabaseManager.h
12928
/* The MIT License (MIT) Copyright (c) 2013 Clover Studio Ltd. All rights reserved. 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 ri...
mit
faister/azure-iot-sdks
doc/iotcertification/iot_certification_linux_nodejs/iot_certification_linux_nodejs.md
12347
How to certify IoT devices running Linux with Azure IoT SDK === --- # Table of Contents - [Introduction](#Introduction) - [Step 1: Configure Azure IoT Hub](#Configure) - [Step 2: Register Device](#Register) - [Step 3: Build and validate the sample using Node JS client libraries](#Build) - [3.1 Load the...
mit
Giladx/BlindSelfPortrait
EraserLine/src/main.cpp
159
#include "ofApp.h" #include "ofAppGlutWindow.h" int main() { ofAppGlutWindow window; ofSetupOpenGL(&window, 512, 512, OF_WINDOW); ofRunApp(new ofApp()); }
mit
braydonf/bitcore-node
lib/scaffold/find-config.js
863
'use strict'; var bitcore = require('bitcore-lib'); var $ = bitcore.util.preconditions; var _ = bitcore.deps._; var path = require('path'); var fs = require('fs'); var utils = require('../utils'); /** * Will return the path and bitcore-node configuration * @param {String} cwd - The absolute path to the current work...
mit
mr-justin/tabula
lib/tabula_job_executor/jobs/generate_thumbnails.rb
570
require_relative '../executor.rb' require_relative '../../thumbnail_generator.rb' class GenerateThumbnailJob < Tabula::Background::Job # args: (:file, :output_dir, :thumbnail_sizes, :page_index_job_uuid) def perform file_id = options[:file_id] upload_id = self.uuid filepath = options[:filepath] o...
mit
jamesrobertlloyd/gpss-research
experiments/2013-09-07.py
710
Experiment(description='No with centred periodic', data_dir='../data/tsdlr/', max_depth=8, random_order=False, k=1, debug=False, local_computation=False, n_rand=9, sd=4, max_jobs=600, verbose=False, ...
mit
scapp281/cliff-effects
public/index.html
1594
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="theme-color" content="#000000"> <!-- manifest.json provides metadata used when your web app is added to the homescreen on Androi...
mit
flybayer/next.js
packages/react-dev-overlay/src/internal/components/Dialog/styles.ts
2088
import { noop as css } from '../../helpers/noop-template' const styles = css` [data-nextjs-dialog] { display: flex; flex-direction: column; width: 100%; margin-right: auto; margin-left: auto; outline: none; background: white; border-radius: var(--size-gap); box-shadow: 0 var(--siz...
mit
dnnsoftware/Dnn.Platform
DNN Platform/Modules/ResourceManager/Services/Dto/FolderDetailsRequest.cs
1005
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information namespace Dnn.Modules.ResourceManager.Services.Dto { using System.Runtime.Serialization; /// <summary> /...
mit
tecshuttle/tiegan
application/views_dev/user/register.php
1180
<div class="container-fluid"> <div class="row"> <div class="col-xs-6 col-xs-offset-3"> <div class="page-header" style="border:none;margin: 0px;"> <h1><?= $this->slogan ?></h1> </div> </div> </div> <div class="row" style="margin-bottom: 2em;"> ...
mit
lucasallan/ruboto
assets/samples/sample_service.rb
459
require 'ruboto/util/toast' # Services are complicated and don't really make sense unless you # show the interaction between the Service and other parts of your # app. # For now, just take a look at the explanation and example in # online: # http://developer.android.com/reference/android/app/Service.html class SampleS...
mit
dynamicguy/gpweb
src/vendor/zend/library/Zend/Measure/Torque.php
3276
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
mit
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/solidity-comments-extractor/index.js
2960
const DOUBLE_QUOTE_STRING_STATE = 'double-quote-string-state'; const SINGLE_QUOTE_STRING_STATE = 'single-quote-string-state'; const LINE_COMMENT_STATE = 'line-comment-state'; const BLOCK_COMMENT_STATE = 'block-comment-state'; const ETC_STATE = 'etc-state'; function extractComments(str) { let state = ETC_STATE; let...
mit
annkupi/picard
src/main/java/picard/analysis/GcBiasUtils.java
5467
/* * The MIT License * * Copyright (c) 2015 The Broad Institute * * 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...
mit
njam/CM
client-vendor/source/logger/handlers/recorder.js
3930
var util = require('util'); /** * @class Recorder * @param {{retention: <Number>}} [options] */ var Recorder = function(options) { this._records = []; this._options = _.defaults(options || {}, { retention: 300, // seconds recordMaxSize: 200, // nb records jsonMaxSize: 50, format: '[{date} {l...
mit
CAWAS/ElectronicObserverExtended
ElectronicObserver/Data/ShipGroup/ExpressionManager.cs
2741
using ElectronicObserver.Utility.Storage; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ElectronicObserver.Data.ShipGroup { [DataContract(Name = "ExpressionManager")] ...
mit
bussiere/pypyjs
website/demo/home/rfk/repos/pypy/lib-python/2.7/test/test_pprint.py
25311
import pprint import test.test_support import unittest import test.test_set try: uni = unicode except NameError: def uni(x): return x # list, tuple and dict subclasses that do or don't overwrite __repr__ class list2(list): pass class list3(list): def __repr__(self): return list.__repr...
mit
GRAVITYLab/edda
vis/src/vtk/eddaRandomProbeFilter.h
7336
/*========================================================================= Program: Visualization Toolkit Module: vtkProbeFilter.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is ...
mit
kxbmap/MyFleetGirls
client/src/main/scala/com/ponkotuy/restype/CreateShip.scala
705
package com.ponkotuy.restype import com.ponkotuy.data import com.ponkotuy.parser.Query import scala.collection.mutable import scala.util.matching.Regex /** * @author ponkotuy * Date: 15/04/12. */ case object CreateShip extends ResType { import ResType._ // KDock + CreateShipのデータが欲しいのでKDockIDをKeyにCreateShipを溜...
mit
the-ress/vscode
src/vs/platform/workspace/test/common/workspace.test.ts
10178
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mit
femtoio/femto-usb-blink-example
blinky/common/services/spi/usart_spi_master_example/sam3n4c_sam3n_ek/conf_board.h
2135
/** * \file * * \brief Board configuration. * * Copyright (c) 2011 - 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * ...
mit
baerjam/rails
activerecord/lib/active_record/core.rb
20695
# frozen_string_literal: true require "active_support/core_ext/hash/indifferent_access" require "active_support/core_ext/string/filters" require "concurrent/map" require "set" module ActiveRecord module Core extend ActiveSupport::Concern FILTERED = "[FILTERED]" # :nodoc: included do ## # :...
mit
azat-co/react-quickly
spare-parts/ch05-es5/logger/js/script.js
130
ReactDOM.render(React.createElement( 'div', null, React.createElement(Content, null) ), document.getElementById('content'));
mit
ascarter/Go.bbpackage
src/Text Filters/goimports.sh
73
#! /bin/sh PATH="$(dirname "$0")/../Resources":$PATH gorunner goimports
mit
davehorton/drachtio-server
deps/boost_1_77_0/libs/mp11/test/version.cpp
405
// Copyright 2019 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include <boost/mp11/version.hpp> #include <boost/version.hpp> #include <boost/core/lightweight_test.hpp> int main() { BOOS...
mit
jspaleta/SuperDARN_MSI_ROS
linux/home/radar/ros.3.6/doc/html/base/src.lib/task/convert/ConvertToShort.html
2791
<head> <title>ConvertToShort</title> <link rel=stylesheet href=../../../../css/doc.css type=text/css> </head> <body> <div id="root"> <div id="banner"> </div> <div id="location"> <table width=100% class="location"><tr> <td><a href="../../../../index.html">Home</a><td>|</td> <td><a href=../../../../base/index.html>b...
mit
kimalec/TodayWeather
client/import_today_ext/ta.run.sh
617
#!/bin/sh cp package.json import_today_ext/package.json.backup cp import_today_ext/ta.empty.package.json package.json ionic state reset cordova plugin add https://github.com/DavidStrausz/cordova-plugin-today-widget.git cp config.xml import_today_ext/config.xml.backup cp import_today_ext/ta.import.config.xml config.xml ...
mit
RJFreund/OpenDSA
Exercises/Sorting/MergesortTFstable.html
1010
<!DOCTYPE html> <html data-require="math"> <head> <title>Mergesort Question: Stable</title> <script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.14/require.min.js"></script> <script src="../../khan-exercises/local-only/main.js" ></script> </head> <body> <div class="exercise"> <div c...
mit
mvnural/scalation
src/main/scala/scalation/event/EventNode.scala
1916
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /** @author John Miller * @version 1.2 * @date Sun Jan 19 20:30:33 EST 2014 * @see LICENSE (MIT style license file). */ package scalation.event import scalation.animation.CommandType._ import scalation.scala2d.Colors._ im...
mit
mmkassem/gitlabhq
spec/fixtures/lib/kramdown/atlassian_document_format/mention.md
97
Mentioning @adf-mention:testuser Mentioning @adf-mention:\"test user\" with space in user name
mit
rstoenescu/quasar-framework
ui/src/components.js
3696
export * from './components/ajax-bar/index.js' export * from './components/avatar/index.js' export * from './components/badge/index.js' export * from './components/banner/index.js' export * from './components/bar/index.js' export * from './components/breadcrumbs/index.js' export * from './components/btn/index.js' expor...
mit
wolfram74/numerical_methods_iserles_notes
venv/lib/python2.7/site-packages/IPython/testing/iptest.py
18302
# -*- coding: utf-8 -*- """IPython Test Suite Runner. This module provides a main entry point to a user script to test IPython itself from the command line. There are two ways of running this script: 1. With the syntax `iptest all`. This runs our entire test suite by calling this script (with different arguments)...
mit
mbroadst/aurelia-plunker
jspm_packages/npm/aurelia-history-browser@1.0.0-beta.1/aurelia-history-browser.js
10044
/* */ define(['exports', 'core-js', 'aurelia-pal', 'aurelia-history'], function (exports, _coreJs, _aureliaPal, _aureliaHistory) { 'use strict'; exports.__esModule = true; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = prop...
mit
jorgemancheno/boxen
vendor/bundle/ruby/2.0.0/gems/puppet-3.6.1/lib/puppet/pops/evaluator/callable_signature.rb
3208
# CallableSignature # === # A CallableSignature describes how something callable expects to be called. # Different implementation of this class are used for different types of callables. # # @api public # class Puppet::Pops::Evaluator::CallableSignature # Returns the names of the parameters as an array of strings. T...
mit
typesettin/NativeCMS
node_modules/react-web/Libraries/Navigator/NavigatorNavigationBarStylesAndroid.js
4250
/** * Copyright (c) 2015-present, Alibaba Group Holding Limited. * All rights reserved. * * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * @providesModule ReactNavigatorNavigationBarStylesAndroid */ 'use strict'; import buildStyleInterpolator from './polyfills/buildStyleInterpolator'; im...
mit
esmakula/moskito
moskito-webui/src/main/java/net/anotheria/moskito/webui/threads/api/ThreadAPIFactory.java
594
package net.anotheria.moskito.webui.threads.api; import net.anotheria.anoplass.api.APIFactory; import net.anotheria.anoplass.api.APIFinder; import net.anotheria.anoprise.metafactory.ServiceFactory; /** * TODO comment this class * * @author lrosenberg * @since 14.02.13 11:46 */ public class ThreadAPIFactory imple...
mit
Roquet87/SIGESRHI
vendor/vich/uploader-bundle/Vich/UploaderBundle/Resources/doc/index.md
14531
VichUploaderBundle ================== The VichUploaderBundle is a Symfony2 bundle that attempts to ease file uploads that are attached to an entity. The bundle will automatically name and save the uploaded file according to the configuration specified on a per-property basis using a mix of configuration and annotation...
mit
dzjuck/hamster
spec/lib/hamster/sorted_set/disjoint_spec.rb
715
require "spec_helper" require "hamster/sorted_set" describe Hamster::SortedSet do describe "#disjoint?" do [ [[], [], true], [["A"], [], true], [[], ["A"], true], [["A"], ["A"], false], [%w[A B C], ["B"], false], [["B"], %w[A B C], false], [%w[A B C], %w[D E], true], ...
mit
Vinagility/engine_old
spec/lib/locomotive/liquid/tags/extends_spec.rb
1826
require 'spec_helper' describe Locomotive::Liquid::Tags::Extends do before(:each) do @home = FactoryGirl.build(:page, :raw_template => 'Hello world') @home.send :serialize_template @home.instance_variable_set(:@template, nil) @site = FactoryGirl.build(:site) @site.stubs(:pages).returns([@home])...
mit
umbraco/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbtabbedcontent.directive.js
8522
(function () { 'use strict'; /** This directive is used to render out the current variant tabs and properties and exposes an API for other directives to consume */ function tabbedContentDirective($timeout, $filter, contentEditingHelper, contentTypeHelper) { function link($scope, $element) { ...
mit
upsoft/bond
examples/cpp/core/time_alias/time_alias.cpp
971
#include "time_alias_reflection.h" #include <bond/core/bond.h> #include <bond/stream/output_buffer.h> using namespace examples::time; int main() { Example obj, obj2; using namespace boost::gregorian; using namespace boost::posix_time; // In the generated code we use boost::posix_time_ptime::ptime t...
mit