code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
cask 'rubymine' do version '2018.1.4,181.5281.41' sha256 'e89880cfed154e01545063f830e444f0a9ae3509b177f254a92032544cffe24a' url "https://download.jetbrains.com/ruby/RubyMine-#{version.before_comma}.dmg" appcast 'https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release' name 'Rub...
goxberry/homebrew-cask
Casks/rubymine.rb
Ruby
bsd-2-clause
1,013
var loopback = require('loopback'), boot = require('loopback-boot'); var app = loopback(); boot(app, __dirname); module.exports = app;
maschinenbau/freecodecamp
client/loopbackClient.js
JavaScript
bsd-3-clause
142
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/allocator/allocator_extension.h" #include "base/logging.h" namespace base { namespace allocator { bool GetProperty(const char* name,...
leighpauls/k2cro4
base/allocator/allocator_extension.cc
C++
bsd-3-clause
1,997
/*- * Copyright (c) 2005, M. Warner Losh * All rights reserved. * Copyright (c) 1995, David Greenman * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code...
jhbsz/OSI-OS
sys/dev/ed/if_ed_novell.c
C
bsd-3-clause
9,160
<!doctype html> <!-- This file is generated by build.py. --> <title>Reference for video 240x160.ogv; overflow:hidden; -o-object-fit:none; -o-object-position:right 50%</title> <link rel="stylesheet" href="../../support/reftests.css"> <style> .helper { overflow:hidden } .helper > * { right:0; top:20.0px; } </style> <d...
frivoal/presto-testo
css/image-fit/reftests/video-ogg-wide/hidden_none_right_50-ref.html
HTML
bsd-3-clause
411
#include "erfa.h" void eraPvppv(double a[2][3], double b[2][3], double apb[2][3]) /* ** - - - - - - - - - ** e r a P v p p v ** - - - - - - - - - ** ** Add one pv-vector to another. ** ** Given: ** a double[2][3] first pv-vector ** b double[2][3] second pv-vector ** ** Returned: ...
joergdietrich/astropy
cextern/erfa/pvppv.c
C
bsd-3-clause
3,699
""" Generating and counting primes. """ from __future__ import print_function, division import random from bisect import bisect # Using arrays for sieving instead of lists greatly reduces # memory consumption from array import array as _array from sympy import Function, S from sympy.core.compatibility import as_int,...
kaushik94/sympy
sympy/ntheory/generate.py
Python
bsd-3-clause
28,626
<!DOCTYPE html> <html dir="ltr" lang="en"> <head> <title>Custom Dispatch Logic - Rubinius</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta content='en' http-equiv='content-language'> <meta content='Rubinius is an implementation of the Ruby program...
whiteley/rbx-deb
web/_site/doc/fr/virtual-machine/custom-dispatch-logic/index.html
HTML
bsd-3-clause
6,396
#include "erfa.h" void eraH2fk5(double rh, double dh, double drh, double ddh, double pxh, double rvh, double *r5, double *d5, double *dr5, double *dd5, double *px5, double *rv5) /* ** - - - - - - - - - ** e r a H 2 f k 5 ** - - - - - - - - - ** ** Transform Hipparcos star...
joergdietrich/astropy
cextern/erfa/h2fk5.c
C
bsd-3-clause
6,147
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "android_webview/browser/net/aw_url_request_job_factory.h" #include "net/base/net_errors.h" #include "net/url_request/url_request_error_job....
nacl-webkit/chrome_deps
android_webview/browser/net/aw_url_request_job_factory.cc
C++
bsd-3-clause
3,024
#ifndef ALIANALYSISTASKCHECKCASCADEPP_H #define ALIANALYSISTASKCHECKCASCADEPP_H /* See cxx source for full Copyright notice */ //----------------------------------------------------------------- // AliAnalysisTaskCheckCascadePbPb class // Origin AliAnalysisTaskCheckCascade // Thi...
dlodato/AliPhysics
PWGLF/STRANGENESS/Cascades/AliAnalysisTaskCheckCascadepp.h
C
bsd-3-clause
19,650
/* * Copyright (c) 2013 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...
mxOBS/deb-pkg_trusty_chromium-browser
third_party/webrtc/modules/rtp_rtcp/interface/fec_receiver.h
C
bsd-3-clause
1,162
<!DOCTYPE html> <title>File-015-001-Enumerablity check: File.name</title> <link rel="stylesheet" href="../resources/style.css"/> <script src="../resources/lib.js"></script> <script> onload = function() { try { var t_file = document.getElementById('t_file'); t_file.onchange = function() { ...
operasoftware/presto-testo
wpt/FileAPI/non-automated/File-015-001.html
HTML
bsd-3-clause
1,099
package com.tinkerpop.pipes.transform; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.pipes.util.PipeHelper; import java.util.Arrays; /** * BothEdgesPipe emits both the outgoing and incoming edges of a vertex. * * @author Marko A. Rodriguez (http://markorodriguez.com) */ public class BothEdgesPi...
whshev/pipes
src/main/java/com/tinkerpop/pipes/transform/BothEdgesPipe.java
Java
bsd-3-clause
855
module SalesInvoiceSoapResponses def sales_invoice_gettax_response(doc_code, line_item, shipment, time = Time.now) { transaction_id: "4314427373575624", result_code: "Success", doc_id: "56879220", doc_type: "SalesInvoice", doc_code: doc_code, doc_date: time.to_date, doc_s...
jordan-brough/solidus_avatax
spec/support/sales_invoice_soap_responses.rb
Ruby
bsd-3-clause
7,800
/* @flow */ /* Flow declarations for express requests and responses */ /* eslint-disable no-unused-vars */ declare class Request { method: String; body: Object; query: Object; } declare class Response { status: (code: Number) => Response; set: (field: String, value: String) => Response; send: (body: String...
jamiehodge/express-graphql
resources/interfaces/express.js
JavaScript
bsd-3-clause
333
<!DOCTYPE html> <html> <head> <title>CSS Animations - 0 as keyframe selector</title> <link rel="author" title="Opera Software ASA" href="http://www.opera.com/"> <link rel="help" href="http://dev.w3.org/csswg/css3-animations/#keyframes"> <meta name="flags" content="dom invalid"> <!-- ******************...
frivoal/presto-testo
css/animations/automated/0_as_keyframe_selector.html
HTML
bsd-3-clause
3,046
import base64 import logging import string import warnings from datetime import datetime, timedelta from django.conf import settings from django.contrib.sessions.exceptions import SuspiciousSession from django.core import signing from django.core.exceptions import SuspiciousOperation from django.utils import timezone ...
wkschwartz/django
django/contrib/sessions/backends/base.py
Python
bsd-3-clause
13,900
# -*- coding: utf-8 -*- import os CODE_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) def get_permdir(): return os.path.join(CODE_DIR, 'permdir') def get_repo_root(): return get_permdir() def get_tmpdir(): return os.path.join(CODE_DIR, 'tmpdir') def init_permdir(): path = ge...
douban/code
vilya/libs/permdir.py
Python
bsd-3-clause
407
--- title: Perfect Square Collection localeTitle: Perfecta colección cuadrada --- ## Problema 142: Perfect Square Collection Esto es un talón. [Ayuda a nuestra comunidad a expandirla](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/coding-interview-prep/project-euler/problem-142-perfect-squ...
otavioarc/freeCodeCamp
guide/spanish/certifications/coding-interview-prep/project-euler/problem-142-perfect-square-collection/index.md
Markdown
bsd-3-clause
509
// SDLOnTBTClientState.h // #import "SDLRPCNotification.h" #import "SDLTBTState.h" NS_ASSUME_NONNULL_BEGIN /** Provides applications with notifications specific to the current TBT client status on the module */ @interface SDLOnTBTClientState : SDLRPCNotification /** Current State of TBT client */ @property (s...
smartdevicelink/sdl_ios
SmartDeviceLink/public/SDLOnTBTClientState.h
C
bsd-3-clause
386
from social_core.backends.upwork import UpworkOAuth
cjltsod/python-social-auth
social/backends/upwork.py
Python
bsd-3-clause
52
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/web_resource/eula_accepted_notifier.h" #include "base/macros.h" #include "components/prefs/pref_registry_simple.h" #include "compone...
ds-hwang/chromium-crosswalk
components/web_resource/eula_accepted_notifier_unittest.cc
C++
bsd-3-clause
2,473
""" This module collects helper functions and classes that "span" multiple levels of MVC. In other words, these functions/classes introduce controlled coupling for convenience's sake. """ import warnings from django.template import loader, RequestContext from django.template.context import _current_app_undefined from...
doismellburning/django
django/shortcuts.py
Python
bsd-3-clause
7,865
/* * Copyright (C) 2012 Samsung Electronics * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the follo...
leighpauls/k2cro4
third_party/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_text_checker.h
C
bsd-3-clause
6,740
from settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'denorm', 'HOST': 'localhost', 'USER': 'denorm', 'PASSWORD': 'denorm1', } }
mjtamlyn/django-denorm
test_project/settings_mysql.py
Python
bsd-3-clause
221
<!DOCTYPE html> <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <link rel="import" href="/tracing/base/utils.html"> <link rel="import" href="/perf_insights/results/results.html"> <script> 'use stri...
modulexcite/catapult
perf_insights/perf_insights/results/results_test.html
HTML
bsd-3-clause
1,729
<!DOCTYPE html> <html dir="ltr" lang="de"> <head> <title>Inhaltsverzeichnis - Rubinius</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta content='de' http-equiv='content-language'> <meta content='Rubinius is an implementation of the Ruby programmin...
yob/debian-rubinius
web/_site/doc/de/index.html
HTML
bsd-3-clause
9,767
body { color: #3E3E3E; font: 90% "Open Sans", "lucida grande", "Segoe UI", arial, verdana, "lucida sans unicode", tahoma, sans-serif; /*font: 75% arial,helvetica,sans-serif;*/ /*font-family: Verdana;*/ background-color: #FFF; font-size: 90%; /* importante tamaño relativo para todos */ /*IE6*/ text-align: center; } #lo...
jolth/CowFleet-1.0.0
static/css/login.css
CSS
bsd-3-clause
3,043
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_Gemm_tt_bl...
alishakiba/libflame
src/blas/3/gemm/tt/flamec/FLA_Gemm_tt.h
C
bsd-3-clause
1,558
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/geolocation/geolocation_permission_context.h" #include <set> #include <string> #include <utility> #include "base/bind.h" #i...
sgraham/nope
chrome/browser/geolocation/geolocation_permission_context_unittest.cc
C++
bsd-3-clause
37,152
// transform/fmllr-raw.cc // Copyright 2013 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // 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 c...
hoangt/djinn
tonic-suite/asr/src/transform/fmllr-raw.cc
C++
bsd-3-clause
21,344
if (this.importScripts) { importScripts('../../../fast/js/resources/js-test-pre.js'); importScripts('shared.js'); } description("Test transaction aborts send the proper onabort messages.."); indexedDBTest(prepareDatabase, startTest); function prepareDatabase() { db = event.target.result; store = evalA...
leighpauls/k2cro4
content/test/data/layout_tests/LayoutTests/storage/indexeddb/resources/transaction-abort.js
JavaScript
bsd-3-clause
2,204
// Copyright (C) 2015 Intel Corporation All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #if ENABLE(WEBCL) #include "modules/webcl/WebCLContext.h" #include "modules/webcl/WebCLObject.h" namespace blink { WebCLObject::~We...
XiaosongWei/blink-crosswalk
Source/modules/webcl/WebCLObject.cpp
C++
bsd-3-clause
970
#!/usr/bin/env python import argparse import time from pytx import ThreatIndicator from pytx.vocabulary import ThreatExchange as te from pytx.vocabulary import ThreatType as tt from pytx.vocabulary import Types as t def get_results(options): ''' Builds a query string based on the specified options and runs ...
arirubinstein/ThreatExchange
scripts/get_compromised_credentials.py
Python
bsd-3-clause
2,285
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ --> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>"libc++" C++ Standard Library</title> <link...
endlessm/chromium-browser
third_party/llvm/libcxx/www/index.html
HTML
bsd-3-clause
10,074
// Copyright Peter Dimov 2001-2002 // Copyright Aleksey Gurtovoy 2001-2004 // // 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) // // *Preprocessed* version of the main "arg.hpp" header // -- DO NOT modify by h...
cawka/packaging-ndn-cpp-dev
include/ndnboost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp
C++
bsd-3-clause
2,771
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_COMMON_ZYGOTE_COMMANDS_LINUX_H_ #define CONTENT_COMMON_ZYGOTE_COMMANDS_LINUX_H_ namespace content { // Contents of the initial messa...
keishi/chromium
content/common/zygote_commands_linux.h
C
bsd-3-clause
1,449
; ; Copyright (c) 2010 The WebM 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 contributing proje...
aospX/platform_external_libvpx
vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.asm
Assembly
bsd-3-clause
6,188
package org.buildmlearn.toolkit.fragment; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import org.buildmlearn.toolkit.R; import org.buildmlearn.toolkit.activity.TemplateActivity; /** ...
vishwesh3/BuildmLearn-Toolkit-Android
source-code/app/src/main/java/org/buildmlearn/toolkit/fragment/HomeFragment.java
Java
bsd-3-clause
1,033
/* * Copyright (C) 2004-2006 Atmel Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __ASM_AVR32_PGTABLE_H #define __ASM_AVR32_PGTABLE_H #include <asm/add...
felixhaedicke/nst-kernel
src/arch/avr32/include/asm/pgtable.h
C
gpl-2.0
11,945
<!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) on Fri Oct 02 00:10:12 EDT 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.owasp.appsensor.core.loggin...
ProZachJ/appsensor
appsensor-dot-org/site-contents/docs/v2.2.0/javadoc/org/owasp/appsensor/core/logging/package-summary.html
HTML
mit
2,487
package com.xeiam.xchange.btcchina; import java.io.IOException; import javax.ws.rs.Consumes; import javax.ws.rs.DefaultValue; import javax.ws.rs.GET; import javax.ws.rs.HeaderParam; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.w...
cinjoff/XChange-1
xchange-btcchina/src/main/java/com/xeiam/xchange/btcchina/BTCChina.java
Java
mit
14,863
# xhr-response [![Made by unshift][made-by]](http://unshift.io)[![Version npm][version]](http://browsenpm.org/package/xhr-response)[![Build Status][build]](https://travis-ci.org/unshiftio/xhr-response)[![Dependencies][david]](https://david-dm.org/unshiftio/xhr-response)[![Coverage Status][cover]](https://coveralls.io/...
cqw1/palliassist_webportal
webjobs/sync-redcap/node_modules/xhr-response/README.md
Markdown
mit
1,641
Extending Mouf's user interface =============================== In your package, you can write custom controllers and views in order to add your own user interface. There are plenty of hook points that let you: - add menu items - add HTML in any zone - add any controller Let's focus on the most common use case: add...
moufmouf/mouf
doc/extending_mouf_ui.md
Markdown
mit
13,734
<?php namespace Test\TestBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://symfony.c...
max05/bootstrap
src/Test/TestBundle/DependencyInjection/Configuration.php
PHP
mit
873
function config ($logProvider) { 'ngInject'; // Enable log $logProvider.debugEnabled(true); } export default config;
mike1808/godtracks
src/app/index.config.js
JavaScript
mit
124
.connection { stroke: #999; } .connection.error { stroke: #F00; } .connection-wrap { stroke-linecap: butt; transition: all 0.5s linear 0.2s; } .connection-wrap:hover { stroke: black; stroke-width: 9px; transition: all 0s; } .link-tools .tool-remove circle { fill: white; stroke: #...
wirebirdlabs/incredible
webui/logic.css
CSS
mit
2,479
package gforms // Generate password input field: <input type="password" ...> func PasswordInputWidget(attrs map[string]string) Widget { w := new(textInputWidget) w.Type = "password" if attrs == nil { attrs = map[string]string{} } w.Attrs = attrs return w }
gernest/gforms
passwordinputwidget.go
GO
mit
266
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class template rbtree_algorithms</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <me...
vslavik/poedit
deps/boost/doc/html/boost/intrusive/rbtree_algorithms.html
HTML
mit
80,930
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}li{lis...
nazar/DarkFallSage
vendor/plugins/smurf/test/rails/public/stylesheets/cache/expected.css
CSS
mit
814
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct feature_of&lt;tag::immediate_mean_of_weights&gt;</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.cs...
TyRoXx/cdm
original_sources/boost_1_59_0/doc/html/boost/accumulators/feature_of_tag_idp65056752.html
HTML
mit
4,874
# -*- encoding : utf-8 -*- # Use this setup block to configure all options available in SimpleForm. SimpleForm.setup do |config| # Wrappers are used by the form builder to generate a # complete input. You can remove any component from the # wrapper, change the order or even add your own to the # stack. The opti...
soramugi/gistub
config/initializers/simple_form.rb
Ruby
mit
6,878
package jumpmicro.shared.model //: ------------------------------------------------------------------------------------- //: Copyright © 2017 Philip Andrew https://github.com/PhilAndrew All Rights Reserved. //: Released under the MIT License, refer to the project website for licence information. //: -----------------...
PhilAndrew/JumpMicro
JMShared/src/main/scala/jumpmicro/shared/model/MRegistryMMicroConfig.scala
Scala
mit
786
/* Copyright 2012-2014 SpringSource. * * 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 agree...
arunabhdas/pizzashop
target/work/plugins/spring-security-core-2.0-RC4/src/java/grails/plugin/springsecurity/web/access/channel/HeaderCheckInsecureChannelProcessor.java
Java
mit
2,217
Automatically builds and maintains your spec runner and runs your tests headlessly through PhantomJS. ## Run specs locally or on a remote server Run your tests on your local filesystem or via a server task like [grunt-contrib-connect][]. ## Customize your SpecRunner with templates Use your own SpecRunner templates ...
numediaweb/grunt-contrib-jasmine
docs/jasmine-overview.md
Markdown
mit
1,026
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colorbutton', 'bs', { auto: 'Automatska', bgColorTitle: 'Boja pozadine', colors: { '000': 'Black', '800000': 'Maroon', '...
zweidner/hubzero-cms
core/plugins/editors/ckeditor/assets/plugins/colorbutton/lang/bs.js
JavaScript
mit
2,069
# encoding: utf-8 # require 'spec_helper' describe 'country descriptions' do def self.it_splits number, expected it { Phony.split(number).should == expected } end describe 'regression' do it_splits '33630588659', ["33", "6", "30", "58", "86", "59"] end describe 'splitting' do describe 'Ascensi...
tpena/phony
spec/lib/phony/countries_spec.rb
Ruby
mit
56,003
var http = require("http"); var url = require("url"); var server; // Diese Funktion reagiert auf HTTP Requests, // hier wird also die Web Anwendung implementiert! var simpleHTTPResponder = function(req, res) { // Routing bedeutet, anhand der URL Adresse // unterschiedliche Funktionen zu steuern. // Dazu wird zunäc...
MaximilianKucher/vs1Lab
Beispiele/nodejs_webserver/web.js
JavaScript
mit
1,328
<!DOCTYPE html> <!--html5--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <!-- Mirrored from arduino.cc/en/Reference/EsploraReadBlue by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 06 Feb 2015 20:16:08 GMT --> <!-- Added by...
chcbaram/CupDrone_IDE
reference/arduino.cc/en/Reference/EsploraReadBlue.html
HTML
mit
23,508
package engine.menu.managers; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.util.List; import engine.dialogue.InteractionBox; import engine.gridobject.person.Player; import engine.images.ScaledImage; import engine.item.Weapon; import engine.menu.MenuInteractionMatrix; import...
yomikaze/OOGASalad
src/engine/menu/managers/WeaponManager.java
Java
mit
2,233
<?php /* * This file is part of the Sonata package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\BlockBundle\Tests\Block; use Sonata\BlockBundle\Block\...
sonata-project/sandbox-build
vendor/sonata-project/block-bundle/Tests/Block/BlockServiceManagerTest.php
PHP
mit
4,478
// 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. #nullable disable using System; using System.Collections.Generic; using System.Composition; using System.Threading...
mavasani/roslyn
src/Features/CSharp/Portable/Highlighting/KeywordHighlighters/UsingStatementHighlighter.cs
C#
mit
1,116
// 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 Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.H...
CyrusNajmabadi/roslyn
src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/VisualStudioWorkspace_OutOfProc.cs
C#
mit
5,369
<?php namespace SMW\Tests\SPARQLStore; use SMW\SPARQLStore\RedirectLookup; use SMW\InMemoryPoolCache; use SMW\DIWikiPage; use SMW\DIProperty; use SMW\Exporter\Escaper; use SMWExpNsResource as ExpNsResource; use SMWExpLiteral as ExpLiteral; use SMWExpResource as ExpResource; use SMWExporter as Exporter; /** * @cove...
stuartbman/mediawiki-vagrant
mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/RedirectLookupTest.php
PHP
mit
7,584
package xpath //please check the search tests in gokogiri/xml and gokogiri/html import "testing" func TestCompileGoodExpr(t *testing.T) { defer CheckXmlMemoryLeaks(t) e := Compile(`./*`) if e == nil { t.Error("expr should be good") } e.Free() } func TestCompileBadExpr(t *testing.T) { //defer CheckXmlMemoryLe...
jbowtie/gokogiri
xpath/xpath_test.go
GO
mit
609
<?php /* * This file is part of the Sismo utility. * * (c) Fabien Potencier <fabien@symfony.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ use Sismo\Sismo; use Sismo\BuildException; use Symfony\Component\Console\Application; use Symfony\C...
druid628/Sismo
src/console.php
PHP
mit
9,948
# History ## 0.3.4 * `grunt.warn` instead of `grunt.log.warn` on failures with bail false, correct exit code. (#71) ## 0.3.3 * Add `log` option to output `console.log`. False by default. * Update Readme to reflect Grunt 0.4 changes (finally) ## 0.3.2 * Add `bail` option (false by default) * Do not bail on error by d...
openilabs/crypto
node_modules/node-forge/nodejs/node_modules/grunt-mocha/HISTORY.md
Markdown
mit
2,393
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template inplace_erase</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.74.0"> <link rel="home" href="../../index.ht...
djsedulous/namecoind
libs/boost_1_50_0/libs/icl/doc/html/boost/icl/inplace_erase.html
HTML
mit
7,027
#ifndef _MYSTUFF_H #define _MYSTUFF_H extern char generic_print_buffer[384]; #define printf( ... ) os_sprintf( generic_print_buffer, __VA_ARGS__ ); uart0_sendStr( generic_print_buffer ); #endif
fungxu/ws2812esp8266
user/mystuff.h
C
mit
198
#include "scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.hpp" #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) #include "ui/UIVideoPlayer.h" #include "scripting/lua-bindings/manual/tolua_fix.h" #include "scripting/lua-bindings/manual/LuaBasicConversions...
tianxiawuzhei/cocos-quick-cpp
publibs/cocos2dx/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.cpp
C++
mit
2,501
require File.expand_path('../../test_helper', __FILE__) require 'mocha/metaclass' class MetaclassTest < Test::Unit::TestCase def test_should_return_objects_singleton_class object = Object.new assert_raises(NoMethodError) { object.success? } object = Object.new assert object.__metaclass__.ancestor...
natematias/Our-Things
vendor/gems/mocha-0.9.12/test/unit/metaclass_test.rb
Ruby
mit
629
/* _____ __ ___ __ ____ _ __ / ___/__ ___ _ ___ / |/ /__ ___ / /_____ __ __/ __/_______(_)__ / /_ / (_ / _ `/ ' \/ -_) /|_/ / _ \/ _ \/ '_/ -_) // /\ \/ __/ __/ / _ \/ __/ \___/\_,_/_/_/_/\__/_/ /_/\___/_//_/_/\_\\__/\_, /___/\__/_/ /_/ .__/\__/ ...
LothusMarque/Furnarchy
furnarchy2/furnarchyskin/gm/gmDebug.cpp
C++
mit
22,124
module Jasminerice module ApplicationHelper end end
ajacksified/restful-clients-in-rails-demo
rack-proxy/ruby/1.9.1/gems/jasminerice-0.0.8/app/helpers/jasminerice/application_helper.rb
Ruby
mit
56
goog.require('ol.Map'); goog.require('ol.View'); goog.require('ol.control'); goog.require('ol.layer.Tile'); goog.require('ol.layer.Vector'); goog.require('ol.source.GeoJSON'); goog.require('ol.source.OSM'); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }), new ol....
buddebej/ol3-dem
ol3/examples/export-map.js
JavaScript
mit
1,180
'use strict'; angular.module('sumaAnalysis') .factory('actsLocs', function () { function calculateDepthAndTooltip (item, list, root, depth) { var parent; depth = depth || {depth: 0, tooltipTitle: item.title, ancestors: []}; if (parseInt(item.parent, 10) === parseInt(root, 10)) { return...
cazzerson/Suma
analysis/src/scripts/services/actsLocs.js
JavaScript
mit
3,247
""" kombu.transport.pyamqp ====================== pure python amqp transport. """ from __future__ import absolute_import import amqp from kombu.five import items from kombu.utils.amq_manager import get_manager from kombu.utils.text import version_string_as_tuple from . import base DEFAULT_PORT = 5672 DEFAULT_SSL_...
sunze/py_flask
venv/lib/python3.4/site-packages/kombu/transport/pyamqp.py
Python
mit
5,008
<?php defined('C5_EXECUTE') or die("Access Denied."); use Concrete\Core\Entity\Sharing\SocialNetwork\Link; use Concrete\Core\Form\Service\Form; use Concrete\Core\Sharing\SocialNetwork\Service; use Concrete\Core\Support\Facade\Application; use Concrete\Core\Support\Facade\Url; /** @var Link[] $links */ /** @var Link[...
mlocati/concrete5
concrete/blocks/social_links/form.php
PHP
mit
2,919
#! /usr/bin/env ruby require 'spec_helper' require 'matchers/json' require 'puppet/util/instrumentation' require 'puppet/util/instrumentation/listener' describe Puppet::Util::Instrumentation::Listener do Listener = Puppet::Util::Instrumentation::Listener before(:each) do @delegate = stub 'listener', :notif...
kieran-bamforth/our-boxen
vendor/bundle/ruby/2.0.0/gems/puppet-3.4.3/spec/unit/util/instrumentation/listener_spec.rb
Ruby
mit
3,283
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
uspgamedev/3D-experiment
externals/Ogre/OgreMain/src/OgreWindowEventUtilities.cpp
C++
mit
14,140
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> A copy activity Azure Search Index sink. </summary> public partial class...
ayeletshpigelman/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSearchIndexSink.cs
C#
mit
2,405
#------------------------------------------------------------------------------ # pycparser: c_generator.py # # C code generator from pycparser AST nodes. # # Copyright (C) 2008-2012, Eli Bendersky # License: BSD #------------------------------------------------------------------------------ from . import c_ast class...
bussiere/pypyjs
website/demo/home/rfk/repos/pypy/lib_pypy/cffi/_pycparser/c_generator.py
Python
mit
13,798
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from '../../tests/helpers/start-app'; module('Acceptance | navs', { beforeEach() { this.application = startApp(); }, afterEach() { Ember.run(this.application, 'destroy'); } }); test('visiting /navs', function(assert) { ...
leoeuclids/ember-material-lite
tests/acceptance/navs-test.js
JavaScript
mit
412
<?php namespace N98\Magento\Command\Developer\Theme; use N98\Magento\Command\TestCase; use Symfony\Component\Console\Tester\CommandTester; class ListCommandTest extends TestCase { public function testExecute() { $application = $this->getApplication(); $application->add(new ListCommand()); ...
pocallaghan/n98-magerun
tests/N98/Magento/Command/Developer/Theme/ListCommandTest.php
PHP
mit
653
//===----------------- lib/Jit/options.cpp ----------------------*- C++ -*-===// // // LLILC // // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // //===--------------------------------------------------------------...
dotnet/llilc
lib/Jit/jitoptions.cpp
C++
mit
9,832
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.appservice; import com.fasterxml.jackson.annotat...
jianghaolu/azure-sdk-for-java
azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/AutoHealActions.java
Java
mit
2,569
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_Bounds : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { LuaDLL.lua_remove(l,1); UnityEngine.Bounds o; if(matchType(l,1,typ...
idada/slua
Assets/Slua/LuaObject/Lua_UnityEngine_Bounds.cs
C#
mit
8,284
namespace OJS.Workers.Checkers.Tests { using System; using NUnit.Framework; [TestFixture] public class CSharpCodeCheckerTests { [Test] [ExpectedException(typeof(InvalidOperationException))] public void CallingCheckMethodBeforeSetParameterShouldThrowAnException() { ...
nakov/OpenJudgeSystem
Open Judge System/Tests/OJS.Workers.Checkers.Tests/CSharpCodeCheckerTests.cs
C#
mit
5,295
/*! * screenfull * v4.2.0 - 2019-04-01 * (c) Sindre Sorhus; MIT License */ (function () { 'use strict'; var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {}; var isCommonjs = typeof module !== 'undefined' && module.exports; var keyboardAllowed = typeof Eleme...
quindar/quindar-ux
public/scripts/screenfull.js
JavaScript
mit
4,129
/* * TI OMAP timer driver * * Copyright (C) 2015, Texas Instruments, Incorporated * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> #include <asm/io.h> #include <asm/arch/clock.h> DECLARE_GLOBAL_DATA_PTR; /* Timer register bits */ #define TCLR_ST...
guileschool/beagleboard
u-boot/drivers/timer/omap-timer.c
C
mit
2,818
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2020 Intel Corporation */ #ifndef _INCLUDE_OBJ_H_ #define _INCLUDE_OBJ_H_ #include <stdint.h> #include <sys/queue.h> #include <rte_mempool.h> #include <rte_swx_pipeline.h> #include <rte_swx_ctl.h> #ifndef NAME_SIZE #define NAME_SIZE 64 #endif /* * obj */ ...
john-mcnamara-intel/dpdk
examples/pipeline/obj.h
C
mit
2,728
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> <head> <title> app/controllers/passwords_controller.rb - C0 code coverage information </title> <style type='te...
DistributedOpenUnifiedGovernmentNetwork/mapwarper
coverage/app-controllers-passwords_controller_rb.html
HTML
mit
20,975
class ExitStatus < Spinach::FeatureSteps feature "Exit status" include Integration::SpinachRunner Given "I have a feature that has no error or failure" do @feature = Integration::FeatureGenerator.success_feature end Given "I have a feature that has a failure" do @feature = Integration::FeatureGene...
alkuzad/spinach
features/steps/exit_status.rb
Ruby
mit
594
require 'rails/version' require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class StrongParametersControllerGenerator < ScaffoldControllerGenerator argument :attributes, :type => :array, :default => [], :banner => "field:type field:type" s...
begriffs/strong_parameters
lib/generators/rails/strong_parameters_controller_generator.rb
Ruby
mit
520
#zoom { position: absolute; display: none; z-index: 499; -webkit-box-shadow: 0px 5px 25px #000; -moz-box-shadow: 0px 5px 25px #000; box-shadow: 0px 5px 25px #000; } #zoom_img { display: block; cursor: pointer; width: 100%; border: 0; margin: 0; padding: 0; } #zoom_close { position: absolute; display: none; cursor: poin...
flavour/eden
static/styles/plugins/fancyzoom.css
CSS
mit
578
/* ==================================================================== 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 Y...
tobyclemson/msci-project
vendor/poi-3.6/src/java/org/apache/poi/hssf/usermodel/HSSFSimpleShape.java
Java
mit
3,641
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template static_constant</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="Boost.T...
nawawi/poedit
deps/boost/libs/test/doc/html/boost/unit_test/static_constant.html
HTML
mit
4,236
var stub = require('./fixtures/stub'), constants = require('./../constants'), Logger = require('./fixtures/stub_logger'), utils = require('./../utils'); // huge hack here, but plugin tests need constants constants.import(global); function _set_up(callback) { this.backup = {}; callback(...
jjz/Haraka
tests/utils.js
JavaScript
mit
12,700
// Generated by LiveScript 1.5.0 var onmessage, this$ = this; function addEventListener(event, cb){ return this.thread.on(event, cb); } function close(){ return this.thread.emit('close'); } function importScripts(){ var i$, len$, p, results$ = []; for (i$ = 0, len$ = (arguments).length; i$ < len$; ++i$) { p...
romainmnr/chatboteseo
node_modules/webworker-threads/src/load.js
JavaScript
mit
558
<?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...
phphatesme/LiveTest
src/lib/Zend/Form/Decorator/Captcha/Word.php
PHP
mit
2,410