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
--TEST-- Indented Standalone Tag --DESCRIPTION-- Indented standalone lines should be removed from the template. --SKIPIF-- <?php if(!extension_loaded('mustache')) die('skip '); ?> --FILE-- <?php $test = array ( 'name' => 'Indented Standalone Tag', 'desc' => 'Indented standalone lines should be removed from the temp...
cgvarela/php-mustache
tests/mustache-spec-delimiters-indented-standalone-tag.phpt
PHP
mit
558
#include "nth_prime.h" #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> #include <stdexcept> BOOST_AUTO_TEST_CASE(first) { BOOST_REQUIRE_EQUAL(2, prime::nth(1)); } #if defined(EXERCISM_RUN_ALL_TESTS) BOOST_AUTO_TEST_CASE(second) { BOOST_REQUIRE_EQUAL(3, prime::nth(2)); } BOOST_AUTO_TEST_CASE(sixth...
lukasz-m-maciejewski/xcpp
nth-prime/nth_prime_test.cpp
C++
mit
563
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Release Notes</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../index.html" title="The Boost C++ Lib...
laborautonomo/poedit
deps/boost/doc/html/boost_units/ReleaseNotes.html
HTML
mit
21,512
package nl.conspect.eventboot.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; /** * Created by marten on 11-12-14. */ @Configuration...
Conspect/spring-boot-lab
Opdracht 6/src/main/java/nl/conspect/eventboot/config/WebConfig.java
Java
mit
547
module Cms::Addon::OpendataRef::Site extend SS::Addon extend ActiveSupport::Concern included do embeds_ids :opendata_sites, class_name: "Cms::Site", metadata: { on_copy: :clear, branch: false } permit_params opendata_site_ids: [] end end
tany/ss
app/models/concerns/cms/addon/opendata_ref/site.rb
Ruby
mit
255
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>lxml.tests</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script ty...
bertucho/epic-movie-quotes-quiz
dialogos/build/lxml/doc/html/api/lxml.tests-pysrc.html
HTML
mit
4,515
// dear imgui, v1.50 WIP // (headers) // See imgui.cpp file for documentation. // See ImGui::ShowTestWindow() in imgui_demo.cpp for demo code. // Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase. // Get latest version at https://github.com/ocornut/imgui #pragma once #if !defined(...
RogerOlasz/ROF_Engine
ROF_Engine/ImGui/imgui.h
C
mit
123,446
'use strict'; module.exports = { authCheck: require('./authcheck'), injectScripts: require('./injectscripts'), debounceName: require('./debounce-name') };
nodecg/nodecg
lib/util/index.js
JavaScript
mit
159
/* * This is a part of the BugTrap package. * Copyright (c) 2005-2009 IntelleSoft. * All rights reserved. * * Description: Text format analyzer. * Author: Maksim Pyatkovskiy. * * This source code is only intended as a supplement to the * BugTrap package reference and related electronic documentation * provide...
sesom42/BugTrap
source/Client/TextFormat.cpp
C++
mit
4,817
require 'puppet/provider/package' require 'uri' Puppet::Type.type(:package).provide :pacman, :parent => Puppet::Provider::Package do desc "Support for the Package Manager Utility (pacman) used in Archlinux." commands :pacman => "/usr/bin/pacman" # Yaourt is a common AUR helper which, if installed, we can use to...
phatpenguin/boxen-belgarion
.bundle/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/provider/package/pacman.rb
Ruby
mit
4,186
/* Script: Language.it.js MooTools Filemanager - Language Strings in English Translation: Moreno Monga */ Filemanager.Language.it = { more: 'Dettagli', width: 'Larghezza:', height: 'Altezza:', ok: 'Ok', open: 'Seleziona file', upload: 'Upload', create: 'Crea cartella', createdir: 'Specifica il nome della c...
a7medelgendy/learn-git
themes/admin/javascript/filemanager/language/Language.it.js
JavaScript
mit
6,669
'use strict'; // Setting up route angular.module('usuarios-mobile').config(['$stateProvider', 'RouteHelpersProvider', function($stateProvider, helper) { // Articles state routing $stateProvider. state('app.listUsuariosMobile', { url: '/usuarios-mobile', title: 'Listar Usuários Mobile', templateUrl: 'mo...
marcostomazini/unicesumar-marketing
public/modules/usuarios-mobile/config/usuarios-mobile.client.routes.js
JavaScript
mit
458
var searchData= [ ['defaultgaussianmixture',['DefaultGaussianMixture',['../namespaceedda_1_1dist.html#a7ac563ae69a0db2921a59877f32c2846',1,'edda::dist']]], ['devicegmmarray',['DeviceGMMArray',['../namespaceedda.html#adf57cb048134c8ba9b3560698eb45a61',1,'edda']]], ['dword',['DWORD',['../bmp__image_8h.html#af483253...
GRAVITYLab/edda
html/search/typedefs_2.js
JavaScript
mit
369
require 'spec_helper' require Rails.root.join('lib/migrations/ss/20150619114301_fix_ss_files_url') RSpec.describe SS::Migration20150619114301, dbscope: :example do let(:before_html_path) { Rails.root.join("spec/fixtures/ss/migration/fix_ss_files_url/before.html") } let(:before_layout_html_path) { Rails.root.join("...
tany/ss
spec/lib/ss/migrations/20150619114301_fix_ss_files_url_spec.rb
Ruby
mit
2,665
# -*- coding: utf-8 -*- # -- ==alkane_monolayer== -- import mbuild as mb from mbuild.lib.surfaces import Betacristobalite from mbuild.lib.atoms import H from mbuild.examples.alkane_monolayer.alkylsilane import AlkylSilane class AlkaneMonolayer(mb.Monolayer): """An akylsilane monolayer on beta-cristobalite. """...
ctk3b/mbuild
mbuild/examples/alkane_monolayer/alkane_monolayer.py
Python
mit
1,378
<?php // users.php :: Handles user account functions. /*$controlquery = doquery("SELECT * FROM {{table}} WHERE id='1' LIMIT 1", "control"); $controlrow = mysql_fetch_array($controlquery);*/ include('lib.php'); $link = opendb(); include('cookies.php'); $userrow = checkcookies(); if (isset($_GET["do"])) { ...
OyatsumiD/NarutoBrowserMmorpg
src/3-Feb-2011/users.php
PHP
mit
120,455
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MyWebApp.ViewModels.Manage { public class VerifyPhoneNumberViewModel { [Required] public string Code { get; set; } [Required] ...
Microsoft-Build-2016/CodeLabs-WebDev
Module2-AspNetCore/Source/Ex4/End/src/MyWebApp/ViewModels/Manage/VerifyPhoneNumberViewModel.cs
C#
mit
428
/** * @license * Copyright Google Inc. 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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js const u = undefined; fun...
Toxicable/angular
packages/common/locales/nds-NL.ts
TypeScript
mit
1,098
/** * @file tv_text.c * TV_Text native device driver interface. * * Copyright (c) 2008-2011, Steve Denson * See end of file for terms of use. */ #include <propeller.h> #include "TvText.h" #define TV_TEXT_OUT /** * tvText mailbox and any data shared with PASM must be in hub memory. */ HUBDATA static TvText_t t...
dbetz/propgcc-demos
tvedit/TvText.c
C
mit
7,518
// // IXCollection.h // Ignite Engine // // Created by Robert Walsh on 12/31/13. // /**************************************************************************** The MIT License (MIT) Copyright (c) 2015 Apigee Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
arjunmantri/IgniteEngine-iOS
IgniteEngine/Controls/IXCollection.h
C
mit
1,429
# How borschik resolves technologies `borschik` resolves a technology path in the following order 1. If the path starts with `/` or `.`, `borschik` uses the given path. For example, `borschik -t ./my-tech/tech.js -i my-file.ext`. 2. Tries to load the technology from `borschik/lib/techs/<given technology>`. For exampl...
insane-developer/borschik
docs/where-is-my-tech/where-is-my-tech.en.md
Markdown
mit
529
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Config\Definition\Builder; use Symfony\Component\Conf...
gencer/symfony
src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php
PHP
mit
7,581
const config = require('../../../server/config'), Manager = require('./manager'), manager = new Manager(); // Responsible for handling requests for sitemap files module.exports = function handler(siteApp) { const verifyResourceType = function verifyResourceType(req, res, next) { if (!Object.prototy...
dingotiles/ghost-for-cloudfoundry
versions/3.3.0/core/frontend/services/sitemap/handler.js
JavaScript
mit
1,110
CREATE TABLE country (id VARCHAR(2) NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY(id)); INSERT INTO "country" ("id", "name") VALUES ('fan', 'ஃபங்க்'); INSERT INTO "country" ("id", "name") VALUES ('fo', 'ஃபரிஸ்த்'); INSERT INTO "country" ("id", "name") VALUES ('fon', 'ஃபான்'); INSERT INTO "country" ("id", "name") VA...
JumpLink/country-list
country/cldr/ta_IN/language.sqlite.sql
SQL
mit
41,322
import Koa from 'koa'; import convert from 'koa-convert'; import webpack from 'webpack'; import webpackConfig from '../build/webpack.config'; import historyApiFallback from 'koa-connect-history-api-fallback'; import serve from 'koa-static'; import _debug from 'debug'; import config from '../config'; import webpackProxy...
magnusbae/laughing-octo-eureka
server/main.js
JavaScript
mit
2,194
module.exports = require("core-js/library/fn/string/trim");
Skillupco/babel
packages/babel-runtime/core-js/string/trim.js
JavaScript
mit
59
// Copyright 2011 Microsoft Corporation // // 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 applicabl...
BrightstarDB/odata-sparql
ODataLib/ODataContrib/Silverlight/Microsoft/Data/OData/Query/QueryOptionUtils.cs
C#
mit
2,476
<!DOCTYPE html> <html> <head> {% include _head.html %} </head> <body> {% include _navigation.html %} {{ content }} <footer class="site-footer"> <div class="container"> {% include _footer.html %} </div> </footer> {% include _scripts.html %} </body> </html>
Materials-Informatics-Class-Fall2014/MIC-Machining-Gradients
_layouts/base.html
HTML
mit
286
/* * Copyright 2013 Google Inc. * Copyright 2014-2016 the libsecp256k1 contributors * * 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 ...
ftrader-bitcoinabc/bitcoin-abc
src/secp256k1/src/java/org/bitcoin/NativeSecp256k1.java
Java
mit
18,095
// // RootViewController.h // Sample // // Created by Kirby Turner on 2/8/10. // Copyright 2010 White Peak Software Inc. All rights reserved. // #import <UIKit/UIKit.h> #import "KTThumbsViewController.h" #import "PhotoPickerController.h" #import "Photos.h" @class Photos; @interface LocalImageRootViewController ...
0359xiaodong/KTPhotoBrowser
src/TabBarSample/Classes/LocalImageSample/LocalImageRootViewController.h
C
mit
581
<!doctype html> <html> <head> <title>LycheeJS Discovery Suite</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="bl...
nspforever/lycheeJS
game/discovery/index.html
HTML
mit
1,026
from app import celery from flask import current_app as app from datetime import timedelta from celery.decorators import periodic_task from flask import jsonify, request, abort import requests import json @periodic_task(run_every=(timedelta(seconds=1))) def ping(): print "ping!" headers = {'content-type': 'app...
darksigma/traceless
slave/app/async/routes.py
Python
mit
537
<?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...
buzzengine/buzzengine
vendor/zend-framework/library/Zend/Validator/Barcode/Ean5.php
PHP
mit
1,311
import { CRUD_GET_LIST_SUCCESS } from '../../../actions/dataActions'; export default resource => (previousState = 0, { type, payload, meta }) => { if (!meta || meta.resource !== resource) { return previousState; } if (type === CRUD_GET_LIST_SUCCESS) { return payload.total; } return ...
RestUI/rest-ui
src/redux/reducer/resource/list/total.js
JavaScript
mit
338
require 'rails_helper' if Rails::VERSION::MAJOR >= 5 field_name = field_name_from __FILE__ type = type_from __FILE__ describe field_name do it_behaves_like \ "#{type} partial", field_name, value: '((1,2),(3,4))', input_selector: '.form-group input' end end
reinteractive-open/wallaby
spec/views/wallaby/resources/form/_polygon.html.erb_spec.rb
Ruby
mit
288
<!DOCTYPE html> <html lang="en"> <head> <title>Protocols Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/ja...
StravaKit/StravaKit
Documentation/docsets/StravaKit.docset/Contents/Resources/Documents/Protocols.html
HTML
mit
11,913
from django.conf.urls import patterns, url urlpatterns = patterns( '', url(r'^$', 'whatify.views.index'), url(r'^search/(.+)$', 'whatify.views.search'), url(r'^torrent_groups/(\d+)$', 'whatify.views.get_torrent_group'), url(r'^torrent_groups/(\d+)/download$', 'whatify.views.download_torrent_group')...
grandmasterchef/WhatManager2
whatify/urls.py
Python
mit
531
import { newE2EPage } from '@stencil/core/testing'; test('select: standalone', async () => { const page = await newE2EPage({ url: '/src/components/select/test/standalone?ionic:_testing=true' }); const compare = await page.compareScreenshot(); expect(compare).toMatchScreenshot(); });
driftyco/ionic
core/src/components/select/test/standalone/e2e.ts
TypeScript
mit
298
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
pushbullet/engineer
vendor/cloud.google.com/go/scheduler/apiv1/mock_test.go
GO
mit
20,589
'use strict'; var grunt = require('grunt'); /* ======== A Handy Little Nodeunit Reference ======== https://github.com/caolan/nodeunit Test methods: test.expect(numAssertions) test.done() Test assertions: test.ok(value, [message]) test.equal(actual, expected, [message]) test.notEqual(actua...
getdave/grunt-deployments
test/deployments_test.js
JavaScript
mit
1,351
package us.codecraft.learning.automata; /** * @author code4crafter@gmail.com */ public class StringReader { class EOFException extends Exception { } private String string; private int index; public StringReader(String string) { this.string = string; } public char read() thro...
amikey/jsoup-learning
src/main/java/us/codecraft/learning/automata/StringReader.java
Java
mit
606
<base href="http://example.com"> <div class="vcard"> <div class="fn n"><span class="given-name">John</span> <span class="family-name">Doe</span></div> <a class="sound" href="http://www.madgex.com/johndoe.mpeg">Pronunciation of my name</a> <div><img class="photo" src="images/photo.gif" alt="Photo of...
G5/microformats2
vendor/tests/tests/microformats-v1/hcard/multiple.html
HTML
mit
3,182
// Copyright (c) .NET Foundation. 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.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.W...
brendankowitz/azure-webjobs-sdk
test/Microsoft.Azure.WebJobs.Host.UnitTests/Indexers/FunctionIndexerTests.cs
C#
mit
12,582
<?php /*PLEASE DO NOT EDIT THIS CODE*/ /*This code was generated using the UMPLE 1.10.2.2921 modeling language!*/ class StateMachine { //------------------------ // MEMBER VARIABLES //------------------------ //StateMachine Attributes private $name; private $events; //StateMachine Associations ...
runqingz/umple
umpleonline/scripts/StateMachine.php
PHP
mit
3,215
--- layout: post title: 五中常见的开源协议整理(BSD,Apache,GPL,LGPL,MIT) category: 技术 tags: 开源,BSD,Apache,GPL,LGPL,MIT description: 最近做一个项目用了很多开源的组建,项目有可能会发布,所以提前整理整理各个开源协议,有助于项目发展 --- ## 简介 [开源软件][0](Open source software)对我们来说越来越不陌生,开源软件一方面让我们免费享用到了“免费的午餐”,另一方面有效的利用和学习开源软件,也能促进我们开发软件时的效率、提升软件质量。但是在使用和借鉴开源软件的时候,我们不得不关心一下它对使用者的诸多...
hugo-/coolnameismy.github.io
_posts/tech/2013-04-23-opensource-licenses.md
Markdown
mit
6,127
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Teamxrtc/webrtc-streaming-node
third_party/webrtc/src/webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c
C
mit
6,057
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Boost.Geometry (aka GGL, Generic Geometry Library)</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type=...
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/geometry/doc/doxy/doxygen_output/html_by_doxygen/functions_func_0x74.html
HTML
mit
6,036
require 'pygments' require 'fileutils' require 'digest/md5' PYGMENTS_CACHE_DIR = File.expand_path('../../_code_cache', __FILE__) FileUtils.mkdir_p(PYGMENTS_CACHE_DIR) module HighlightCode def highlight(str, lang) str = pygments(str, lang).match(/<pre>(.+)<\/pre>/m)[1].to_s.gsub(/ *$/, '') #strip out divs <div c...
chikamichi/ruby-lang.org
rubylang/plugins/pygments_code.rb
Ruby
mit
1,304
package com.jakduk.api.restcontroller; import com.jakduk.api.common.Constants; import com.jakduk.api.common.board.category.BoardCategory; import com.jakduk.api.common.board.category.BoardCategoryGenerator; import com.jakduk.api.common.rabbitmq.RabbitMQPublisher; import com.jakduk.api.common.util.AuthUtils; import com....
Pyohwan/JakduK
src/main/java/com/jakduk/api/restcontroller/BoardRestController.java
Java
mit
17,007
compassOptions ============== An optional parameter to customize the retrieval of the compass. Options ------- - __frequency:__ How often to retrieve the compass heading in milliseconds. _(Number)_ (Default: 100) - __filter:__ The change in degrees required to initiate a watchHeadingFilter success callback. _(Number...
macdonst/callback-docs
docs/en/edge/phonegap/compass/parameters/compassOptions.md
Markdown
mit
447
require 'spec_helper' require 'cucumber/formatter/spec_helper' require 'cucumber/formatter/junit' require 'nokogiri' module Cucumber::Formatter describe Junit do extend SpecHelperDsl include SpecHelper class TestDoubleJunitFormatter < Junit attr_reader :written_files def write_file(feature...
CW5000/CWFDerpy
spec/cucumber/formatter/junit_spec.rb
Ruby
mit
5,644
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_socket_acceptor::operator= (2 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_acceptor/operator_eq_/overload2.html
HTML
mit
6,422
<!DOCTYPE html> <html class='nb_fullscreen'> <head> <meta charset="utf-8"/> <!-- Author: cf AUTHORS.txt License: Copyright (c) 2010-2012 Massachusetts Institute of Technology. MIT License (cf. MIT-LICENSE.txt or http://www.opensource.org/licenses/mit-license.php) --> <title>Page una...
kesiena115/nbproject
templates/500.html
HTML
mit
844
//----------------------------------------------------------------------- // <copyright file="<file>.cs" company="The Outercurve Foundation"> // Copyright (c) 2011, The Outercurve Foundation. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the L...
facebook-csharp-sdk/simple-json
src/SimpleJson.Tests/DataContractTests/PrivateReadonlySerializeTests.cs
C#
mit
2,437
var MusicView = React.createClass({ getInitialState: function() { return {album: null} }, render: function() { if (this.state.album){ return ( <div className="musicView" > <h2 className="musicName"> {this.st...
melissabica/metacritic-react
contents/js/music/view.js
JavaScript
mit
1,088
// Windows implementation of system_error_category // // Copyright Beman Dawes 2002, 2006 // Copyright (c) Microsoft Corporation 2014 // Copyright 2018 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ...
PopcornTimeTV/PopcornTorrent
include/boost/system/detail/system_category_win32.hpp
C++
mit
11,866
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtPositioning module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Li...
imzcy/JavaScriptExecutable
thirdparty/qt53/include/QtPositioning/5.3.0/QtPositioning/private/qgeoshape_p.h
C
mit
3,118
(function($) { $(document).ready(function() { $('.styleswitch').click(function() { switchStylestyle(this.getAttribute("rel")); return false; }); var c = readCookie('style'); if (c) switchStylestyle(c); }); function switchStylestyle(styleName) { $('link[rel*=style][title]').each(function(i) { ...
myunimol/website
public/js/fswit.js
JavaScript
mit
1,502
const express = require('express') const app = express() const formidable = require('formidable') const path = require('path') const rimraf = require('rimraf') const fs = require('fs') const throttle = require('express-throttle-bandwidth') const port = process.env.PORT || 4444, folder = path.join(__dirname, 'files...
rstoenescu/quasar-framework
ui/dev/upload-server/server.js
JavaScript
mit
1,266
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > If the argument len is a Number and ToUint32(len) is equal to len, then the length property of the newly constructed object is set to ToUint32(len) es5id: 15.4.2.2_A...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Array/length/S15.4.2.2_A2.1_T1.js
JavaScript
mit
830
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { PropTypes } from 'react'; import withStyle...
rowinf/robertirwin.me-v2
src/routes/content/Content.js
JavaScript
mit
838
// <auto-generated> // 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. // Changes may cause incorrect behavior and will be lost if the code is // re...
ayeletshpigelman/azure-sdk-for-net
sdk/logz/Microsoft.Azure.Management.Logz/src/Generated/Models/PlanData.cs
C#
mit
3,665
using System.Collections.Generic; using System.Linq; using NuGet; namespace APIComparer.VersionComparisons { class CompareAgainstNextReleaseStrategy : ICompareStrategy { public IEnumerable<VersionPair> GetVersionsToCompare(List<SemanticVersion> semverCompliantVersions) { var majorGr...
modernist/APIComparer
APIComparer/VersionComparisons/CompareAgainstNextReleaseStrategy.cs
C#
mit
854
package gocaptcha import ( "bytes" "crypto/md5" "encoding/gob" "encoding/hex" "fmt" "log" "strconv" "strings" "time" "gopkg.in/redis.v2" ) func init() { RegisterStore(storeName, CreateCaptchaRedisStore) } const ( captchaKeyFormat = "captcha:text:%s;rand:%s;time:%x;" storeName = "redis" ) type C...
piaoxj/gocaptcha
redisstore.go
GO
mit
2,452
import asposebarcodecloud from asposebarcodecloud.BarcodeApi import BarcodeApi from asposebarcodecloud.BarcodeApi import ApiException import asposestoragecloud from asposestoragecloud.StorageApi import StorageApi from asposestoragecloud.StorageApi import ResponseMessage import ConfigParser config = Config...
farooqsheikhpk/Aspose.BarCode-for-Cloud
Examples/Python/generating-saving/cloud-storage/set-barcode-image-height-width-quality-settings.py
Python
mit
2,140
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CKFinder User's Guide</title> <link href="other/help.css" type="text/css" rel="stylesheet" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javasc...
nlkhagva/educenter.mn
web/js/ckfinder/help/es-mx/files/010.html
HTML
mit
1,409
/* Copyright (c) 2013-2022 Mahmoud Fayed <msfclipper@yahoo.com> */ #include "ring.h" /* Jump Functions */ void ring_vm_jump ( VM *pVM ) { RING_VM_JUMP ; } void ring_vm_jumpzero ( VM *pVM ) { List *pList ; Item *pItem ; if ( RING_VM_STACK_ISNUMBER ) { if ( RING_VM_STACK_READN == 0 ) { ...
ring-lang/ring
language/src/ring_vmjump.c
C
mit
5,646
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
plumer/codana
tomcat_files/8.0.22/TestDigestAuthenticator.java
Java
mit
14,017
<?php /** * Copyright (C) 2012 Derek J. Lambert * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
articque/doctrine2-spatial
tests/CrEOF/Spatial/Tests/DBAL/Types/StringLexerTest.php
PHP
mit
8,482
# Create, Run and Cancel Synapse Spark jobs This sample demonstrates basic operations with two core classes in this library: `SparkBatchClient` and `SparkBatchJob`. `SparkBatchClient` is used to interact with Spark jobs running on Azure Synapse - each method call sends a request to the service's REST API. `SparkBatchJ...
jackmagic313/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Spark/samples/Sample1_SubmitSparkJob.md
Markdown
mit
3,358
/* Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5 Version: 1.9.0 Author: Sean Ngu Website: http://www.seantheme.com/color-admin-v1.9/admin/ */ var handleDataTableResponsive = function() { "use strict"; if ($('#data-table').length !== 0) { $('#da...
DirectDev/wds-V2
www/admin/js/table-manage-responsive.demo.js
JavaScript
mit
578
module Pronto module Formatter describe CheckstyleFormatter do let(:formatter) { described_class.new } describe '#format' do subject { formatter.format(messages, nil, nil) } let(:line) { double(new_lineno: 1, commit_sha: '123') } let(:error) { Message.new('path/to', line, :err...
mvz/pronto
spec/pronto/formatter/checkstyle_formatter_spec.rb
Ruby
mit
952
@extends('core::admin.master') @section('title', $model->present()->title) @section('main') @include('core::admin._button-back', ['module' => 'pages']) <h1 class="@if(!$model->present()->title)text-muted @endif"> {{ $model->present()->title ?: trans('core::global.Untitled') }} </h1> {!! Boot...
laravelproject2016/mkproject
vendor/typicms/pages/src/resources/views/admin/edit.blade.php
PHP
mit
537
#!/bin/sh #This script ensures that OneTimeSecret is automatically restarting after an error happens #Handling Errors # 0 silent # 1 email ERROR_HANDLING=0 # Your email address which should recieve the error messages EMAIL_ADDRESS="no-reply@example.com" # Sets the minimun amount of time betweens the sending of error ...
10xEngineer/onetimesecret
bin/safeRun.sh
Shell
mit
1,695
// @flow import { createPopper, popperGenerator, detectOverflow } from './createPopper'; export type * from './types'; // eslint-disable-next-line import/no-unused-modules export { createPopper, popperGenerator, detectOverflow };
FezVrasta/popper.js
src/popper-base.js
JavaScript
mit
232
/** The MIT License (MIT) Copyright (c) 2013-2015, Joe Bain 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...
abyoussef/SmartFlow
node_modules/args-js/dist/Args.js
JavaScript
mit
14,146
namespace OmniXaml.Tests.Classes { public class IntExtension : MarkupExtension { public IntExtension() { } public IntExtension(int number) { Number = number; } public int Number { get; set; } public override objec...
jrodrigv/OmniXAML
Tests/OmniXaml.Tests.Classes/IntExtension.cs
C#
mit
438
using System.Collections.Generic; using NuGet; namespace APIComparer.VersionComparisons { public interface ICompareStrategy { IEnumerable<VersionPair> GetVersionsToCompare(List<SemanticVersion> semVerCompliantVersions); } }
modernist/APIComparer
APIComparer/VersionComparisons/ICompareStrategy.cs
C#
mit
244
// 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. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
atpham256/azure-sdk-for-net
src/SDKs/SqlManagement/Management.Sql/Generated/IServerKeysOperations.cs
C#
mit
11,343
namespace Glass.Mapper.Sc.IoC { public class GlassHtmlFactory : IGlassHtmlFactory { public IGlassHtml GetGlassHtml(ISitecoreContext sitecoreContext) { return new GlassHtml(sitecoreContext); } } }
rmwatson5/Glass-Factory
packages/Glass.Mapper.Sc.Core.4.2.0.184/src/Source/Glass.Mapper.Sc/IoC/GlassHtmlFactory.cs
C#
mit
247
<a href="http://github.com/angular/angular.js/tree/v1.2.12/src/ng/directive/input.js#L95" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/input.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> I...
nagyist/PlanIT
src/Flyers/DashboardBundle/Resources/public/vendors/angular-1.2.12/docs/partials/api/ng.directive:input.number.html
HTML
mit
7,240
--- layout: page weight: 0 title: Scheduling Parameters navigation: show: true --- With scheduling you can send large volumes of email in queued batches or target individual recipients by specifying custom UNIX timestamp parameter. Using the parameters defined below, you can queue batches of emails targeting indivi...
L2G/docs
source/API_Reference/SMTP_API/scheduling_parameters.md
Markdown
mit
2,184
<!DOCTYPE html> <html lang="en"> <head> <title>CacheType Enum Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <scri...
visenze/visearch-widget-swift
Carthage/Checkouts/Kingfisher/docs/docsets/Kingfisher.docset/Contents/Resources/Documents/Enums/CacheType.html
HTML
mit
17,502
import { moduleFor, RenderingTestCase, runTask } from 'internal-test-helpers'; import { Object as EmberObject } from '@ember/-internals/runtime'; import { set, setProperties, computed } from '@ember/-internals/metal'; import { setComponentManager, capabilities } from '@ember/-internals/glimmer'; const BasicComponentM...
kellyselden/ember.js
packages/@ember/-internals/glimmer/tests/integration/custom-component-manager-test.js
JavaScript
mit
16,163
// <copyright file="TestData.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2015 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this sof...
albertp007/mathnet-numerics
src/UnitTests/LinearAlgebraTests/Complex32/TestData.cs
C#
mit
5,068
# The Dispatcher concept ## HTTP Libraries By "HTTP implementation", it means: *a layer that helps us to work with Request and Response in terms of reading a request, create a response and send it back to the client.* In PHP there are a lot of libraries that do that: * [Zend\Http](https://github.com/zendframework/z...
pennyphp/penny
docs/the-dispatcher-concept.md
Markdown
mit
2,915
SET @sName = 'bx_decorous'; -- SETTINGS INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES ('templates', @sName, '_bx_decorous_stg_cpt_type', 'bx_decorous@modules/boonex/decorous/|std-icon.svg', 2); SET @iTypeId = LAST_INSERT_ID(); -- SETTINGS: Decorous template System INSERT INTO `...
unaio/una
modules/boonex/decorous/updates/12.0.0_12.0.1/source/install/sql/install.sql
SQL
mit
50,318
/* * Copyright (c) 2010-2015 OTClient <https://github.com/edubart/otclient> * * 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...
gpedro/otclient
src/client/thing.cpp
C++
mit
2,672
<div id="content"> <div id="inner"> <h1 id="signinLogo"><a href="/"></a></h1> <div id="signinBlock"> <span class="formContainer"> <form id="signInForm" name="login" ng-submit="submit(credentials)"> <input class="fillin validated " autofocus="true" name="email" value="" title="Email" type="email" requ...
pfeffer629/CloudScript
src/public/shared/login/login.html
HTML
mit
881
#!/usr/bin/env bash # Copyright 2009 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. # This script runs or (given -n) prints suggested commands to generate files for # the Architecture/OS specified by the GOARCH and GOOS environ...
OpenBazaar/openbazaar-go
vendor/golang.org/x/sys/unix/mkall.sh
Shell
mit
7,230
class SS::Extensions::ObjectIds < Array def mongoize self.to_a end class << self def demongoize(object) self.new(object.to_a) end def mongoize(object) case object when self.class then object.mongoize when String then [] when Array ids = object.reject { |m| m...
itowtips/shirasagi
app/models/ss/extensions/object_ids.rb
Ruby
mit
684
# the scanner/lexer require 'forwardable' require 'strscan' require 'puppet' require 'puppet/util/methodhelper' module Puppet class LexError < RuntimeError; end end class Puppet::Pops::Parser::Lexer extend Forwardable attr_reader :file, :lexing_context, :token_queue attr_reader :locator attr_accessor :i...
jorgemancheno/boxen
vendor/bundle/ruby/2.0.0/gems/puppet-3.6.1/lib/puppet/pops/parser/lexer.rb
Ruby
mit
22,497
/* * Planck.js v0.3.0-rc.1 * * Copyright (c) 2016-2018 Ali Shakiba http://shakiba.me/planck.js * Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com * * 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 ...
sufuf3/cdnjs
ajax/libs/planck-js/0.3.0-rc.1/planck-with-testbed.js
JavaScript
mit
478,044
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
joseph00713/Sponge
src/main/java/org/spongepowered/mod/mixin/core/event/state/MixinEventState.java
Java
mit
1,933
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), meta: { banner : '/*!\n' + ' * <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>\n' + ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> - <%= pkg.homepage %>\n' + ' * ...
MuddyPaw/testcalendar
web/vendor/timepicker/GruntFile.js
JavaScript
mit
825
<?php namespace Chamilo\Application\Weblcms\Tool\Implementation\Geolocation\Package; class Activator extends \Chamilo\Configuration\Package\Action\Activator { }
cosnicsTHLU/cosnics
src/Chamilo/Application/Weblcms/Tool/Implementation/Geolocation/Package/Activator.php
PHP
mit
162
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module defines Entry classes for containing experimental data. """ __author__ = "Shyue Ping Ong" __copyright__ = "Copyright 2012, The Materials Project" __version__ = "0.1" __maintainer__ = "Shyue Pi...
mbkumar/pymatgen
pymatgen/entries/exp_entries.py
Python
mit
2,923
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>void override_outcome_exception(basic_outcome&lt;T, EC, EP, NoValuePolicy&gt; *, U &amp;&amp;) noexcept - Boost.Outcome documentation</t...
davehorton/drachtio-server
deps/boost_1_77_0/libs/outcome/doc/html/reference/functions/hooks/override_outcome_exception.html
HTML
mit
2,986
<?php class CM_FormField_FloatTest extends CMTest_TestCase { public function testValidate() { $environment = new CM_Frontend_Environment(); $field = new CM_FormField_Float(['name' => 'foo']); $this->assertSame(1.3, $field->validate($environment, 1.3)); $this->assertInstan...
njam/CM
tests/library/CM/FormField/FloatTest.php
PHP
mit
1,150
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,d,a){b!=Array.prototype&&b!=Object.prototype&&(b[d]=a.value)};$jscomp.getG...
extend1994/cdnjs
ajax/libs/rx-player/3.0.0-rc4/rx-player.min.js
JavaScript
mit
223,270