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
/* Colors */ /* Font Sizes */ /* Borders */ /* Buttons */ /* Distances */ /* @import must be at top of file, otherwise CSS will not work */ /* @font-face { font-family: 'deliusregular'; src: url('../fonts/delius-regular-webfont.eot'); src: url('../fonts/delius-regular-webfont.eot?#iefix') format('embedded-opentyp...
sinnwerkstatt/common-good-online-balance
static/css/main.css
CSS
mit
7,145
using System; using System.Collections.Generic; using System.Windows.Forms; namespace DotMaysWind.Data.Test { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
GuanLee1990/DotMaysWind.Data
DotMaysWind.Data.Test/Program.cs
C#
mit
465
#ifndef __LVLFILE_H #define __LVLFILE_H #include "level.h" void LoadMaterials(struct Level *NewLev); void LoadVertices(struct Level *NewLev); void LoadTriangles(struct Level *NewLev, int radius); void LoadObjectTypes(struct Level *NewLev, int radius); void LoadObjects(struct Level *NewLev); void LoadStats(struct Leve...
tsteinholz/CPP-SRHS
Libraries/allegro5-5.1/demos/skater/src/level_file.h
C
mit
403
using System; using Fluky.Extensions; using Fluky.Types; namespace Fluky { public partial class Randomizer { public float DistributionNormal(float mean, float standardDeviation) { // Get random normal from Standard Normal Distribution var randomNormalNumber = DistributionStandardNormal(); ...
michaeljbaird/Fluky
src/Fluky/Randomizer.Distribution.cs
C#
mit
6,560
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2016 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
MTASZTAKI/ApertusVR
plugins/render/ogreRender/3rdParty/ogre/OgreMain/include/OgreParticleEmitter.h
C
mit
28,251
.clearfix:after, .section:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .clearfix, .section { display: inline-block; } html[xmlns] .clearfix, html[xmlns] .section { display: block; } * html .clearfix, * html .section { height: 1%; } span.replaced { visibility: h...
abhishekbhalani/scripty2
templates/html/assets/stylesheets/apidocs.css
CSS
mit
15,954
/* * Copyright (c) 2014 Kaprica Security, Inc. * * 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, mer...
f0rki/cb-multios
original-challenges/LulzChat/cb_2/src/message.h
C
mit
1,527
// // MyTableViewCell.h // RoundedCorner // // Created by Weipin Xia on 2/25/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> @interface MyTableViewCell : UITableViewCell { UIImageView *myImageView_; } @property (nonatomic, retain) IBOutlet UIImageView* myImageView; ...
wuhaiwei/RoundedCorner
RoundedCorner/MyTableViewCell.h
C
mit
326
# react-native-reverse-geo React Native module bridge to convert address to geo coordinates. Makes use of the following native iOS classes: * [CLGeocoder](https://developer.apple.com/library/prerelease/ios/documentation/CoreLocation/Reference/CLGeocoder_class/index.html) * [CLPlacemark](https://developer.apple.com/l...
ortutay/react-native-reverse-geo
README.md
Markdown
mit
1,976
/* * The MIT License * * Copyright (c) 2019 CloudBees, Inc. * * 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, co...
jenkinsci/credentials-plugin
src/test/java/com/cloudbees/plugins/credentials/builds/CredentialsParameterBinderReplayActionIntegrationTest.java
Java
mit
5,191
#include <ctype.h> #include <assert.h> #include "bam.h" #include "khash.h" #include "ksort.h" #include "bam_endian.h" #ifdef _USE_KNETFILE #include "knetfile.h" #endif /*! @header Alignment indexing. Before indexing, BAM must be sorted based on the leftmost coordinate of alignments. In indexing, BAM uses two in...
daviddliu/THetA_luigi
PipelineSoftware/BICseq/PERL_pipeline/SAMgetUnique/samtools-0.1.7a_getUnique-0.1.1/bam_index.c
C
mit
16,596
export * from './card-demo.component';
blackbaud/skyux2
src/demos/card/index.ts
TypeScript
mit
39
# Contributors This is an incomplete list of people who have helped out with this spell checker. Please see: [Contributors to cspell](https://github.com/streetsidesoftware/cspell/graphs/contributors) ## Accepted Pull Requests See: [Merged Pull Requests](https://github.com/streetsidesoftware/cspell/pulls?utf8=%E2%9C...
Jason3S/cspell
packages/cspell/CONTRIBUTORS.md
Markdown
mit
359
function listEvent(login, userCity, done, fail, always) { done = typeof done !== 'undefined' ? done : function() { }; fail = typeof fail !== 'undefined' ? fail : function() { }; always = typeof always !== 'undefined' ? always : function() { }; $.ajax({ url : 'rest/event/' + login + '/' + userCity, type : 'G...
michada/HYS2
DAAExample-master/src/main/webapp/js/dao/event.js
JavaScript
mit
737
[v-cloak] { display: none; } @font-face { font-family: "Open Sans"; font-style: normal; font-weight: normal; src: url(../fonts/OpenSans-Regular.ttf); } @font-face { font-family: "Open Sans"; font-style: normal; font-weight: bold; src: url(../fonts/OpenSans-Bold.ttf); } @font-face { font-family: "O...
SketchUp/testup-2
src/testup/ui/css/su-base.css
CSS
mit
1,042
// [2.4.0] // Crasheye.h // Crasheye // // Created by 王刚 on 14-8-30. // Copyright (c) 2014年 Gang.Wang. All rights reserved. // #import <Foundation/Foundation.h> @interface Crasheye : NSObject /* @brief:通过appKey注册Dump收集 */ +(void) initWithAppKey:(NSString *) appKey; /* @brief:通过appKey注册Dump收集,并指定channel @pa...
GangWang/crasheye-ios-sdk
Crasheye/Crasheye.h
C
mit
2,248
/* --COPYRIGHT--,BSD * Copyright (c) 2014, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copy...
vidur89/Smart-RFID-Tag
sample-Code/touch-sensor/capacitive touch library/Example_Projects/Source/RO_CSIO_TA0_RTC_One_Button_Compact/main.c
C
mit
7,227
require 'fileutils' require 'simplecov' SimpleCov.start def fixture *args File.join File.dirname(__FILE__), "fixtures", *args end def directory path full = fixture(path) FileUtils::mkdir_p full return full end def file *args file = File.join(*args[0..-2]) directory File.dirname(file) File.open(file, 'w...
clarete/s3sync
spec/spec_helper.rb
Ruby
mit
912
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using NUnit.Framework; using SIL.TestUtilities; using SIL.WritingSystems; using SIL.WritingSystems.Tests; namespace SIL.Windows.Forms.WritingSystems.Tests { [TestFixture] [OfflineSldr] public class WritingSystemFromWindow...
sillsdev/libpalaso
SIL.Windows.Forms.WritingSystems.Tests/WritingSystemFromWindowsLocaleProviderTests.cs
C#
mit
3,430
// Copyright (c) 2007-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "amount.h" #include "chain.h" #include "chainparams.h" #include "checkpo...
goldcoin/Goldcoin-GLD
src/rpc/blockchain.cpp
C++
mit
65,642
-- lua-npge, Nucleotide PanGenome explorer (Lua module) -- Copyright (C) 2014-2016 Boris Nagaev -- See the LICENSE file for terms of use. describe("npge.sequence.toFasta", function() it("converts sequence to fasta", function() local model = require 'npge.model' local s = model.Sequence("g&c&c", ...
starius/lua-npge
spec/sequence/to_fasta_spec.lua
Lua
mit
832
package silent // silent import - e.g. only referenced in Go code, not in json imports // frizz type Silent interface { Silent() }
kego/ke
tests/packer/silent/silent.go
GO
mit
134
# $NetBSD$ # DISTNAME= node-v0.8.28 CATEGORIES= devel MASTER_SITES= http://nodejs.org/dist/${DISTNAME:S/node-//}/ PKGNAME= ${DISTNAME:S/-v/js-/} MAINTAINER= msporleder@gmail.com HOMEPAGE= http://nodejs.org/ COMMENT= V8 JavaScript for clients and servers LICENSE= mit CHECK_INTERPRETER= no HAS_CONFIGURE= yes USE_TOOL...
nanobox-io/nanobox-pkgsrc-base
nodejs08/Makefile
Makefile
mit
1,570
<!doctype html> <html> <title>npm-ls</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/api/npm-ls.html"> <script async=true src="../../static/toc.js"></script> <body> ...
dm-dashboard/dashboard
node_modules/npm/html/doc/api/npm-ls.html
HTML
mit
4,421
module.exports = Transport; var C = { // Transport status codes STATUS_READY: 0, STATUS_DISCONNECTED: 1, STATUS_ERROR: 2 }; /** * Expose C object. */ Transport.C = C; /** * Dependencies. */ var debug = require('debug')('JsSIP:Transport'); var debugerror = require('debug')('JsSIP:ERROR:Tr...
rusekr/JsSIP
lib/Transport.js
JavaScript
mit
8,034
/* * Extended ban to ban based on real name / gecos field (+b ~r) * (C) Copyright 2003-.. Bram Matthys (Syzop) and the UnrealIRCd team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; eit...
RanadeepPolavarapu/IRCd
unrealircd/src/modules/extbans/realname.c
C
mit
2,241
/* $Id: mscfakes.c 2759 2015-01-28 16:14:00Z bird $ */ /** @file * Fake Unix stuff for MSC. */ /* * Copyright (c) 2005-2015 knut st. osmundsen <bird-kBuild-spamx@anduin.net> * * This file is part of kBuild. * * kBuild is free software; you can redistribute it and/or modify * it under the terms of the GNU Gener...
firebitsbr/kbuild_openbsd
trunk/src/kmk/kmkbuiltin/mscfakes.c
C
mit
20,232
import { async, fakeAsync, tick, ComponentFixture, TestBed } from '@angular/core/testing'; import { TagsRelatedToTagsComponent } from './tags-related-to-tags.component'; import { Component, EventEmitter, Input, Output } from '@angular/core'; import { By } from '@angular/platform-browser'; import * as _ from 'lodash';...
ditup/ditapp-ng
src/app/tags/tags-related-to-tags/tags-related-to-tags.component.spec.ts
TypeScript
mit
2,949
using System.Collections.Generic; using System.Linq; using Xunit; using static LanguageExt.Prelude; namespace LanguageExt.Tests.Transformer.Traverse.IEnumerableT.Collections { public class QueIEnumerable { [Fact] public void EmptyEmptyIsEmptyEmpty() { Que<IEnumerable<int>> m...
StanJav/language-ext
LanguageExt.Tests/Transformer/Traverse/IEnumerable/Collections/Que.cs
C#
mit
1,668
require File.expand_path('../helper', __FILE__) begin require 'radius' class RadiusTest < Minitest::Test def radius_app(&block) mock_app do set :views, File.dirname(__FILE__) + '/views' get('/', &block) end get '/' end it 'renders inline radius strings' do radius_app { radius '<h1>H...
JonMidhir/sinatra
test/radius_test.rb
Ruby
mit
1,369
# Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_demo_project_mysql_session'
yevheniyc/Autodidact
1o_RonR_ET_Lynda/test/demo_project_mysql/config/initializers/session_store.rb
Ruby
mit
150
'use strict'; require('../../../lib/common/init'); var assert = require('assert'), request = require('supertest'), danf = require('../../../lib/server/app')(require('../../fixture/http/danf'), null, {environment: 'test', verbosity: 0, cluster: null}) ; danf.buildServer(function(app) { describe('SessionHa...
Gnucki/danf
test/unit/http/session-handler.js
JavaScript
mit
2,669
// Copyright (c) 2015-2018 William W. Fisher (at gmail dot com) // This file is distributed under the MIT License. #ifndef OFP_PROTOCOLMSG_H_ #define OFP_PROTOCOLMSG_H_ #include "ofp/header.h" #include "ofp/message.h" namespace ofp { class Validation; /// \brief Static base class template for all protocol message ...
byllyfish/libofp
include/ofp/protocolmsg.h
C
mit
1,884
#include <stdio.h> #include <stdlib.h> #include "utilities.h" int main(int argc, char * argv[]) { if(argc < 1) { printf("Error in ls.c\n"); } if(argc == 1) { /* list files or dir in current working dir */ char directory[100]; getcwd(directory, 100); //printf("No arguments given, so listing files in c...
nitishgarg88/Operating-System
bin/ls/ls.c
C
mit
1,454
require 'uri' module Biller::WHMCSAutoAuth def self.redirect_url(email, action) ensure_autoauth_params time = Time.now.to_i query= ["email=#{email}","timestamp=#{time}", "hash="+ autoauth_hash(email, time), "goto="+ URI.encode("clientarea.php?action=#{actio...
jaeko44/nilavu
lib/biller/whmcs_auto_auth.rb
Ruby
mit
701
require 'test_helper' describe Factree::Aggregate do describe ".alternatives" do let(:facts) { :facts } let(:nil_decision) { -> (_) { nil } } let(:final_decision) { -> (_) { conclusion } } let(:conclusion) { Factree::Conclusion.new(:b) } let(:decisions) { [] } subject { Factree::Aggregate.alt...
ConsultingMD/factree
test/factree/aggregate_test.rb
Ruby
mit
1,330
--- layout: post published: true categories: - Subscriptions - Reviews title: Sprezza Box August 2015 Review + Coupon! featured: false comments: true type: photo imagefeature: SprezzaBoxAugust2015Box.jpg headline: Sprezza Box August 2015 Review + Coupon! tags: [Sprezza Box, Subscriptions, Reviews, August 2015]...
whatsupmailbox/whatsupmailbox.github.io
_posts/2015-08-18-Sprezza-Box-Subscription-August-2015-Review-Coupon.md
Markdown
mit
7,542
# Caesar Rot Implementation ``` usage: rot.py [-h] [-s] [-t] [-l] [-u] rotvalue text positional arguments: rotvalue The rotation value text The text to rotate optional arguments: -h, --help show this help message and exit -s, --seperate Rotate Lower and Upper case letters seperate...
abpolym/crypto-tools
rot/README.md
Markdown
mit
784
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model core\models\Station */ $this->title = 'Create Station'; $this->params['breadcrumbs'][] = ['label' => 'Stations', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="station-create"> <h1><?= Html::encode($thi...
tony-wuhongtao/OurYincart2
star-core/modules/station/views/default/create.php
PHP
mit
417
--- title: Lag inshort: Gruppe chat & videochat [slakk] translator: Microsoft Cognitive Services --- Et knutepunkt for samarbeid i Office 365 ## Chat, tale og video Kommunisere i øyeblikket og holde alle i vet. Se innhold og chat historie når som helst i team eller private samtaler. Planlegg liten gruppe eller team...
Hexatown/docs
microsoft/office365/teams/no.md
Markdown
mit
1,433
// // QBCBlobCompleteQuery.h // ContentService // // Copyright 2011 QuickBlox team. All rights reserved. // #import <Foundation/Foundation.h> @interface QBCBlobCompleteQuery : QBCBlobQuery { @private NSUInteger blobId; NSUInteger size; } @property (nonatomic,readonly) NSUInteger blobId; @property (nonatomic,r...
bluecitymoon/demo-swift-ios
demo-swift/Quickblox.framework/Versions/A/Headers/QBCBlobCompleteQuery.h
C
mit
415
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2019 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var CONST = require('../../const'); var Smoothing = require('./Smoothing'); // The pool into which the canvas elements are placed. var pool = [...
mahill/phaser
src/display/canvas/CanvasPool.js
JavaScript
mit
7,526
from .cpu import Cpu
Hexadorsimal/pynes
nes/processors/cpu/__init__.py
Python
mit
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <?php require_once("globals.php"); ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php $page_title = "Projects"; require_once("meta.php"); ?> </head> <body> <div id="logo"> <?php require_once("hea...
JayWalker512/brandonfoltz.com
projects.php
PHP
mit
1,055
# Select the board to build for: if not given on the command line, # then default to PYBV10. BOARD ?= PYBV10 # If the build directory is not given, make it reflect the board name. BUILD ?= build-$(BOARD) BOARD_DIR ?= boards/$(BOARD) ifeq ($(wildcard $(BOARD_DIR)/.),) $(error Invalid BOARD specified: $(BOARD_DIR)) end...
selste/micropython
ports/stm32/Makefile
Makefile
mit
19,715
--- author: email: adrien.lecharpentier@gmail.com name: Adrien Lecharpentier date: 2012-05-30T16:44:47Z tags: maven bash title: Maven project starter url: /2012/05/30/maven-project-starter/ --- Parfois commencer un project c'est long et embêtant car il faut commencer par créer la structure du project selon maven. ...
alecharp/blog
content/post/2012/2012-05-30-maven-project-starter.md
Markdown
mit
1,206
<?php /** * * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Tax\Controller\Adminhtml\Rule; use Magento\Framework\Controller\ResultFactory; class Delete extends \Magento\Tax\Controller\Adminhtml\Rule { /** * @return \Magento\Backend\Mo...
j-froehlich/magento2_wk
vendor/magento/module-tax/Controller/Adminhtml/Rule/Delete.php
PHP
mit
1,412
/// <reference path="initialization.ts" /> function initializeAppInsights() { try { // only initialize if we are running in a browser that supports JSON serialization (ie7<, node.js, cordova) if (typeof window !== "undefined" && typeof JSON !== "undefined") { // get snippet or initiali...
reyno-uk/ApplicationInsights-JS
JavaScript/JavaScriptSDK/Init.ts
TypeScript
mit
1,610
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" /> <title>Cho...
AzureZhao/android-developer-cn
reference/android/view/Choreographer.html
HTML
mit
80,094
import React from 'react'; import { Link as RouterLink } from 'react-router'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import counterActions from 'actions/counter'; import Radium from 'radium'; import { Scroll, Link, Element, Events } from 'react-scroll'; import { FlatButton, ...
dont-fear-the-repo/fear-the-repo
src/views/HomeView.js
JavaScript
mit
3,354
#file-upload-picker { /*text-align: center;*/ margin: auto; margin-left: auto; } .label-radio { font-size: 30px; font-weight: bold; } #profile-dropdown{ width: 100px; } #download input{ width: 100%; } #download select{ width: 100%; } .nav>li { display: inline-block !important; }...
dipapaspyros/bdo_platform
uploader/static/css/uploader.css
CSS
mit
468
require 'test_helper' class LockableTest < ActiveSupport::TestCase def setup setup_mailer end test "should respect maximum attempts configuration" do user = create_user user.confirm! swap Devise, :maximum_attempts => 2 do 3.times { user.valid_for_authentication?{ false } } assert use...
piousbox/microsites2-cities
vendor/ruby/1.9.1/gems/devise-2.2.3/test/models/lockable_test.rb
Ruby
mit
8,403
#! /usr/bin/python2 # # Copyright 2016 the V8 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. # import argparse import collections import re import subprocess import sys __DESCRIPTION = """ Processes a perf.data sample file a...
hoho/dosido
nodejs/deps/v8/tools/ignition/linux_perf_report.py
Python
mit
8,176
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
jbrantly/ts-loader
test/comparison-tests/conditionalRequire/expectedOutput-2.8/bundle.js
JavaScript
mit
3,132
<?php namespace ApplicationInsights\Channel\Contracts; /** * Contains utilities for contract classes */ class Utils { /** * Removes NULL and empty collections * @param array $sourceArray * @return array */ public static function removeEmptyValues($sourceArray) { $newArray = a...
fidmor89/appInsights-Concrete
appinsights/vendor/microsoft/application-insights/ApplicationInsights/Channel/Contracts/Utils.php
PHP
mit
3,254
/* */ var cof = require("./_cof"), TAG = require("./_wks")('toStringTag'), ARG = cof(function() { return arguments; }()) == 'Arguments'; module.exports = function(it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' : typeof(T = (O = Object(it))[TAG]) == 'st...
jdanyow/aurelia-plunker
jspm_packages/npm/core-js@2.1.0/modules/_classof.js
JavaScript
mit
427
var searchData= [ ['analogread',['analogRead',['../_arduino_8h.html#a13782c0f73097cea014616d749e7c52d',1,'analogRead(uint8_t):&#160;wiring_analog.c'],['../wiring__analog_8c.html#a2eda513a6bb35bf13675a24711d4e864',1,'analogRead(uint8_t pin):&#160;wiring_analog.c']]], ['analogreference',['analogReference',['../_ardui...
trex2000/Arobs-Academy
Doxygen Generated/html/search/functions_1.js
JavaScript
mit
1,903
/* eslint node/no-unsupported-features: ["error", { version: 4 }] */ // this file is not transpiled by Jest when configured in "snapshotSerializers" "use strict"; const _ = require("lodash"); const normalizeNewline = require("normalize-newline"); const constants = require("./constants"); const VERSION_REGEX = new Reg...
FaHeymann/lerna
test/helpers/serializePlaceholders.js
JavaScript
mit
1,443
/*! * address.js - address object for decentraland * Copyright (c) 2014-2015, Fedor Indutny (MIT License) * Copyright (c) 2014-2016, Christopher Jeffrey (MIT License). * Copyright (c) 2016-2017, Manuel Araoz (MIT License). * https://github.com/decentraland/decentraland-node */ 'use strict'; var networks = requi...
decentraland/bronzeage-node
lib/primitives/address.js
JavaScript
mit
15,225
using Microsoft.EntityFrameworkCore; namespace Sample.RabbitMQ.MySql { public class Person { public int Id { get; set; } public string Name { get; set; } public override string ToString() { return $"Name:{Name}, Id:{Id}"; } } public class AppDbCo...
dotnetcore/CAP
samples/Sample.RabbitMQ.MySql/AppDbContext.cs
C#
mit
689
// Copyright (c) MarinAtanasov. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the project root for license information. using AppBrix.Cloning.Impl; using AppBrix.Container; using AppBrix.Lifecycle; using AppBrix.Modules; using System; using System.Collections.Generic; namespace App...
MarinAtanasov/AppBrix
Modules/AppBrix.Cloning/CloningModule.cs
C#
mit
1,625
// @flow declare module '@reach/portal' { declare export default React$ComponentType<{| children: React$Node, type?: string, |}>; }
flowtype/flow-typed
definitions/npm/@reach/portal_v0.2.x/flow_v0.84.x-/portal_v0.2.x.js
JavaScript
mit
145
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Angular2 Migration</title> <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css"> <link rel="stylesheet" href="css/app.css"> <script src="../node_modules/systemjs/dist/system.src.js"></script> <script src="bower_...
Nebulis/angular2-migration-sample
step/step8/app/index.html
HTML
mit
1,281
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Runtime.InteropServices; using System.Globalization; using System.Linq.Expressions; using Mono.Linq.Expressions; namespace V { public enum Keyword : int { _TypesStart, /...
cartman300/Vermin
V/Parser.cs
C#
mit
3,763
const doc = """Example of program which uses [options] shortcut in pattern. Usage: options_shortcut_example.jl [options] <port> Options: -h --help show this help message and exit --version show version and exit -n, --number N use N as a number -t, --timeout TIMEOUT ...
JuliaPackageMirrors/DocOpt.jl
examples/options_shortcut_example.jl
Julia
mit
531
shared_context 'optoro_zookeeper' do before do Chef::Recipe.any_instance.stub(:query_role).and_return('kitchen_role') Chef::Recipe.any_instance.stub(:query_role_credentials).and_return('{ "Code" : "Success", "LastUpdated" : "2015-03-09T14:48:17Z", "Type" : "AWS-HMAC", "AccessKeyId" : "ACCESSKEY", "SecretAcces...
smedefind/optoro_zookeeper
spec/helpers.rb
Ruby
mit
606
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Pentax; use JMS\Serializer\Annotation\ExclusionPolicy...
bburnichon/PHPExiftool
lib/PHPExiftool/Driver/Tag/Pentax/FlashStatus.php
PHP
mit
1,553
#ifndef GifAnimUI_h__ #define GifAnimUI_h__ #pragma once namespace DuiLib { #define EVENT_TIME_ID 100 class DUILIB_API CGifAnimUI : public CLabelUI { public: CGifAnimUI(void); ~CGifAnimUI(void); LPCTSTR GetClass() const; LPVOID GetInterface(LPCTSTR pstrName); virtual void DoEvent(TEven...
juhuaguai/duilib
include/Control/UIGifAnim.h
C
mit
1,406
package com.merakianalytics.orianna.types.core.searchable; public abstract interface SearchableObject { public boolean contains(final Object item); }
robrua/Orianna
orianna/src/main/java/com/merakianalytics/orianna/types/core/searchable/SearchableObject.java
Java
mit
155
version https://git-lfs.github.com/spec/v1 oid sha256:90773470146a0daefafb65539bea2a9c6537067655a435ffce48433658e3d73a size 943
yogeshsaroya/new-cdnjs
ajax/libs/highlight.js/7.5/languages/actionscript.min.js
JavaScript
mit
128
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
fabiensebban/magento
dev/tests/functional/tests/app/Mage/Catalog/Test/Handler/CatalogAttributeSet/CatalogAttributeSetInterface.php
PHP
mit
1,196
/** * 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.containerregistry.v2019_04_01; import java.util....
selvasingh/azure-sdk-for-java
sdk/containerregistry/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/containerregistry/v2019_04_01/OS.java
Java
mit
1,118
{% extends "base.html" %} {% block title %}Build Started {% endblock %} {% block content %} {% if built %} {{ project }} is now building.<br><br> Check it out <a href="{{ project.get_absolute_url }}">over here</a> {% else %} This is a post-commit hook. Set it up in your project admin to POST here, for us to update y...
johncosta/private-readthedocs.org
readthedocs/templates/post_commit.html
HTML
mit
379
package com.github.bogdanlivadariu.jenkins.reporting.testng; import hudson.model.AbstractProject; import hudson.tasks.BuildStepDescriptor; import hudson.tasks.Publisher; public class TestNGTestReportBuildStepDescriptor extends BuildStepDescriptor<Publisher> { @Override public String getDisplayName() { ...
BogdanLivadariu/bootstraped-multi-test-results-report
bootstraped-multi-test-results-report/src/main/java/com/github/bogdanlivadariu/jenkins/reporting/testng/TestNGTestReportBuildStepDescriptor.java
Java
mit
507
using System; using System.Diagnostics; using Aspose.Email.Mail; namespace Aspose.Email.Examples.CSharp.Email.SMTP { class SendingEMLFilesWithSMTP { public static void Run() { // The path to the File directory. string dataDir = RunExamples.GetDataDir_SMTP(); ...
jawadaspose/Aspose.Email-for-.NET
Examples/CSharp/SMTP/SendingEMLFilesWithSMTP.cs
C#
mit
1,239
<?php namespace Mongrate\Tests\Command; use Mongrate\Command\TestMigrationCommand; use Mongrate\Enum\DirectionEnum; use Symfony\Component\Console\Application; use Symfony\Component\Console\Tester\CommandTester; class TestMigrationCommandTest extends BaseCommandTest { public function testExecute_upAndDown() {...
BernardoSilva/mongrate
test/Mongrate/Tests/Command/TestMigrationCommandTest.php
PHP
mit
3,547
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
rainlike/justshop
vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/NullObject/MethodGenerator/StaticProxyConstructor.php
PHP
mit
2,514
/** * Copyright (C) 2016 by Johan von Forstner under the MIT license: * * 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 us...
johan12345/opacclient
opacclient/libopac/src/main/java/de/geeksfactory/opacclient/objects/Copy.java
Java
mit
11,432
package id.birokrazy.model; import com.fasterxml.jackson.annotation.JsonIgnore; import org.hibernate.annotations.Type; import org.hibernate.search.annotations.Field; import org.hibernate.search.annotations.Indexed; import javax.persistence.*; import java.util.List; /** * @author Arthur Purnama (arthur@purnama.de) ...
purnama/birokrazy
src/main/java/id/birokrazy/model/Department.java
Java
mit
5,175
/* The MIT License (MIT) Copyright (c) IIIT-DELHI authors: HEMANT JAIN "hjcooljohny75@gmail.com" ANIRUDH NAIN 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 wit...
COOLHEMANTJAIN/MAILDETECTIVE
maildetective1.0/src/check/email/EMAILRDF.java
Java
mit
3,829
@import url(https://fonts.googleapis.com/css?family=Pacifico); body { margin: 0; font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; } header { background: rgba(200, 200, 200, 0.5); width: 100%; position: fixed; top: 0; z-index: 100; box-shadow: 0px 5px 10px 5px rgba(200, 200, 200, 0.5); } head...
chrisuehlinger/crocus
public/css/style.css
CSS
mit
3,683
<!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=UTF-8"> <title>Struct template weighted_pot_tail_mean_prob</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="tex...
davehorton/drachtio-server
deps/boost_1_77_0/doc/html/boost/accumulators/tag/wei_1_3_2_6_3_59_1_1_23_39.html
HTML
mit
4,533
import argparse import os import sys import numpy as np from PIL import Image import chainer from chainer import cuda import chainer.functions as F from chainer.functions import caffe from chainer import Variable, optimizers import pickle def subtract_mean(x0): x = x0.copy() x[0,0,:,:] -= 104 x[0,1,:,...
wf9a5m75/chainer-gogh
chainer-gogh.py
Python
mit
7,054
App.SubmissionsResponseController = Ember.ObjectController.extend({ actions: { saveNotes: function() { var onSuccess = function(post) { $(".alert-box").remove(); $("textarea").before("<div data-alert class='alert-box'>Your notes were saved!<a class='close'>&times;</a></div>"); }; ...
andrewjadams3/Klassewerk
app/assets/javascripts/controllers/submissions_response_controller.js
JavaScript
mit
648
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\App\Test\Unit; use \Magento\Framework\App\SetupInfo; class SetupInfoTest extends \PHPUnit_Framework_TestCase { /** * A default fixture * * @var array *...
j-froehlich/magento2_wk
vendor/magento/framework/App/Test/Unit/SetupInfoTest.php
PHP
mit
5,963
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Views extends Application { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/ * - or - * http://example.com/welcome/index * * So any other public methods not prefixed with an unders...
MVC-todo-list/starter-todo4
application/controllers/Views.php
PHP
mit
2,696
'use strict'; const helpers = require('../../../src/helpers'); const assert = require('assert'); const arghun = require('../../../'); const opt = { blDir: ['even-more', 'crap', 'A-characters'] }; const expected = { './test/testData/testDirectory/B-characters': 6, './test/testData/testDirectory/B-characters/mor...
derberg/zlicz
test/testCases/walkDir/walkDirBlacklistDirs.js
JavaScript
mit
1,491
import Ember from 'ember'; export default Ember.Route.extend({ setupController: function(controller) { controller.set('setupRoutes', [ { label: false, links: [ { href: 'heatmap.index', text: 'Setup' }, { href: 'heatmap.proper...
Matt-Jensen/ember-cli-g-maps
tests/dummy/app/pods/heatmap/route.js
JavaScript
mit
499
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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...
wyrover/SharpDX
Source/SharpDX.Direct2D1/WIC/ImageEncoder.cs
C#
mit
1,969
#include "StdAfx.h" #include "ComponentsList.h" #include "dotNetInstallerDlg.h" CComponentsList::CComponentsList() : m_pConfiguration(NULL) , m_pExecuteCallback(NULL) { } IMPLEMENT_DYNAMIC(CComponentsList, CCheckListBox) BEGIN_MESSAGE_MAP(CComponentsList, CCheckListBox) ON_CONTROL_REFLECT(CLBN_CH...
dblock/dotnetinstaller
dotNetInstaller/ComponentsList.cpp
C++
mit
5,456
/* * Copyright (c) 2012 Maciej Walkowiak * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
bugix/java-plist-serializer
src/main/java/pl/maciejwalkowiak/plist/handler/MapHandler.java
Java
mit
1,980
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
sharonikechi/babaomo
BabaOmo/Resources.Designer.cs
C#
mit
3,160
/* CSS declarations go here */ * { font-family: Helvetica, arial, sans-serif; font-size: 16px; } input { } .todolist { padding: 5px; } .todolist .item { border: solid green 1px; }
FoundOPS/phonegap-android-meteor-boilerplate
meteor/todolist.css
CSS
mit
189
package org.deviceconnect.android.libmedia.streaming.mpeg2ts; /** * フレームのタイプを定義します. */ enum FrameType { /** * 音声のフレームタイプを定義. */ AUDIO, /** * 映像のフレームタイプを定義. */ VIDEO, /** * 音声と映像の混合のフレームタイプを定義. */ MIXED }
DeviceConnect/DeviceConnect-Android
dConnectSDK/dConnectLibStreaming/libmedia/src/main/java/org/deviceconnect/android/libmedia/streaming/mpeg2ts/FrameType.java
Java
mit
380
package mariculture.core.helpers; import java.util.Random; import mariculture.core.tile.base.TileMultiBlock; import mariculture.core.util.Fluids; import mariculture.core.util.IItemDropBlacklist; import net.minecraft.block.Block; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPla...
svgorbunov/Mariculture
src/main/java/mariculture/core/helpers/BlockHelper.java
Java
mit
7,041
(function(){ "use strict"; KC3StrategyTabs.aircraft = new KC3StrategyTab("aircraft"); KC3StrategyTabs.aircraft.definition = { tabSelf: KC3StrategyTabs.aircraft, squadNames: {}, _items: {}, _holders: {}, _slotNums: {}, /* INIT Prepares static data needed ---------------------------------*/ ...
c933103/KC3Kai
src/pages/strategy/tabs/aircraft/aircraft.js
JavaScript
mit
10,605
<a href='https://github.com/angular/angular.js/edit//src/ng/anchorScroll.js?message=docs($anchorScroll)%3A%20describe%20your%20change...#L32' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.18/src/ng/anch...
dolymood/angular-packages
angular-1.3.18/docs/partials/api/ng/service/$anchorScroll.html
HTML
mit
8,098
'use strict'; /* This is the primary module of the Ava bot, if you are not using docker to run the bot you can use another method to run this file as long as you make sure you have the correct dependencies */ const bot = require('./bot.js'); const log = require('./logger.js')(module); log.info('======== ava.js runni...
JamesLongman/ava-bot
lib/ava.js
JavaScript
mit
455
# System.Collections.ObjectModel ``` diff namespace System.Collections.ObjectModel { public abstract class KeyedCollection<TKey, TItem> : Collection<TItem> { + public bool TryGetValue(TKey key, out TItem item); } } ```
ericstj/standard
docs/comparisons/netstandard2.0_vs_netcoreapp2.0/System.Collections.ObjectModel.md
Markdown
mit
240
/** * @class Jaml * @author Ed Spencer (http://edspencer.net) * Jaml is a simple JavaScript library which makes HTML generation easy and pleasurable. * Examples: http://edspencer.github.com/jaml * Introduction: http://edspencer.net/2009/11/jaml-beautiful-html-generation-for-javascript.html */ Jaml = function() { ...
edspencer/jaml
src/Jaml.js
JavaScript
mit
1,100