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
# frozen_string_literal: true require 'csv' class CourseStudentsCsvBuilder def initialize(course) @course = course end def generate_csv csv_data = [CSV_HEADERS] courses_users.each do |courses_user| csv_data << row(courses_user) end CSV.generate { |csv| csv_data.each { |line| csv << li...
alpha721/WikiEduDashboard
lib/analytics/course_students_csv_builder.rb
Ruby
mit
1,126
<?php class Typography_test extends CI_TestCase { public function set_up() { $this->type = new Mock_Libraries_Typography(); $this->ci_instance('type', $this->type); } // -------------------------------------------------------------------- /** * Tests the format_characters() function. * * this can and...
mattgerstman/TweetTwoScreens
tests/codeigniter/libraries/Typography_test.php
PHP
mit
4,416
/* Copyright (c) 2009-2013 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "net.h" #include "ioloop.h" #include "hash.h" #include "strescape.h" #include "fd-set-nonblock.h" #include "login-proxy-state.h" #include <unistd.h> #include <fcntl.h> #define NOTIFY_RETRY_REOPEN_MSECS (60*1000) s...
Distrotech/dovecot
src/login-common/login-proxy-state.c
C
mit
3,843
/** * window.c.ProjectSuggestedContributions component * A Project-show page helper to show suggested amounts of contributions * * Example of use: * view: () => { * ... * m.component(c.ProjectSuggestedContributions, {project: project}) * ... * } */ import m from 'mithril'; import _ from 'underscore'; c...
vicnicius/catarse_admin
src/c/project-suggested-contributions.js
JavaScript
mit
881
""" Copyright (c) 2012-2016 Ben Croston 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, distribut...
anatolieGhebea/contatore
python/RPi.GPIO-0.6.3/RPi/GPIO/__init__.py
Python
mit
1,112
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1"> <title>org.apache.commons.net.pop3 (Commons Net 3.3 API)</title> <link rel="stylesheet" type="te...
asad/MCEDS
lib/commons-net-3.3/apidocs/org/apache/commons/net/pop3/package-summary.html
HTML
mit
8,093
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; namespace GSoft.Dynamite.Collections { /// <summary> /// A list that supports synchronized reading and writing. /// </summary> /// <typeparam name="T">The type of ob...
GSoft-SharePoint/Dynamite
Source/GSoft.Dynamite/Collections/ConcurrentList.cs
C#
mit
22,033
<?php namespace Oro\Bundle\IntegrationBundle\Provider; use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; interface SyncProcessorInterface { /** * @param Integration $integration * @param $connector * @param array $connectorParameters * * @return bool */ public func...
Djamy/platform
src/Oro/Bundle/IntegrationBundle/Provider/SyncProcessorInterface.php
PHP
mit
407
<!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 (version 1.7.0_17) on Sun Nov 03 15:35:48 CET 2013 --> <title>Uses of Class com.badlogic.gdx.utils.ObjectFloatMap.Values (libgdx API)</title> <meta na...
emeryduh/TeamJones_Project
libgdx/docs/api/com/badlogic/gdx/utils/class-use/ObjectFloatMap.Values.html
HTML
mit
7,368
import { get } from '../get' export function getSearchData(page, cityName, category, keyword) { const keywordStr = keyword ? '/' + keyword : '' const result = get('/api/search/' + page + '/' + cityName + '/' + category + keywordStr) return result }
su-chang/react-web-app
app/fetch/search/search.js
JavaScript
mit
261
/*global define*/ /*jslint white:true,browser:true*/ define([ 'bluebird', // CDN 'kb_common/html', // LOCAL 'common/ui', 'common/runtime', 'common/events', 'common/props', // Wrapper for inputs './inputWrapperWidget', 'widgets/appWidgets/fieldWidget', // Display widgets ...
msneddon/narrative
nbextensions/editorCell_bill/widgets/editorParamsViewWidget.js
JavaScript
mit
11,747
#!/bin/bash FN="ALL_1.32.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.12/data/experiment/src/contrib/ALL_1.32.0.tar.gz" "https://bioarchive.galaxyproject.org/ALL_1.32.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-all/bioconductor-all_1.32.0_src_all.tar.gz" ) MD5="a7181423086d1ea752a3e4...
bebatut/bioconda-recipes
recipes/bioconductor-all/post-link.sh
Shell
mit
1,267
/* css Zen Garden submission 145 - 'Paravion', by Emiliano Pennisi, http://www.peamarte.it/01/metro.html */ /* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/ */ /* All associated graphics copyright 2004, Emiliano Pennisi */ /* Added: Dec. 16th, 2004 */ /* IMPORTAN...
codenothing/css-compressor
unit/benchmark/src/csszengarden.com.145.css
CSS
mit
4,813
package com.hearthsim.card.basic.spell; import com.hearthsim.card.spellcard.SpellTargetableCard; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.effect.EffectCharacterBuffTemp; import com.hearthsim.event.filter.FilterCharacter; import com.hearthsim.event.filter.FilterCharacterTargetedSpel...
oyachai/HearthSim
src/main/java/com/hearthsim/card/basic/spell/HeroicStrike.java
Java
mit
1,140
module SS::Reference::Site extend ActiveSupport::Concern extend SS::Translation included do cattr_accessor :site_required, instance_accessor: false self.site_required = true attr_accessor :cur_site belongs_to :site, class_name: "SS::Site" validates :site_id, presence: true, if: ->{ self.cl...
ShinjiTanimoto/shirasagi
app/models/concerns/ss/reference/site.rb
Ruby
mit
649
#! /bin/sh # SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 6WIND S.A. # Do some basic checks in MAINTAINERS file cd $(dirname $0)/.. # speed up by ignoring Unicode details export LC_ALL=C # Get files matching paths with wildcards and / meaning recursing files () # <path> [<path> ...] { if [ -z "$1" ] ; th...
john-mcnamara-intel/dpdk
devtools/check-maintainers.sh
Shell
mit
2,892
<!DOCTYPE html> <html> <head> <title>NEJ实例 - 计数器</title> <meta charset="utf-8" /> <script> function log(msg){ var div = document.createElement('div'); div.innerHTML = msg; document.body.appendChild(div); } </script> </head> <body> <textarea id="abc" st...
NEYouFan/nej-toolkit
test/cases/nej_0.1.0/webapp/src/javascript/lib/nej/util/cursor/demo/cursor.html
HTML
mit
1,199
TARGET?=tests .PHONY: docs flake8 example test coverage docs: cd docs; make html open docs/_build/html/index.html flake8: flake8 --ignore=W999 two_factor example tests example: DJANGO_SETTINGS_MODULE=example.settings PYTHONPATH=. \ django-admin.py runserver test: DJANGO_SETTINGS_MODULE=tests.settings PYTHON...
mathspace/django-two-factor-auth
Makefile
Makefile
mit
816
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using Mindscape.Raygun4Net.Messages; using System.Threading; using System.Reflection; using Mindscape.Raygun4Net.Builders; namespace Mindscape.Raygun4Net { public class RaygunClient : RaygunClientBase {...
nelsonsar/raygun4net
Mindscape.Raygun4Net4.ClientProfile/RaygunClient.cs
C#
mit
13,094
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "ProfileService_winrt.h" #include "Utils_WinRT.h" using namespace pplx; using namespace Windows::Foundation; using namespace Windows::Foundation::Colle...
jicailiu/xbox-live-api
Source/Services/Social/WinRT/ProfileService_WinRT.cpp
C++
mit
2,818
// Copyright 2011 Splunk, 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...
Christopheraburns/projecttelemetry
node_modules/splunk-sdk/lib/platform/client/jquery_http.js
JavaScript
mit
2,820
/* * MP3 muxer * Copyright (c) 2003 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your ...
retsu0/FFmepg-Android
jni/ffmpeg/libavformat/mp3enc.c
C
mit
16,996
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "optionsdialog.h" #include "ui_optionsdialog.h" #include "bitcoinunits.h" #include "monitoreddatamapper.h" #include ...
bankonme/Potcoin-1
src/qt/optionsdialog.cpp
C++
mit
9,332
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "i...
s-matthew-english/bitcoin
src/init.cpp
C++
mit
80,293
<?php namespace esperanto\UserBundle\Entity; use Doctrine\ORM\Mapping as ORM; use FOS\UserBundle\Model\Group as BaseGroup; /** * Group */ class Group extends BaseGroup { /** * @var integer */ protected $id; /** * @var \Doctrine\Common\Collections\Collection */ private $users; ...
gseidel/esperanto-cms
src/esperanto/UserBundle/Entity/Group.php
PHP
mit
1,301
@extends('admin.layouts.modal') {{-- Content --}} @section('content') <!-- Tabs --> <ul class="nav nav-tabs"> <li class="active"><a href="#tab-general" data-toggle="tab">General</a></li> </ul> <!-- ./ tabs --> {{-- Delete User Form --}} <form class="form-horizontal" method=...
mgathu1/groceryshopper
laravel/app/views/admin/users/delete.blade.php
PHP
mit
905
package org.multibit.hd.core.events; /** * <p>Signature interface to provide the following to Core Event API:</p> * <ul> * <li>Identification of core events</li> * </ul> * <p>A core event should be named using a noun as the first part of the name (e.g. ExchangeRateChangedEvent)</p> * <p>A core event can occur at...
oscarguindzberg/multibit-hd
mbhd-core/src/main/java/org/multibit/hd/core/events/CoreEvent.java
Java
mit
449
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Media.Analytics.Edge.Models { /// <summary> Http header service credentials. </summary> public partial class MediaGraphHttpHeaderCredentials : ...
brjohnstmsft/azure-sdk-for-net
sdk/mediaservices/Azure.Media.Analytics.Edge/src/Generated/Models/MediaGraphHttpHeaderCredentials.cs
C#
mit
2,304
var fs = require('fs'); var PNG = require('../lib/png').PNG; var test = require('tape'); var noLargeOption = process.argv.indexOf("nolarge") >= 0; fs.readdir(__dirname + '/in/', function (err, files) { if (err) throw err; files = files.filter(function (file) { return (!noLargeOption || !file.match(/large/i))...
lukeapage/pngjs2
test/convert-images-spec.js
JavaScript
mit
2,317
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>make_vector</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" title...
davehorton/drachtio-server
deps/boost_1_77_0/libs/fusion/doc/html/fusion/container/generation/functions/make_vector.html
HTML
mit
12,217
/*************************************************************************************** Extended WPF Toolkit Copyright (C) 2007-2014 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license ...
BenInCOSprings/WpfDockingWindowsApplicationTemplate
wpftoolkit-110921/Main/Source/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Magnifier/Views/MagnifierView.xaml.cs
C#
mit
1,404
var assert = require('assert'); var Q = require('q'); var R = require('..'); describe('pipeP', function() { function a(x) {return x + 'A';} function b(x) {return x + 'B';} it('handles promises', function() { var plusOne = function(a) {return a + 1;}; var multAsync = function(a, b) {return Q.when(a * ...
donnut/ramda
test/pipeP.js
JavaScript
mit
988
<?php namespace Illuminate\Tests\Support; use DateTime; use DateTimeInterface; use BadMethodCallException; use Carbon\CarbonImmutable; use Illuminate\Support\Carbon; use PHPUnit\Framework\TestCase; use Carbon\Carbon as BaseCarbon; class SupportCarbonTest extends TestCase { /** * @var \Illuminate\Support\Car...
cviebrock/framework
tests/Support/SupportCarbonTest.php
PHP
mit
3,356
local yui_path = (...):match('(.-)[^%.]+$') local Object = require(yui_path .. 'UI.classic.classic') local FlatDropdown = Object:extend('FlatDropdown') function FlatDropdown:new(yui, settings) self.yui = yui self.x, self.y = 0, 0 self.name = settings.name self.size = settings.size or 20 self.option...
adonaac/yaoui
yaoui/FlatDropdown.lua
Lua
mit
3,846
// // MTFontMathTable.h // iosMath // // Created by Kostub Deshmukh on 8/28/13. // Copyright (C) 2013 MathChat // // This software may be modified and distributed under the terms of the // MIT license. See the LICENSE file for details. // @import Foundation; @import CoreText; @class MTFont; /** MTGlyphPart ...
kostub/iosMath
iosMath/render/internal/MTFontMathTable.h
C
mit
8,951
from __future__ import print_function from .patchpipette import PatchPipette
pbmanis/acq4
acq4/devices/PatchPipette/__init__.py
Python
mit
77
# Acknowledgements This application makes use of the following third party libraries: ## TFBubbleItUp Copyright (c) 2015 Ales Kocur <ales@thefuntasty.com> 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 ...
beeth0ven/TFBubbleItUp
Example/Pods/Target Support Files/Pods-TFBubbleItUp_Tests/Pods-TFBubbleItUp_Tests-acknowledgements.markdown
Markdown
mit
1,228
// // LOTPlatformCompat.h // Lottie // // Created by Oleksii Pavlovskyi on 2/2/17. // Copyright (c) 2017 Airbnb. All rights reserved. // #ifndef LOTPlatformCompat_h #define LOTPlatformCompat_h #import "TargetConditionals.h" #if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR #import <UIKit/UIKit.h> #else #import <App...
NewSpring/Apollos
ios/Pods/lottie-ios/lottie-ios/Classes/MacCompatability/LOTPlatformCompat.h
C
mit
648
<?php /** * Subclass for representing a row from the 'sf_simple_forum_category' table. * * * * @package plugins.sfSimpleForumPlugin.lib.model */ class sfSimpleForumCategory extends PluginsfSimpleForumCategory { }
Symfony-Plugins/sfSimpleForum2Plugin
lib/model/sfSimpleForumCategory.php
PHP
mit
222
var _ = require('underscore'); /* A rule should contain explain and rule methods */ // TODO explain explain // TODO explain missing // TODO explain assert function assert (options, password) { return !!password && options.minLength <= password.length; } function explain(options) { if (options.minLength === 1) { ...
nherzalla/ProfileX-1
node_modules/password-sheriff/lib/rules/length.js
JavaScript
mit
1,063
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>placeholders::signal_number</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../boost_asio.html"...
djsedulous/namecoind
libs/boost_1_50_0/doc/html/boost_asio/reference/placeholders__signal_number.html
HTML
mit
4,190
// // RZTCustomErrorViewController.h // RaisinToast // // Created by Adam Howitt on 1/7/15. // Copyright (c) 2015 adamhrz. All rights reserved. // #import "RZErrorMessagingViewController.h" @interface RZTCustomErrorViewController : UIViewController <RZMessagingViewController> @end
Raizlabs/RaisinToast
Example/RaisinToast/RZTCustomErrorViewController.h
C
mit
289
<?php /** * @package CleverStyle CMS * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @copyright Copyright (c) 2011-2014, Nazar Mokrynskyi * @license MIT License, see license.txt */ namespace cs; use ArrayAccess, SimpleXMLElement; /** * False_class is used for chained calling, when some method may retu...
nazar-pc/cherrytea.org-old
core/classes/False_class.php
PHP
mit
1,775
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
jubos/meguro
deps/spidermonkey/tests/js1_5/Regress/regress-463259.js
JavaScript
mit
2,273
$hidden=true This is a sticky notice that should appear on the homepage!
w-oertl/Luapress
tests/sticky/pages/sticky.md
Markdown
mit
74
/* * Farseer Physics Engine: * Copyright (c) 2012 Ian Qvist * * Original source Box2D: * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of t...
Blucky87/Nez
Nez.FarseerPhysics/Farseer/Dynamics/Joints/DistanceJoint.cs
C#
mit
9,625
<?php /* WebProfilerBundle:Profiler:toolbar_js.html.twig */ class __TwigTemplate_5c613b42836f9a825aea4138cba148e6 extends Twig_Template { protected function doGetParent(array $context) { return false; } protected function doDisplay(array $context, array $blocks = array()) { // line...
ksrinivasancomo/symfony2
app/cache/dev_old/twig/5c/61/3b42836f9a825aea4138cba148e6.php
PHP
mit
1,789
package utils import ( "io/ioutil" "net/http" "encoding/json" "fmt" "github.com/juju/errors" ) // GetRequestBody reads request and returns bytes func GetRequestBody(r *http.Request) ([]byte, error) { body, err := ioutil.ReadAll(r.Body) if err != nil { return nil, errors.Trace(err) } return body, nil } /...
nildev/tools
vendor/github.com/nildev/lib/utils/http.go
GO
mit
943
--- author: jeffatwood comments: true date: 2010-12-17 06:28:45+00:00 layout: post redirect_from: /2010/12/introducing-programmers-stackexchange-com hero: slug: introducing-programmers-stackexchange-com title: Introducing programmers.stackexchange.com wordpress_id: 6383 tags: - company - stackexchange - community --- ...
dgrtwo/stack-blog
_posts/2010-12-17-introducing-programmers-stackexchange-com.markdown
Markdown
mit
3,607
# hookshot ![](http://i.cloudup.com/i_vGKjtQcY2.png) "You found the *hookshot*! It's a spring-loaded chain that you can cast out to hook things." ## Intro **hookshot** is a tiny library and companion CLI tool for handling [GitHub post-receive hooks](https://help.github.com/articles/post-receive-hooks). ## Examples...
NYPL/labs.nypl.org
node_modules/hookshot/README.md
Markdown
mit
2,703
#import <Cocoa/Cocoa.h> #import "SpectacleShortcutRecorderDelegate.h" @class SpectacleShortcutManager; @interface SpectacleShortcutRecorderCell : NSCell @property (nonatomic) SpectacleShortcutRecorder *shortcutRecorder; @property (nonatomic) NSString *shortcutName; @property (nonatomic) SpectacleShortcut *shortcut;...
LEONID-DOROGIN/simply-apple
compilation/macports/office/simply-spectacle/files/Spectacle/Sources/SpectacleShortcutRecorderCell.h
C
mit
682
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_datagram_socket::send (2 of 3 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" hre...
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/asio/doc/html/boost_asio/reference/basic_datagram_socket/send/overload2.html
HTML
mit
6,331
// +build linux // +build 386 amd64 arm arm64 package ras import ( "database/sql" "fmt" "os" "strconv" "strings" "time" _ "modernc.org/sqlite" //to register SQLite driver "github.com/influxdata/telegraf" "github.com/influxdata/telegraf/plugins/inputs" ) // Ras plugin gathers and counts errors provided by ...
m4ce/telegraf
plugins/inputs/ras/ras.go
GO
mit
9,486
using Marten.Testing.Documents; namespace Marten.Testing.Linq.Compatibility.Support { public class DefaultQueryFixture: TargetSchemaFixture { public DefaultQueryFixture() { Store = provisionStore("linq_querying"); DuplicatedFieldStore = provisionStore("duplicate_fields"...
mdissel/Marten
src/Marten.Testing/Linq/Compatibility/Support/DefaultQueryFixture.cs
C#
mit
845
// 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.Linq; using Cake.Core; using Cake.Core.IO; namespace Cake.Common.Tools.Chocolatey { ...
patriksvensson/cake
src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs
C#
mit
3,004
#region Copyright // // DotNetNuke® - http://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...
RichardHowells/Dnn.Platform
DNN Platform/Modules/DnnExportImportLibrary/Dto/Users/ExportUser.cs
C#
mit
2,486
<!doctype html> <html> <head> <meta charset="utf-8"/> </head> <body> <select multiple id="s"> <option value="1" id="one" selected>one</option> <option id="two" selected>two</option> </select> <script> alert(document.getElementById('s').value); </script> </body> </html>
110035/kissy
src/dom/sub-modules/ie/tests/manual/select.html
HTML
mit
301
<?php /* * This file is part of PhpSpec, A php toolset to drive emergent * design by specification. * * (c) Marcello Duarte <marcello.duarte@gmail.com> * (c) Konstantin Kudryashov <ever.zet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with t...
mheki/phpspec
src/PhpSpec/CodeGenerator/Generator/ExistingConstructorTemplate.php
PHP
mit
3,432
// 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.Connections { public enum ConnectorCategories { Social = 0, ...
dnnsoftware/Dnn.Platform
DNN Platform/Library/Services/Connections/ConnectorCategories.cs
C#
mit
414
package run_test import ( "fmt" "net/url" "strings" "testing" "time" ) var tests Tests // Load all shared tests func init() { tests = make(map[string]Test) tests["database_commands"] = Test{ queries: []*Query{ &Query{ name: "create database should succeed", command: `CREATE DATABASE db0`, ...
swhsiang/pathfinder
vendor/github.com/influxdata/influxdb/cmd/influxd/run/server_suite_test.go
GO
mit
21,973
<? header('Location: http://www.diridarek.com'); ?>
seriux55/loweeb00069
src/Base/DiridarekBundle/Resources/public/images/press/index.php
PHP
mit
51
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using Azure; using Azure.Core; namespace Azure.Storage.Files.DataLake { internal partial class FileSystemGetPropertiesHeaders { private readonly Respon...
Azure/azure-sdk-for-net
sdk/storage/Azure.Storage.Files.DataLake/src/Generated/FileSystemGetPropertiesHeaders.cs
C#
mit
1,739
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ console.c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Forrest Yu, 2005 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* 回车键: 把光标移到第一列 换行键: 把光标前进到下一行 */ #include "type.h" #i...
RongbinZhuang/simpleOS
ver0/reference/chapter7/i/kernel/console.c
C
mit
1,638
// // NSDataAES.h // // Created by cheng on 15/12/25. // Copyright © 2015年 cheng. All rights reserved. // #import <Foundation/Foundation.h> extern NSString * kCryptorKey; #pragma mark - @interface NSData (AES128) @interface NSData (AES128) + (NSData *)dataFromBase64String:(NSString *)aString; - (NSString *)base...
Excalibur-CT/CTCoreCategory
CTCoreCategoryDemo/Pods/CTCoreCategory/CTCoreCategory/NSString/NSDataAES.h
C
mit
725
from io import BytesIO import tempfile import os import time import shutil from contextlib import contextmanager import six import sys from netlib import utils, tcp, http def treader(bytes): """ Construct a tcp.Read object from bytes. """ fp = BytesIO(bytes) return tcp.Reader(fp) @contextma...
tdickers/mitmproxy
netlib/tutils.py
Python
mit
3,536
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
mrkmarron/ChakraCore
lib/Backend/FunctionJITRuntimeInfo.h
C
mit
620
#ifndef __NET_IP_WRAPPER_H #define __NET_IP_WRAPPER_H 1 #include_next <net/ip.h> #include <linux/version.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0) static inline bool ip_is_fragment(const struct iphdr *iph) { return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; } #endif #if LINUX_VERSION_CODE < KERNEL_VE...
kspviswa/dpi-enabled-ovs
ovs/datapath/linux/compat/include/net/ip.h
C
mit
554
# Configure EPEL (Extra Repository for Enterprise Linux) # Note This is the last release that will support anything before Puppet 4. # About This module basically just mimics the epel-release rpm. The same repos are enabled/disabled and the GPG key is imported. In the end you will end up with the EPEL repos configu...
integratedfordevelopers/integrated-puphpet
puppet/modules/epel/README.md
Markdown
mit
5,511
import { rectangle } from 'leaflet'; import boundsType from './types/bounds'; import Path from './Path'; export default class Rectangle extends Path { static propTypes = { bounds: boundsType.isRequired, }; componentWillMount() { super.componentWillMount(); const { bounds, map, ...props } = this.pro...
TaiwanStat/react-leaflet
src/Rectangle.js
JavaScript
mit
584
/* GWEN Copyright (c) 2010 Facepunch Studios See license in Gwen.h */ #pragma once #ifndef GWEN_CONTROLS_CHECKBOX_H #define GWEN_CONTROLS_CHECKBOX_H #include "Gwen/Controls/Base.h" #include "Gwen/Controls/Button.h" #include "Gwen/Gwen.h" #include "Gwen/Skin.h" #include "Gwen/Controls/Symbol.h" #include "Gwen/Contr...
MadManRises/Madgine
shared/bullet3-2.89/examples/ThirdPartyLibs/Gwen/Controls/CheckBox.h
C
mit
1,720
require 'spec_helper' require Rails.root.join('db', 'post_migrate', '20170921101004_normalize_ldap_extern_uids') describe NormalizeLdapExternUids, :migration, :sidekiq do let!(:identities) { table(:identities) } around do |example| Timecop.freeze { example.run } end before do stub_const("Gitlab::Data...
iiet/iiet-git
spec/migrations/normalize_ldap_extern_uids_spec.rb
Ruby
mit
2,088
<?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\Bundle\WebProfilerBundle\Csp; use Symfony\Component\HttpFoundat...
localheinz/symfony
src/Symfony/Bundle/WebProfilerBundle/Csp/ContentSecurityPolicyHandler.php
PHP
mit
8,478
using System; using Ionic.Zlib; using UnityEngine; namespace VoiceChat { public static class VoiceChatUtils { static void ToShortArray(this float[] input, short[] output) { if (output.Length < input.Length) { throw new System.ArgumentException("in: " + i...
jonathanrlouie/unity-vr-livestream
TutorClient/Assets/VoiceChat/Scripts/VoiceChatUtils.cs
C#
mit
7,916
/* YUI 3.8.0pr2 (build 154) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("dd-drop-plugin",function(e,t){var n=function(e){e.node=e.host,n.superclass.constructor.apply(this,arguments)};n.NAME="dd-drop-plugin",n.NS="drop",e.extend(n,e.DD.Drop),e...
SHMEDIALIMITED/tallest-tower
node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/dd-drop-plugin/dd-drop-plugin-min.js
JavaScript
mit
394
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page smarty_internal_compile...
YuheiNakasaka/sharememo
vendor/smarty/smarty/development/Smarty3Doc/Smarty/Compiler/_libs---sysplugins---smarty_internal_compile_extends.php.html
HTML
mit
2,140
/* This file was generated by SableCC (http://www.sablecc.org/). */ package com.bju.cps450.node; import com.bju.cps450.analysis.*; @SuppressWarnings("nls") public final class TPlus extends Token { public TPlus() { super.setText("+"); } public TPlus(int line, int pos) { super.setT...
asdfzt/CPS450-MiniJava
MiniJavaParserWithAST/gen-src/com/bju/cps450/node/TPlus.java
Java
mit
738
# https://github.com/plataformatec/devise#test-helpers RSpec.configure do |config| config.include Devise::TestHelpers, :type => :controller end
cngondo/bestmix
server/spec/support/devise.rb
Ruby
mit
146
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>parse_extension_args (OpenID::SReg::Request)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-...
agrimm/eol
vendor/gems/ruby-openid-2.0.4/doc/classes/OpenID/SReg/Request.src/M000089.html
HTML
mit
3,728
class ChangeOrderAttributes < ActiveRecord::Migration def up change_column_default :orders, :front_end_change, nil rename_column :orders, :front_end_change, :change remove_column :orders, :refunded remove_column :orders, :total_is_locked remove_column :orders, :tax_is_locked remove_column :ord...
a0ali0taha/pos
vendor/db/migrate/20130701104221_change_order_attributes.rb
Ruby
mit
711
# extension imports from _NetworKit import PageRankNibble, GCE
fmaschler/networkit
networkit/scd.py
Python
mit
62
//= require d3/d3 //= require jquery.qtip.min //= require simple_statistics gfw.ui.model.CountriesEmbedOverview = cdb.core.Model.extend({ defaults: { graph: 'total_loss', years: true, class: null } }); gfw.ui.view.CountriesEmbedOverview = cdb.core.View.extend({ el: document.body, events: { '...
apercas/gfw
app/assets/javascripts/embed_countries.js
JavaScript
mit
43,948
/* * @(#)LayouterSample.java * * Copyright (c) 1996-2010 by the original authors of JHotDraw and all its * contributors. All rights reserved. * * You may not use, copy or modify this file, except in compliance with the * license agreement you entered into with the copyright holders. For details * see accompany...
ahmedvc/umple
Umplificator/UmplifiedProjects/jhotdraw7/src/main/java/org/jhotdraw/samples/mini/LayouterSample.java
Java
mit
2,276
package com.iluwatar.front.controller; /** * * Command for archers. * */ public class ArcherCommand implements Command { @Override public void process() { new ArcherView().display(); } }
dlee0113/java-design-patterns
front-controller/src/main/java/com/iluwatar/front/controller/ArcherCommand.java
Java
mit
204
declare module 'fast-memoize' { declare type Cache<K, V> = { get: (key: K) => V, set: (key: K, value: V) => void, has: (key: K) => boolean } declare type Options = { cache?: Cache<*, *>; serializer?: (...args: any[]) => any; strategy?: <T>(fn: T, options?: Options) => T; } declare ...
splodingsocks/FlowTyped
definitions/npm/fast-memoize_v2.x.x/flow_v0.53.x-v0.103.x/fast-memoize_v2.x.x.js
JavaScript
mit
374
angular.module('ualib.imageCarousel', ['angular-carousel']) .constant('VIEW_IMAGES_URL', '//wwwdev2.lib.ua.edu/erCarousel/api/slides/active') .factory('imageCarouselFactory', ['$http', 'VIEW_IMAGES_URL', function imageCarouselFactory($http, url){ return { getData: function(){ ...
8bitsquid/roots-ualib
assets/js/_ualib_imageCarousel.js
JavaScript
mit
2,702
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_socket_streambuf::cancel (1 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" ...
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/asio/doc/html/boost_asio/reference/basic_socket_streambuf/cancel/overload1.html
HTML
mit
6,942
import { ListWrapper } from 'angular2/src/facade/collection'; import { stringify, isBlank } from 'angular2/src/facade/lang'; import { BaseException, WrappedException } from 'angular2/src/facade/exceptions'; function findFirstClosedCycle(keys) { var res = []; for (var i = 0; i < keys.length; ++i) { if (L...
binariedMe/blogging
node_modules/angular2/es6/prod/src/core/di/exceptions.js
JavaScript
mit
7,494
Map Navigation Hash (History) ====================== #### Overview Uses dojo/router to enable zooming to next or previous extent using the browser forward and back buttons. The geographic map center and map zoom level is placed on the url. #### CMV Configuration Include the following code in js/config/viewer.js: ```j...
tmcgee/brian-bunker-cmv-widgets
MapNavigationHash/README.md
Markdown
mit
993
function SendItemsToOutput { Param ( [parameter()] [PSObject[]]$items, [parameter(Mandatory=$true)] [string[]]$typeName ) foreach ($i in $items) { $i.PSObject.TypeNames.Insert(0, $typeName) Write-Output $i } }
mariuszwojcik/RabbitMQTools
SendItemsToOutput.ps1
PowerShell
mit
286
<?php namespace Codeception\Command; use Codeception\Configuration; use Codeception\Lib\Generator\Snapshot as SnapshotGenerator; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\Out...
Codeception/base
src/Codeception/Command/GenerateSnapshot.php
PHP
mit
2,155
/** * @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 {ENTER} from '@angular/cdk/keycodes'; import {CommonModule} from '@angular/common'; import {NgModule} from '@a...
josephperrott/material2
src/material-experimental/mdc-chips/module.ts
TypeScript
mit
1,601
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2014 // 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...
raphael-m/Dnn.Platform
DNN Platform/DotNetNuke.Web/InternalServices/GettingStartedController.cs
C#
mit
6,016
// Help functions /* * Return a string with all helper functions whose name contains the 'substring'; * if the 'searchDescription' is true, then also search the function description"); */ function getHelp(substring, searchDescription) { return framework.getJavaScriptHelp(".*(?i:" + substring + ").*", searchDesc...
workcraft/workcraft
workcraft/WorkcraftCore/res/scripts/core-help.js
JavaScript
mit
1,523
FullCalendar.globalLocales.push(function () { 'use strict'; var it = { code: 'it', week: { dow: 1, // Monday is the first day of the week. doy: 4, // The week that contains Jan 4th is the first week of the year. }, buttonText: { prev: 'Prec', next: 'Succ', today: 'Oggi...
unaio/una
upgrade/files/11.0.4-12.0.0.B1/files/plugins_public/fullcalendar/locale/it.js
JavaScript
mit
612
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package get import ( "errors" "internal/testenv" "io/ioutil" "os" "path" "path/filepath" "testing" "cmd/go/internal/web" ) // Test that RepoRootForIm...
christopher-henderson/Go
src/cmd/go/internal/get/vcs_test.go
GO
mit
12,175
{% if site.staticman.repository and site.staticman.branch %} <div class="staticman-comments"> <div class="page__comments"> <!-- Start static comments --> <div class="js-comments"> {% if site.data.comments[page.slug] %} <h3 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_t...
igordcsouza/igordcsouza.github.io
_includes/staticman-comments.html
HTML
mit
5,559
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ...
EmilMitev/Telerik-Academy
Single Page Applications/07. AngularJS Workshop/TheBigCatProject/TheBigCatProject.Server/Areas/HelpPage/App_Start/HelpPageConfig.cs
C#
mit
6,517
<?php namespace Hateoas\Tests\Expression; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; use Symfony\Component\ExpressionLanguage\Node\Node; use Symfony\Component\ExpressionLanguage\ParsedExpression; use Hateoas\Tests\TestCase; use Hateoas\Expression\ExpressionEvaluator; use Hateoas\Expression\Expressio...
witalikkowal/Store
vendor/willdurand/hateoas/tests/Hateoas/Tests/Expression/ExpressionEvaluatorTest.php
PHP
mit
5,029
<?php /** * Pro customizer section. * * @since 1.0.0 * @access public */ class Epsilon_Section_Pro extends WP_Customize_Section { /** * The type of customize section being rendered. * * @since 1.0.0 * @access public * @var string */ public $type = 'epsilon-section-pro'; /** * Custom pro butt...
jmelgarejo/Clan
wordpress/wp-content/themes/sparkling/inc/libraries/epsilon-framework/sections/class-epsilon-section-pro.php
PHP
mit
2,068
/// <summary> /// This class handles user ID, session ID, time stamp, and sends a user message, optionally including system specs, when the game starts /// </summary> using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System; using System.Net; #i...
samoatesgames/Ludumdare30
Unity/Assets/GameAnalytics/Plugins/Framework/Scripts/GA_GenericInfo.cs
C#
mit
9,640