repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
goxberry/homebrew-cask | Casks/rubymine.rb | 1013 | 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... | bsd-2-clause |
maschinenbau/freecodecamp | client/loopbackClient.js | 142 | var loopback = require('loopback'),
boot = require('loopback-boot');
var app = loopback();
boot(app, __dirname);
module.exports = app;
| bsd-3-clause |
leighpauls/k2cro4 | base/allocator/allocator_extension.cc | 1997 | // 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,... | bsd-3-clause |
jhbsz/OSI-OS | sys/dev/ed/if_ed_novell.c | 9160 | /*-
* 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... | bsd-3-clause |
frivoal/presto-testo | css/image-fit/reftests/video-ogg-wide/hidden_none_right_50-ref.html | 411 | <!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... | bsd-3-clause |
joergdietrich/astropy | cextern/erfa/pvppv.c | 3699 | #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:
... | bsd-3-clause |
kaushik94/sympy | sympy/ntheory/generate.py | 28626 | """
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,... | bsd-3-clause |
whiteley/rbx-deb | web/_site/doc/fr/virtual-machine/custom-dispatch-logic/index.html | 6396 | <!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... | bsd-3-clause |
joergdietrich/astropy | cextern/erfa/h2fk5.c | 6147 | #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... | bsd-3-clause |
nacl-webkit/chrome_deps | android_webview/browser/net/aw_url_request_job_factory.cc | 3024 | // 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.... | bsd-3-clause |
dlodato/AliPhysics | PWGLF/STRANGENESS/Cascades/AliAnalysisTaskCheckCascadepp.h | 19650 | #ifndef ALIANALYSISTASKCHECKCASCADEPP_H
#define ALIANALYSISTASKCHECKCASCADEPP_H
/* See cxx source for full Copyright notice */
//-----------------------------------------------------------------
// AliAnalysisTaskCheckCascadePbPb class
// Origin AliAnalysisTaskCheckCascade
// Thi... | bsd-3-clause |
mxOBS/deb-pkg_trusty_chromium-browser | third_party/webrtc/modules/rtp_rtcp/interface/fec_receiver.h | 1162 | /*
* 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... | bsd-3-clause |
operasoftware/presto-testo | wpt/FileAPI/non-automated/File-015-001.html | 1099 | <!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() {
... | bsd-3-clause |
whshev/pipes | src/main/java/com/tinkerpop/pipes/transform/BothEdgesPipe.java | 855 | 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... | bsd-3-clause |
jordan-brough/solidus_avatax | spec/support/sales_invoice_soap_responses.rb | 7800 | 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... | bsd-3-clause |
jamiehodge/express-graphql | resources/interfaces/express.js | 333 | /* @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... | bsd-3-clause |
frivoal/presto-testo | css/animations/automated/0_as_keyframe_selector.html | 3046 | <!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">
<!--
******************... | bsd-3-clause |
wkschwartz/django | django/contrib/sessions/backends/base.py | 13900 | 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
... | bsd-3-clause |
douban/code | vilya/libs/permdir.py | 407 | # -*- 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... | bsd-3-clause |
otavioarc/freeCodeCamp | guide/spanish/certifications/coding-interview-prep/project-euler/problem-142-perfect-square-collection/index.md | 509 | ---
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... | bsd-3-clause |
smartdevicelink/sdl_ios | SmartDeviceLink/public/SDLOnTBTClientState.h | 386 | // 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... | bsd-3-clause |
cjltsod/python-social-auth | social/backends/upwork.py | 52 | from social_core.backends.upwork import UpworkOAuth
| bsd-3-clause |
ds-hwang/chromium-crosswalk | components/web_resource/eula_accepted_notifier_unittest.cc | 2473 | // 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... | bsd-3-clause |
doismellburning/django | django/shortcuts.py | 7865 | """
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... | bsd-3-clause |
leighpauls/k2cro4 | third_party/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_text_checker.h | 6740 | /*
* 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... | bsd-3-clause |
mjtamlyn/django-denorm | test_project/settings_mysql.py | 221 | from settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'denorm',
'HOST': 'localhost',
'USER': 'denorm',
'PASSWORD': 'denorm1',
}
}
| bsd-3-clause |
modulexcite/catapult | perf_insights/perf_insights/results/results_test.html | 1729 | <!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... | bsd-3-clause |
yob/debian-rubinius | web/_site/doc/de/index.html | 9767 | <!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... | bsd-3-clause |
jolth/CowFleet-1.0.0 | static/css/login.css | 3043 | 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... | bsd-3-clause |
alishakiba/libflame | src/blas/3/gemm/tt/flamec/FLA_Gemm_tt.h | 1558 | /*
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... | bsd-3-clause |
sgraham/nope | chrome/browser/geolocation/geolocation_permission_context_unittest.cc | 37152 | // 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... | bsd-3-clause |
hoangt/djinn | tonic-suite/asr/src/transform/fmllr-raw.cc | 21344 | // 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... | bsd-3-clause |
leighpauls/k2cro4 | content/test/data/layout_tests/LayoutTests/storage/indexeddb/resources/transaction-abort.js | 2204 | 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... | bsd-3-clause |
XiaosongWei/blink-crosswalk | Source/modules/webcl/WebCLObject.cpp | 970 | // 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... | bsd-3-clause |
arirubinstein/ThreatExchange | scripts/get_compromised_credentials.py | 2285 | #!/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 ... | bsd-3-clause |
endlessm/chromium-browser | third_party/llvm/libcxx/www/index.html | 10074 | <!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... | bsd-3-clause |
cawka/packaging-ndn-cpp-dev | include/ndnboost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp | 2771 |
// 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... | bsd-3-clause |
keishi/chromium | content/common/zygote_commands_linux.h | 1449 | // 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... | bsd-3-clause |
aospX/platform_external_libvpx | vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.asm | 6188 | ;
; 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... | bsd-3-clause |
vishwesh3/BuildmLearn-Toolkit-Android | source-code/app/src/main/java/org/buildmlearn/toolkit/fragment/HomeFragment.java | 1033 | 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;
/**
... | bsd-3-clause |
felixhaedicke/nst-kernel | src/arch/avr32/include/asm/pgtable.h | 11945 | /*
* 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... | gpl-2.0 |
ProZachJ/appsensor | appsensor-dot-org/site-contents/docs/v2.2.0/javadoc/org/owasp/appsensor/core/logging/package-summary.html | 2487 | <!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... | mit |
cinjoff/XChange-1 | xchange-btcchina/src/main/java/com/xeiam/xchange/btcchina/BTCChina.java | 14863 | 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... | mit |
cqw1/palliassist_webportal | webjobs/sync-redcap/node_modules/xhr-response/README.md | 1641 | # 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/... | mit |
moufmouf/mouf | doc/extending_mouf_ui.md | 13734 | 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... | mit |
max05/bootstrap | src/Test/TestBundle/DependencyInjection/Configuration.php | 873 | <?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... | mit |
mike1808/godtracks | src/app/index.config.js | 124 | function config ($logProvider) {
'ngInject';
// Enable log
$logProvider.debugEnabled(true);
}
export default config;
| mit |
wirebirdlabs/incredible | webui/logic.css | 2479 | .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: #... | mit |
gernest/gforms | passwordinputwidget.go | 266 | 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
}
| mit |
vslavik/poedit | deps/boost/doc/html/boost/intrusive/rbtree_algorithms.html | 80930 | <!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... | mit |
nazar/DarkFallSage | vendor/plugins/smurf/test/rails/public/stylesheets/cache/expected.css | 814 | 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... | mit |
TyRoXx/cdm | original_sources/boost_1_59_0/doc/html/boost/accumulators/feature_of_tag_idp65056752.html | 4874 | <!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<tag::immediate_mean_of_weights></title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.cs... | mit |
soramugi/gistub | config/initializers/simple_form.rb | 6878 | # -*- 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... | mit |
PhilAndrew/JumpMicro | JMShared/src/main/scala/jumpmicro/shared/model/MRegistryMMicroConfig.scala | 786 | 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.
//: -----------------... | mit |
arunabhdas/pizzashop | target/work/plugins/spring-security-core-2.0-RC4/src/java/grails/plugin/springsecurity/web/access/channel/HeaderCheckInsecureChannelProcessor.java | 2217 | /* 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... | mit |
numediaweb/grunt-contrib-jasmine | docs/jasmine-overview.md | 1026 | 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 ... | mit |
zweidner/hubzero-cms | core/plugins/editors/ckeditor/assets/plugins/colorbutton/lang/bs.js | 2069 | /*
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',
'... | mit |
tpena/phony | spec/lib/phony/countries_spec.rb | 56003 | # 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... | mit |
MaximilianKucher/vs1Lab | Beispiele/nodejs_webserver/web.js | 1328 | 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... | mit |
chcbaram/CupDrone_IDE | reference/arduino.cc/en/Reference/EsploraReadBlue.html | 23508 | <!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... | mit |
yomikaze/OOGASalad | src/engine/menu/managers/WeaponManager.java | 2233 | 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... | mit |
sonata-project/sandbox-build | vendor/sonata-project/block-bundle/Tests/Block/BlockServiceManagerTest.php | 4478 | <?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\... | mit |
mavasani/roslyn | src/Features/CSharp/Portable/Highlighting/KeywordHighlighters/UsingStatementHighlighter.cs | 1116 | // 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... | mit |
CyrusNajmabadi/roslyn | src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/VisualStudioWorkspace_OutOfProc.cs | 5369 | // 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... | mit |
stuartbman/mediawiki-vagrant | mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/SPARQLStore/RedirectLookupTest.php | 7584 | <?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... | mit |
jbowtie/gokogiri | xpath/xpath_test.go | 609 | 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... | mit |
druid628/Sismo | src/console.php | 9948 | <?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... | mit |
openilabs/crypto | node_modules/node-forge/nodejs/node_modules/grunt-mocha/HISTORY.md | 2393 | # 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... | mit |
djsedulous/namecoind | libs/boost_1_50_0/libs/icl/doc/html/boost/icl/inplace_erase.html | 7027 | <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... | mit |
fungxu/ws2812esp8266 | user/mystuff.h | 198 | #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
| mit |
tianxiawuzhei/cocos-quick-cpp | publibs/cocos2dx/cocos/scripting/lua-bindings/manual/ui/lua_cocos2dx_experimental_video_manual.cpp | 2501 | #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... | mit |
natematias/Our-Things | vendor/gems/mocha-0.9.12/test/unit/metaclass_test.rb | 629 | 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... | mit |
LothusMarque/Furnarchy | furnarchy2/furnarchyskin/gm/gmDebug.cpp | 22124 | /*
_____ __ ___ __ ____ _ __
/ ___/__ ___ _ ___ / |/ /__ ___ / /_____ __ __/ __/_______(_)__ / /_
/ (_ / _ `/ ' \/ -_) /|_/ / _ \/ _ \/ '_/ -_) // /\ \/ __/ __/ / _ \/ __/
\___/\_,_/_/_/_/\__/_/ /_/\___/_//_/_/\_\\__/\_, /___/\__/_/ /_/ .__/\__/
... | mit |
ajacksified/restful-clients-in-rails-demo | rack-proxy/ruby/1.9.1/gems/jasminerice-0.0.8/app/helpers/jasminerice/application_helper.rb | 56 | module Jasminerice
module ApplicationHelper
end
end
| mit |
buddebej/ol3-dem | ol3/examples/export-map.js | 1180 | 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.... | mit |
cazzerson/Suma | analysis/src/scripts/services/actsLocs.js | 3247 | '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... | mit |
sunze/py_flask | venv/lib/python3.4/site-packages/kombu/transport/pyamqp.py | 5008 | """
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_... | mit |
mlocati/concrete5 | concrete/blocks/social_links/form.php | 2919 | <?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[... | mit |
kieran-bamforth/our-boxen | vendor/bundle/ruby/2.0.0/gems/puppet-3.4.3/spec/unit/util/instrumentation/listener_spec.rb | 3283 | #! /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... | mit |
uspgamedev/3D-experiment | externals/Ogre/OgreMain/src/OgreWindowEventUtilities.cpp | 14140 | /*
-----------------------------------------------------------------------------
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 ... | mit |
ayeletshpigelman/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureSearchIndexSink.cs | 2405 | // 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... | mit |
bussiere/pypyjs | website/demo/home/rfk/repos/pypy/lib_pypy/cffi/_pycparser/c_generator.py | 13798 | #------------------------------------------------------------------------------
# pycparser: c_generator.py
#
# C code generator from pycparser AST nodes.
#
# Copyright (C) 2008-2012, Eli Bendersky
# License: BSD
#------------------------------------------------------------------------------
from . import c_ast
class... | mit |
leoeuclids/ember-material-lite | tests/acceptance/navs-test.js | 412 | 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) {
... | mit |
pocallaghan/n98-magerun | tests/N98/Magento/Command/Developer/Theme/ListCommandTest.php | 653 | <?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());
... | mit |
dotnet/llilc | lib/Jit/jitoptions.cpp | 9832 | //===----------------- 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.
//
//===--------------------------------------------------------------... | mit |
jianghaolu/azure-sdk-for-java | azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/AutoHealActions.java | 2569 | /**
* 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... | mit |
idada/slua | Assets/Slua/LuaObject/Lua_UnityEngine_Bounds.cs | 8284 | 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... | mit |
nakov/OpenJudgeSystem | Open Judge System/Tests/OJS.Workers.Checkers.Tests/CSharpCodeCheckerTests.cs | 5295 | namespace OJS.Workers.Checkers.Tests
{
using System;
using NUnit.Framework;
[TestFixture]
public class CSharpCodeCheckerTests
{
[Test]
[ExpectedException(typeof(InvalidOperationException))]
public void CallingCheckMethodBeforeSetParameterShouldThrowAnException()
{
... | mit |
quindar/quindar-ux | public/scripts/screenfull.js | 4129 | /*!
* 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... | mit |
guileschool/beagleboard | u-boot/drivers/timer/omap-timer.c | 2818 | /*
* 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... | mit |
john-mcnamara-intel/dpdk | examples/pipeline/obj.h | 2728 | /* 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
*/
... | mit |
DistributedOpenUnifiedGovernmentNetwork/mapwarper | coverage/app-controllers-passwords_controller_rb.html | 20975 | <!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... | mit |
alkuzad/spinach | features/steps/exit_status.rb | 594 | 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... | mit |
begriffs/strong_parameters | lib/generators/rails/strong_parameters_controller_generator.rb | 520 | 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... | mit |
flavour/eden | static/styles/plugins/fancyzoom.css | 578 | #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... | mit |
tobyclemson/msci-project | vendor/poi-3.6/src/java/org/apache/poi/hssf/usermodel/HSSFSimpleShape.java | 3641 | /* ====================================================================
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... | mit |
nawawi/poedit | deps/boost/libs/test/doc/html/boost/unit_test/static_constant.html | 4236 | <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... | mit |
jjz/Haraka | tests/utils.js | 12700 | 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(... | mit |
romainmnr/chatboteseo | node_modules/webworker-threads/src/load.js | 558 | // 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... | mit |
phphatesme/LiveTest | src/lib/Zend/Form/Decorator/Captcha/Word.php | 2410 | <?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... | mit |