code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<a href='https://github.com/angular/angular.js/edit//src/ng/log.js?message=docs($log)%3A%20describe%20your%20change...#L3' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.20/src/ng/log.js#L3' class='view-... | dolymood/angular-packages | angular-1.3.20/docs/partials/api/ng/service/$log.html | HTML | mit | 3,733 |
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
using PixelCrushers.DialogueSystem.Examples;
namespace PixelCrushers.DialogueSystem.Editors {
/// <summary>
/// NPC setup wizard.
/// </summary>
public class NPCSetupWizard : ... | phelow/FallOfTheTzar | FallOfTheTzar/Assets/Dialogue System/Scripts/Editor/Wizards/NPCSetupWizard.cs | C# | mit | 21,891 |
import React, { memo, useMemo } from 'react';
import PropTypes from 'prop-types';
import { useIntl } from 'react-intl';
import get from 'lodash/get';
import omit from 'lodash/omit';
import take from 'lodash/take';
import isEqual from 'react-fast-compare';
import { GenericInput, NotAllowedInput, useLibrary } from '@stra... | wistityhq/strapi | packages/core/admin/admin/src/content-manager/components/Inputs/index.js | JavaScript | mit | 7,484 |
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import { addUserRequest, getUserRequest, updateUserRequest } from 'App/actions/users'
import { USER_TYPE_USER } from 'Server/constants'
import EditView from '../components/EditView'
class EditContainer extends Component {
stati... | nabil-jazoul/react-starter | app/routes/User/containers/EditContainer.js | JavaScript | mit | 1,876 |
package com.aspose.cells.cloud.examples.cells;
import android.content.Context;
import com.aspose.cells.api.CellsApi;
import com.aspose.cells.cloud.examples.Configuration;
import com.aspose.cells.cloud.examples.R;
import com.aspose.cells.cloud.examples.Utils;
import com.aspose.storage.api.StorageApi;
import java.io.... | aspose-cells/Aspose.Cells-for-Cloud | Examples/Android/app/src/main/java/com/aspose/cells/cloud/examples/cells/GetFirstCellWorksheet.java | Java | mit | 1,492 |
import { Universal } from '../../../src/types';
const { Set } = Universal;
const emptySet = new Set();
export default emptySet;
| ComplyCloud/asn1 | test/resources/asn1/empty-set_null-children.js | JavaScript | mit | 131 |
// Copyright (c) 2015 Elements of Programming Interviews. All rights reserved.
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
#include <iostream>
#include <queue>
#include <random>
#include <sstream>
#include <string>
#include <vector>
using std::array;
using std::cout;
using std::default_r... | adnanaziz/epicode | cpp/Closest_stars.cc | C++ | mit | 4,787 |
$(document).ready(function () {
/*
$('.sign-up-submit').click(function(e) {
var $button = $(e.target);
var $input = $button.closest(".sign-up-form").find(".mdl-textfield__input");
var $warning = $button.closest(".sign-up-form").find(".warning-message");
buttonAnimate($button, $input, $warning);
}... | Neil-Ni/v2 | www/assets/js/common.js | JavaScript | mit | 1,625 |
<?php
namespace Chamilo\Core\Repository\ContentObject\Survey\Page\Question\Choice\Storage\DataClass;
use Chamilo\Core\Repository\Storage\DataClass\ContentObject;
use Chamilo\Libraries\Architecture\ClassnameUtilities;
use Chamilo\Libraries\Architecture\Interfaces\Versionable;
use Chamilo\Libraries\Platform\Translation;... | cosnicsTHLU/cosnics | src/Chamilo/Core/Repository/ContentObject/Survey/Page/Question/Choice/Storage/DataClass/Choice.php | PHP | mit | 3,519 |
import styled from 'styled-components';
export const Wrapper = styled.section`
margin: 0 auto;
width: 100%;
max-width: 1170px;
`;
export const VerticalListView = styled.ul`
margin: var(--topbar-height) 0;
padding: 0;
list-style-type: none;
`;
export const VerticalListSection = styled.li`
margin-bottom:... | TeamVenu/venu | app/containers/Search/styles.js | JavaScript | mit | 2,254 |
<?php
/**
* HTML_QuickForm_tinymce.
*
* @author guillaule l. <guillaume@geelweb.org>
* @license PHP License http://www.php.net/license/3_0.txt
* $Id: tinymce.php,v 1.1.1.1 2007-06-06 11:14:50 david Exp $
*/
/**
* include parent class.
*/
require_once 'HTML/QuickForm/textarea.php';
/**
* Register QuickForm el... | arhe/pwak | vendor/HTML/QuickForm/tinymce.php | PHP | mit | 2,969 |
package cases
import (
"io/ioutil"
"path/filepath"
"regexp"
"strings"
"testing"
)
func testFilesFor(t testing.TB, dirname string, includes, ignores []string) []string {
files, err := ioutil.ReadDir(dirname)
if err != nil {
t.Fatal(err)
}
testFiles := make([]string, 0)
for _, file := range files {
if... | adamluzsi/escher-go | testing/cases/test_file_for.go | GO | mit | 1,099 |
var hub = require('..')
, cluster = require('cluster')
, assert = require('assert')
, WORKERS = 2
if (cluster.isMaster) {
var workers = [];
for (var i = 0; i < WORKERS; i++) {
workers.push(cluster.fork());
}
var n = WORKERS;
hub.on('imready', function() {
if (--n === 0) hub.emit('allready');
... | undertuga/nyxeye | node_modules/look/node_modules/clusterhub/test/workerworker-test.js | JavaScript | mit | 1,308 |
import addOptionsToOrdinalScale from 'ember-d3-helpers/utils/add-options-to-ordinal-scale';
import { module, test } from 'qunit';
module('Unit | Utility | add options to ordinal scale');
// Replace this with your real tests.
test('works supporting paddingInner/Outer', function(assert) {
let callCounts = {};
let l... | LocusEnergy/ember-d3-helpers | tests/unit/utils/add-options-to-ordinal-scale-test.js | JavaScript | mit | 3,029 |
require 'tempfile'
require_relative '../../spec_helper'
require_lib 'reek/examiner'
require_lib 'reek/report/report'
RSpec.describe Reek::Report::HTMLReport do
let(:instance) { Reek::Report::HTMLReport.new }
context 'with an empty source' do
let(:examiner) { Reek::Examiner.new('') }
before do
insta... | andyw8/reek | spec/reek/report/html_report_spec.rb | Ruby | mit | 679 |
package testutil
import (
"testing"
ci "gx/ipfs/QmP1DfoUjiWH2ZBo1PBH6FupdBucbDepx3HpWmEY6JMUpY/go-libp2p-crypto"
ma "gx/ipfs/QmcyqRMCAXVtYPS4DiBrA7sezL9rRGfW8Ctx7cywL4TXJj/go-multiaddr"
peer "gx/ipfs/QmdS9KpbDyPrieswibZhkod1oXqRwZJrUPzxCofAMWpFGq/go-libp2p-peer"
)
type Identity interface {
Address() ma.Multiadd... | duomarket/openbazaar-test-nodes | vendor/gx/ipfs/QmdVnYKahrvndXhyreWhY8YT3a5chJoWv8b4wVyH9JG2KB/go-testutil/identity.go | GO | mit | 1,079 |
/**
* UserController
*
* @description :: Server-side logic for managing users
* @help :: See http://links.sailsjs.org/docs/controllers
*/
module.exports = {
notes: function(req, res) {
EvernoteService.listNotes(function(err, notes) {
if(err){
console.log(err);
return res.server... | Boffee/YARN | api/controllers/UserController.js | JavaScript | mit | 661 |
'''Support module for translating strings.
This module provides several functions
for definitions, keys, and transforms.'''
__version__ = 1.3
################################################################################
import random
def definition(name=None):
'Returns a valid definition.'
random.seed(n... | ActiveState/code | recipes/Python/496858_zcryptpy/recipe-496858.py | Python | mit | 1,213 |
<?php
namespace Doctrine\Tests\ORM\Mapping;
use Doctrine\Tests\Mocks\MetadataDriverMock;
use Doctrine\Tests\Mocks\EntityManagerMock;
use Doctrine\Tests\Mocks\ConnectionMock;
use Doctrine\Tests\Mocks\DriverMock;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\Common\EventManager;
use Doctrine\ORM\Mapping\ClassMet... | greg0ire/doctrine2 | tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php | PHP | mit | 11,477 |
# NB! This project is deprecated
All users of this project are urged to find an alternative as it is not maintained anymore. Read more [here](https://blog.nodemailer.com/2018/03/11/spring-cleaning/)

Send e-mail... | andris9/mailcomposer | README.md | Markdown | mit | 881 |
# frozen_string_literal: true
class System::Admin::CoursesController < System::Admin::Controller
around_action :unscope_resources
add_breadcrumb :index, :admin_courses_path
def index
@courses = Course.includes(:instance).search(search_param).calculated(:active_user_count, :user_count)
@courses = @courses... | cysjonathan/coursemology2 | app/controllers/system/admin/courses_controller.rb | Ruby | mit | 1,023 |
/**
* @todo same issue as in movement.js - which profile takes precedence?
*/
on("change:repeating_profiles:attacks", async (e) => {
console.log("change:repeating_profiles:attacks", e);
const movementIds = await getSectionIDsAsync("movement");
const attrNames = movementIds.map(
(id) => `repeating_movement_$... | Zakarik/roll20-character-sheets | Palladium Rifts by Grinning Gecko/src/js/bonuses.js | JavaScript | mit | 13,275 |
/* @group Base */
.chzn-container {
position: relative;
display: inline-block;
vertical-align: middle;
font-size: 13px;
zoom: 1;
*display: inline;
}
.chzn-container .chzn-drop {
position: absolute;
top: 100%;
left: -9999px;
z-index: 1010;
-webkit-box-sizing: border-box;
-moz-box-s... | devmars/openHPMIS | style/extra/css/docsupport/chosen.css | CSS | mit | 13,414 |
<!DOCTYPE html >
<html>
<head>
<link rel="stylesheet" href="demos.css" type="text/css" media="screen" />
<script src="../libraries/RGraph.common.core.js" ></script>
<script src="../libraries/RGraph.common.effects.js" ></script>
<script src="../libraries/RGraph.pie.js" ></script>
<!--[if lt IE 9]><s... | ControlSystemStudio/diirt | pods/web-pods/src/main/webapp/js/widgets/lib/RGraph/demos/donut-roundrobin.html | HTML | mit | 1,361 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.0-rc.5-master-7f01138
*/
/* Only used with Theme processes */
html.md-THEME_NAME-theme, body.md-THEME_NAME-theme {
color: '{{foreground-1}}';
background-color: '{{background-color}}'; }
md-content {
display: block;
... | maximeBuguel/mirror | bower_components/angular-material/modules/js/content/content.css | CSS | mit | 623 |
import React from 'react';
import PropTypes from 'prop-types';
import { FetchedData, Param } from '../fetched';
import * as globals from '../globals';
import { ObjectPicker } from '../inputs';
const ItemBlockView = (props) => {
const ViewComponent = globals.contentViews.lookup(props.context);
return <ViewComp... | T2DREAM/t2dream-portal | src/encoded/static/components/blocks/item.js | JavaScript | mit | 1,696 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>bmat_width_max</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="LIBIT Documentation"
HREF="index.html"><LINK
REL="UP"
HREF="refmanual.... | xiao00li/Undergraduate_Dissertation | libit-0.2.3/doc/html/man.bmat-width-max.html | HTML | mit | 2,690 |
// This example compiles using the new STL<ToolKit> from ObjectSpace, Inc.
// STL<ToolKit> is the EASIEST to use STL that works on most platform/compiler
// combinations, including cfront, Borland, Visual C++, C Set++, ObjectCenter,
// and the latest Sun & HP compilers. Read the README.STL file in this
// directory ... | ombt/ombt | lts08.lcstools/tools/src/ihgp/src/stl/examples/modulus.cpp | C++ | mit | 738 |
/**
* The MIT License (MIT)
*
* Copyright (c) 2013-2014 Igor Zinken - http://www.igorski.nl
*
* 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 lim... | hicks0074/MWEngine | jni/events/drumevent.cpp | C++ | mit | 3,516 |
package main
import (
"bytes"
"fmt"
"os"
"os/exec"
"strings"
"testing"
app "github.com/luistm/banksaurus/cmd/bscli/application"
"github.com/luistm/testkit"
)
func deleteTestFiles(t *testing.T) {
if err := os.RemoveAll(app.Path()); err != nil {
t.Error(err)
}
}
func TestMain(t *testing.M) {
os.Setenv("B... | luistm/go-bank-cli | cmd/bscli/main_test.go | GO | mit | 4,775 |
---
author: ZSM
comments: true
date: 2014-12-02 16:17:26
layout: post
slug: tanzania3
title: Tanzania
categories: [tanzania]
tags:
- Photo
---

| Photographerzsm/Photographerzsm.github.io | _posts/2014-12-02-ts3.md | Markdown | mit | 178 |
var assert = require('assert');
var createTestConfig = require('./test-util').createTestConfig;
var createTestServicesWithStubs = require('./test-util').createTestServicesWithStubs;
var FileServer = require('../braid-file-server').FileServer;
var request = require('request');
var fs = require('fs');
var path = require(... | kduffie/braid-server | test/test-file-server.js | JavaScript | mit | 3,779 |
<?php
/**
* An example Morph_Object derived class
*
* @property string $userName
* @property string $firstName
* @property string $lastName
* @property int $dateOfBirth
*/
class User extends Morph_Object
{
public function __construct($id = null) {
parent::__construct($id);
$this->addProperty(new Mor... | a-musing-moose/morph | src/tutorials/Morph/examples/MinimalObject.php | PHP | mit | 622 |
package controllers5;
import play.mvc.Controller;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Hello1111111111111111111111111111111111 extends Controller {
public static void hello() {
// System.out.println("tere");
render("Application/hello.html", debug()... | asolntsev/big-app.play | app/controllers5/Hello1111111111111111111111111111111111.java | Java | mit | 4,765 |
version https://git-lfs.github.com/spec/v1
oid sha256:7f9cbfb4555e04b948aae3356d710f479a41b7a1c0b5a605beeefce843edd9e6
size 2675
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.15.0/arraylist-add/arraylist-add.js | JavaScript | mit | 129 |
define([
'angular',
'../module',
'../service',
'common/services/bootstrap',
], function(angular, lazyModule, service, bootstrapService) {
'use strict';
/**
* [homeController description]
* @param {[type]} $scope [description]
* @param {[type]} homeService [description]
... | pradeepbhati/angularjs-requirejs-optimiser | public/scripts/home/content/controller.js | JavaScript | mit | 1,004 |
module ShadowsocksRuby
module Connections
# A ServerConnection is a connection whose peer is a downstream peer, like a Client or a LocalBackend.
class ServerConnection < Connection
# Packet Protocol
#
# A Strategy Pattern for replacing protocol algorithm
#
# the first rea... | zhenkyle/shadowsocks_ruby | lib/shadowsocks_ruby/connections/server_connection.rb | Ruby | mit | 2,252 |
(function() {
var Sherpa;
var __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) {
for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; }
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype;
child.prototype = n... | joshbuddy/http_router | js/lib/http_router.js | JavaScript | mit | 25,532 |
require 'rails_helper'
RSpec.describe FeedbacksController, type: :controller do
end
| xzlstc415/yujihomo | spec/controllers/feedbacks_controller_spec.rb | Ruby | mit | 86 |
import {flags} from '@heroku-cli/command'
import {cli} from 'cli-ux'
import BaseCommand from '../../../base'
export default class EventsIndex extends BaseCommand {
static description = 'list webhook events on an app'
static examples = [
'$ heroku webhooks:events',
]
static flags = {
app: flags.app()... | heroku/heroku-cli | packages/webhooks/src/commands/webhooks/events/index.ts | TypeScript | mit | 1,326 |
#ifdef DEBUG_X11
extern int _Xdebug; /* part of Xlib */
#endif
#include <sys/time.h>
#include "allegro5/allegro.h"
#include "allegro5/internal/aintern_bitmap.h"
#include "allegro5/internal/aintern_x.h"
#include "allegro5/internal/aintern_xcursor.h"
#include "allegro5/internal/aintern_xembed.h"
#include "allegro5/inte... | tsteinholz/SR-Gaming | Libraries/allegro5-5.1/src/x/xsystem.c | C | mit | 7,812 |
/**
* 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.network.v2018_07_01.implementation;
import java.... | selvasingh/azure-sdk-for-java | sdk/network/mgmt-v2018_07_01/src/main/java/com/microsoft/azure/management/network/v2018_07_01/implementation/ConnectivityInformationInner.java | Java | mit | 3,329 |
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
import {HeaderComponent} from './header.component';
describe('HeaderComponent', () => {
let component: HeaderComponent;
let fixture: ComponentFixture<HeaderComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
dec... | GDG-Lille/twall-front | src/app/layout/header/component/header.component.spec.ts | TypeScript | mit | 628 |
#!/usr/bin/env python
from __future__ import print_function
import argparse
import glob
import os
import platform
import shutil
import subprocess
import sys
from lib.util import get_electron_branding, rm_rf, scoped_cwd
PROJECT_NAME = get_electron_branding()['project_name']
PRODUCT_NAME = get_electron_branding()['prod... | electron/electron | script/verify-mksnapshot.py | Python | mit | 4,821 |
//
// Copyright (c) 2008-2015 the Urho3D project.
//
// 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, m... | rsredsq/AtomicGameEngine | Source/Atomic/Resource/Localization.cpp | C++ | mit | 5,994 |
#include <a.hpp>
int main()
{
a_lib_func();
return 0;
}
| crafn/clbs | tests/proxyproject/b/main.cpp | C++ | mit | 59 |
---
title: 'Znak Saveza'
date: 25/05/2021
---
**“Stoga neka Izraelci drže subotu — svetkujući je od naraštaja do naraštaja — kao vječni savez. Neka je ona znak, zauvijek, između mene i Izraelaca. Ta Jahve je za šest dana sazdao nebo i zemlju, a sedmoga je dana prestao raditi i odahnuo.” (Izlazak 31,16.17)**
Četiri pu... | imasaru/sabbath-school-lessons | src/hr/2021-02/09/04.md | Markdown | mit | 1,984 |
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
/** @author John Miller, Khalid Jahangeer
* @version 1.3
* @date Thu Jan 17 13:12:42 EST 2013
* @see LICENSE (MIT style license file).
*
* @see http://web.mit.edu/be.400/www/SVD/Singular_Value_Decomposition.htm
* @s... | scalation/fda | scalation_1.3/scalation_mathstat/src/main/scala/scalation/linalgebra/SVD2.scala | Scala | mit | 6,042 |
// if97_xps stub - Interfaces CoolProp IF97 function to Mathcad
//
// this code executes the user function if97_xps(p,s), which is a wrapper for
// the CoolProp-IF97 function, Q_psmass(p,s).
LRESULT if97_XPS(
LPCOMPLEXSCALAR x, // pointer to the result
LPCCOMPLEXSCALAR p,
LPCCOMPLEXSCALAR s) // pointer t... | CoolProp/IF97 | wrapper/Mathcad/includes/xps.h | C | mit | 1,670 |
require 'test_helper'
class ArticlesControllerTest < ActionController::TestCase
setup do
@article = articles(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:articles)
end
test "should get new" do
get :new
assert_response :success
en... | jeyavel-velankani/Jel_Apps | kaminari-bootstrap-demo/test/functional/articles_controller_test.rb | Ruby | mit | 1,050 |
package trace
import (
"context"
"fmt"
"io"
"io/ioutil"
"net"
"os"
"path/filepath"
"testing"
"time"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/stripe/veneur/ssf"
)
func benchmarkPlainCombination(backend ClientBackend, span *ssf.SSFSpan) func(*testing.B) {
ctx ... | gphat/veneur | trace/backend_test.go | GO | mit | 4,756 |
#ifndef UTIL_TOKEN_H
#define UTIL_TOKEN_H
#include <stdbool.h>
#define TOKEN_STRLEN 33
bool generate_token(char out[static TOKEN_STRLEN]);
#endif
| swaywm/wlroots | include/util/token.h | C | mit | 149 |
#!/bin/sh
./ss.sh &
sleep 10
python gipt.py config.json
| lehui99/gipt | gipt.sh | Shell | mit | 56 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using NSAPConnector.CustomExceptions;
namespace NSAPConnector.Utils
{
/// <summary>
/// This class is used for extracting
/// SAP destination configuration from the
/// application configu... | ion-sapoval/NSAPConnector | NSAPConnector.Core/Utils/ConfigParser.cs | C# | mit | 3,147 |
<?php
Library::import('recess.database.sql.SqlBuilder');
Library::import('recess.database.sql.ISqlSelectOptions');
Library::import('recess.database.sql.ISqlConditions');
/**
* PdoDataSet is used as a proxy to query results that is realized once the results are
* iterated over or accessed using array notation.... | aabhushan/RESTful-TTS | recess/recess/database/pdo/PdoDataSet.class.php | PHP | mit | 9,120 |
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')(); // Load all gulp plugins
// automatically and attach
// them to the `plugins` object
var runSequence... | ardentum/tumbleweed | gulpfile.js | JavaScript | mit | 5,147 |
class AddEnableStudentTestsToAssignments < ActiveRecord::Migration[4.2]
def change
add_column :assignments, :enable_student_tests, :boolean, null: false, default: false
end
end
| MarkUsProject/Markus | db/migrate/20160902214959_add_enable_student_tests_to_assignments.rb | Ruby | mit | 185 |
<?php
namespace Chamilo\Core\User\Table\Admin;
use Chamilo\Core\User\Storage\DataClass\User;
use Chamilo\Core\User\Storage\DataManager;
use Chamilo\Libraries\Format\Table\Extension\DataClassTable\DataClassTableDataProvider;
use Chamilo\Libraries\Storage\Parameters\DataClassCountParameters;
use Chamilo\Libraries\Storag... | forelo/cosnics | src/Chamilo/Core/User/Table/Admin/AdminUserTableDataProvider.php | PHP | mit | 1,441 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// 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 wi... | maul-esel/ssharp | SafetySharpTests/Execution/ProvidedPorts/Methods/non-inherited.cs | C# | mit | 1,447 |
/*
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 System.Collections.Generic;
using System.Linq;
using Adxstudio.Xrm.Web.Mvc;
using Microsoft.Xrm.Sdk;
namespace Adxstudio.Xrm.Cms
{
inter... | Adoxio/xRM-Portals-Community-Edition | Framework/Adxstudio.Xrm/Cms/WebLinkSet.cs | C# | mit | 1,927 |
package collectors
import (
"bytes"
"encoding/base64"
"encoding/gob"
"fmt"
"net/http"
"strconv"
"time"
analytics "google.golang.org/api/analytics/v3"
"bosun.org/cmd/scollector/conf"
"bosun.org/metadata"
"bosun.org/opentsdb"
"golang.org/x/net/context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
)... | CheRuisiBesares/bosun | cmd/scollector/collectors/google_analytics.go | GO | mit | 5,280 |
/// <reference path="../../definitions/vsts-task-lib.d.ts" />
import path = require('path');
import os = require('os');
import tl = require('vsts-task-lib/task');
function getCommonLocalPath(files: string[]): string {
if (!files || files.length === 0) {
return "";
}
else if (files.length === 1) {
... | AArnott/vso-agent-tasks | Tasks/CopyFiles/copyfiles.ts | TypeScript | mit | 7,711 |
<?php
namespace TransformCore\PHE\LocalHealthAuthorityBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class TransformCorePHELocalHealthAuthorityBundle extends Bundle
{
}
| TransformCore/HayPersistenceApi | src/TransformCore/PHE/LocalHealthAuthorityBundle/TransformCorePHELocalHealthAuthorityBundle.php | PHP | mit | 181 |
/*
* Usage:
*
* <div class="sk-spinner sk-spinner-cube-grid">
* <div class="sk-cube"></div>
* <div class="sk-cube"></div>
* <div class="sk-cube"></div>
* <div class="sk-cube"></div>
* <div class="sk-cube"></div>
* <div class="sk-cube"></div>
* <div class="sk-cube"></div>... | nbagonet/AlphaAdminTemplate | dist/vendor/SpinKit/css/spinners/9-cube-grid.css | CSS | mit | 2,403 |
(function () {
ko.bindingHandlers = {};
ko.bindingContext = function(dataItem, parentBindingContext, dataItemAlias) {
if (parentBindingContext) {
ko.utils.extend(this, parentBindingContext); // Inherit $root and any custom properties
this['$parentContext'] = parentBindingContext... | chrismaul/knockout-render-server | public/components/knockoutjs/src/binding/bindingAttributeSyntax.js | JavaScript | mit | 12,421 |
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: 'src/main/javascript/app',
frameworks: ['jasmine'],
files: [
'lib/lodash/dist/lodash.js',
'lib/angular/angular.js',
'lib/angular... | fundacionjala/sevenwonders | ui/karma.conf.js | JavaScript | mit | 1,761 |
class AddOnlyChildren < ActiveRecord::Migration
def up
create_table :only_children, :force => true do |t|
t.string :name
t.references :parent
t.references :draft, :foreign_key => true
t.datetime :trashed_at
t.datetime :published_at
t.timestamps
end
end
def down... | npezza93/draftsman | spec/dummy/db/migrate/20150408234937_add_only_children.rb | Ruby | mit | 361 |
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Calendar.slug'
db.add_column('schedule_calendar', 'slug',
self.gf('dja... | Bionetbook/bionetbook | bnbapp/schedule/migrations/0003_auto__add_field_calendar_slug.py | Python | mit | 4,571 |
#ifndef JQ_PARSER_H
#define JQ_PARSER_H
int jq_parse(struct locfile* source, block* answer);
int jq_parse_library(struct locfile* locations, block* answer);
#endif
| fleitz/jq-objc | src/jq_parser.h | C | mit | 166 |
/*
pO\
6 /\
/OO\
/OOOO\
/OOOOOOOO\
((OOOOOOOO))
\:~=++=~:/
ChocolateChip-UI
ChUI.js
Copyright 2014 Sourcebits www.sourcebits.com
License: MIT
Version: 3.5.2
*/
(function($) {
'use strict';
$.extend({
///////////////
// Create Uuid:
///////////////
Uuid : function() {
r... | lozy219/Counter | static/js/chui-3.5.2.js | JavaScript | mit | 69,261 |
/* eslint-disable react/no-array-index-key */
/* @flow */
import React from 'react';
import type { Node } from 'react';
import cn from 'classnames';
import { Dropdown, DropdownOption } from '../../Dropdown';
import type { FontFamilyConfig } from '../../../core/config';
export type Props = {
expanded: boolean,
onE... | boldr/boldr | packages/editor/src/components/Controls/FontFamily/FontFamilyLayout.js | JavaScript | mit | 2,326 |
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported... | wawyed/ng2 | test-angular-versions/v5/src/polyfills.ts | TypeScript | mit | 2,398 |
// Copyright Joyent, Inc. and other Node 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 limitation the rights to use, copy, modi... | csr1010/xmmagik | test/simple/test-signal-handler.js | JavaScript | mit | 2,149 |
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... | transsight/testproject | src/stress.codegen/utils/Output.cs | C# | mit | 2,258 |
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace EmptyKeys.UserInterface.Generator.Values
{
/// <summary>
/// Implements generator for DynamicResourceExtension
... | bbqchickenrobot/UI_Generator | UIGenerator/Values/ResourceExtGeneratorValue.cs | C# | mit | 1,567 |
import Logger, { configure, levels } from '..';
import ConsoleHandler from 'nightingale-console';
import errorProcessor from 'nightingale-error-processor';
configure([
{
processors: [errorProcessor],
handlers: [new ConsoleHandler(levels.ALL)],
},
]);
const logger = new Logger('app');
logger.error(new Err... | christophehurpeau/springbokjs-logger | examples/errors.js | JavaScript | mit | 385 |
/*global module, require*/
'use strict';
function FtpMock() {
this.actions = {};
}
FtpMock.prototype.on = function (action, fn) {
this.actions[action] = fn;
};
FtpMock.prototype.connect = function (params) {
if (params.host !== 'rozklady.ztm.waw.pl') {
this.actions.error(new Error('Wrong address... | stasm/ztm-parser | test/mock/ftp.js | JavaScript | mit | 560 |
# frozen_string_literal: true
module ActiveRecord
module ConnectionAdapters
module OracleEnhanced
module JDBCQuoting
def _type_cast(value)
case value
when ActiveModel::Type::Binary::Data
blob = Java::OracleSql::BLOB.createTemporary(@connection.raw_connection, false, ... | cdinger/oracle-enhanced | lib/active_record/connection_adapters/oracle_enhanced/jdbc_quoting.rb | Ruby | mit | 1,171 |
'use strict'
/**
* Protobuf interface
* from go-ipfs/pin/internal/pb/header.proto
*/
module.exports = `
syntax = "proto2";
package ipfs.pin;
option go_package = "pb";
message Set {
optional uint32 version = 1;
optional uint32 fanout = 2;
optional fixed32 seed = 3;
}
`
| ipfs/node-ipfs | src/core/components/pin.proto.js | JavaScript | mit | 298 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_66-internal) on Tue Dec 08 09:28:00 GMT 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.apache.jena.rio... | manonsys/MVC | libs/Jena/javadoc-arq/org/apache/jena/riot/thrift/wire/package-frame.html | HTML | mit | 5,002 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.4-master-5034a04
*/md-divider.md-THEME_NAME-theme{border-top-color:'{{foreground-4}}'} | t0930198/shoait | app/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css | CSS | mit | 182 |
'use strict';
module.exports = require('./CodeSlide'); | AlexGilleran/babel-plugins-talk | spectacle-code-slide/lib/index.js | JavaScript | mit | 55 |
/**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.vtype;
import java.util.List;
/**
* Immutable VMultiDouble implementation.
*
* @author carcassi
*/
class IVMultiDouble extends IVNumeric implements VMulti... | richardfearn/diirt | vtype/vtype/src/main/java/org/diirt/vtype/IVMultiDouble.java | Java | mit | 617 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>XpkgHelper - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull">
... | TeaDrivenDev/Graphology | packages/FAKE/docs/apidocs/fake-xpkghelper.html | HTML | mit | 8,360 |
/*! umbraco
* https://github.com/umbraco/umbraco-cms/
* Copyright (c) 2016 Umbraco HQ;
* Licensed
*/
(function() {
angular.module("umbraco.directives", ["umbraco.directives.editors", "umbraco.directives.html", "umbraco.directives.validation", "ui.sortable"]);
angular.module("umbraco.directives.editors"... | clausjensen/Merchello | src/Merchello.FastTrack.Ui/Umbraco/Js/umbraco.directives.js | JavaScript | mit | 355,872 |
include ../common.mk
CP_FILES:=$(wildcard *.classpath)
JS_LIB_FILES=$(addprefix $(JS_PUB_DIR)/, $(CP_FILES:.classpath=-last.js))
JS_LIB_FILES_WITH_VERSION=$(addprefix $(JS_PUB_DIR)/, $(CP_FILES:.classpath=-$(JS_VERSION).js))
JS_LIB_PRODUCTION_FILES=$(addprefix $(JS_PUB_DIR)/, $(CP_FILES:.classpath=-last.min.js))
JS_L... | deyunanhai/tupai.js | libs/Makefile | Makefile | mit | 1,318 |
package realtime
import (
"log"
"github.com/Jeffail/gabs"
"github.com/lnxjedi/gopherbot/connectors/rocket/models"
)
// GetPublicSettings gets public settings
//
// https://rocket.chat/docs/developer-guides/realtime-api/method-calls/get-public-settings
func (c *Client) GetPublicSettings() ([]models.Setting, error)... | parsley42/gopherbot | connectors/rocket/realtime/settings.go | GO | mit | 1,435 |
// 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.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Extensions;
using osu.Framework.Input.Bindings;
using osu.Framework.Testing;... | ppy/osu | osu.Game.Tests/Visual/Navigation/TestSceneChangeAndUseGameplayBindings.cs | C# | mit | 4,911 |
/**
* Developer: Alexandr Voronyansky
* E-mail: alexandr@voronynsky.com
* Date: 04.10.13
* Time: 10:07
*/
(function( $, global ){
document.fullScreen = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement||
document.documentElement.requestFullscreen || docu... | BelirafoN/slideSystem | src/slide_system.js | JavaScript | mit | 26,072 |
'use strict';
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
archive = require('./archive.js'),
modelUtils = require('./modelUtils'),
config = require('meanio').loadConfig() ;
var FolderSchema = new Schema({
created: {
type: Date,
default: Date.now
},
updated: {
type: Date
}... | linnovate/icu | packages/custom/icu/server/models/folder.js | JavaScript | mit | 3,595 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>InvalidMangledStaticArg - F# Compiler Services</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Microsoft Corporation, Dave Thomas, ... | dsyme/FSharp.Compiler.Service | docs/reference/fsharp-compiler-prettynaming-invalidmangledstaticarg.html | HTML | mit | 5,175 |
package nxt.http;
import nxt.Alias;
import nxt.util.Convert;
import org.json.simple.JSONObject;
import org.json.simple.JSONStreamAware;
import javax.servlet.http.HttpServletRequest;
import static nxt.http.JSONResponses.INCORRECT_ALIAS;
import static nxt.http.JSONResponses.MISSING_ALIAS;
import static nxt.http.JSONRe... | aspnmy/NasCoin | src/java/nxt/http/GetAlias.java | Java | mit | 1,409 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# dodotable documentation build configuration file, created by
# sphinx-quickstart on Thu Sep 17 11:47:28 2015.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# ... | heejongahn/dodotable | docs/conf.py | Python | mit | 9,622 |
using System.IO;
namespace GostCryptography.Asn1.Ber
{
class Asn1CerInputStream : Asn1BerInputStream
{
public Asn1CerInputStream(Stream inputStream)
: base(inputStream)
{
}
}
} | kapitanov/GostCryptography | Source/GostCryptography/Asn1/Ber/Asn1CerInputStream.cs | C# | mit | 192 |
/**
* 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.network.v2019_07_01;
import com.microsoft.azure.... | selvasingh/azure-sdk-for-java | sdk/network/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/network/v2019_07_01/VirtualRouter.java | Java | mit | 6,979 |
var searchData=
[
['angle',['Angle',['../classlm_1_1_angle.html#a5128c164b47782001ec59ee549c925b8',1,'lm::Angle::Angle()'],['../classlm_1_1_angle.html#af18023849e8f9d286bcf729a7a9d108c',1,'lm::Angle::Angle(double angle)']]],
['append',['append',['../classlm_1_1_shader_pipeline.html#ae51f0a50859ab30b849b43e444b6b9a2... | Lums-proj/Lums | doc/search/functions_0.js | JavaScript | mit | 783 |
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands;
using Microsoft.eShopOnContainers.Services.Ordering.API.Application.Queries;
using Microsoft.eShopOnContainers.Services.Ordering.API.Controllers;
using Microsoft.eShopOnContainers.Services.Order... | TypeW/eShopOnContainers | test/Services/UnitTest/Ordering/Application/OrdersWebApiTest.cs | C# | mit | 5,759 |
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef WINBOOL (CALLBACK *PFIND_DEBUG_FILE_CALL... | zig-lang/zig | lib/libc/include/any-windows-any/psdk_inc/_dbg_common.h | C | mit | 63,999 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ILMergeHelper - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull">
... | TeaDrivenDev/Graphology | packages/FAKE/docs/apidocs/fake-ilmergehelper.html | HTML | mit | 7,987 |
// import path from 'path';
// import {isCI} from '../lib/ci';
module.exports = {
// // - - - - CHIMP - - - -
// watch: false,
// watchTags: '@watch,@focus',
// domainSteps: null,
// e2eSteps: null,
// fullDomain: false,
// domainOnly: false,
// e2eTags: '@e2e',
// watchWithPolling: false,
// server: false,
... | wtsarchive/Rocket.Chat | tests/chimp-config.js | JavaScript | mit | 4,154 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.