code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
import sublime, sublime_plugin, os class ExpandTabsOnSave(sublime_plugin.EventListener): def on_pre_save(self, view): if view.settings().get('expand_tabs_on_save') == 1: view.window().run_command('expand_tabs')
edonet/package
Edoner/expand_tabs_on_save.py
Python
isc
236
// Copyright 2012-2015 Apcera Inc. All rights reserved. package server import ( "bufio" "encoding/json" "fmt" "math/rand" "net" "sync" "sync/atomic" "time" "github.com/nats-io/gnatsd/hashmap" "github.com/nats-io/gnatsd/sublist" ) const ( // The size of the bufio reader/writer on top of the socket. defau...
dockbiz/gnatsd
server/client.go
GO
mit
20,486
/** */ package gluemodel.CIM.IEC61970.impl; import gluemodel.CIM.IEC61970.IEC61970CIMVersion; import gluemodel.CIM.IEC61970.IEC61970Package; import gluemodel.CIM.impl.ElementImpl; import java.util.Date; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf...
georghinkel/ttc2017smartGrids
solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61970/impl/IEC61970CIMVersionImpl.java
Java
mit
5,104
<?php /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup Protean Protean template * @ingroup UnaModules * * @{ */ $aConfig = array( /** * Main Section. */ 'type' => BX_DOL_MODULE_TYPE_TEMPLATE, 'name' => 'bx_protean', ...
unaio/una
modules/boonex/protean/updates/9.0.9_9.0.10/source/install/config.php
PHP
mit
1,429
CodeMirror.ternLint = function(cm, updateLinting, options) { function addAnnotation(error, found) { var startLine = error.startLine; var startChar = error.startChar; var endLine = error.endLine; var endChar = error.endChar; var message = error.message; found.push({ from : error.start, ...
daniel-lundin/tern-snabbt
demos/resources/tern-lint/codemirror/addon/lint/tern-lint.js
JavaScript
mit
952
import { D2ManifestDefinitions } from 'app/destiny2/d2-definitions'; import { PluggableInventoryItemDefinition } from 'app/inventory/item-types'; import { startWordRegexp } from './search-filters/freeform'; export function createPlugSearchPredicate( query: string, language: string, defs: D2ManifestDefinitions ) ...
DestinyItemManager/DIM
src/app/search/plug-search.ts
TypeScript
mit
982
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {animate, animation, AnimationMetadata, AnimationMetadataType, AnimationOptions, AUTO_STYLE, group, keyframes, ...
shairez/angular
packages/animations/browser/test/dsl/animation_spec.ts
TypeScript
mit
48,978
/* * Copyright 2015 the original author or phly. * 未经正式书面同意,其他任何个人、团体不得使用、复制、修改或发布本软件. */ package com.phly.ttw.manage.supplier.action; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.directwebremoting.annotations.RemoteProxy; import org.springframework.stereotype.Controll...
linmuxi/ttw
src/com/phly/ttw/manage/supplier/action/SupplierOrderAction.java
Java
mit
1,854
import $ from 'cafy'; import ID from '../../../../misc/cafy-id'; import Note from '../../../../models/note'; import Mute from '../../../../models/mute'; import { pack } from '../../../../models/note'; import UserList from '../../../../models/user-list'; import { ILocalUser } from '../../../../models/user'; import getPa...
ha-dai/Misskey
src/server/api/endpoints/notes/user-list-timeline.ts
TypeScript
mit
5,368
using System; namespace SharpCompress.Compressors.Xz { public class XZIndexMarkerReachedException : Exception { } }
adamhathcock/sharpcompress
src/SharpCompress/Compressors/Xz/XZIndexMarkerReachedException.cs
C#
mit
132
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014-2019 British Columbia Institute of Technology * Copyright (c) 2019 CodeIgniter Foundation * * Permission is hereby granted, free of charge, to ...
jim-parry/CodeIgniter4
system/HTTP/Negotiate.php
PHP
mit
11,335
class CreateUsers < ActiveRecord::Migration[5.1] def change create_table :users do |t| t.string :first_name t.string :last_name t.string :spire t.string :email t.string :phone t.timestamps null: false end end end
umts/garrulous-garbanzo
db/migrate/20150909204238_create_users.rb
Ruby
mit
262
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpCodeSnippets { public class DoubleArrayCreation { public double[][] ScaleArrays(double[][] arrays, double scalingFactor) { var result = ne...
liebharc/VerifyBuffer
VerifyBuffering/CSharpCodeSnippets/DoubleArrayCreation.cs
C#
mit
1,190
//Copyright (C) <2012> <Jon Baker, Glenn Mariën and Lao Tszy> //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by //the Free Software Foundation, either version 3 of the License, or //(at your option) any later version. //This...
LeChosenOne/LegendCraft
fCraft/Drawing/DrawOps/WallsOp.cs
C#
mit
3,853
<?php // FILE: xtemplate.class (part of MiniMediaEducation, https://github.com/aleph3d/MiniMediaEducation.git) // TYPE: funciton/class Library (PHP5) // LICENSE: BSD and LGPL ////// Copyright (c) 2000-2001 Barnab�s Debreceni [cranx@users.sourceforge.net] XTemplate ////// Copyright (c) 2002-2007 Jeremy Coates [coco...
aleph3d/MiniMediaEducation
MasterServer/MSmmc-ps/plugins/plg-template/lib/xtemplate.class.php
PHP
mit
35,089
--TEST-- ldap_search() - operation that should fail --CREDITS-- Davide Mendolia <idaf1er@gmail.com> Belgian PHP Testfest 2009 --SKIPIF-- <?php require_once dirname(__FILE__) .'/skipif.inc'; ?> <?php require_once dirname(__FILE__) .'/skipifbindfailure.inc'; ?> --FILE-- <?php include "connect.inc"; $link = ldap_connect(...
lunaczp/learning
language/c/testPhpSrc/php-5.6.17/ext/ldap/tests/ldap_search_error.phpt
PHP
mit
1,668
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View; class DesignLoader { /** * Request * * @var \Magento\Framework\App\RequestInterface */ protected $_request; /** * Application * ...
j-froehlich/magento2_wk
vendor/magento/framework/View/DesignLoader.php
PHP
mit
1,360
/** * Fixes an issue with Bootstrap Date Picker * @see https://github.com/angular-ui/bootstrap/issues/2659 * * How does it work? AngularJS allows multiple directives with the same name, * and each is treated independently though they are instantiated based on the * same element/attribute/comment. * * So this di...
manekinekko/ng-admin
src/javascripts/ng-admin/Crud/field/datepickerPopup.js
JavaScript
mit
823
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.datamigration.v2018_03_31_preview; import java.u...
navalev/azure-sdk-for-java
sdk/datamigration/mgmt-v2018_03_31_preview/src/main/java/com/microsoft/azure/management/datamigration/v2018_03_31_preview/MigrateSqlServerSqlServerDatabaseInput.java
Java
mit
3,305
/* YUI 3.7.2 (build 5639) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('editor-base', function (Y, NAME) { /** * Base class for Editor. Handles the business logic of Editor, no GUI involved only utility methods and events. * ...
spadin/coverphoto
node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/editor-base/editor-base-debug.js
JavaScript
mit
32,357
// Copyright (c) The HLSL2GLSLFork Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.txt file. #include "localintermediate.h" // // Two purposes: // 1. Show an example of how to iterate tree. Functions can // also directly ca...
lriki/LNSL
src/hlsl2glslfork/hlslang/MachineIndependent/intermOut.cpp
C++
mit
18,856
/** * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
aggiedefenders/aggiedefenders.github.io
node_modules/@firebase/firestore/dist/esm/src/local/persistence_promise.js
JavaScript
mit
6,111
MainIndexEstablishmentsListView = Backbone.View.extend({ events: { 'click .nav': 'navigate' }, initialize: function () { this.listenTo(this.collection, 'reset', this.render); }, render: function (e) { this.$el.html(''); if (this.collection.length > 0) { this.collection.each(function (establi...
sealocal/yumhacker
app/assets/javascripts/views/main/index_establishments_list_view.js
JavaScript
mit
825
/* * BOOOS.h * * Created on: Aug 14, 2014 */ #ifndef TASK_CC_ #define TASK_CC_ #include "BOOOS.h" #include <iostream> namespace BOOOS { BOOOS * BOOOS::__booos = 0; BOOOS::SchedulerType BOOOS::SCHED_POLICY = BOOOS::SCHED_FCFS; // ou outro escalonador. Ajustem como necessário bool BOOOS::SCHED_PREEMPT = false; //...
paladini/UFSC-so1-2015-01
trabalhos/atividadePratica2/final/lib/BOOOS.cc
C++
mit
979
using System; using System.Linq; using System.Text; using Abp.Collections.Extensions; using Abp.Extensions; using Abp.Web.Api.Modeling; namespace Abp.Web.Api.ProxyScripting.Generators { internal static class ProxyScriptingJsFuncHelper { private const string ValidJsVariableNameChars = "abcdefghijklmnopq...
liuxx001/BodeAbp
src/frame/Abp.Web.Common/Web/Api/ProxyScripting/Generators/ProxyScriptingJsFuncHelper.cs
C#
mit
2,365
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights. #ifndef SAPI_VAR_STACK_HPP_ #define SAPI_VAR_STACK_HPP_ #include <new> #include <cstdio> #include <deque> #include "../arg/Argument.hpp" namespace var { /*! \brief Queue Class * \details The Queue class is a FIFO d...
StratifyLabs/StratifyAPI
include/var/Stack.hpp
C++
mit
1,819
using DataCloner.Core.Metadata; using System.Collections.Generic; using System.Linq; using System.Text; using System; namespace DataCloner.Core.Data.Generator { public class InsertWriter : IInsertWriter { private string IdentifierDelemiterStart { get; } private string IdentifierDelemiterEnd { ...
naster01/DataCloner
archive/DataCloner.Core/Data/Generator/InsertWriter.cs
C#
mit
2,629
(function () { var KEY = { ENTER: 13, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40 }; function normalizeTokens(tokens) { return tokens.filter(function (token) { return !!token; }).map(function (token) { return t...
bosonic-labs/b-autocomplete
dist/b-autocomplete.js
JavaScript
mit
12,927
<?php /** * Checkout.com * Authorised and regulated as an electronic money institution * by the UK Financial Conduct Authority (FCA) under number 900816. * * PHP version 7 * * @category SDK * @package Checkout.com * @author Platforms Development Team <platforms@checkout.com> * @copyright 2010-2019 Chec...
checkout/checkout-woocommerce-plugin
woocommerce-gateway-checkout-com/includes/lib/checkout-sdk-php/src/Models/Payments/BancontactSource.php
PHP
mit
1,552
#import SYS import ShareYourSystem as SYS #Definition MyBrianer=SYS.BrianerClass( ).collect( "Neurongroupers", 'P', SYS.NeurongrouperClass( #Here are defined the brian classic shared arguments for each pop **{ 'NeurongroupingKwargVariablesDict': { 'N':2, 'model': ''' Jr : 1 ...
Ledoux/ShareYourSystem
Pythonlogy/draft/Simulaters/Brianer/draft/07_ExampleDoc.py
Python
mit
1,597
package tactician; /** * This class is responsible for converting between a {@link Move} object and chess algebraic * notation. {@link #algebraicToMove(Board, String)} converts a string in algebraic notation to a * {@link Move} and {@link #moveToAlgebraic(Board, Move)} does the opposite. * * @see <a href="https:...
philleski/tactician
src/tactician/AlgebraicNotation.java
Java
mit
11,982
/** */ package rgse.ttc17.emoflon.tgg.task2; import gluemodel.CIM.IEC61970.LoadModel.ConformLoadGroup; import org.eclipse.emf.ecore.EObject; import org.moflon.tgg.runtime.AbstractCorrespondence; // <-- [user defined imports] // [user defined imports] --> /** * <!-- begin-user-doc --> * A representation of the mo...
georghinkel/ttc2017smartGrids
solutions/eMoflon/rgse.ttc17.emoflon.tgg.task2/gen/rgse/ttc17/emoflon/tgg/task2/ConformLoadGroupToConformLoadGroup.java
Java
mit
2,906
require 'spec_helper' describe Maxmind::ChargebackRequest do before do Maxmind.user_id = 'user' Maxmind.license_key = 'key' @request = Maxmind::ChargebackRequest.new(:client_ip => '198.51.100.2') end it "requires a License Key" do Maxmind.license_key = nil expect { @request.send(:validate) }...
jack-trikeapps/maxmind
spec/maxmind/chargeback_request_spec.rb
Ruby
mit
691
package infrastructure import ( "database/sql" _ "github.com/mattn/go-sqlite3" "log" ) type SqliteHandler struct { Path string Connect *sql.DB } func (handler *SqliteHandler) Open() error { db, err := sql.Open("sqlite3", handler.Path) if err != nil { log.Panic(err) } handler.Connect = db return err } ...
orleans-tech/s01e03-discover-node-js
07-api-rest-go/src/server/src/infrastructure/sqlitehandler.go
GO
mit
657
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Paypal\Block\Payment\Form\Billing; /** * Paypal Billing Agreement form block */ class Agreement extends \Magento\Payment\Block\Form { /** * @var string */ protected $_...
j-froehlich/magento2_wk
vendor/magento/module-paypal/Block/Payment/Form/Billing/Agreement.php
PHP
mit
1,961
const template = require("../../../layouts/hbs-loader")("base.ftl"); module.exports = template({ body: require("./html/body.ftl") });
chenwenzhang/frontend-scaffolding
src/pages/freemarker/index/html.js
JavaScript
mit
137
package com.thebluealliance.androidclient.gcm; import com.thebluealliance.androidclient.TbaLogger; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.support.v4.content.WakefulBroadcastReceiver; public class GCMBroadcastRec...
1fish2/the-blue-alliance-android
android/src/main/java/com/thebluealliance/androidclient/gcm/GCMBroadcastReceiver.java
Java
mit
881
export * from './login-form';
javlaking/testangular2ci
src/components/login/index.ts
TypeScript
mit
30
//1. consider terminate and return when found a bound condition. /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode *deleteDuplicates(ListNode *head) { // Start typin...
Xe0n0/LeetCode
Remove Duplicates from Sorted List II.cpp
C++
mit
1,211
<?php /** * @Created By ECMall PhpCacheServer * @Time:2015-01-23 00:46:43 */ if(filemtime(__FILE__) + 1800 < time())return false; return array ( 'id' => 2397, 'goods' => array ( 'goods_id' => '2397', 'store_id' => '131', 'type' => 'material', 'goods_name' => '烤干熟虾皮100g', 'descr...
guotao2000/ecmall
temp/caches/0090/c71737c6413b27861acfd0ee34eefe35.cache.php
PHP
mit
14,910
Jx().package("T.UI.Controls", function(J){ // 严格模式 'use strict'; var _crrentPluginId = 0; var defaults = { // 选项 // fooOption: true, // 覆写 类方法 // parseData: undefined, // 事件 // onFooSelected: undefined, // onFooChange: function(e, data){} ...
staticmatrix/Triangle
src/framework/controls/dtpicker/dtpicker.js
JavaScript
mit
82,149
using System; namespace Webhooks.API.Exceptions { public class WebhooksDomainException : Exception { } }
albertodall/eShopOnContainers
src/Services/Webhooks/Webhooks.API/Exceptions/WebhooksDomainException.cs
C#
mit
121
using ZKWeb.Plugins.Common.Currency.src.Components.Interfaces; using ZKWebStandard.Ioc; namespace ZKWeb.Plugins.Common.Currency.src.Components.Currencies { /// <summary> /// 卢布 /// </summary> [ExportMany] public class RUB : ICurrency { public string Type { get { return "RUB"; } } public string Pref...
zkweb-framework/ZKWeb.Plugins
src/ZKWeb.Plugins/Common.Currency/src/Components/Currencies/RUB.cs
C#
mit
412
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.security.keyvault.keys.cryptography.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; /** * Represents the details of decrypt operation result. */ @Immutable pub...
selvasingh/azure-sdk-for-java
sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/models/DecryptResult.java
Java
mit
1,715
<?php namespace App\Controller; use App\Controller\AppController; /** * CatsAdoptionEvents Controller * * @property \App\Model\Table\CatsAdoptionEventsTable $CatsAdoptionEvents */ class CatsAdoptionEventsController extends AppController { /** * Index method * * @return \Cake\Network\Response|n...
TheParrotsAreComing/PAWS
src/Controller/CatsAdoptionEventsController.php
PHP
mit
4,276
module kotlin.graphics.imgui.glfw { requires kotlin.stdlib; requires kotlin.graphics.imgui.core; requires kotlin.graphics.uno.core; requires kotlin.graphics.glm; requires kotlin.graphics.kool; requires org.lwjgl.glfw; exports imgui.impl.glfw; }
kotlin-graphics/imgui
glfw/src/main/java/module-info.java
Java
mit
276
class Solution { public: bool stoneGame(vector<int>& piles) { return true; } };
gzc/leetcode
cpp/871-880/Stone Game.cpp
C++
mit
96
/* * $Id$ * Copyright (C) 2006 Klaus Reimer <k@ailis.de> * * 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, ...
delMar43/wlandsuite
src/main/java/de/ailis/wlandsuite/io/BitOutputStream.java
Java
mit
7,613
'use strict'; angular.module('contactServices', []) // Factory responsible for assembling the form data before it's passed over the php .factory('assembleFormDataService', function(){ return { populateFormData: function(fname, lname, address, city, zipcode, mnumber, lnumber, relation, email, photoSubmit){ var f...
andrewwiik/VTHSCompSciClub
admin/contacts/js/contactServices.js
JavaScript
mit
1,741
# -*- coding: utf-8 -*- import datetime from django.contrib.auth.models import User from django.db import models from django.utils.translation import ugettext_lazy as _ class RegisterToken(models.Model): user = models.ForeignKey(User) token = models.CharField(_(u'token'), max_length=32) created = models...
dotKom/studlan
apps/authentication/models.py
Python
mit
674
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Using Statements using System; using DotNetNuke.Entities.Modules; #endregion namespace _OWNER_._MODULE_ { public partial class _CONTROL_ : Po...
nvisionative/Dnn.Platform
DNN Platform/Admin Modules/Dnn.Modules.ModuleCreator/Templates/C#/Module - User Control/_CONTROL_.ascx.cs
C#
mit
1,111
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|31 Jul 2007 14:34:52 -0000 vti_extenderversion:SR|4.0.2.7802
tauheedahmed/ecosys
project_files/_vti_cnf/frmMainAppts.aspx.cs
C#
mit
109
<?php /* * This file is part of the DunglasApiBundle package. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Dunglas\ApiBundle\Api\Operation; use Symfony\Component\Routing\Rou...
yelmontaser/DunglasApiBundle
Api/Operation/Operation.php
PHP
mit
1,264
# frozen_string_literal: false begin require '-test-/iseq_load/iseq_load' rescue LoadError end require 'tempfile' class RubyVM::InstructionSequence def disasm_if_possible begin self.disasm rescue Encoding::CompatibilityError, EncodingError, SecurityError nil end end def self.compare_d...
rokn/Count_Words_2015
fetched_code/ruby/iseq_loader_checker.rb
Ruby
mit
2,424
class Good { public int Max(int a, int b) { return a > b ? a : b; } }
github/codeql
csharp/ql/test/query-tests/Bad Practices/Control-Flow/ConstantCondition/ConstantConditionGood.cs
C#
mit
90
#!/usr/bin/ruby # # Demonstation for Ruby # puts $LOAD_PATH # extend the load path for wosg $LOAD_PATH << '../../bin/ruby' # include all necessary libs require 'wosg' require 'wosgDB' require 'wosgProducer' class Viewer def initialize() # open a viewer @viewer = WosgProducer::Viewer.new # open @vi...
cmbruns/osgswig
examples/ruby/viewer.rb
Ruby
mit
711
var searchData= [ ['basepath',['BASEPATH',['../index_8php.html#ad39801cabfd338dc5524466fe793fda9',1,'index.php']]] ];
forstermatth/LIIS
refman/search/variables_62.js
JavaScript
mit
120
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, Link, browserHistory } from 'react-router'; import App from './App'; import NotFound from './Pages/NotFound/NotFound'; import Users from './Pages/Users/Users'; import Chats from './Pages/Chats/Chats'; import './index.css'; ReactDOM....
ParkDyel/practice
WebDev/FE/JS/Reactjs/PRWF/src/index.js
JavaScript
mit
599
require 'celluloid/current' require 'celluloid/io' module Celluloid module SMTP require 'celluloid/smtp/constants' require 'celluloid/smtp/logging' require 'celluloid/smtp/version' require 'celluloid/smtp/extensions' class Server include SMTP::Extensions require 'celluloid/smtp/server...
abstractive/celluloid-smtp
lib/celluloid/smtp.rb
Ruby
mit
784
<div class="col-md-6 col-md-offset-3"> <div class="box box-success direct-chat direct-chat-success"> <div class="box-header with-border"> <h1 class="box-title"><i class="fa fa-file-text-o"></i> <?php echo $title; ?></h1> <div class="pull-right"> <i class="fa fa-close" onclick="closeModal()"></...
Gincusoft/aksi
application/modules/messaging/views/outbox/detail.php
PHP
mit
5,440
/** * @license * Visual Blocks Editor * * Copyright 2016 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
NTUTVisualScript/Visual_Script
static/javascript/blockly/core/events.js
JavaScript
mit
11,197
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911 // .1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015....
AltisourceLabs/ecloudmanager
tmrk-cloudapi/src/main/java/org/ecloudmanager/tmrk/cloudapi/model/ArrayOfInternetServiceType.java
Java
mit
2,395
from py_word_suggest.utils import * import pytest raw_json = """ {"lang:nl:0:ben":[["ik", 22.0], ["er", 8.0], ["een", 7.0], ["je", 5.0]],"lang:nl:0:Ik":[["heb", 66.0], ["ben", 52.0], ["denk", 15.0], [ "wil", 13.0], ["acht", 1.0]],"lang:eng:0:I":[["am", 100], ["want", 246], ["love", 999]],"lang:eng:0:am":[["the",100...
eronde/vim_suggest
tests/test_utils.py
Python
mit
9,992
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About KappaCoin</source> <translation>عن KappaCoin</translation> </mes...
kombatcoin/KAP
src/qt/locale/bitcoin_ar.ts
TypeScript
mit
97,707
var x = require("x-view"); var Raw = x.createClass({ propTypes: { html: x.type.string }, init: function() { x.event.on(this, "updated", this.updateHTML); }, updateHTML: function() { this.root.innerHTML = this.props.html; } }); x.register("x-raw", Raw);
lixiaoyan/x-view
tags/raw.js
JavaScript
mit
279
// <copyright file="SparseMatrix.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2013 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of thi...
albertp007/mathnet-numerics
src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs
C#
mit
60,593
type SerializeOptions = { domain?: string, encode?: (stringToDecode: string) => string, expires?: Date, httpOnly?: boolean, maxAge?: number, path?: string, sameSite?: boolean | 'lax' | 'strict', secure?: boolean, ... }; type ParseOptions = { // Library itself does not specify output for decode functi...
flowtype/flow-typed
definitions/npm/cookie_v0.3.x/flow_v0.104.x-/cookie_v0.3.x.js
JavaScript
mit
711
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Security.Permissions; namespace StaThreadSyncronizer { [SecurityPermission(SecurityAction.Demand, ControlThread = true)] public class StaSynchronizationContext : SynchronizationContext, IDi...
jmptrader/JRIAppTS
RIAppDemo/RIAPP.DataService/Utils/STAThreadSync/StaSynchronizationContext.cs
C#
mit
1,996
<TS language="sv" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Högerklicka för att ändra adressen eller etiketten.</translation> </message> <message> <source>Create a new address</source> ...
xieta/mincoin
src/qt/locale/bitcoin_sv.ts
TypeScript
mit
124,283
/** * -------------------------------------------------------------------------- * Bootstrap (v4.3.1): dom/selector-engine.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ import { find as findFn, findOn...
stanwmusic/bootstrap
js/src/dom/selector-engine.js
JavaScript
mit
2,277
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. package mlog // Standard levels var ( LvlPanic = LogLevel{ID: 0, Name: "panic", Stacktrace: true} LvlFatal = LogLevel{ID: 1, Name: "fatal", Stacktrace: true} LvlError = LogLevel{ID: 2, Name: "error"} Lv...
42wim/matterircd
vendor/github.com/mattermost/mattermost-server/v5/shared/mlog/levels.go
GO
mit
2,097
version https://git-lfs.github.com/spec/v1 oid sha256:9e5db06495724b6fedb3e06776242c7ddb55da8532eb678a5a5b88757b8108df size 1211
yogeshsaroya/new-cdnjs
ajax/libs/mathjax/1.1a/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js
JavaScript
mit
129
<?php namespace App\Jobs; use App\Classes\NewcomerMatching; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; class matchNewcomerGodfather implements ShouldQueue { u...
ungdev/integration-UTT
app/Jobs/matchNewcomerGodfather.php
PHP
mit
750
using System; using System.Collections.Generic; namespace LightweightInfluxDb { public interface ISeriesPoint { string Name { get; } Dictionary<string, string> Tags { get; } List<string> Fields { get; } List<object> Values { get; } DateTime? Timestamp { get; } } }
N6UDP/LightweightInfluxDb
src/LightweightInfluxDb/ISeriesPoint.cs
C#
mit
312
var spawn = require('child_process').spawn, Promise = require('bluebird'), uuid = require('node-uuid'), path = require('path'), fs = require('fs'), mkdirp = require('mkdirp'), _ = require('underscore'), fs = require('fs'), Sftp = require('sftp-upload'); var rosettaExecutable = path.join(__dirname, '../...
DURAARK/microservice-sipgenerator
bindings/rosetta/app.js
JavaScript
mit
5,477
package main import ( "log" "time" "github.com/spf13/cobra" "github.com/brunetto/goutils/debug" "github.com/brunetto/sltools/slt" ) var ( noGPU, tf, as, noBinaries bool icsFileName string intTime string randomNumber string ) var kiraWrapCmd = &cobra.Command{ Use: "kiraWrap", Short: "Wrapper for th...
brunetto/sltools-dev
cmd/kiraWrap/kiraWrap.go
GO
mit
1,700
package edu.msudenver.cs3250.group6.msubanner.entities; /** * The professor class. */ public final class Professor extends User { /** * Default constructor, creates blank professor. */ public Professor() { } /** * Constructor. * * @param firstName professors first name ...
cs3250-team6/msubanner
src/main/java/edu/msudenver/cs3250/group6/msubanner/entities/Professor.java
Java
mit
698
import elem from "./_elem.js"; import clrPckr from "./_color-picker.js"; var s, x, y, z, colorNum = 0, arrMap = [], c = document.getElementById("canvasGrid"), ctx = c.getContext("2d"); var grid = { //create grid and create boxes createGridIllustrator: () => { //module for creating a g...
CharlieGreenman/pixelatorV2_with_react
app/js/_grid.js
JavaScript
mit
3,948
require 'chefspec' describe 'group::create' do platform 'ubuntu' describe 'creates a group with the default action' do it { is_expected.to create_group('default_action') } it { is_expected.to_not create_group('not_default_action') } end describe 'creates a group with an explicit action' do it { i...
chefspec/chefspec
examples/group/spec/create_spec.rb
Ruby
mit
724
package collectors import ( "fmt" "math" "regexp" "strings" "time" "bosun.org/_third_party/github.com/StackExchange/wmi" "bosun.org/metadata" "bosun.org/opentsdb" "bosun.org/slog" ) func init() { collectors = append(collectors, &IntervalCollector{F: c_network_windows, init: winNetworkInit}) c := &Interva...
vimeo/bosun
cmd/scollector/collectors/network_windows.go
GO
mit
16,465
require_relative '../bm_helper' RUN_TIMES = 10 MyBenchmark.group 'Table initialization' do |b| # Current method used by Table#new b.report('String#to_table') do RUN_TIMES.times do File.open('bm/fixtures/table_1.txt').read.to_table end end b.report('Table#row:Hash') do RUN_TIMES.times do ...
biotcm/biotcm
bm/biotcm/bm_table.rb
Ruby
mit
1,478
module Github module Representation class PullRequest < Representation::Issuable delegate :user, :repo, :ref, :sha, to: :source_branch, prefix: true delegate :user, :exists?, :repo, :ref, :sha, :short_sha, to: :target_branch, prefix: true def source_project project end def ...
dplarson/gitlabhq
lib/github/representation/pull_request.rb
Ruby
mit
3,306
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.09.07 at 0...
mozu-customer-success/Mozu.Integrations.Quickbooks
src/main/java/com/mozu/qbintegration/model/qbmodel/allgen/CheckModRsType.java
Java
mit
5,304
require 'rails_helper' describe 'Event', type: :feature do describe 'index page' do it "should link to the show page when an event's read more button is clicked" do event = FactoryGirl.create :event visit events_path click_link event.name expect(page).to have_current_path(event_path(event...
hpi-swt2/workshop-portal
spec/features/event_spec.rb
Ruby
mit
16,955
<?php /** * The contents of this file was generated using the WSDLs as provided by eBay. * * DO NOT EDIT THIS FILE! */ namespace DTS\eBaySDK\Trading\Types; /** * * @property \DTS\eBaySDK\Trading\Enums\PaymentStatusCodeType $eBayPaymentStatus * @property \DateTime $LastModifiedTime * @property \DTS\eBaySDK\Tra...
chain24/ebayprocess-lumen
vendor/dts/ebay-sdk-php/src/Trading/Types/CheckoutStatusType.php
PHP
mit
3,035
class CouldNotSendError(Exception): pass class AlertIDAlreadyInUse(Exception): pass class AlertBackendIDAlreadyInUse(Exception): pass class InvalidApplicableUsers(Exception): pass
jiaaro/django-alert
alert/exceptions.py
Python
mit
180
/* * The MIT License * * Copyright 2015 user. * * 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, me...
judovana/jenkins-scm-koji-plugin
fake-koji/src/main/java/org/fakekoji/core/utils/FileFileFilter.java
Java
mit
1,407
#include "aboutdialog.h" #include "ui_aboutdialog.h" #include "clientmodel.h" #include "clientversion.h" // Copyright year (2009-this) // Todo: update this when changing our copyright comments in the source const int ABOUTDIALOG_COPYRIGHT_YEAR = 2014; AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ...
chaosagent/pandacoin
src/qt/aboutdialog.cpp
C++
mit
1,047
require 'yaml' require 'json' require 'cucumber/cucumber_expressions/cucumber_expression_tokenizer' require 'cucumber/cucumber_expressions/errors' module Cucumber module CucumberExpressions describe 'Cucumber expression tokenizer' do Dir['testdata/tokens/*.yaml'].each do |testcase| expectation = YA...
cucumber/cucumber-expressions-ruby
spec/cucumber/cucumber_expressions/cucumber_expression_tokenizer_spec.rb
Ruby
mit
863
/* * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jni.h> #include <webp/demux.h> #include <webp/decode.h> #include "exceptions.h" #include "decoded_image.h" #include "streams.h...
s1rius/fresco
static-webp/src/main/jni/static-webp/webp/webp_codec.cpp
C++
mit
3,114
"use strict"; /* * ooiui/static/js/views/science/HighChartsStreamingDataView.js */ var HighchartsStreamingContainerView = Backbone.View.extend({ subviews : [], showControls: true, initialize: function(options) { if (options && 'showControls' in options){ this.showControls = options.show...
FBRTMaka/ooi-ui
ooiui/static/js/views/science/HighChartsStreamingDataView.js
JavaScript
mit
23,076
[assembly: Microsoft.Xrt.Runtime.NativeType("System.Diagnostics.Tracing.*")] namespace Microsoft.Protocols.TestSuites.MS_OXCFXICS { using Microsoft.Modeling; using Microsoft.Protocols.TestSuites.Common; /// <summary> /// Model program. /// </summary> public static class Model { ...
XinwLi/Interop-TestSuites-1
ExchangeMAPI/Source/MS-OXCFXICS/Model/Model.cs
C#
mit
359,170
/* * homeController.js * Jami Boy Mohammad */ var homeController = angular.module('homeController', []); homeController.controller('homeController', function($scope) { });
jamiboy16/bearded-ninja
public/app/components/home/homeController.js
JavaScript
mit
179
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using System.Xml; using System.Xml.Linq; using System.IO; using Nuterra; namespace Sylver.PreciseSnapshots { public static class XMLSave { /// <summary> /// Sa...
maritaria/terratech-mod
src/Sylver.PreciseSnapshots/XMLSave.cs
C#
mit
3,819
package logviewer; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; /** * * @author Rene Zwanenburg */ public final class LogReader { private LogReader(){} public static ArrayList<Unit> readFile(File f) { ArrayList<Unit> l = new ArrayList<...
166MMX/Dune-II---The-Maker
resources/tools/LogViewer/src/logviewer/LogReader.java
Java
mit
2,290
/** * The MIT License (MIT) * * Copyright (c) 2012-2018 DragonBones team and other contributors * * 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...
DragonBones/DragonBonesJS
Pixi/5.x/src/dragonBones/pixi/PixiTextureAtlasData.ts
TypeScript
mit
4,172
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.cognitiveservices.vision.computervision.models; import java...
navalev/azure-sdk-for-java
sdk/cognitiveservices/ms-azure-cs-computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/AnalyzeImageOptionalParameter.java
Java
mit
4,218
<?php return [ 'plugin' => [ 'name' => 'Utenti', 'description' => 'Gestione Utenti Front-End.', 'tab' => 'Utenti', 'access_users' => 'Gestisci Utenti', 'access_groups' => 'Gestisci Gruppi di Utenti', 'access_settings' => 'Gestisci Impostazioni Utenti' ], 'use...
LukeTowers/oc-queencityhack2k17-site
plugins/rainlab/user/lang/it/lang.php
PHP
mit
10,511
'use strict'; /**@type {{[k: string]: string}} */ let BattleAliases = { // formats "randbats": "[Gen 8] Random Battle", "uber": "[Gen 8] Ubers", "ag": "[Gen 8] Anything Goes", "mono": "[Gen 8] Monotype", "randdubs": "[Gen 8] Random Doubles Battle", "doubles": "[Gen 8] Doubles OU", "dubs": "[Gen 8] Doubles OU",...
QuiteQuiet/Pokemon-Showdown
data/aliases.js
JavaScript
mit
43,883
import { moduleForComponent, test } from 'ember-qunit'; import wait from 'ember-test-helpers/wait'; import hbs from 'htmlbars-inline-precompile'; import startMirage from '../../helpers/setup-mirage'; moduleForComponent('data-table', 'Integration | Component | data table', { integration: true, setup: function() { ...
quantosobra/ember-data-table-light
tests/integration/components/data-table-test.js
JavaScript
mit
602