code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
// 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;
PiotrDabkowski/Js2Py
tests/test_cases/language/keywords/S7.6.1.1_A1.13.js
JavaScript
mit
299
/*! * 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...
eric-seekas/jquery-builder
dist/1.8.3/jquery-ajax-dimensions-effects.js
JavaScript
mit
217,443
/*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...
xtrasmal/adaptive-speech
demo/js/controllers/todoCtrl.js
JavaScript
mit
5,691
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...
Keno/TexExtensions.jl
LICENSE.md
Markdown
mit
1,167
/* * 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/...
aspose-words/Aspose.Words-for-Java
Plugins/Aspose_Words_Java_for_Docx4j/src/main/java/com/aspose/words/examples/featurescomparison/documents/comments/Docx4jCommentsSample.java
Java
mit
4,780
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 ...
plajjan/vrnetlab
nxos/README.md
Markdown
mit
1,181
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...
andycmaj/cake
src/Cake.Common/Tools/MSBuild/MSBuildSettings.cs
C#
mit
3,061
'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'])); }); };
six519/disclose.ph
gulp/git.js
JavaScript
mit
318
/*- * 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...
prat0318/dbms
mini_dbms/je-5.0.103/src/com/sleepycat/persist/evolve/Converter.java
Java
mit
3,660
// 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...
blyk/BlackCode-Fuse
Welcome/.build/Simulator/Android/include/Fuse.Scripting.NativePromise-2.PromiseClosure.h
C
mit
2,442
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) ...
kakra/rack-offline
lib/rack/offline/config.rb
Ruby
mit
490
/* * 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...
plumer/codana
tomcat_files/8.0.22/Introspection.java
Java
mit
6,566
# # 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...
ryfeus/lambda-packs
pytorch/source/PIL/FpxImagePlugin.py
Python
mit
6,282
<?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'; }
Thijzer/forkcms
src/Backend/Modules/ContentBlocks/Event/ContentBlockCreated.php
PHP
mit
283
#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...
liaojing/videomorphing
include/resample/extension.h
C
mit
1,425
/* 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...
wjyadlx/simple-rtmp-server
trunk/src/utest/srs_utest_amf0.cpp
C++
mit
32,587
#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
mitchgu/TAMProxy-Firmware
src/Packet.h
C
mit
246
#!/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...
bankonme/bitcoind.js
example/index.js
JavaScript
mit
502
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 ...
LiuWenJu/v2ray-core
common/protocol/id.go
GO
mit
1,634
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) ...
widgetworks/rails_admin
spec/rails_admin/config/fields/types/string_like_spec.rb
Ruby
mit
2,109
<?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." => "Вы не имеете файлов в открытом доступе", "...
ACOKing/ArcherSys
owncloud-serv/apps/files_sharing/l10n/ru.php
PHP
mit
1,975
<?php class Node_BreakStmt extends NodeAbstract { }
VelvetMirror/test
vendor/bundles/Sensio/Bundle/GeneratorBundle/PHP-Parser/lib/Node/BreakStmt.php
PHP
mit
52
#!/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...
wakiyamap/electrum-mona
electrum_mona/dnssec.py
Python
mit
5,922
#!/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')"
beagleboard/bonescript
test/TODO/basic_sanity.sh
Shell
mit
210
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...
itowtips/shirasagi
config/routes/gws/report/routes.rb
Ruby
mit
1,375
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 = {}; ...
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/lib/directory.js
JavaScript
mit
2,300
##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...
gdomorski/client-recon
contribute.md
Markdown
mit
2,774
--- 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...
eslint/eslint.github.io
docs/developer-guide/scope-manager-interface.md
Markdown
mit
10,366
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 ...
beachyapp/standalone-migrations
vendor/migration_helpers/lib/migration_helper.rb
Ruby
mit
1,887
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...
zzamboni/hammerspoon
extensions/uielement/test_uielement.lua
Lua
mit
2,388
// 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...
cbetheridge/simpleclassroom
static/third-party/closure-library/closure/goog/net/xhrio.js
JavaScript
mit
43,124
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...
n1ghtmare/Algorithm-Implementations
Ranrot-B-Pseudo_Random_Number_Generator/Go/jcla1/ranrotb_prng.go
GO
mit
443
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...
Bragaman/atom
lecture6/source/src/main/java/ru/atom/model/dao/MatchDao.java
Java
mit
737
/** * 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; }
XristosMallios/cache
exareme-master/src/main/java/madgik/exareme/master/engine/rmi/OptimizerConstants.java
Java
mit
248
'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...
fahidRM/aqua-couch-test
test/client/pages/admin/statuses/search/actions.js
JavaScript
mit
4,225
--- 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...
mu-editor/mu-editor.github.io
es/tutorials/1.1/shortcuts.md
Markdown
mit
4,941
version https://git-lfs.github.com/spec/v1 oid sha256:3e7e8daeb7e94086c854616e881862ffc0555684031d339b30c0b67afa82b530 size 492
yogeshsaroya/new-cdnjs
ajax/libs/bootstrap-datepicker/1.2.0-rc.1/js/locales/bootstrap-datepicker.et.min.js
JavaScript
mit
128
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...
imyzf/element
packages/table/src/table-body.js
JavaScript
mit
7,259
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...
Neurosploit/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.BlockStore/Pruning/IPruneBlockStoreService.cs
C#
mit
1,414
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...
GRAVITYLab/edda
html/search/variables_15.js
JavaScript
mit
362
<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...
DmsChrisPena/EnergyPro-CodeRed
public/modules/locations/views/view-location.client.view.html
HTML
mit
717
<?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; ...
OnekO/respond
app/Exceptions/Handler.php
PHP
mit
1,610
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...
savichris/spongycastle
core/src/main/java/org/spongycastle/LICENSE.java
Java
mit
3,397
<?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 { $...
libin/kanboard
app/Controller/ExternalTaskViewController.php
PHP
mit
895
// 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...
dotnet-bot/corefx
src/System.Drawing.Common/src/System/Drawing/Drawing2D/CustomLineCapType.cs
C#
mit
396
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...
sinnwerkstatt/common-good-online-balance
ecg_balancing/templates/ecg_balancing/dustjs/gwoe-matrix-data_en.js
JavaScript
mit
15,425
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...
CONDACORE/fahndo-app
plugins/cordova-plugin-facebook4/src/android/ConnectPlugin.java
Java
mit
37,503
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2011 * * ...
eyeswebcrea/cheminee-mario.com
spip/ecrire/inc/rechercher.php
PHP
mit
10,890
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...
Maijin/sdb
bindings/nodejs/nan/README.md
Markdown
mit
668
<?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...
camperjz/trident
modules/boonex/organizations/updates/8.0.1_8.0.2/install/config.php
PHP
mit
1,044
// 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...
colemickens/autorest
ClientRuntimes/CSharp/ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs
C#
mit
3,207
/** * \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...
femtoio/femto-usb-blink-example
blinky/sam0/applications/dmac_cpu_usage_demo/adc_no_dmac_usart.c
C
mit
16,015
# 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) ...
felipecvo/rails
activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb
Ruby
mit
1,873
<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...
otgaard/zap
third_party/asio/doc/asio/reference/serial_port_service/native_handle.html
HTML
mit
2,830
/** * 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...
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
JavaScript
mit
10,240
#!/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. ...
aspose-cells/Aspose.Cells-for-Cloud
SDKs/Aspose.Cells-Cloud-SDK-for-Python/asposecellscloud/models/PivotFilter.py
Python
mit
1,456
/** * \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...
femtoio/femto-usb-blink-example
blinky/blinky/asf-3.21.0/thirdparty/freertos/demo/avr32_uc3_example/at32uc3l064_uc3l_ek/iar/asf.h
C
mit
4,041
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: ...
octavioalapizco/diem
dmCorePlugin/web/lib/dmMarkitup/skins/markitup/style.css
CSS
mit
1,818
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']} " ...
marko-asplund/github-services
services/presently.rb
Ruby
mit
1,116
/* 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...
JustinMuniz/HoverChat-iOS-App
Spika/lib/DatabaseManager.h
C
mit
12,928
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...
faister/azure-iot-sdks
doc/iotcertification/iot_certification_linux_nodejs/iot_certification_linux_nodejs.md
Markdown
mit
12,347
#include "ofApp.h" #include "ofAppGlutWindow.h" int main() { ofAppGlutWindow window; ofSetupOpenGL(&window, 512, 512, OF_WINDOW); ofRunApp(new ofApp()); }
Giladx/BlindSelfPortrait
EraserLine/src/main.cpp
C++
mit
159
'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...
braydonf/bitcore-node
lib/scaffold/find-config.js
JavaScript
mit
863
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...
mr-justin/tabula
lib/tabula_job_executor/jobs/generate_thumbnails.rb
Ruby
mit
570
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, ...
jamesrobertlloyd/gpss-research
experiments/2013-09-07.py
Python
mit
710
<!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...
scapp281/cliff-effects
public/index.html
HTML
mit
1,594
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...
flybayer/next.js
packages/react-dev-overlay/src/internal/components/Dialog/styles.ts
TypeScript
mit
2,088
// 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> /...
dnnsoftware/Dnn.Platform
DNN Platform/Modules/ResourceManager/Services/Dto/FolderDetailsRequest.cs
C#
mit
1,005
<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;"> ...
tecshuttle/tiegan
application/views_dev/user/register.php
PHP
mit
1,180
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...
lucasallan/ruboto
assets/samples/sample_service.rb
Ruby
mit
459
<?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...
dynamicguy/gpweb
src/vendor/zend/library/Zend/Measure/Torque.php
PHP
mit
3,276
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...
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/solidity-comments-extractor/index.js
JavaScript
mit
2,960
/* * 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...
annkupi/picard
src/main/java/picard/analysis/GcBiasUtils.java
Java
mit
5,467
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...
njam/CM
client-vendor/source/logger/handlers/recorder.js
JavaScript
mit
3,930
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")] ...
CAWAS/ElectronicObserverExtended
ElectronicObserver/Data/ShipGroup/ExpressionManager.cs
C#
mit
2,741
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...
bussiere/pypyjs
website/demo/home/rfk/repos/pypy/lib-python/2.7/test/test_pprint.py
Python
mit
25,311
/*========================================================================= 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 ...
GRAVITYLab/edda
vis/src/vtk/eddaRandomProbeFilter.h
C
mit
7,336
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を溜...
kxbmap/MyFleetGirls
client/src/main/scala/com/ponkotuy/restype/CreateShip.scala
Scala
mit
705
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
the-ress/vscode
src/vs/platform/workspace/test/common/workspace.test.ts
TypeScript
mit
10,178
/** * \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: * ...
femtoio/femto-usb-blink-example
blinky/common/services/spi/usart_spi_master_example/sam3n4c_sam3n_ek/conf_board.h
C
mit
2,135
# 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 ## # :...
baerjam/rails
activerecord/lib/active_record/core.rb
Ruby
mit
20,695
ReactDOM.render(React.createElement( 'div', null, React.createElement(Content, null) ), document.getElementById('content'));
azat-co/react-quickly
spare-parts/ch05-es5/logger/js/script.js
JavaScript
mit
130
#! /bin/sh PATH="$(dirname "$0")/../Resources":$PATH gorunner goimports
ascarter/Go.bbpackage
src/Text Filters/goimports.sh
Shell
mit
73
// 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...
davehorton/drachtio-server
deps/boost_1_77_0/libs/mp11/test/version.cpp
C++
mit
405
<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...
jspaleta/SuperDARN_MSI_ROS
linux/home/radar/ros.3.6/doc/html/base/src.lib/task/convert/ConvertToShort.html
HTML
mit
2,791
#!/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 ...
kimalec/TodayWeather
client/import_today_ext/ta.run.sh
Shell
mit
617
<!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...
RJFreund/OpenDSA
Exercises/Sorting/MergesortTFstable.html
HTML
mit
1,010
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /** @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...
mvnural/scalation
src/main/scala/scalation/event/EventNode.scala
Scala
mit
1,916
Mentioning @adf-mention:testuser Mentioning @adf-mention:\"test user\" with space in user name
mmkassem/gitlabhq
spec/fixtures/lib/kramdown/atlassian_document_format/mention.md
Markdown
mit
97
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...
rstoenescu/quasar-framework
ui/src/components.js
JavaScript
mit
3,696
# -*- 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)...
wolfram74/numerical_methods_iserles_notes
venv/lib/python2.7/site-packages/IPython/testing/iptest.py
Python
mit
18,302
/* */ 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...
mbroadst/aurelia-plunker
jspm_packages/npm/aurelia-history-browser@1.0.0-beta.1/aurelia-history-browser.js
JavaScript
mit
10,044
# 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...
jorgemancheno/boxen
vendor/bundle/ruby/2.0.0/gems/puppet-3.6.1/lib/puppet/pops/evaluator/callable_signature.rb
Ruby
mit
3,208
/** * 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...
typesettin/NativeCMS
node_modules/react-web/Libraries/Navigator/NavigatorNavigationBarStylesAndroid.js
JavaScript
mit
4,250
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...
esmakula/moskito
moskito-webui/src/main/java/net/anotheria/moskito/webui/threads/api/ThreadAPIFactory.java
Java
mit
594
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...
Roquet87/SIGESRHI
vendor/vich/uploader-bundle/Vich/UploaderBundle/Resources/doc/index.md
Markdown
mit
14,531
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], ...
dzjuck/hamster
spec/lib/hamster/sorted_set/disjoint_spec.rb
Ruby
mit
715
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])...
Vinagility/engine_old
spec/lib/locomotive/liquid/tags/extends_spec.rb
Ruby
mit
1,826
(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) { ...
umbraco/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbtabbedcontent.directive.js
JavaScript
mit
8,522
#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...
upsoft/bond
examples/cpp/core/time_alias/time_alias.cpp
C++
mit
971