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
#require File.dirname(__FILE__) + '/formats/email' module DataMapper module Validate ## # # @author Guy van den Berg # @since 0.9 class CustomValidator < GenericValidator def initialize(field_name, options = {}, &b) #super(field_name, options) #@field_name, @options = fie...
kad3nce/collective
gems/gems/dm-validations-0.9.5/lib/dm-validations/custom_validator.rb
Ruby
mit
2,225
lib: node_modules $(shell find src) rm -rf lib node_modules/.bin/coffee --output lib --compile src test: node_modules node_modules/.bin/mocha test/suite coverage: node_modules node_modules/.bin/mocha --require test/coverage test/suite node_modules/.bin/istanbul report lint: node_modules node_modules/.bin/coffe...
eloquent/couchdb-builder
Makefile
Makefile
mit
495
## Django 示例
wwq0327/django-web-app-book
examples/README.md
Markdown
mit
18
#!/usr/bin/ruby require "fileutils" require 'json' require_relative "BibleReader.rb" reader = BibleReader.new translation_names = ['개역개정', '새번역', 'NIV']#BibleInfo.translation_name_to_code.keys translation_names.each do |translation_name| translation_code = BibleInfo.translation_name_to_code[translation_name] Bibl...
nofearbutlove/bible-clipper
BibleCroller.rb
Ruby
mit
976
<?php /** * TOP API: taobao.hotel.order.face.deal request * * @author auto create * @since 1.0, 2013-09-13 16:51:03 */ class Taobao_Request_HotelOrderFaceDealRequest { /** * 酒店订单oid **/ private $oid; /** * 操作类型,1:确认预订,2:取消订单 **/ private $operType; /** * 取消订单时的取消原因备注信息 **/ private $reasonText;...
musicsnap/LearnCode
php/code/yaf/application/library/Taobao/Request/HotelOrderFaceDealRequest.php
PHP
mit
1,971
import { Observable } from './observable' export default function drop(count, source) { return Observable(add => { let dropped = 0 return source.subscribe((val, name) => { if (dropped++ >= count) add(val, name) }) }) }
AlexGalays/dompteuse
src/observable/drop.js
JavaScript
mit
244
package schoolprojects; import java.util.Random; import java.util.Scanner; /** * Piedra, papel o tijera es un juego infantil. * Un juego de manos en el cual existen tres elementos. * La piedra que vence a la tijera rompiéndola; la tijera que vencen al papel cortándolo; * y el papel que vence a la piedra envolv...
velikGeorgiev/School
PRG/PiedraPapelTijera/Juego.java
Java
mit
5,080
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (version 1.7.0_01) on Thu Mar 07 20:40:25 CET 2013 --> <title>Uses of Class com.tyrlib2.graphics.renderables.BoundingBox</title> <meta name="dat...
TyrfingX/TyrLib
legacy/TyrLib2/doc/com/tyrlib2/graphics/renderables/class-use/BoundingBox.html
HTML
mit
4,344
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #.rst: # FindZLIB # -------- # # Find the native ZLIB includes and library. # # IMPORTED Targets # ^^^^^^^^^^^^^^^^ # # This module defines :prop_tgt:`IMPORTED` targ...
pipou/rae
builder/cmake/windows/share/cmake-3.8/Modules/FindZLIB.cmake
CMake
mit
4,880
"""Support for monitoring emoncms feeds.""" from __future__ import annotations from datetime import timedelta from http import HTTPStatus import logging import requests import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA, SensorDeviceClass, SensorEntity, SensorState...
rohitranjan1991/home-assistant
homeassistant/components/emoncms/sensor.py
Python
mit
8,487
#include "MotionStreakTest.h" #include "../testResource.h" enum { kTagLabel = 1, kTagSprite1 = 2, kTagSprite2 = 3, }; Layer* nextMotionAction(); Layer* backMotionAction(); Layer* restartMotionAction(); static int sceneIdx = -1; static std::function<Layer*()> createFunctions[] = { CL(MotionStreakTest1), CL(M...
arca1n/cocos2d-x_nextpeer_integration
samples/Cpp/TestCpp/Classes/MotionStreakTest/MotionStreakTest.cpp
C++
mit
6,605
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
prolic/DoctrineMongoODMModule
tests/DoctrineMongoODMModuleTest/Doctrine/ConfigurationFactoryTest.php
PHP
mit
4,440
.date-menu { background-color: #fcfcfc; height: 59px; border-bottom: 1px solid #eee; } .date-menu-contents { @mixin content-padding; display: flex; justify-content: space-between; align-items: center; height: 59px; } .date-menu-current-date { height: 20px; line-height: 20px; } .date-menu-next, .d...
jmeas/finance-app
client/transactions/components/date-menu.css
CSS
mit
526
import React, { Component } from 'react' import { FlexGrid, Content, Container, AdminItemsViewTable, Table, Button } from 'components' import { AddItemAboutContainer, AddItemPhotoContainer, SpecialSetupContainer } from 'containers' import { adminLink } from 'config' import s from './AdminItemsView.sass' c...
expdevelop/ultrastore
src/components/AdminItemsView/AdminItemsView.js
JavaScript
mit
3,762
version https://git-lfs.github.com/spec/v1 oid sha256:19eb3ffef04271f29432990f05ab086d7741a17b915b1703347b21f79b44cef2 size 2655
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.15.0/calendarnavigator/assets/skins/night/calendarnavigator.css
CSS
mit
129
package main import ( "reflect" "strconv" "unsafe" "github.com/STNS/STNS/stns" "github.com/STNS/libnss_stns/libstns" ) /* #include <grp.h> #include <sys/types.h> */ import "C" type Group struct { grp *C.struct_group result **C.struct_group } func (s Group) Set(groups stns.Attributes) int { for n, g := r...
STNS/libnss_stns
nss/group.go
GO
mit
1,815
const LogTestPlugin = require("../../helpers/LogTestPlugin"); /** @type {import("../../../").Configuration} */ module.exports = { mode: "production", entry: "./index", stats: "normal", plugins: [new LogTestPlugin()] };
webpack/webpack
test/statsCases/preset-normal/webpack.config.js
JavaScript
mit
224
using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; namespace NetOffice.DeveloperToolbox.Utils.Registry { public class UtilsRegistryEntry { #region Fields private UtilsRegistryKey _parent; private string _valueName; ...
NetOfficeFw/NetOffice
Toolbox/Toolbox/Utils/Registry/UtilsRegistryEntry.cs
C#
mit
6,140
import { expect } from 'chai' import browser from '../../src/util/browser' describe('util (node)', () => { describe('browser', () => { it('is false', () => { expect(browser).to.be.false }) }) })
reactjs/react-a11y
test/node/util.js
JavaScript
mit
214
// Seriously awesome GLSL noise functions. (C) Credits and kudos go to // Copyright (C) Stefan Gustavson, Ian McEwan Ashima Arts // MIT License. define(function(require, exports){ exports.permute1 = function(x){ return mod((34.0 * x + 1.0) * x, 289.0) } exports.permute3 = function(x){ return mod((34.0 * x + 1....
teem2/dreem2.1
core/gl/glnoise.js
JavaScript
mit
11,369
#pragma once namespace Game { namespace Light { constexpr unsigned int MAX_POINT_LIGHT_NUM = 384U; constexpr unsigned int MAX_LINE_LIGHT_NUM = 64U; constexpr unsigned int MAX_SPOT_LIGHT_NUM = 16U; } }
desspert/mogupro
mogupro/game/include/Game/Light/LightDefine.h
C
mit
201
<?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\Bridge\Doctrine\Tests\Form\ChoiceList; use Symfony...
Condors/TunisiaMall
vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/ORMQueryBuilderLoaderTest.php
PHP
mit
4,770
var $ = require('jquery'); var keymaster = require('keymaster'); var ChartEditor = require('./component-chart-editor.js'); var DbInfo = require('./component-db-info.js'); var AceSqlEditor = require('./component-ace-sql-editor.js'); var DataGrid = require('./component-data-grid.js'); var QueryEditor = function () { ...
l371559739/sqlpad
client-js/query-editor.js
JavaScript
mit
6,203
package PracticeLeetCode; import java.util.HashSet; import java.util.LinkedList; import java.util.Queue; import java.util.Set; public class _127WordLadder { psvm }
darshanhs90/Java-InterviewPrep
src/PracticeLeetCode/_127WordLadder.java
Java
mit
169
<?php namespace Illuminate\Tests\Integration\Database\EloquentModelLoadMissingTest; use DB; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Schema\Blueprint; use Illuminate\Tests\Integration\Database\DatabaseTestCase; /** * @group integration */ class Eloquent...
cviebrock/framework
tests/Integration/Database/EloquentModelLoadMissingTest.php
PHP
mit
1,580
import glob import logging import os import subprocess from plugins import BaseAligner from yapsy.IPlugin import IPlugin from assembly import get_qual_encoding class Bowtie2Aligner(BaseAligner, IPlugin): def run(self): """ Map READS to CONTIGS and return alignment. Set MERGED_PAIR to True ...
levinas/assembly
lib/assembly/plugins/bowtie2.py
Python
mit
2,404
namespace EventCloud.Events.Dtos { public class GetEventListInput { public bool IncludeCanceledEvents { get; set; } } }
aspnetboilerplate/sample-eventcloud
mvc-angularjs/src/EventCloud.Application/Events/Dtos/GetEventListInput.cs
C#
mit
142
// # Frontend Route tests // As it stands, these tests depend on the database, and as such are integration tests. // Mocking out the models to not touch the DB would turn these into unit tests, and should probably be done in future, // But then again testing real code, rather than mock code, might be more useful... con...
JohnONolan/Ghost
test/regression/site/frontend_spec.js
JavaScript
mit
32,924
# wealth-view Single page application for viewing your financial portfolio
LeKeve/wealth-view
README.md
Markdown
mit
75
require 'mkmf' extension_name = 'fortitude_native_ext' dir_config(extension_name) create_makefile(extension_name)
leafo/fortitude
ext/fortitude_native_ext/extconf.rb
Ruby
mit
114
import { browser, by, element } from 'protractor'; describe('App', () => { beforeEach(() => { // change hash depending on router LocationStrategy browser.get('/#/home'); }); it('should have a title', () => { let subject = browser.getTitle(); let result = 'Chroma An Interactive Palette tool'; ...
andalex/Chroma
src/app/sidepanel/side-panel.e2e.ts
TypeScript
mit
564
"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")...
oliviertassinari/material-ui
packages/mui-icons-material/lib/ScreenLockLandscapeOutlined.js
JavaScript
mit
742
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Web.Http; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Models; u...
base33/Umbraco-CMS
src/Umbraco.Web/Trees/ContentTreeControllerBase.cs
C#
mit
18,998
#### Scripts ##### SalesforceAskUser - Updated the Docker image to: *demisto/python:2.7.18.24398*.
demisto/content
Packs/Salesforce/ReleaseNotes/1_1_7.md
Markdown
mit
99
const BaseStep = require('../step'); const EntryProxy = require('../../entry-proxy'); const analyze = require('../../helpers/analytics/analytics')('gst'); // TODO pull below out to (variation) helper function convertVariationalPath(variations, from, toVariationId) { const toDir = variations.find(variation => varia...
yahoo/mendel
packages/mendel-pipeline/src/step/gst/index.js
JavaScript
mit
7,858
'use strict'; // MODULES // var tape = require( 'tape' ); var pow = require( 'math-power' ); var MAX_INT16 = require( './../lib' ); // TESTS // tape( 'the main export is a number', function test( t ) { t.ok( true, __filename ); t.equal( typeof MAX_INT16, 'number', 'main export is a number' ); t.end(); }); tape...
const-io/max-int16
test/test.js
JavaScript
mit
445
/*! * iScroll v4.1.8 ~ Copyright (c) 2011 Matteo Spinelli, http://cubiq.org * Released under MIT license, http://cubiq.org/license */ (function(){ var m = Math, vendor = (/webkit/i).test(navigator.appVersion) ? 'webkit' : (/firefox/i).test(navigator.userAgent) ? 'Moz' : 'opera' in window ? 'O' : '', // Brows...
brunokoga/pathfinder-markdown
prd_original/include/iscroll.js
JavaScript
mit
32,876
<div class="header"> <i class="fa fa-angle-left" ng-click="previous()"></i> <span>{{month.format("MMMM, YYYY")}}</span> <i class="fa fa-angle-right" ng-click="next()"></i> </div> <div class="week"> <span class="day">Sun</span> <span class="day">Mon</span> <span class="day">Tue</span> <span c...
chrisharrington/traque
public/directives/calendar.html
HTML
mit
706
<?php /** * Part of the Fuel framework. * * @package Fuel * @version 1.6 * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2013 Fuel Development Team * @link http://fuelphp.com */ namespace Fuel\Core; /** * The Arr class provides a few nice functions for making ...
dailenearanas/iJMC-WebApp
fuel/core/classes/arr.php
PHP
mit
25,244
<?php /* * Created by tpay.com. * Date: 19.06.2017 * Time: 11:13 */ namespace tpayLibs\src\_class_tpay\Validators\PaymentTypes; use tpayLibs\src\_class_tpay\Validators\PaymentTypesInterface; use tpayLibs\src\Dictionaries\Payments\CardFieldsDictionary; class PaymentTypeCard implements PaymentTypesInterface { ...
tpaycom/transferuj
tpayLibs/src/_class_tpay/Validators/PaymentTypes/PaymentTypeCard.php
PHP
mit
530
package de.hilling.maven.release.testprojects.versioninheritor; public class App { public static void main(String[] args) { System.out.println("1 + 2 = 3"); } }
guhilling/smart-release-plugin
test-projects/ear-project/project-lib/src/main/java/de/hilling/maven/release/testprojects/versioninheritor/App.java
Java
mit
178
#pragma once #include <stack> #include <queue> #include <vector> class ExpressionParser { public: ExpressionParser(const std::string &expr); ~ExpressionParser(); double eval(); private: struct token { char c; double d; bool isNum; bool isOp; token() : c(0), isNum(false), isOp(true) {}; };...
frolv/osrs-twitch-bot
src/ExpressionParser.h
C
mit
541
from __future__ import unicode_literals import os import os.path import subprocess from pre_commit.util import cmd_output class PrefixedCommandRunner(object): """A PrefixedCommandRunner allows you to run subprocess commands with comand substitution. For instance: PrefixedCommandRunner('/tmp/foo...
barrysteyn/pre-commit
pre_commit/prefixed_command_runner.py
Python
mit
1,661
pub use self::arp::ArpScheme; pub use self::config::NetConfigScheme; pub use self::ethernet::EthernetScheme; pub use self::icmp::IcmpScheme; pub use self::ip::IpScheme; pub use self::tcp::TcpScheme; pub use self::udp::UdpScheme; pub mod arp; pub mod config; pub mod ethernet; pub mod icmp; pub mod ip; pub mod tcp; pub ...
rexlunae/redox
kernel/network/schemes/mod.rs
Rust
mit
329
class Child include Mongoid::Document include Mongoid::Timestamps field :name, type: String belongs_to :parent, optional: true end
monkbroc/rails_admin_import
spec/dummy_app/app/mongoid/child.rb
Ruby
mit
140
using System; using System.Text; using ECommon.Components; using ECommon.Remoting; using ECommon.Serializing; using EQueue.Protocols; using EQueue.Protocols.Brokers; using EQueue.Protocols.Brokers.Requests; using EQueue.Protocols.NameServers.Requests; using EQueue.Utils; namespace EQueue.NameServer.Request...
tangxuehua/equeue
src/EQueue/NameServer/RequestHandlers/SetQueueConsumerVisibleForClusterRequestHandler.cs
C#
mit
1,757
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using LCC.ControlesLCCGestion.filtros; namespace LCC.WebG...
pacoferre/Dosconf
Frontend/PROT/Search/FiltroPresupuesto.ascx.cs
C#
mit
1,367
""" Python Blueprint ================ Does not install python itself, only develop and setup tools. Contains pip helper for other blueprints to use. **Fabric environment:** .. code-block:: yaml blueprints: - blues.python """ from fabric.decorators import task from refabric.api import run, info from refa...
gelbander/blues
blues/python.py
Python
mit
997
#!/bin/sh controllerIP=`grep controller /etc/hosts | awk '{print $1}'` #controllerIP=192.168.122.75 controllerIP=127.0.0.1 echo controllerIP $controllerIP file=/etc/pike/cinder/cinder.conf orig=/etc/pike/cinder/.orig-$(basename $file) jdate=`date "+%Y_%j_%H_%M"` orig=${orig}${jdate} if [ ! -e $orig ] ; then cp -p $...
OpenSciViz/cloud
openstack/src/bash/cinder-pike.sh
Shell
mit
2,605
var path = require('path'), fs = require('fs'), Source = require(hexo.lib_dir + '/core/source'), config_dir = path.dirname(hexo.configfile), config = hexo.config; function testver(){ var ver = hexo.env.version.split('.'); var test = true; if (ver[0] < 2) test = false; else if (ver[0] == 2 &...
chenall/hexo-theme-chenall
scripts/config.js
JavaScript
mit
3,624
<?php namespace Alcodo\AsyncCss\Commands; use Alcodo\AsyncCss\Cache\CssKeys; use Illuminate\Console\Command; class Show extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'alcodo:asynccss:show'; /** * The console comm...
alcodo/async-css
Commands/Show.php
PHP
mit
1,079
#!/usr/bin/env ruby $:.unshift File.expand_path('../../../lib', __FILE__) $stdout.sync = true require 'philotic' require 'awesome_print' class NamedQueueConsumer < Philotic::Consumer # subscribe to an existing named queue subscribe_to :test_queue # use acknowledgements auto_acknowledge # REQUEUE the mess...
nkeyes/philotic
examples/subscribing/consumer.rb
Ruby
mit
1,218
# wedding-rsvp A simple concept for RSVPing to a wedding ### Technologies * Sinatra * ActiveRecord * Postgres * MVC Structure
davidlhayes/wedding-rsvp
README.md
Markdown
mit
128
#include "arrow.h" /** * @brief Arrow::Arrow */ Arrow::Arrow() : Shape(SHAPES::ARROW) { } /** * @brief Arrow::Arrow * @param col Colour of the new object * @param pos Starting point for the new object */ Arrow::Arrow(QColor col, QPoint pos) : Shape(SHAPES::ARROW, col, pos) { } /** * @brief Arrow::draw * Draw...
NFCSKL/ViAn
ViAn/Video/shapes/arrow.cpp
C++
mit
1,054
const request = require('request-promise'); const oauth = require('./config').auth; const rootUrl = 'https://api.twitter.com/1.1'; let allItems = []; /* API methods */ const API = { /** * Search for tweets * @param options {Object} Options object containing: * - text (Required) : String * - co...
raulrene/Twitter-ContestJS-bot
api-functions.js
JavaScript
mit
6,401
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Extensions { public static class IEnumerableExtensions { public static T Sum<T>(this IEnumerable<T> enumerable) { dynamic sum = 0; foreach (var element in enumerable) { sum...
SHAMMY1/Telerik-Academy-2016
OOP/Homeworks/03.ExtensionsDelegatesLambda/ExtensionsDelegatesLambdaHW/Extensions/IEnumerableExtensions.cs
C#
mit
1,214
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (version 1.7.0_79) on Fri Sep 09 15:51:56 CST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>S - 索引</title> <meta...
fendouai/jpush-docs
zh/JMessage/docs/client/im_android_api_docs/index-files/index-16.html
HTML
mit
22,793
using System; using System.Collections; using UnityEngine; using VRStandardAssets.Common; using VRStandardAssets.Utils; namespace VRStandardAssets.ShootingGallery { // This script handles a target in the shooter scenes. // It includes what should happen when it is hit and // how long before it de...
SerKale/voxyl
Voxyl/Assets/VRSampleScenes/Scripts/ShootingGallery/ShootingTarget.cs
C#
mit
6,853
# Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible import __version__ from ansible.errors import AnsibleError from distutils.version import LooseVersion from operator import eq, ge, gt from sys import version_info try: from __main__ ...
jeffstieler/bedrock-ansible
lib/trellis/plugins/vars/version.py
Python
mit
2,048
//@flow const {foo, Bar, baz, qux} = require('./jsdoc-exports'); const { DefaultedStringEnum, InitializedStringEnum, NumberEnum, BooleanEnum, SymbolEnum, } = require('./jsdoc-objects'); /** a JSDoc in the same file */ function x() {} ( ); // ^
mroch/flow
tests/autocomplete/jsdoc.js
JavaScript
mit
261
ace.define("ace/mode/tex_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var lang = require("../lib/lang"); var TextHighlightRules = require("./text_highlight_rules").TextHi...
NPellet/jsGraph
web/site/js/ace-builds/src-noconflict/mode-tex.js
JavaScript
mit
5,261
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.paymentservice.extensibility.v1; import java.util.List; import java.util.HashMap; import java.io.Serializable; imp...
Mozu/mozu-java
mozu-javaasync-core/src/main/java/com/mozu/api/contracts/paymentservice/extensibility/v1/GatewayCreditResponse.java
Java
mit
2,610
module Hello module Business module Management class ResetPassword < Base attr_reader :password_credential def initialize(password_credential) @password_credential = password_credential end def update_password(plain_text_password) if @password_credential...
brodock/hello
lib/hello/business/management/reset_password.rb
Ruby
mit
812
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2016 // 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 restricti...
yiji/Dnn.Platform
DNN Platform/DotNetNuke.Web.Deprecated/UI/WebControls/DnnInputManager.cs
C#
mit
1,363
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
Microsoft/ChakraCore
lib/Runtime/Types/ArrayObject.h
C
mit
2,179
(function(){ 'use strict'; angular .module('app') .factory('ceUsers', ceUsers); ceUsers.$inject = ['$resource']; function ceUsers ($resource) { console.log('ok'); return $resource('https://mysterious-eyrie-9135.herokuapp.com/users/:username', {username: '@username'}, {'update': { me...
ArnaudBertrand/CookeasyWeb
src/app/resources/users.resource.js
JavaScript
mit
351
<?php /** * Version : 1.2.0 * Author : inc2734 * Author URI : http://2inc.org * Created : April 17, 2015 * Modified : July 31, 2015 * License : GPLv2 or later * License URI: license.txt */ ?> <div class="container"> <div class="row"> <div class="col-md-9"> <main id="main" role="main"> ...
OopsMouse/mori.site
www/wordpress/wp-content/themes/habakiri/blog_templates/archive/right-sidebar.php
PHP
mit
670
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
musicsnap/LearnCode
php/code/yaf/application/library/Zend/Db/Exception.php
PHP
mit
1,039
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; using Newtonsoft.Json.Linq; using ReactNative.Bridge; using System; using System.Threading; using System.Threading.Tasks; namespace ReactNative.Tests.Bridge { ...
bluejeans/react-native-windows
ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs
C#
mit
7,510
using System; using Machine.Specifications; namespace FactoryGirl.NET.Specs { [Subject(typeof(FactoryGirl))] public class FactoryGirlSpecs : ICleanupAfterEveryContextInAssembly { [Subject(typeof(FactoryGirl))] public class When_we_define_a_factory { Establish context = ()...
junshao/FactoryGirl.NET
FactoryGirl.NET.Specs/FactoryGirlSpecs.cs
C#
mit
2,054
""" A Pygments lexer for Magpie. """ from setuptools import setup __author__ = 'Robert Nystrom' setup( name='Magpie', version='1.0', description=__doc__, author=__author__, packages=['magpie'], entry_points=''' [pygments.lexers] magpielexer = magpie:MagpieLexer ''' )
munificent/magpie-optionally-typed
doc/site/magpie/setup.py
Python
mit
305
'use strict'; import gulp from 'gulp'; import gutil from 'gulp-util'; import uglify from 'gulp-uglify'; import stylus from 'gulp-stylus'; import watch from 'gulp-watch'; import plumber from 'gulp-plumber'; import cleanCss from 'gulp-clean-css'; import imagemin from 'gulp-imagemin'; import concat from 'gulp-concat'; im...
davidalves1/missas-sao-pedro
gulpfile.babel.js
JavaScript
mit
1,796
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEveCorporationMemberSecurityLog extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('corporation_msec_log', function(Blueprint $table) { $tab...
omgninjaz/seat
app/database/migrations/2014_04_03_071610_CreateEveCorporationMemberSecurityLog.php
PHP
mit
959
<!DOCTYPE html> <html lang="en"> <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="author" content=""> <title>PCAP Report</title> <!-- B...
djtotten/workbench
workbench/clients/static/templates/md5_view.html
HTML
mit
970
require 'shellwords' require 'fileutils' module Hibiki class Downloading CH_NAME = 'hibiki' def initialize @a = Mechanize.new @a.user_agent_alias = 'Windows Chrome' end def download(program) infos = get_infos(program) if infos['episode']['id'] != program.episode_id R...
t-ashula/net-radio-archive
lib/hibiki/downloading.rb
Ruby
mit
2,639
--- date: 2014-10-23 title: Open Source at Facebook speaker: Patrick Shuff from Facebook type: Meeting --- Thursday, 2014-10-23 at 7:00pm in Caldwell Labs 120, Patrick Shuff (an engineer at Facebook) will present "Open Source at Facebook". Description follows: Facebook serves requests for over 1.3 billion people every...
OSUOSC/open-source-club-website
_events/2014-10-23-open-source-at-facebook.md
Markdown
mit
599
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About buynowcoin</source> <translation type="unfinished"/> </message> <message> <location lin...
buynowcoin/buynowcoin
src/qt/locale/bitcoin_bs.ts
TypeScript
mit
108,053
require File.dirname(__FILE__) + '/init' class NamedRouteCollectionTest < Test::Unit::TestCase def setup @controller = TestController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new @request.host = 'example.com' ActionController::UrlWriter.def...
shuber/proxy
test/named_route_collection_test.rb
Ruby
mit
950
"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")...
oliviertassinari/material-ui
packages/mui-icons-material/lib/RvHookupRounded.js
JavaScript
mit
894
import { set } from 'ember-metal'; import { jQuery } from 'ember-views'; import { moduleFor, RenderingTest } from '../../utils/test-case'; import { Component, compile } from '../../utils/helpers'; import { strip } from '../../utils/abstract-test-case'; class AbstractAppendTest extends RenderingTest { constructor() ...
Leooo/ember.js
packages/ember-glimmer/tests/integration/components/append-test.js
JavaScript
mit
18,760
<html lang="en"> <head> <title>ARM Options - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="ARM_002dDependent.html#ARM_002dDepende...
trfiladelfo/tdk
gcc-arm-none-eabi/share/doc/gcc-arm-none-eabi/html/as.html/ARM-Options.html
HTML
mit
14,858
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FlatRedBall.Content.Scene; using FlatRedBall; using FlatRedBall.IO; namespace EditorObjects.EditorSettings { public class AIEditorPropertiesSave { public const string Extension = "aiep"; public CameraS...
GorillaOne/FlatRedBall
FRBDK/FRBDK Supporting Projects/EditorObjects/EditorSettings/AIEditorPropertiesSave.cs
C#
mit
1,372
pub fn compress(src: &str) -> String { if src.is_empty() { src.to_owned() } else { let mut compressed = String::new(); let mut chars = src.chars().peekable(); while let Some(c) = chars.peek().cloned() { let mut counter = 0; while let Some(n) = chars.peek()...
Alex-Diez/Rust-TDD-Katas
string_compression_kata/src/day_7.rs
Rust
mit
996
require 'spec_helper' try_spec do require './spec/fixtures/bookmark' describe DataMapper::TypesFixtures::Bookmark do supported_by :all do before :all do DataMapper::TypesFixtures::Bookmark.auto_migrate! end let(:resource) do DataMapper::TypesFixtures::Bookmark.create( ...
troygnichols/dm-types
spec/integration/uri_spec.rb
Ruby
mit
3,551
import readdirRecursive from "fs-readdir-recursive"; import * as babel from "@babel/core"; import path from "path"; import fs from "fs"; import * as watcher from "./watcher"; export function chmod(src: string, dest: string): void { try { fs.chmodSync(dest, fs.statSync(src).mode); } catch (err) { console.w...
babel/babel
packages/babel-cli/src/babel/util.ts
TypeScript
mit
3,448
namespace WebApiContrib.Formatting.Xlsx.Tests.TestData { public class BooleanTestItem { public bool Value1 { get; set; } [ExcelColumn(TrueValue="Yes", FalseValue="No")] public bool Value2 { get; set; } public bool? Value3 { get; set; } [ExcelColumn(TrueValue = "Yes", ...
balajichekka/WebApiContrib.Formatting.Xlsx
test/WebApiContrib.Formatting.Xlsx.Tests/TestData/BooleanTestItem.cs
C#
mit
392
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\ApiBundle\DependencyInjection; use Sylius\Bundle\ApiBundle\Form\Type\ClientTy...
adamelso/Sylius
src/Sylius/Bundle/ApiBundle/DependencyInjection/Configuration.php
PHP
mit
9,956
<!DOCTYPE html> <!--Aegis Framework | MIT License | http://www.aegisframework.com/ --> <html lang="en"> <head> <title>Bad Request</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> html, body { width: 100%; height: 100%; } body { text-a...
Monogatari/Monogatari
dist/engine/error/408.html
HTML
mit
889
using System.Collections.Generic; using System; using UnityEngine; public class EventService { public delegate void EventDelegate<T>(T e) where T : GameEvent; Dictionary<Type, Delegate> delegates = new Dictionary<Type, Delegate>(); public void AddListener<T>(EventDelegate<T> listener) where T : GameEvent { Ty...
kicholen/GamePrototype
Assets/Script/Controller/Service/EventService/EventService.cs
C#
mit
1,277
(function () { var g = void 0, k = !0, m = null, o = !1, p, q = this, r = function (a) { var b = typeof a; if ("object" == b) if (a) { if (a instanceof Array) return "array"; if (a instanceof Object) return b; ...
coolspring1293/coolspring1293.github.io
snow.js
JavaScript
mit
41,004
import { Type } from '@ephox/katamari'; // some elements, such as mathml, don't have style attributes // others, such as angular elements, have style attributes that aren't a CSSStyleDeclaration const isSupported = (dom: Node): dom is HTMLStyleElement => // eslint-disable-next-line @typescript-eslint/unbound-method ...
tinymce/tinymce
modules/sugar/src/main/ts/ephox/sugar/impl/Style.ts
TypeScript
mit
463
del *.o fasm asm_code.asm asm_code.o gcc -c mcities.c gcc -c system/kolibri.c gcc -c system/stdlib.c gcc -c system/string.c gcc -c system/ctype.c ld -nostdlib -T kolibri.ld -o mcities asm_code.o kolibri.o stdlib.o string.o ctype.o mcities.o objcopy mcities -O binary kpack mcities del *.o pause
devlato/kolibrios-llvm
programs/games/mcities/compile.bat
Batchfile
mit
294
<!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:26:31 GMT 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.a...
manonsys/MVC
libs/Jena/javadoc-core/org/apache/jena/vocabulary/class-use/TestManifest.html
HTML
mit
4,581
<?php namespace Backend\Modules\MediaLibrary\Actions; use Backend\Core\Language\Language; use Backend\Modules\MediaLibrary\Domain\MediaFolder\MediaFolder; use Backend\Modules\MediaLibrary\Domain\MediaGroup\MediaGroupType; use Backend\Modules\MediaLibrary\Domain\MediaItem\MediaItemSelectionDataGrid; use Backend\Module...
jeroendesloovere/forkcms
src/Backend/Modules/MediaLibrary/Actions/MediaBrowserImages.php
PHP
mit
1,977
import HomeRoute from 'routes/Home'; describe('(Route) Home', () => { let _component; beforeEach(() => { _component = HomeRoute.component(); }); it('Should return a route configuration object', () => { expect(typeof HomeRoute).to.equal('object'); }); it('Should define a route...
krizkasper/react-redux-kriz
tests/routes/Home/index.spec.js
JavaScript
mit
402
using GE.WebUI.ViewModels.Abstracts; using SX.WebCore.MvcControllers; namespace GE.WebUI.Controllers { public sealed class RssController : SxRssController<VMMaterial> { } }
simlex-titul2005/game-exe.com
GE.WebUI/Controllers/RssController.cs
C#
mit
188
<!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> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
larlf/mirror_client
doc/html/classtesting_1_1internal2_1_1_type_without_formatter-members.html
HTML
mit
5,586
#ifndef __TYPES_H__ #define __TYPES_H__ typedef unsigned char byte; typedef signed long int intsize; typedef signed char int8; typedef signed short int16; typedef signed int int32; typedef signed long int int64; typedef unsigned long int uintsize; typedef unsigned char uint8; typedef unsigned short uint16; typedef ...
nathanfaucett/c-types
src/lib.h
C
mit
663
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './input.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
Kagami/material-ui
pages/api/input.js
JavaScript
mit
297
<script type="text/stache"> <input value:to="H1" value:from="H2" value:bind="H3" on:value="H4" value:to="H1" value:from="H2" value:bind="H3" on:value="H4"> </script> <script src="../foo/bar/steal/steal.js"> Component.extend({ tag: 'my-tag', template: stache( '<input value:to="H1" value:from="H2" ...
ccummings/can-migrate-codemods
test/fixtures/version-3/can-stache-bindings/colon-bindings-output-implicit.html
HTML
mit
445