repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
StephenFluin/code.material.angularjs.org | 0.11.3/js/build-config.js | 234 | DocsApp.constant('BUILDCONFIG', {
"ngVersion": "1.4.6",
"version": "0.11.3",
"repository": "https://github.com/angular/material",
"commit": "3f51bd8633cfc0f1bcfee93d5f0f5650c9a8b01c",
"date": "2015-10-12 10:15:32 -0700"
});
| mit |
goby-lang/goby | vm/http_client.go | 6593 | package vm
import (
"fmt"
"io/ioutil"
"net/http"
"strings"
"github.com/goby-lang/goby/vm/classes"
"github.com/goby-lang/goby/vm/errors"
)
// Instance methods --------------------------------------------------------
func builtinHTTPClientInstanceMethods() []*BuiltinMethodObject {
//TODO: cookie jar and mutabl... | mit |
bower/components | packages/espresso.js | 85 | {
"name": "espresso.js",
"url": "https://github.com/techlayer/espresso.js.git"
}
| mit |
InsideSalesOfficial/insidesales-components | src/components/icons/EmptyStateIcon.js | 1707 | import React from 'react';
const EmptyStateIcon = props => (
<svg {...props.size || { width: '144px', height: '144px' }} {...props} viewBox="0 0 144 144">
{props.title && <title>{props.title}</title>}
<defs>
<path d="M76,8 L20,8 C15.6,8 12,11.6 12,16 L12,72 C12,76.4 15.6,80 20,80 L36,80 L48,92 L60,80... | mit |
Qafoo/changetrack | src/main/Qafoo/ChangeTrack/Analyzer/ResultBuilder/ClassChangesBuilder.php | 1361 | <?php
namespace Qafoo\ChangeTrack\Analyzer\ResultBuilder;
use Qafoo\ChangeTrack\Analyzer\Result\ClassChanges;
class ClassChangesBuilder
{
/**
* @var string
*/
private $className;
/**
* @var \Qafoo\ChangeTrack\Analyzer\ResultBuilder\MethodChangesBuilder[]
*/
private $methodChanges... | mit |
odlp/antifreeze | vendor/github.com/cloudfoundry/cli/command/v6/restart_command_test.go | 23815 | package v6_test
import (
"errors"
"time"
"code.cloudfoundry.org/bytefmt"
"code.cloudfoundry.org/cli/actor/actionerror"
"code.cloudfoundry.org/cli/actor/v2action"
"code.cloudfoundry.org/cli/actor/v2v3action"
"code.cloudfoundry.org/cli/actor/v3action"
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv2/constant... | mit |
kowshik/big-o | java/src/binarytrees/TreeDepth.java | 362 | package binarytrees;
/**
* Given a binary tree, find its depth.
*
* Signature of expected method:
*
* public static int maxDepth(TreeNode<?> root) {...}
*/
public class TreeDepth {
public static int maxDepth(TreeNode<?> root) {
if (root == null) {
return 0;
}
return Math.max(maxDepth(root.getLeft... | mit |
Joelzm/ocw-manager | app/cache/dev/annotations/OCWm-OCWBundle-Entity-ocws$proyectos_clase.cache.php | 285 | <?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":10:{s:4:"type";s:4:"text";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:4:"name";s:15:"proyectos_clase";s:7:"options";a:0:{}s:16:"columnDefinition";N;s:5:"value";N;}}'); | mit |
radzinzki/grunt-ssh-multi-exec | test/multiple targets (restricted parallelism).js | 7099 | 'use strict';
var expect = require('expect.js');
var noop = function() { return function() {}; },
task = require('./../tasks/ssh-multi-exec')(require('grunt'));
var proceed = function(iteration, maxIterations, cb) {
if(++iteration === maxIterations) {
cb();
} else {
return iteration;
... | mit |
JPAT-ROSEMARY/SCUBA | org.jpat.scuba.external.bcel/bcel-5.2/docs/xref/org/apache/bcel/package-summary.html | 2378 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
<title>jakarta-bcel 5.2 Reference Package </title>
... | mit |
N00bface/Real-Dolmen-Stage-Opdrachten | stageopdracht/src/main/resources/static/vendors/moment/locale/sq.js | 2726 | /*
* Copyright (c) 2017. MIT-license for Jari Van Melckebeke
* Note that there was a lot of educational work in this project,
* this project was (or is) used for an assignment from Realdolmen in Belgium.
* Please just don't abuse my work
*/
//! moment.js locale configuration
//! locale : Albanian (sq)
//! author ... | mit |
nojima/vio | third_party/ffmpeg-1.1.3-win64-dev/doc/ffplay.html | 21167 | <!DOCTYPE html>
<html>
<!-- Created on March 3, 2013 by texi2html 1.82 -->
<!--
texi2html was written by:
Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: ... | mit |
zq317157782/Narukami | external/imgui/examples/example_win32_directx10/main.cpp | 9656 | // Dear ImGui: standalone example application for DirectX 10
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
// Read online: https://github.com/ocornut/imgui/tree/master/docs
#include "imgui.h"
#include "imgui_impl_win32.h"
#include "imgui_impl_dx10.h"
#include <d... | mit |
obi-a/ragios | lib/ragios/notifications/notify_worker.rb | 1083 | module Ragios
module Notifications
class NotifyWorker
include Celluloid
def perform(event, monitor, test_result, notifier)
event_details = {
monitor_id: monitor[:_id],
state: event,
time: Time.now.utc,
type: "event",
event_type: "monitor.notif... | mit |
ungdev/integration-UTT | database/migrations/2016_07_09_171819_add_a_relation_between_student_and_team.php | 1034 | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddARelationBetweenStudentAndTeam extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('students', function (Blueprint $table) {... | mit |
ochrons/diode | diode-core/js/src/main/scala/diode/Implicits.scala | 116 | package diode
import diode.util.RunAfterJS
object Implicits {
implicit object runAfterImpl extends RunAfterJS
}
| mit |
oenning/highcharts-mvc | src/Highcharts.Mvc/highcharts-mvc.min.js | 994 | // (c) 2012 Guilherme Oenning
var hCharts=[];function setIntervalAndExecute(func,time){func();return(setInterval(func,time));}
Highcharts.Chart.prototype.clearSeries=function(){while(this.series.length>0)
this.series[0].remove(true);};function loadChartAjax(options){var chart=hCharts[options.chartId];var url=options.... | mit |
zidik/Robocup-Simulator | style/screen.css | 5042 | /* Layout */
HTML,
BODY {
padding: 0;
margin: 0;
height: 100%;
background: url(../images/body-bg.jpg) no-repeat center center;
}
#contents {
position: absolute;
width: 820px;
height: 557px;
left: 50%;
top: 50%;
margin-left: -410px;
margin-top: -310px;
overflow: visible;
}... | mit |
NickAger/elm-slider | ServerSlider/HTTPServer/Packages/COpenSSL-0.14.0/Sources/a_d2i_fp.c | 9419 | /* crypto/asn1/a_d2i_fp.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and no... | mit |
Mahaswami/netzke-core | test/core_test_app/spec/js_class_config_scope.rb | 1145 | require 'spec_helper'
class SomeComponent < Netzke::Base
end
module MyCompanyComponents
class SomeComponent < Netzke::Base
end
end
class InheritedComponent < SomeComponent
end
module Netzke
module Basepack
class GridPanel < Netzke::Base
end
end
end
describe Netzke::Core::ClientClass do
it "should... | mit |
ccamensuli/stage_full | src/stage-ui/plugins/grid/test/fixtures/html/bdd200.html | 33371 | <table>
<thead>
<tr>
<th>Id</th>
<th>qsdqsdqsdsqdsqd</th>
<th>Email</th>
<th>Date</th>
<th>Price</th>
<th>Change</th>
<th>Available</th>
</tr>
</thead>
<tbody>
<tr>
<td>N7C 0P4</td>
<td>Macromedia</td>
<td>gravida.sagittis@Proinegetodio.edu</td>
<td>12-05-11</td>
<td>14949<... | mit |
tdeo/rubocop | spec/rubocop/cop/style/even_odd_spec.rb | 3756 | # frozen_string_literal: true
RSpec.describe RuboCop::Cop::Style::EvenOdd do
subject(:cop) { described_class.new }
it 'converts x % 2 == 0 to #even?' do
expect_offense(<<~RUBY)
x % 2 == 0
^^^^^^^^^^ Replace with `Integer#even?`.
RUBY
expect_correction(<<~RUBY)
x.even?
RUBY
end
... | mit |
DMDcoin/Diamond | doc/release-notes/dash/release-notes-0.12.0.md | 3051 | 0.12.0 Release notes
====================
Dash Core version 0.12.0 is now available from:
https://dashpay.io/downloads
Please report bugs using the issue tracker at github:
https://github.com/dashpay/dash/issues
How to Upgrade
--------------
If you are running an older version, shut it down. Wait until it h... | mit |
zeit/next.js | packages/next/trace/shared.ts | 164 | export type SpanId = number
export const traceGlobals: Map<any, any> = new Map()
export const setGlobal = (key: any, val: any) => {
traceGlobals.set(key, val)
}
| mit |
BackupTheBerlios/zena | test/unit/page_test.rb | 1066 | require 'test_helper'
class PageTest < Zena::Unit::TestCase
context 'Creating a page' do
setup do
login(:tiger)
end
should 'work with just a title' do
assert_difference('Node.count', 1) do
secure(Page) { Page.create(:parent_id=>nodes_id(:projects), :title=>'lazy node')}
end
... | mit |
mockingbirdnest/Principia | physics/discrete_trajectory_iterator_body.hpp | 9469 | #pragma once
#include "physics/discrete_trajectory_iterator.hpp"
#include "astronomy/epoch.hpp"
#include "geometry/named_quantities.hpp"
namespace principia {
namespace physics {
namespace internal_discrete_trajectory_iterator {
using geometry::InfiniteFuture;
using geometry::Instant;
template<typename Frame>
FORC... | mit |
markglibres/cad.web | src/Configuration/Tenant.cs | 1119 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CAD.Core;
namespace CAD.Web
{
public class Tenant : ITenant
{
public string Name { get; set; }
private Lazy<List<TenantPlugin>> _plugins = new Lazy<List<TenantPlugin>>(()... | mit |
caffeina-core/core | classes/Redirect.php | 1140 | <?php
/**
* Redirect
*
* HTTP redirection commands.
*
* @package core
* @author stefano.azzolini@caffeinalab.com
* @copyright Caffeina srl - 2015 - http://caffeina.it
*/
class Redirect {
use Module;
public static function to($url, $status=302){
if ($link = Filter::with('core.redirect',$url)) ... | mit |
philnash/twilio-ruby | lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb | 17122 | ##
# This code was generated by
# \ / _ _ _| _ _
# | (_)\/(_)(_|\/| |(/_ v1.0.0
# / /
#
# frozen_string_literal: true
module Twilio
module REST
class Conversations < Domain
class V1 < Version
class ServiceContext < InstanceContext
class ConfigurationContext < Instance... | mit |
beni55/bop | test/run.sh | 331 | fails=0
n=0
sdate=$(date +"%s")
for t in test/*-test.js; do
echo -e "\n[ Bop" $t "]\n"
node $t || let fails++
let n++
done
edate=$(date +"%s")
etime=$[ $edate-$sdate ]
echo -e "\n" $n "test files executed ("$etime"s):"
echo -e " tests passed:" $[ $n - $fails ] 'files.'
echo -e " tests failed:" $fails 'files.\n'
e... | mit |
iflamed/deployer | app/Presenters/CommandPresenter.php | 2738 | <?php
namespace REBELinBLUE\Deployer\Presenters;
use Illuminate\Support\Facades\Lang;
use REBELinBLUE\Deployer\Command;
use Robbo\Presenter\Presenter;
/**
* The view presenter for a command class.
*/
class CommandPresenter extends Presenter
{
/**
* Gets the readable list of before clone commands.
*
... | mit |
EliteScientist/webpack | lib/runtime/CompatRuntimePlugin.js | 1622 | /*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
"use strict";
const RuntimeGlobals = require("../RuntimeGlobals");
const RuntimeModule = require("../RuntimeModule");
/** @typedef {import("../MainTemplate")} MainTemplate */
class CompatRuntimePlugin extends RuntimeModule {
constructor() {
su... | mit |
poojaadani/carlvlewis-theme | _posts/2009-07-15-tuition-ammunition.html | 6245 | ---
layout: post
title: Tuition ammunition
date: 2009-07-15 21:10:10.000000000 +05:30
categories:
- Deadline
- Print
- The Telegraph (Macon, Ga.)
tags:
- GI bill
- military
- universities
status: publish
type: post
published: true
meta:
_edit_last: '1'
quote-author: Unknown
image: ''
quote-url: http://
quote-... | mit |
saadullahsaeed/chai.io | vendor/bundle/ruby/1.9.1/gems/sequel-3.41.0/lib/sequel/plugins/composition.rb | 7178 | module Sequel
module Plugins
# The composition plugin allows you to easily define a virtual
# attribute where the backing data is composed of other columns.
#
# There are two ways to use the plugin. One way is with the
# :mapping option. A simple example of this is when you have a
# database... | mit |
dm-dashboard/dashboard | node_modules/npm/html/doc/api/npm-view.html | 6469 | <!doctype html>
<html>
<title>npm-view</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/api/npm-view.html">
<script async=true src="../../static/toc.js"></script>
<bod... | mit |
LivePersonInc/dev-hub | content_ga2/data-operational-realtime-sla-histogram.html | 172240 | <!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content=" ">
<title>SLA Histogram | LivePerson Technical Documentation</title>
<link rel... | mit |
g0otgahp/number-energy | theme/tinymce/tinymce/themes/modern/theme.js | 44251 | (function () {
var defs = {}; // id -> {dependencies, definition, instance (possibly undefined)}
// Used when there is no 'main' module.
// The name is probably (hopefully) unique so minification removes for releases.
var register_3795 = function (id) {
var module = dem(id);
var fragments = id.split('.');
var t... | mit |
tianon/debian-golang-pty | debian/helpers/create-upstream-tag.sh | 1391 | #!/bin/bash
set -e
upstreamCommit="$1"
dayVersion="${2:-1}"
if [ -z "$upstreamCommit" ]; then
echo >&2 "usage: $0 commit [day-version]"
echo >&2 " ie: $0 8d849acb"
echo >&2 " ie: $0 upstream # to tag the latest local upstream commit"
echo >&2 " ie: $0 upstream 2 # to tag a second commit in the same day"
ec... | mit |
mitdbg/asciiclass | labs/lab7/code/src/test/SimpleShortestPathsVertex.java | 2846 | package test;
/*
* 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
* "L... | mit |
coolicer/shopshop | models/Product.js | 807 | module.exports = function(sequelize, DataTypes) {
var Product = sequelize.define('Product', {
ProductId: {
type: DataTypes.BIGINT,
primaryKey:true,
allowNull: false,
autoIncrement: true
},
ProductTypeId:{
type:DataTypes.BIGINT,
allowNull: false,
refe... | mit |
0x0ade/GifToGomez | Properties/AssemblyInfo.cs | 981 | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("GifToGomez")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly... | mit |
nvisionative/Dnn.Platform | DNN Platform/DotNetNuke.Web/Api/Auth/BasicAuthMessageHandler.cs | 4146 | // 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 DotNetNuke.Web.Api.Auth
{
using System;
using System.Net;
using System.Net.Http;
using... | mit |
pharring/ApplicationInsights-dotnet | WEB/Src/WindowsServer/WindowsServer.Tests/Mock/HeartbeatProviderMock.cs | 2100 | namespace Microsoft.ApplicationInsights.WindowsServer.Mock
{
using System;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing;
internal class HeartbeatProviderMock : IHeartbeatPropertyManager
{
public bool Enabled = true;
publ... | mit |
johnpankowicz/govmeeting | Utilities/PsScripts/tmp/Move-Docs.ps1 | 599 | # Temporary script to move some files.
$WORKSPACE_ROOT = "C:\GOVMEETING\_SOURCECODE"
$docs = $WORKSPACE_ROOT + "\src\WebUI\WebApp\clientapp\src\assets\docs"
Set-Location $docs
# foreach ($lang in "AR","BN", "DE", "ES", "FI", "FR", "HI", "IT", "PT", "SW", "ZH") {
# New-Item -Path $docs -Name $lang -ItemType "dir... | mit |
Bogdanp/modviz | tests/test_cli.py | 1467 | import bootstrap # noqa
import pytest
from modviz.cli import parse_arguments, validate_path, validate_fold_paths
def test_argument_parsing():
with pytest.raises(SystemExit):
parse_arguments([])
namespace = parse_arguments(["foo"])
assert namespace.path == "foo"
assert namespace.target is No... | mit |
924ge/xpoint21 | www/wordpress/wordpress/wp-content/plugins/simple-membership/classes/class.swpm-utils-member.php | 3017 | <?php
/**
* SwpmMemberUtils
* All the utility functions related to member records should be added to this class
*/
class SwpmMemberUtils {
public static function is_member_logged_in() {
$auth = SwpmAuth::get_instance();
if ($auth->is_logged_in()) {
return true;
} else {
... | mit |
RichardHowells/Dnn.Platform | DNN Platform/DotNetNuke.Web.Deprecated/UI/WebControls/DnnListViewItem.cs | 1498 | #region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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 restric... | mit |
bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/KDCIFD/SerialNumber.php | 838 | <?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\KDCIFD;
use JMS\Serializer\Annotation\ExclusionPolicy... | mit |
bburnichon/PHPExiftool | lib/PHPExiftool/Driver/Tag/Qualcomm/R2TL84Tbl27.php | 850 | <?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Qualcomm;
use JMS\Serializer\Annotation\ExclusionPoli... | mit |
luanlv/lila | app/views/clas/teacherDashboard.scala | 10660 | package views.html.clas
import controllers.routes
import lila.api.Context
import lila.app.templating.Environment._
import lila.app.ui.ScalatagsTemplate._
import lila.clas.{ Clas, ClasInvite, ClasProgress, Student }
import lila.common.String.html.richText
import lila.rating.PerfType
import lila.user.User
object teache... | mit |
railt/railt | packages/SDL/src/CompilerInterface.php | 989 | <?php
/**
* This file is part of Railt package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Railt\SDL;
use GraphQL\Contracts\TypeSystem\SchemaInterface;
use Phplrt\Contracts\Source\ReadableI... | mit |
anhstudios/swganh | data/scripts/templates/object/mobile/shared_dressed_commoner_tatooine_rodian_male_04.py | 466 | #### NOTICE: THIS FILE IS AUTOGENERATED
#### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY
#### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES
from swgpy.object import *
def create(kernel):
result = Creature()
result.template = "object/mobile/shared_dressed_commoner_tatooine_rodian_male_04.iff"
result.attribute... | mit |
Bingle-labake/coollive.com.cn | public/data/static/assets/upload_img/css/diyUpload.css | 3409 | @charset "utf-8";
/* CSS Document*/
.parentFileBox {
width:auto;
height:auto;
overflow:hidden;
position:relative;
}
.parentFileBox>.fileBoxUl {
position:relative;
width:100%;
height:auto;
overflow:hidden;
padding-bottom:5px;
}
.parentFileBox>.fileBoxUl>li {
float:left;
border:1px solid #09F;... | mit |
oliviertassinari/material-ui | packages/mui-icons-material/lib/BatteryStdSharp.js | 497 | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | mit |
monstaHD/integral | web/bundles/integralcore/css/style.css | 3607 | body {
background-image: url("../images/hexellence.png");
font-family: Helvetica, Arial;
color: black;
width: 100%;
}
.container {
width: 1024px;
}
/* Menu bar */
.menu-item {
font-family: 'Harabara', Arial;
font-size: 28px;
text-align: center;
margin: 12px 0 12px 0;
}
.active-menu-item {
color: #FF0133;
... | mit |
Dackng/eh-unmsm-client | node_modules/bootstrap-loader/lib/bootstrap.config.js | 5934 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = createConfig;
var _path = require('path');
var _path2 = _interopRequireDefault(_path);
var _fs = require('fs');
var _fs2 = _interopRequireDefault(_fs);
var _jsYaml = require('js-yaml');
var _jsYaml2 = _interopRequire... | mit |
fernandoval/FVAL-PHP-Framework | springy/system_errors_create_table.sql | 430 | CREATE TABLE `%table_name%` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`error_code` CHAR(8) NOT NULL,
`description` TEXT NOT NULL,
`details` LONGTEXT NOT NULL,
`occurrences` INT(10) UNSIGNED NOT NULL DEFAULT '1',
`last_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRI... | mit |
j-froehlich/magento2_wk | vendor/magento/module-catalog/Model/Product/Gallery/Entry.php | 4135 | <?php
/**
*
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\Product\Gallery;
use Magento\Framework\Model\AbstractExtensibleModel;
use Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface;
use Magento\Catalog\Api\Dat... | mit |
nick-thompson/dsp | README.md | 2265 | # dsp
> A collection of digital signal processing concepts explored in Python.
Without the full backstory, this repository is probably very convoluted. The work here follows from an exploration
of sound design in Web Audio, which I wrote about
[on my blog](http://nickwritesablog.com/sound-design-in-web-audio-neurofun... | mit |
hanumesh/video-web | node_modules/webrtcsupport/README.md | 1936 | # webrtcsupport
## What is this?
A tiny browser module for detecting support for WebRTC and also for extracting the necessary constructors such as `PeerConnection`, `SessionDescription`, and `IceCandidate`.
Suitable for use with browserify/CommonJS on the client.
If you're not using browserify or you want AMD supp... | mit |
johnathan99j/history-project | _people/omid_faramarzi.md | 94 | ---
title: Omid Faramarzi
headshot: QQsM7HS
gender: male
submitted: false
graduated: 2016
---
| mit |
madridonrails/StrategyMOR | vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb | 3330 | # Retain for backward compatibility. Methods are now included in Class.
module ClassInheritableAttributes # :nodoc:
end
# Allows attributes to be shared within an inheritance hierarchy, but where each descendant gets a copy of
# their parents' attributes, instead of just a pointer to the same. This means that the chi... | mit |
fstonezst/LightGBM | include/LightGBM/metric.h | 3500 | #ifndef LIGHTGBM_METRIC_H_
#define LIGHTGBM_METRIC_H_
#include <LightGBM/meta.h>
#include <LightGBM/config.h>
#include <LightGBM/dataset.h>
#include <LightGBM/objective_function.h>
#include <vector>
namespace LightGBM {
/*!
* \brief The interface of metric.
* Metric is used to calculate metric result
*/
clas... | mit |
farcaller/cocotron | CoreGraphics/KGPDFFunction_Type3.h | 1534 | /* Copyright (c) 2007 Christopher J. W. Lloyd
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, publish, dis... | mit |
mightydonbriggs/xarisma | src/XarismaBundle/Form/ImportType.php | 1220 | <?php
namespace XarismaBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ImportType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $options
*... | mit |
selvasingh/azure-sdk-for-java | sdk/servicebus/mgmt-v2017_04_01/src/main/java/com/microsoft/azure/management/servicebus/v2017_04_01/implementation/MigrationConfigPropertiesImpl.java | 4198 | /**
* 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.servicebus.v2017_04_01.implementation;
import co... | mit |
selvasingh/azure-sdk-for-java | sdk/machinelearningservices/mgmt-v2019_05_01/src/main/java/com/microsoft/azure/management/machinelearningservices/v2019_05_01/implementation/PageImpl1.java | 1776 | /**
* 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.machinelearningservices.v2019_05_01.implementatio... | mit |
acacha/adminlte-laravel | src/Console/Routes/GeneratesCode.php | 440 | <?php
namespace Acacha\AdminLTETemplateLaravel\Console\Routes;
/**
* Interface GeneratesCode.
*
* @package Acacha\AdminLTETemplateLaravel\Console\Routes
*/
interface GeneratesCode
{
/**
* Generates route code
*
* @return mixed
*/
public function code();
/**
* Set replacements... | mit |
FredrikWendt/stark | src/main/scala/se/marcuslonnberg/stark/auth/AuthActor.scala | 13393 | package se.marcuslonnberg.stark.auth
import java.security.SecureRandom
import akka.actor.{Actor, ActorLogging, ActorRef, Props}
import akka.pattern.pipe
import com.github.nscala_time.time.Imports._
import com.typesafe.config.ConfigFactory
import net.ceedubs.ficus.Ficus._
import se.marcuslonnberg.stark.auth.AuthActor.... | mit |
szapata/Migol | app/cache/prod/annotations/Migol-UserBundle-Entity-User.cache.php | 282 | <?php return unserialize('a:2:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Entity":3:{s:15:"repositoryClass";N;s:8:"readOnly";b:0;s:5:"value";N;}i:1;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:8:"fos_user";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:5:"value";N;}}'); | mit |
Qihoo360/beanstalkd-win | sd-daemon.c | 11741 | /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
Copyright 2010 Lennart Poettering
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 witho... | mit |
amironov73/ManagedIrbis | Source/Classic/Libs/AM.Win32/AM/Win32/Gdi32/DISPLAY_DEVICE.cs | 5145 | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* DISPLAY_DEVICE.cs --
Ars Magna project, http://arsmagna.ru */
#region Using directives
using System;
using System.Runtime.InteropServices;
using Jet... | mit |
aslushnikov/ftree | src/print.css | 1629 | html, body {
padding: 0;
margin: 0;
background-color: #fdf9ef;
font-family: arial;
color: #333;
position: relative;
}
body {
display: flex;
flex-direction: column;
}
header {
flex-grow: 0;
pointer-events: auto;
background-color: rgba(253, 249, 239, 0.75);
padding-top: 1... | mit |
teohhanhui/symfony | src/Symfony/Component/Config/Loader/FileLoader.php | 5542 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Config\Loader;
use Symfony\Component\Config\Exception... | mit |
src-run/serferals | README.md | 7699 |
# [src-run] serferals
[Welcome](https://src.run/go/readme_welcome)! The `src-run/serferals` package provides a CLI application for looking-up
and organizing media files, with support for movies and TV episodes.
The following list shows the name of the input files to the left of the output paths this script would mo... | mit |
gabrielbull/php-sitesearch | src/Common/CredentialsInterface.php | 458 | <?php
/**
* Created by IntelliJ IDEA.
* User: emcnaughton
* Date: 5/4/17
* Time: 10:35 AM
*/
namespace Omnimail\Common;
/**
* Interface CredentialsInterface
*
* @package Omnimail
*/
interface CredentialsInterface
{
/**
* Set credentials.
*
* @param array $credentials
*/
public fun... | mit |
stephaneAG/PengPod700 | QtEsrc/qt-everywhere-opensource-src-4.8.5/doc/html/qglwidget-qt3.html | 12591 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgl.cpp -->
... | mit |
pcas/docker-plugin | src/main/java/com/nirima/jenkins/plugins/docker/builder/DockerBuilderControlOption.java | 1388 | package com.nirima.jenkins.plugins.docker.builder;
import com.nirima.docker.client.DockerException;
import com.nirima.jenkins.plugins.docker.action.DockerLaunchAction;
import hudson.model.AbstractBuild;
import hudson.model.Describable;
import hudson.model.Descriptor;
import jenkins.model.Jenkins;
import java.io.IOExc... | mit |
Antonio-Lopez/angularjs-requirejs-typescript | app/tests/require-config.js | 1010 | var allTestFiles = [];
var TEST_REGEXP = /test\.js$/;
var pathToModule = function(path) {
return path.replace(/^\/base\//, '').replace(/\.js$/, '');
};
Object.keys(window.__karma__.files).forEach(function(file) {
if (TEST_REGEXP.test(file)) {
// Normalize paths to RequireJS module names.
allTe... | mit |
alexislefebvre/victoire | Bundle/BlogBundle/Resources/public/js/blog.js | 5952 | /*global blogCategories, $ */
function BlogCategory(blogCategoryElement)
{
this.element = $vic(blogCategoryElement);
if ($vic(blogCategoryElement).data('index')) {
this.index = $vic(blogCategoryElement).data('index');
} else {
this.index = $vic(blogCategoryElement).children('[data-init="tr... | mit |
Kikobeats/worker-farm-cli | bin/parse-args/index.js | 586 | 'use strict'
const isDirectory = require('is-directory').sync
const isFile = require('is-file')
function getFarmArgs (args, fileIndex) {
const start = 0
const end = fileIndex + 1
return args.slice(start, end)
}
function getFileArgs (args, fileIndex) {
const start = fileIndex + 1
const end = args[args.lengt... | mit |
pharring/ApplicationInsights-dotnet | NETCORE/test/IntegrationTests.WebApp/Models/ErrorViewModel.cs | 221 | using System;
namespace IntegrationTests.WebApp.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | mit |
randorfer/ScorchDev | PowerShellModules/xPSDesiredStateConfiguration/3.9.0.0/DSCPullServerSetup/PublishModulesAndMofsToPullServer.psm1 | 7004 | <#
.Synopsis
Package DSC modules and mof configuration document and publish them on an enterprise DSC pull server in the required format.
.DESCRIPTION
Uses Publish-DSCModulesAndMof function to package DSC modules into zip files with the version info.
Publishes the zip modules on "$env:ProgramFiles\WindowsPowe... | mit |
georghinkel/ttc2017smartGrids | solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61970/Informative/InfWork/impl/DesignImpl.java | 23208 | /**
*/
package gluemodel.CIM.IEC61970.Informative.InfWork.impl;
import gluemodel.CIM.IEC61968.Common.impl.DocumentImpl;
import gluemodel.CIM.IEC61968.Work.Work;
import gluemodel.CIM.IEC61968.Work.WorkPackage;
import gluemodel.CIM.IEC61970.Informative.InfERPSupport.ErpBOM;
import gluemodel.CIM.IEC61970.Informative.I... | mit |
cncgl/ML-sandbox | tensorflow-nmist.sh | 64 | #!/bin/sh
python -m tensorflow.models.image.mnist.convolutional
| mit |
gs01md/ColorfulWoodUIBase | TestUI/Pods/ColorfulWoodUIBase/ColorfulWoodUIBase/ColorfulWoodUIBase/CocoapodFiles/CWUBModules_Custom/CWUBCell_Company/CWUBCell_Company_One/CWUBCell_Company_One.h | 665 | //
// CWUBCell_Company_One.h
// ColorfulWoodUIBase
//
// Created by 大新 on 2018/6/12.
// Copyright © 2018年 ColorfulWood. All rights reserved.
//
#import "CWUBCellBase.h"
#import "CWUBCell_Company_One_Model.h"
/**
* 消息,用于清除默认图片
*/
#define CWUB_NOTIFICATION_CWUBCell_Company_One @"CWUB_NOTIFICATION_CWUBCell_Company... | mit |
Microsoft/ChakraCore | lib/Backend/TempTracker.cpp | 64404 | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | mit |
davidstelter/dabl-mvc | src/helpers/json_encode_all.php | 713 | <?php
/**
* @link https://github.com/ManifestWebDesign/DABL
* @link http://manifestwebdesign.com/redmine/projects/dabl
* @author Manifest Web Design
* @license MIT License
*/
/**
* Convert a value to JSON
*
* This function returns a JSON representation of $param. It uses json_encode
* to accomplish this, ... | mit |
michaelneu/MooseMachine | src/com/cs/moose/ui/controls/memorytable/MemoryTableRow.java | 1331 | package com.cs.moose.ui.controls.memorytable;
public class MemoryTableRow {
private final short[] values;
private final int row;
public MemoryTableRow(short[] values, int row) {
this.values = values;
this.row = row;
}
public int getColumn0() {
return row;
}
public short getColumn1() {
return values[0... | mit |
teampl4y4/j2-exchange | web/bundles/j2exchange/js/backbone/form.js | 1175 | (function ($) {
$.extend(Backbone.View.prototype, {
parse: function(objName) {
var self = this,
recurse_form = function(object, objName) {
$.each(object, function(v,k) {
if (k instanceof Object) {
object[v] = recurse_form(k... | mit |
Susurrus/nix | test/test_mq.rs | 4429 | use nix::mqueue::{mq_open, mq_close, mq_send, mq_receive, mq_getattr, mq_setattr, mq_unlink, mq_set_nonblock, mq_remove_nonblock};
use nix::mqueue::{O_CREAT, O_WRONLY, O_RDONLY, O_NONBLOCK};
use nix::mqueue::MqAttr;
use nix::sys::stat::{S_IWUSR, S_IRUSR, S_IRGRP, S_IROTH};
use std::ffi::CString;
use std::str;
use lib... | mit |
nvisionative/Dnn.Platform | DNN Platform/Library/Services/Cache/FBCachingProvider.cs | 7037 | // 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 DotNetNuke.Services.Cache
{
using System;
using System.IO;
using System.Security.Cryptograph... | mit |
oliverviljamaa/markus-cinema-client | index.js | 76 | const getShows = require('./lib/getShows');
module.exports = { getShows };
| mit |
martinlindhe/rogue | spriteset_test.go | 796 | package rogue
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestParseSpritesetDefinitionCharacters(t *testing.T) {
ss, err := ParseSpritesetDefinition("resources/assets/tilesets/oddball/characters.yml")
assert.Equal(t, nil, err)
assert.Equal(t, true, len(ss.Tiles) > 2)
}
func TestParseSprites... | mit |
gregwym/joos-compiler-java | testcases/a3/J1_castarrayaccess.java | 197 | // TYPE_CHECKING
public class J1_castarrayaccess {
public J1_castarrayaccess() {}
public static int test() {
String[] s = new String[5];
Object o = (Object)s[1];
return 123;
}
}
| mit |
mmkassem/gitlabhq | spec/lib/gitlab/request_profiler/profile_spec.rb | 1760 | # frozen_string_literal: true
require 'fast_spec_helper'
RSpec.describe Gitlab::RequestProfiler::Profile do
let(:profile) { described_class.new(filename) }
describe '.new' do
context 'using old filename' do
let(:filename) { '|api|v4|version.txt_1562854738.html' }
it 'returns valid data' do
... | mit |
tum-i22/obfuscated-programs | tigress-generated-programs/empty-Seed4-RandomFuns-Type_int-ControlStructures_14-BB2-ForBound_input-Operators_PlusA_MinusA_Lt_Gt_Le_Ge_Eq_Ne_Mult_Div_Mod.c | 3745 | /* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... | mit |
camperjz/trident | modules/boonex/russian/install/config.php | 1513 | <?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Russian Russian language
* @ingroup UnaModules
*
* @{
*/
$aConfig = array(
/**
* Main Section.
*/
'type' => BX_DOL_MODULE_TYPE_LANGUAGE,
'name' => 'bx_ru',
'tit... | mit |
quasoft/backgammonjs | app/server/README.md | 63 | # backgammon.js-server
See [`project README`](../../README.md) | mit |
peppy/osu | osu.Game/Rulesets/Mods/DifficultyAdjustSettingsControl.cs | 5254 | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Gr... | mit |