code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
<?php abstract class HpsCardBrand { const MASTERCARD = 'MC'; const AMEX = 'Amex'; const VISA = 'Visa'; const DISCOVER = 'Disc'; }
Cartworks/Platform
core/addons/payment_heartland/include/src/Infrastructure/Enums/HpsCardBrand.php
PHP
mit
161
<?php /* * This file is part of the php-formatter package * * Copyright (c) >=2014 Marc Morera * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@mmorer...
mmoreram/php-formatter
src/PHPFormatter/Fixer/HeaderFixer.php
PHP
mit
1,447
# My personal website https://alexputs.github.io This website is based on skinny bones jekyll theme. I've added very simple multilingual support and currently working on introducing new content for this pages. If you are interested in original source please visit: https://github.com/mmistakes/skinny-bones-jekyll
AlexPutz/alexputz.github.io
README.md
Markdown
mit
316
'use strict' var Transform = require('stream').Transform , util = require('util') , Segment = require('./segment') , Message = require('./message') , utils = require('./utils') // MLP end frames var FS = String.fromCharCode(0x1c) , CR = String.fromCharCode(0x0d) exports.Message = Message exports.Segment = ...
evanlucas/nodengine-hl7
lib/index.js
JavaScript
mit
2,413
#ifndef __NBA_KNAPP_RMA_HH__ #define __NBA_KNAPP_RMA_HH__ #include <cstdint> #include <scif.h> namespace nba { namespace knapp { class RMABuffer { public: #ifdef __MIC__ RMABuffer(scif_epd_t epd, size_t size); #else RMABuffer(scif_epd_t epd, size_t size, int node_id); #endif RMABuffer(scif_epd_t epd, voi...
ANLAB-KAIST/NBA
include/nba/engines/knapp/rma.hh
C++
mit
1,094
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
OxyTeam/OxyEngine
docs/html/class_oxy_engine_1_1_input_1_1_input_manager-members.html
HTML
mit
6,688
'use strict'; import imageSearchPage from '../../pageobjects/image-search.page'; module.exports = function() { this.Given(/^I am on the google image search page$/, () => { imageSearchPage.open(); }); // Enter term in search: google.js this.Given(/^I press the image search button$/, () => { ...
rp4rk/ChimpTravisCI
features/step_definitions/search_images.js
JavaScript
mit
507
/** * The MIT License (MIT) * * Copyright (c) 2022 Losant IoT, 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...
Losant/losant-rest-js
lib/api/instanceApiTokens.js
JavaScript
mit
6,563
/*! * bd808's github css hacks * © 2015 Bryan Davis and contributors * License: http://opensource.org/licenses/MIT */ /* wide wiki */ #wiki-rightbar { float: none; width: 100%; } .has-rightbar #wiki-body, .has-rightbar #wiki-footer { margin-right: 20px; }
bd808/userscripts
github.user.css
CSS
mit
268
import React from 'react' import { mount, shallow } from 'enzyme' import { Dummy } from './utils' import { withHandlers } from '..' describe('withHandlers', () => { it('passes immutable handlers', () => { const enhance = withHandlers({ handler: () => () => null, }) const EnhancedDummy = enhance(Dum...
neoziro/recompact
src/__tests__/withHandlers.test.js
JavaScript
mit
3,651
package lists // This file is generated by methodGenerator. // DO NOT MOTIFY THIS FILE. import ( "net/url" "github.com/kawaken/go-rtm/methods" ) // GetList returns "rtm.lists.getList" method instance. func GetList() *methods.Method { name := "rtm.lists.getList" p := url.Values{} p.Add("method", name) retur...
kawaken/go-rtm
methods/lists/get_list.go
GO
mit
363
# - Find libarchive library and headers # The module defines the following variables: # # LibArchive_FOUND - true if libarchive was found # LibArchive_INCLUDE_DIRS - include search path # LibArchive_LIBRARIES - libraries to link # LibArchive_VERSION - libarchive 3-component version number #=...
balaam/dinodeck
lib/physfs/cmake-2.8.3-win32-x86/share/cmake-2.8/Modules/FindLibArchive.cmake
CMake
mit
2,669
#include "../mk.h" static void mk_open_db_on_scandir(uv_fs_t *req) { if (req->result < 0) { fprintf(stderr, "error scanning dir: %s\n", uv_strerror((int)req->result)); return; } uv_dirent_t *dent = malloc(sizeof(dent)); mk_open_db_context *context = (mk_open_db_context*) req->data; ...
andresgutierrez/mazikeen
src/executor/open-db.c
C
mit
2,629
<?php namespace AppBundle\Entity; /** * BinCode */ class BinCode { /** * @var integer */ private $bin; /** * @var string */ private $bank; /** * @var string */ private $card; /** * @var string */ private $type; /** * @var string ...
luismiguens/parcelaja
src/AppBundle/Entity/BinCode.php
PHP
mit
4,108
var lexer = require('../../index').lex.lexer; var parser = require('../../index').parse.parser; var $ = require('../$'); var testParser = function(stream) { var result = parser.parseStream(stream); return result.body[0].expression; }; exports.empty = function(test) { var result = testParser(lexer.lex("(...
mattbierner/khepri-parse
tests/parse/object_literal.js
JavaScript
mit
1,747
<?php namespace Notepads\Tests; use Notepads\Models\User; use Notepads\Models\UserMapper; use Notepads\Tests\PHPUnit\BaseTestClass; use \Mockery as m; class UserMapperTest extends BaseTestClass { private $database; private $mapper; public function setup() { $this->database = m::mock("\\PDO")...
iliyan-trifonov/mvc-behat-phpunit
tests/UserMapperTest.php
PHP
mit
6,259
require 'spec_helper' module Xcodeproj class Project module Object describe PBXNativeTarget do before :each do @project = double('Project').as_null_object end it 'should be library target type when framework' do target = PBXNativeTarget.new(@project, nil) ...
jcampbell05/xcake
spec/xcodeproj_ext/PBXNativeTarget_spec.rb
Ruby
mit
1,022
using System; using System.Globalization; using System.Linq; using System.Web.Mvc; using Ninject; using Niqiu.Core.Domain.Config; using Niqiu.Core.Domain.User; using Niqiu.Core.Helpers; using Niqiu.Core.Services; using Portal.MVC.ViewModel; namespace Portal.MVC.Controllers { public class AccountController : BaseC...
stoneniqiu/Portal.MVC
Portal.MVC/Controllers/AccountController.cs
C#
mit
10,846
<?php Ini_Set( 'display_errors', true ); include '../../init.php'; include 'functions.php'; $plexSessionXML = simplexml_load_file('http://' . $plex_server_ip . ':' . $plex_port . '/status/sessions/?X-Plex-Token=' . $plexToken); $plexcheckfile1 = ROOT_DIR . '/assets/caches/plexcheckfile1.txt'; $plexcheckfile2 = RO...
Cozza38/PlexMonitor
assets/php/plex_check_ajax.php
PHP
mit
1,344
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package add.records.gui.controller; import data.UserBO; import java.io.IOException; import java.net.URL; import java.security.MessageD...
dmagadi/demo
ContactRecordManagment/src/main/java/add/records/gui/controller/LoginSceneController.java
Java
mit
2,822
var locale = require('relative-time-format/locale/sr') module.exports = { locale: locale.locale, // Standard styles. long: locale.long, short: locale.short, narrow: locale.narrow, // Quantifier. quantify: locale.quantify }
halt-hammerzeit/javascript-time-ago
locale/sr/index.js
JavaScript
mit
230
<?php declare(strict_types=1); /** * Copyright (c) 2013-2019 OpenCFP * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @see https://github.com/opencfp/opencfp */ $filename = __DIR__ . \preg_replace('#(\?.*)$#', '', $_SERVER['REQU...
GrUSP/opencfp
web/index_dev.php
PHP
mit
447
using Neutronium.MVVMComponents; using Neutronium.MVVMComponents.Relay; using System; using System.Windows; using System.ComponentModel; namespace Neutronium.WPF.ViewModel { public class WindowViewModel : IWindowViewModel { public ISimpleCommand Close { get; } public ISimpleCommand Minimize { ...
sjoerd222888/MVVM.CEF.Glue
Neutronium.WPF/ViewModel/WindowViewModel.cs
C#
mit
1,489
var baseIteratee = require('./_baseIteratee'), baseSortedIndexBy = require('./_baseSortedIndexBy'); /** * This method is like `_.sortedLastIndex` except that it accepts `iteratee` * which is invoked for `value` and each element of `array` to compute their * sort ranking. The iteratee is invoked with one argumen...
mdchristopher/Protractor
node_modules/lodash/sortedLastIndexBy.js
JavaScript
mit
958
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double TKSubmitTransitionSwift3VersionNumber; FOUNDATION_EXPORT const unsigned char TKSubmitTransitionSwif...
usharif/GrapeVyne
Pods/Target Support Files/TKSubmitTransitionSwift3/TKSubmitTransitionSwift3-umbrella.h
C
mit
340
--- layout: docs authors: - blairanderson date: 2014-08-12 22:22:22 title: .keydown() in Javascript - without jQuery description: Bind an event handler to the “keydown” JavaScript event, or trigger that event on an element. method: keydown href: "docs/keydown.html" status: "inactive" --- #### Sorry, we do not have c...
blairanderson/without-jquery
docs/keydown.md
Markdown
mit
796
ThinMint.Mixin.Paginate = function() { var _super = {}; _super.init = ThinMint.Util.callback( this.init ); _super.getPage = ThinMint.Util.callback( this.getPage ); _super.setPage = ThinMint.Util.callback( this.setPage ); _super.getPages = ThinMint.Util.callback( this.getPages ); _super.setPages = ThinMint...
cloudily/thinmint
src/mixin/paginate.js
JavaScript
mit
1,979
const expect = require('chai').expect; const PragmaThanksSpreadsheet = require('../src/PragmaThanksSpreadsheet'); describe('PragmaThanksSpreadsheet', () => { describe('#isEmpty', () => { it('returns true when spreadsheet is empty', () => { const spreadsheetContent = []; const sheet = new PragmaThank...
Pragmateam/pragmathanks-get-balance
test/PragmaThanksSpreadsheetTest.js
JavaScript
mit
2,108
tws-to-twee-converter ===================== Converts Twine .tws files to .twee files The python script takes a file as an argument, and prints the resulting Twee file to stdout. To use, do something like: ```` python twsimporter.py twinefile.tws > newtweefile.tw ```` Also accepts a `-twee2` option, which will incl...
v21/tws-to-twee-converter
README.md
Markdown
mit
456
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using System.Collections.Generic; public class SpAtlas : ScriptableObject { public static int MAX_ATLAS_SIZE = 4096; public bool Dirty = true; public bool AutoUpdate; public bool ForceSquare; public bool DefaultTrim = true; ...
AlexeyJKoshkin/Dimon_Diplom
Assets/3d/SpritePacker/Scripts/SpAtlas.cs
C#
mit
5,798
module Rubernate class ClassParser attr_accessor :clazz,:bytecode,:proxy_class def initialize(clazz,bytecode) self.clazz = clazz self.bytecode = bytecode self.proxy_class = bytecode.create_class(name) initialize_simples end #TODO need to correct this b...
netmask/rubernate
lib/rubernate/class_parser.rb
Ruby
mit
868
<?php include_once("engine/rp.start.php"); if ($_GET["rpAction"]=="rpRemoveMessage" && $_GET["id"]>0 && $_SESSION["clientID"]) { // hide message $message_result = $rpConnection->query("SELECT id FROM ".$rpSettings->getValue("messagesTable")." WHERE id='".rpSanitize(intval($_GET["id"]))."' && (added_clientid='".r...
Lounaispaikka/Ravinneporssi
html/_message.php
PHP
mit
3,630
using Microsoft.AspNetCore.Mvc; using PersonalWebApp.Models.ViewModels; using PersonalWebApp.Services; namespace PersonalWebApp.Controllers { public class SkillsController : BaseController { private readonly SkillService _skillService; public SkillsController(SkillService skillService) { _skillServic...
OlsonDev/PersonalWebApp
Controllers/SkillsController.cs
C#
mit
586
#include <stdlib.h> #include <string.h> #include "io.h" int *IOcontext_lookupArgFlags(int argc, char* argv[]){ int i; int *pFlags = malloc(255 * sizeof(int)); if (pFlags == NULL){ fprintf(stderr, "Error, could not allocate memory for flags\n"); return NULL; } memset(pFlags, -1, 25...
NicolasKiely/tinydex
src/io.c
C
mit
2,683
# Квартира
irnc/kvartira
README.md
Markdown
mit
19
# 2016 Data sets, presentations, and other assets ## Other open data sources in and about Boston http://www.cityofboston.gov/assessing/search/ http://www.bostonredevelopmentauthority.org/research-maps/maps-and-gis/neighborhood-maps http://www.bizjournals.com/boston/research/bol-marketing/ (paid) http://www.bostonp...
BITScity/2016
README.md
Markdown
mit
345
<style> input[type="text"], input[type="number"] { font-size: 13px; color: #333333; padding: 3px; border: solid 1px #969696; transition: box-shadow 0.3s, border 0.3s; box-shadow: 0 0 5px 1px white; } input[type="text"]:hover, input[type="text"]:focus,...
gauravparashar29/exambazaar
views/partials/addQuestion.html
HTML
mit
47,960
#!/bin/sh result=`./log_function_test 2>&1 >/dev/null` count() { word=$1 echo ${result} | tr [:blank:] "\n" | grep ${word} | wc -l } disp=`count DISPLAY` err=`count ERROR` warn=`count WARNING` inf=`count INFO` dbg=`count DEBUG` if [ ${disp} -ne 4 -o ${err} -ne 1 -o ${warn} -ne 1 -o ${inf} -ne 1 -o ${dbg} -n...
linear-rpc/linear-cpp
test/log_function_test.sh
Shell
mit
487
export function cne(t: string): CurriedCNE; /** * Curried element creation. */ export type CurriedCNE = (P?: HTMLElement) => HTMLElement[];
vangware/micron
lib/cne.d.ts
TypeScript
mit
142
/* PrismJS 1.20.0 https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+cpp+clojure+css-extras+diff+git+java+python+scala+sql+swift+yaml&plugins=line-highlight+line-numbers+show-language+inline-color+command-line+toolbar+copy-to-clipboard+diff-highlight */ /** * prism.js default t...
manuzhang/manuzhang.github.io
themes/prism.css
CSS
mit
8,166
<?php namespace AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class ContractsControllerTest extends WebTestCase { }
RassulYunussov/qvisitorBC-symfony
src/AppBundle/Tests/Controller/ContractsControllerTest.php
PHP
mit
154
import React, { PropTypes } from 'react'; import styled from 'styled-components'; import TextInfo from '../TextInfo'; import CardImage from '../CardImage'; import { Row, Col, Card, Avatar } from 'antd'; import { Panel } from 'react-bootstrap'; /* const CardImage = styled.div` img { display: block; height:20...
matapang/virtualraceph2
src/components/CardRaces/index.js
JavaScript
mit
1,802
# ABCBot This is a microservice designed to sit along side teamcity and take requests from the TCWebHook plugin and act upon them. ## Install Install virtualenvwrapper: ``` sudo pip3 install virtualenvwrapper source /usr/local/bin/virtualenvwrapper.sh ``` Presuming you have virtualenvwrapper and python 3.6+ install...
Bitcoin-ABC/bitcoin-abc
contrib/buildbot/README.md
Markdown
mit
1,060
namespace Rules { public enum StatusOfValidation { Success, Worning, Error } }
julianosaless/specification-rules
src/Rules/StatusOfValidation.cs
C#
mit
118
var names = [ 'Whiskers', 'Athena', 'Sir Theodore Tibblesworth', 'Rex' ]; function keyOf (name) { return name.toLowerCase().replace(/\W+/g, '-') } module.exports = function (db) { setInterval(function () { var lives = Math.floor(Math.random() * 9 + 1); var name = names[Math.floor(Math.random() * na...
substack/liver
example/pets/populate.js
JavaScript
mit
419
/** * This file contains Interfaces mapping Travis responses */ declare module TravisJsonResponse { interface Json { id: number; repository_id: number; number: string; state: string; result: number; started_at: Date; finished_at: Date; duration: nu...
afranken/simon
src/main/ts/jsonInterfaces/TravisResponse.d.ts
TypeScript
mit
509
<form method="post" action="{{ route('authorSegments.compute') }}"> <form-validator url="{{route('authorSegments.validateTest')}}"></form-validator> <div class="col-md-6"> {{ csrf_field() }} <p class="c-black f-500 m-b-10">Minimal ratio of (author articles/all articles) read by user:</p> ...
remp2020/remp
Beam/resources/views/authors/segments/_test_form.blade.php
PHP
mit
2,544
#include "reaction.hpp" /** *Item token print here */ void item_token::print(std::ostream& o)const{ o<< type+" "+subtype<<std::endl; } /** *material things here */ material_token::material_token(Reaction* r):parent(r){} material_token::~material_token(){} void material_token::print(std::ostream& o)const{ o<<...
jaked122/dftools
src/reaction.cpp
C++
mit
5,813
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "db.h" #include "init.h" #include "VertiCoinrpc.h" using na...
verticoin/verticoin
src/rpcmining.cpp
C++
mit
14,356
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { SkyDefinitionListModule } from '../definition-list.module'; import { SkyDefinitionListTestComponent } from './definition-list.component.fixture'; @NgModule({ declarations: [SkyDefinitionListTestComponent], imports:...
blackbaud/skyux
libs/components/layout/src/lib/modules/definition-list/fixtures/definition-list-fixtures.module.ts
TypeScript
mit
458
<?php /* * Namespaces: ['_global', 'app', 'auth', 'cache', 'config','db','event', 'key', 'schedule', 'route', 'session', 'vendor', 'view', 'migrate', 'queue', 'make'] * Commands: ['cache:clear', 'etc...'] */ return [ // hide from list 'hide' => [ 'commands' => [ ], 'namespaces' => [ ]...
laradic/console
config/laradic.console.php
PHP
mit
571
THEANO_FLAGS=device=gpu,floatX=float32,cuda.root=/usr/local/cuda/bin python train.py size64 kbasic
skyfallen/SecondDataScienceBowl
Code/Forum_code/Keras/train.sh
Shell
mit
99
/* * Copyright (c) 2012 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...
koobonil/Boss2D
Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/audio_coding/codecs/isac/main/source/structs.h
C
mit
12,672
///////////////////////////////////////////////////////////////////////////////////////// // // The MIT License (MIT) // // Copyright (c) 2014-2015 Keld Oelykke // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
KeldOelykke/FailFast
Java/FailFast/src/starkcoder/failfast/checks/objects/strings/IObjectStringLessCheck.java
Java
mit
2,254
-- phpMyAdmin SQL Dump -- version 4.2.12deb2+deb8u2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 18, 2016 at 10:18 PM -- Server version: 5.5.53-0+deb8u1 -- PHP Version: 5.6.27-0+deb8u1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIE...
juliemh/tatui
tatui.sql
SQL
mit
14,328
<?php use Symfony\Component\Routing\Exception\MethodNotAllowedException; use Symfony\Component\Routing\Exception\ResourceNotFoundException; use Symfony\Component\Routing\RequestContext; /** * appDevUrlMatcher * * This class has been auto-generated * by the Symfony Routing Component. */ class appDevUrlMatcher ext...
Xiangua/deco_cuis
app/cache/dev/appDevUrlMatcher.php
PHP
mit
18,210
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.4.5/contrib:chinese/8.4.dev/2015-02-05_15-34-43.html
HTML
mit
6,078
# HUFFMAN Codificação de Huffman na Linguagem C Para mais informações acesse: https://www.amorim.tk:5052/huff
HuffL01T3R5/HUFFMAN
README.md
Markdown
mit
115
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Dashboard for /var/www/php-memcached</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/nv.d3.css" rel="stylesheet"> <link href="css/style.c...
pramodpatil812/php-memcached
unittest/code-coverage/dashboard.html
HTML
mit
8,754
<?php class OrderModel extends CI_Model{ function __construct() { parent::__construct(); $this->load->database(); } function userOrder($request){ $sql = "INSERT INTO nham_order(user_id, order_code, product_id, phone, address, quantity, size) VALUES(?, ?, ?, ?, ?, ?, ?)"; $param["user_id...
SrunSundy/dernham_API
application/models/OrderModel.php
PHP
mit
760
import { Injectable } from '@angular/core'; import { CanActivate, Router } from '@angular/router'; import { Capabilities } from '../../shared/services/capabilities.service'; import { CurrentUser } from '../../shared/services/current-user.model'; import { ErrorActions } from '../../shared/services/error.s...
jimmybillings/wazee
src/client/app/+collection/services/collection-guard.ts
TypeScript
mit
895
using System; using System.Collections.Generic; using System.Linq; using System.Speech.Synthesis; using System.Text; using System.Threading.Tasks; namespace K4W.KinectDrone.Core.Speech { public class Narrator { /// <summary> /// Synth instance /// </summary> private static read...
KinectingForWindows/GIK-KinectingARDrone
src/K4W.KinectDrone.Core/Speech/Narrator.cs
C#
mit
579
'use strict'; var CanvasRenderer = require('./main'); CanvasRenderer.prototype._prepareImages = function () { // Creating the list of images var imagesToPrepare = []; var symbolList = this._extractor._symbolList; var symbols = this._extractor._symbols; for (var s = 0; s < symbolList.length; s += 1) { var sym...
Wizcorp/Jeff
src/CanvasRenderer/prepareImages.js
JavaScript
mit
1,315
import {bootstrap} from '/node_modules/angular2/platform/browser' import {AppComponent} from './app.component' bootstrap(AppComponent); /* Copyright 2016 Google Inc. All Rights Reserved. Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at http://angular.io/license ...
riczat/anglar
resources/views/app/boot.ts
TypeScript
mit
322
module Mutations class Team::RemoveSlack < BaseMutation null true argument :team_id, ID, required: true, description: 'The ID of the team to update' field :team, Types::TeamType, null: true def resolve(team_id:) team = ::Team.find(team_id) team.slack_team_id = nil team.slack_bot_...
kabisa/kudo-o-matic
app/graphql/mutations/team/remove_slack.rb
Ruby
mit
515
<h2>List of patients</h2> <table> <tr> <td> <div style="width:1120px; height: 300px; overflow: scroll;"> <table class="table table-striped"> <thead style="text-align: center"> <tr> <th st-sort="firstname" s...
euasier/ngbp-first-app
src/app/listPatients/listPatients.tpl.html
HTML
mit
1,786
# zelBees
Zelacks/zelBees
README.md
Markdown
mit
9
import { CommonExtensionWindowState } from "../extension/CommonExtensionState"; /* * Copyright 2019 Simon Edwards <simon@simonzone.com> * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ export const EVENT_CONTEXT_MENU_REQUEST = "EVENT_CONTEXT_MENU_REQUEST"; expor...
sedwards2009/extraterm
extraterm/src/render_process/command/CommandUtils.ts
TypeScript
mit
1,747
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.aad.security; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; impor...
selvasingh/azure-sdk-for-java
sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-backend/src/main/java/com/azure/aad/security/NoLoginSecurityConfig.java
Java
mit
1,084
# KnownRelativeFilePath Enumeration Additional header content Specifies the known relative item path. **Namespace:**&nbsp;<a href="N_iTin_Export_Model">iTin.Export.Model</a><br />**Assembly:**&nbsp;iTin.Export.Core (in iTin.Export.Core.dll) Version: 2.0.0.0 (2.0.0.0) ## Syntax **C#**<br /> ``` C# [SerializableAttr...
iAJTin/iExportEngine
source/documentation/iTin.Export.Documentation/Documentation/T_iTin_Export_Model_KnownRelativeFilePath.md
Markdown
mit
1,462
<?php namespace rockunit; use rock\validate\Validate; class JsonTest extends \PHPUnit_Framework_TestCase { /** * @dataProvider providerValid */ public function testValid($input) { $v = Validate::json(); $this->assertTrue($v->validate($input)); } public function testInval...
romeOz/rock-validate
tests/JsonTest.php
PHP
mit
657
package com.addonovan.ftcext.testing; import com.addonovan.ftcext.control.Devices; import com.addonovan.ftcext.control.OpMode; import com.addonovan.ftcext.control.Register; import com.addonovan.ftcext.hardware.Motor; import com.addonovan.ftcext.hardware.ToggleServo; import com.addonovan.ftcext.utils.MotorAssembly; imp...
addonovan/ftc-ext
FtcRobotController/src/main/java/com/addonovan/ftcext/testing/JOpMode.java
Java
mit
1,139
module.exports = { '1.train.spikes': { display: '01', indicator: 'OGB-1', area: 'V1', source: 'Theis et al., 2016' }, '2.train.spikes': { display: '02', indicator: 'OGB-1', area: 'V1', source: 'Theis et al., 2016' }, '3.train.spikes': { display: '03', indicator: 'GCaMP6...
codeneuro/spikefinder
client/metadata.js
JavaScript
mit
1,229
package org.afm.apath.core; import java.util.function.Predicate; /** * A step is an element of a path. <br> * We make use of nesting interfaces and classes for compactness. * Whenever constructors, attributes, or default methods are required an abstract * class is chosen. * * @author afm * */ public interfac...
a-f-m/apath
src/main/java/org/afm/apath/core/Step.java
Java
mit
2,248
from unittest import TestCase from aq.sqlite_util import connect, create_table, insert_all class TestSqliteUtil(TestCase): def test_dict_adapter(self): with connect(':memory:') as conn: conn.execute('CREATE TABLE foo (foo)') conn.execute('INSERT INTO foo (foo) VALUES (?)', ({'bar'...
lebinh/aq
tests/test_sqlite_util.py
Python
mit
2,855
var etc=require("./etc.js"), msgtype=require("./msgtype.js"); function constructMessage(type,args){ var len=6+args.map(function(a){return 4+a.length;}).reduce(function(a,b){return a+b;},0); var buf=new Buffer(len); //console.log("constructing message with len",len) buf.writeUInt32BE(len,0); buf.writeUInt8(typ...
tomsmeding/gvajnez
netio.js
JavaScript
mit
2,684
<head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="description" content="$description"> <meta name="keywords" content="mavulp, development, programming"> <meta name="author" content="$if{'members'}[[$m...
catlinman/mavulp.com
mavulp.com/templates/snippets/head.html
HTML
mit
1,649
cssx( @media screen and (min-width: `minWidthForMediaQuery`px) { `a().reduce(b)` { `getProperty();`: `a + b / c`%; } } )
krasimir/babylon-plugin-cssx
test/cssx/mixed/35/actual.js
JavaScript
mit
126
SELECT video_id FROM videos WHERE video_id IN ( SELECT video_id FROM gitem_video JOIN group_gitem USING (gitem_id) WHERE group_id = ? ) ORDER BY publish_date DESC;
mattwright324/youtube-comment-suite
src/main/resources/io/mattw/youtube/commentsuite/db/sql/dql_get_video_ids_by_group.sql
SQL
mit
175
#Telvue Akamai Push Plugin The Telvue Akamai push plugin allows for an incoming Wowza stream to be pushed to Akamai via RTMP. The plugin supports multiple stream applications, as well as multiple streams per application. All of the specifics are set up through configuration files. ##Required libraries This p...
telvue/WowzaAkamaiPushPlugin
README.md
Markdown
mit
3,630
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / /// <summary> /// TaskQueueStatisticsResource /// </summary> using Newtonsoft.Json; using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Clients; using Twilio.Converters; using Twi...
twilio/twilio-csharp
src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueStatisticsResource.cs
C#
mit
8,826
// 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 System.Collections; using System.Diagnostics; using System.Runtime.CompilerServices; using Syste...
ruben-ayrapetyan/coreclr
src/mscorlib/shared/System/Collections/Generic/Dictionary.cs
C#
mit
56,845
Pauling ======= | General | Android | iOS | |---------|---------|-----| | [![CircleCI](https://circleci.com/gh/TailorDev/pauling/tree/master.svg?style=svg&circle-token=9df05dcadb0db10e2a6385385cbb62e1500a0e9f)](https://circleci.com/gh/TailorDev/pauling/tree/master) | [![BuddyBuild](https://dashboard.buddybuild.com/api...
TailorDev/pauling
README.md
Markdown
mit
3,433
# encoding: utf-8 require 'devise' require 'devise_imapable/schema' require 'devise_imapable/imap_adapter' require 'devise_imapable/routes' module Devise # imap server address for authentication. mattr_accessor :imap_server @@imap_server = nil # default email suffix mattr_accessor :default_email_suffix @...
joshk/devise_imapable
lib/devise_imapable.rb
Ruby
mit
601
class Spud::Admin::PhotoGalleriesController < Spud::Admin::ApplicationController before_filter :get_gallery, :only => [:show, :edit, :update, :destroy] before_filter :get_albums, :only => [:new, :create, :edit, :update] add_breadcrumb 'Photo Galleries', :spud_admin_photo_galleries_path respond_to :html, :json,...
gregawoods/spud_photos
app/controllers/spud/admin/photo_galleries_controller.rb
Ruby
mit
1,570
#ifndef RENDERER_RAYTRACER_HPP #define RENDERER_RAYTRACER_HPP #include "base.hpp" #include "geometry.hpp" #include "material.hpp" #include "light.hpp" #include "camera.hpp" #include "shapes/union.hpp" #include <bitset> namespace renderer { class Shape; class PerspectiveCamera; class Film; class Lig...
voyagingmk/renderer
include/raytracer.hpp
C++
mit
2,543
namespace StorageAdapters.WebDAV.Test { using System; using System.Threading.Tasks; using Xunit; public class WebDAVStorageAdapterTests : StorageAdapters.Test.StorageAdapterTests<WebDAVStorageAdapterFixture, WebDAVStorageAdapter> { public WebDAVStorageAdapterTests(WebDAVStorageAdapterFixtu...
NsdWorkBook/StorageAdapters
StorageAdapters.WebDAV.Test/WebDAVStorageAdapterTests.cs
C#
mit
1,987
// Copyright (c) 2011-2013 The Bitcredit Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCREDIT_QT_WALLETVIEW_H #define BITCREDIT_QT_WALLETVIEW_H #include "amount.h" #include <QStackedWidget> class ...
coinkeeper/2015-06-22_19-17_bitcredits
src/qt/walletview.h
C
mit
5,355
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.apimanagement.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.az...
Azure/azure-sdk-for-java
sdk/apimanagement/azure-resourcemanager-apimanagement/src/main/java/com/azure/resourcemanager/apimanagement/implementation/ApiSchemasClientImpl.java
Java
mit
79,226
const fs = require('fs'); const path = require('path'); const EventEmitter = require('events'); const cors = require('cors'); const bodyParser = require('body-parser'); const compression = require('compression'); const cookieParser = require(...
buckless-team/server
src/app.js
JavaScript
mit
6,179
Template.orderListItem.helpers({ //statusName: function(status) { // var names = { // ongoing: '进行', // finished: '完成', // canceled: '终止' // }; // return names[status] || '未知'; //}, statusColor: function () { var colors = { '进行': 'bg-primary', '完成': 'bg-success', '终止'...
lszhu/saleSys
client/templates/order/list.js
JavaScript
mit
6,812
"""Modulo que contiene la clase directorio de funciones ----------------------------------------------------------------- Compilers Design Project Tec de Monterrey Julio Cesar Aguilar Villanueva A01152537 Jose Fernando Davila Orta A00999281 ----------------------------------------------------------------- DOCUM...
davilajose23/ProjectCobra
functions_dir.py
Python
mit
10,907
// generated by jsonenums -type=InKind; DO NOT EDIT package incoming import ( "encoding/json" "fmt" ) var ( _InKindNameToValue = map[string]InKind{ "control": control, "state": state, "checkForUpdates": checkForUpdates, "updateAvailable": updateAvailable, "updateBegin": updateBegin...
gamejolt/joltron
network/messages/incoming/inkind_jsonenums.go
GO
mit
1,837
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mod.Core.Cqrs.Api; namespace Mod.Core.Test.Query.MockQuery { public class QueryB: IQuery { public DateTime FromSearch { get; } public QueryB(DateTime fromSearch) {...
mtihector/Mod
Mod.Core.Test/Query/MockQuery/QueryB.cs
C#
mit
378
<div class="sidebar"> <div class="container"> <div class="sidebar-about"> <h1> <a href="{{ site.baseurl }}"> {{ site.title }} </a> </h1> <p class="lead">{{ site.description }}</p> </div> <nav class="sidebar-nav"> <a class="sidebar-nav-item{% if page.url =...
unframework/virtual-dom-gallery
_includes/sidebar.html
HTML
mit
1,241
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Pagination</title> <link rel="stylesheet" href="../../node_modules/bootstrap/dist/css/bootstrap.css"> <link rel="stylesheet" href="../styles.css"> </head> <body> <div id="app" class="container"> <h4>Default</h4> ...
sant123/vuejs-uib-pagination
demo/commonjs/index.html
HTML
mit
2,889
package org.javacs; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; import org.javacs.lsp.*; import org.junit.Assert; public class CompletionsBase { protected static JavaLanguageServer server = LanguageServerFixture.getJavaLanguageServer(); protected void refreshServer...
georgewfraser/vscode-javac
src/test/java/org/javacs/CompletionsBase.java
Java
mit
3,707
require_relative '../../../spec_helper' ruby_version_is ''...'2.8' do require 'rexml/document' describe "REXML::Attribute#node_type" do it "always returns :attribute" do attr = REXML::Attribute.new("foo", "bar") attr.node_type.should == :attribute REXML::Attribute.new(attr).node_type.should ...
eregon/rubyspec
library/rexml/attribute/node_type_spec.rb
Ruby
mit
352
using System.Diagnostics.CodeAnalysis; using Microsoft.AspNet.Identity; using NHibernate; namespace Dematt.Airy.Identity.Nhibernate { [SuppressMessage("ReSharper", "UnusedTypeParameter")] public class IdentityUserStore<TUser> : UserStore<IdentityUser, string, IdentityUserLogin, IdentityRole, string, I...
MatthewRudolph/Airy
src/Dematt.Airy.Identity.Nhibernate/IdentityUserStore.cs
C#
mit
528
package com.example.smartify.devices; import com.example.smartify.data.DevicesRepository; /** * Listens to user actions from the UI ({@link DevicesActivity}), retrieves the data and updates the * UI as required. */ class DevicesPresenter implements DevicesContract.UserActionsListener { private final DevicesCo...
kkuchera/smartify
Smartify/app/src/main/java/com/example/smartify/devices/DevicesPresenter.java
Java
mit
1,104