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
require 'doorkeeper/oauth/assertion_access_token_request' module Doorkeeper module Request class Assertion def self.build(server) new(server) end attr_reader :server def initialize(server) @server = server end def request @request ||= OAuth::AssertionAccessTokenRequest.new(server, ...
kioru/doorkeeper-jwt_assertion
lib/doorkeeper/request/assertion.rb
Ruby
mit
416
<!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/html; charset=utf-8" /> <meta name="GENERATOR" content="VSdocman - documentation generator; htt...
asiboro/asiboro.github.io
vsdoc/topic_0000000000000007.html
HTML
mit
12,195
//process.argv.forEach(function (val, index, array) { console.log(index + ': ' + val); }); var fs = require('fs'); (function () { function slugify(text) { text = text.replace(/[^-a-zA-Z0-9,&\s]+/ig, ''); text = text.replace(/-/gi, "_"); text = text.replace(/\s/gi, "-"); return text; } var DocGen = { ...
alaingilbert/ttdashboard
server/gatherer/parser.js
JavaScript
mit
5,796
require 'rest_client' module WebHook # Makes a http request to the target endpoint passing contents as data def self.send_message(endpoint, content) # TODO: # - Make webrequest # - If success return success # - If error, return error response = RestClient.post endpoint, content.to_json, :conten...
WiretapServer/wiretap-server
helpers/webhook.rb
Ruby
mit
480
# -*- coding:utf-8 -*- # This code is automatically transpiled by Saklient Translator import six from ..client import Client from .model import Model from ..resources.resource import Resource from ..resources.licenseinfo import LicenseInfo from ...util import Util import saklient str = six.text_type # module saklien...
sakura-internet/saklient.python
saklient/cloud/models/model_licenseinfo.py
Python
mit
4,306
'use strict'; exports.name = '/activation';
longlh/di-linker
test/data/activation.js
JavaScript
mit
45
--- layout: default --- <section class="collection-head small geopattern" data-pattern-id="{{ page.title | truncate: 15, ''}}"> <div class="container"> <div class="columns"> <div class="column three-fourths"> <div class="collection-title"> <h1 class="collection-header">{{ page.title }}</h1> ...
zxning/zxning.github.io
_layouts/post.html
HTML
mit
1,491
<?php use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\Exception\RouteNotFoundException; /** * appdevUrlGenerator * * This class has been auto-generated * by the Symfony Routing Component. */ class appdevUrlGenerator extends Symfony\Component\Routing\Generator\UrlGenerator { stati...
JKord/CreditUnionSoftwareDb
app/cache/dev/appdevUrlGenerator.php
PHP
mit
20,470
const _ = require('lodash') const Joi = require('joi') module.exports = { name: 'href', params: { href: Joi.array().items( Joi.string(), Joi.func().ref() ).min(1) }, setup (params) { params.href = [''].concat(params.href) this._flags.href = params.href }, validate (params, value...
hrithikp/joi-link
lib/rule.js
JavaScript
mit
545
using System; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using Neo.Gui.Base.Dialogs.Interfaces; using Neo.Gui.Base.Dialogs.Results.Wallets; using Neo.Gui.Base.Managers.Interfaces; using Neo.Gui.Base.Services.Interfaces; namespace Neo.Gui.ViewModels.Wallets { public c...
jlgaffney/neo-gui-wpf
Neo.Gui.ViewModels/Wallets/OpenWalletViewModel.cs
C#
mit
3,211
// Mucking with different levels let currentLevel = { cells: undefined, dims: undefined }; if (0) { currentLevel.cells = level; currentLevel.dims = level_dims; } else { currentLevel.cells = LEVEL_ONE; currentLevel.dims = LEVEL_ONE_DIMS; } // Return a reference to the (logical) cell's unique object const _getCel...
petertorelli/OldSchoolRPG
js/globals.js
JavaScript
mit
1,316
\hypertarget{group___u_a_r_t___word___length}{}\section{U\+A\+RT Word Length} \label{group___u_a_r_t___word___length}\index{U\+A\+R\+T Word Length@{U\+A\+R\+T Word Length}} \subsection*{Macros} \begin{DoxyCompactItemize} \item \#define {\bfseries U\+A\+R\+T\+\_\+\+W\+O\+R\+D\+L\+E\+N\+G\+T\+H\+\_\+8B}~((uint32\+\_\+t)...
team-diana/nucleo-dynamixel
docs/latex/group___u_a_r_t___word___length.tex
TeX
mit
940
var fastn = require('fastn')({ _generic: require('fastn/genericComponent'), list: require('fastn/listComponent'), templater: require('fastn/templaterComponent'), text: require('fastn/textComponent'), ratingControl: require('./ratingControlComponent') }); module.exports = function(settings){ ret...
shotlom/rating-control-component
index.js
JavaScript
mit
378
import os import logging from jsub.util import safe_mkdir from jsub.util import safe_rmdir class Submit(object): def __init__(self, manager, task_id, sub_ids=None, dry_run=False, resubmit=False): self.__manager = manager self.__task = self.__manager.load_task(task_id) self.__sub_ids = sub_ids self.__dry_run ...
jsubpy/jsub
jsub/operation/submit.py
Python
mit
4,925
# tree [![Build Status](https://travis-ci.org/ryanfowler/tree.svg?branch=master)](https://travis-ci.org/ryanfowler/tree) [![Go Report Card](https://goreportcard.com/badge/github.com/ryanfowler/tree)](https://goreportcard.com/report/github.com/ryanfowler/tree) [![GoDoc](https://godoc.org/github.com/ryanfowler/tree?statu...
ryanfowler/tree
README.md
Markdown
mit
6,359
<?php namespace rg\injektor; class InjectionLoopException extends InjectionException { }
researchgate/injektor
src/rg/injektor/InjectionLoopException.php
PHP
mit
91
<!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 (version 1.7.0_45) on Mon Aug 31 23:15:49 CEST 2015 --> <title>IObjectStringEmptyCheck (FailFast v.1.3)</title> <meta name="date" content="2015-08-31"...
KeldOelykke/FailFast
Java/Web/war/releases/1.3/api/starkcoder/failfast/checks/objects/strings/IObjectStringEmptyCheck.html
HTML
mit
9,951
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/14000-14999/14061-22.html
HTML
mit
1,325
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs.clo...
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/79/f4/79f4607b-7178-4c37-843f-b31c13536721.html
HTML
mit
56,448
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs....
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/b6/80/b680d2b8-c686-4f2a-a330-b7824bfd960f.html
HTML
mit
56,532
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>demos: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.1/demos/8.9.0.html
HTML
mit
7,158
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1+2/hammer/1.2.1+8.11.html
HTML
mit
7,418
#!/usr/bin/env node 'use strict'; var assert = require('assert'); var depRep = require('../../lib/depRep'); var oldJson = require('../fixtures/old.json'); var newJson = require('../fixtures/new.json'); var unsupported = require('../fixtures/unsupported.json'); function key(number, dev) { var prefix = "/dependen...
kevin-smets/dep-rep
test/specs/depRepSpec.js
JavaScript
mit
2,302
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>string: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.9.0/string/8.5.0.html
HTML
mit
6,751
/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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...
imzhenyu/rDSN.dist.service
src/meta_server/meta_server_lib/meta_data.cpp
C++
mit
3,939
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由Codesmith工具生成。 // 此文件的更改可能会导致不正确的行为,如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ using System; using ProtoBuf; using ZyGam...
wenhulove333/ScutServer
Sample/Doudizhu/Server/src/ZyGames.Doudizhu.Model/ConfigModel/ChatInfo.cs
C#
mit
2,770
=begin = TeamDecorator - version: 6.002 - author: Leega Decorator for the Team model. Contains all presentation-logic centered methods. =end class TeamDecorator < Draper::Decorator delegate_all include Rails.application.routes.url_helpers # Retrieves the team complete name # with link to team ra...
steveoro/goggles
app/decorators/team_decorator.rb
Ruby
mit
3,732
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fssec-model: 49 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.1+2/fssec-model/8.7.0.html
HTML
mit
24,413
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tarski-geometry: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.8.1/tarski-geometry/8.7.0.html
HTML
mit
7,908
<span class="hljs-keyword">import</span> {NgModule} <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;@angular/core&#x27;</span>; <span class="hljs-keyword">import</span> {FormsModule} <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;@angular/forms&#x27;</span>; <span class="h...
angular/material2-docs-content
docs-content/examples-highlighted/material/core/index-ts.html
HTML
mit
2,020
using System; using System.Runtime.InteropServices; using System.Text; namespace Akkomation.TelldusCore.Utils { internal enum MarshalDirection { In, Out } internal class TelldusUtf8Marshaler : ICustomMarshaler { private static readonly TelldusUtf8Marshaler InputInstance = ...
johanclasson/TellCore
Source/Akkomation.TelldusCore/Utils/TelldusUtf8Marshaler.cs
C#
mit
3,510
<?php namespace MicroCMS\Controller; use Silex\Application; use Symfony\Component\HttpFoundation\Request; use MicroCMS\Domain\Article; use MicroCMS\Domain\Experience; use MicroCMS\Domain\User; use MicroCMS\Domain\Perso; use MicroCMS\Domain\Portfolio; use MicroCMS\Domain\Loisir; use MicroCMS\Form\Type\ArticleType; use...
RudyMrb/SiteCV_Silex
src/Controller/AdminController.php
PHP
mit
16,728
<script src="../../bower_components/moment/moment.js"></script> <script src="../../bower_components/moment/locale/fr.js"></script>
NicolasLeRoux/project-terpsichore
public/src/lib/moment-import.html
HTML
mit
131
# encoding: utf-8 require 'test_helper' require 'earth_tools' require 'earth_tools/result/time_zone' require 'mock_lookup' ## # Tests for Time Zone lookups. class TimeZoneTest < MiniTest::Unit::TestCase def setup @result = EarthTools.time_zone(40.71417, -74.00639) @result2 = EarthTools.tim...
mckramer/earth_tools
test/time_zone_test.rb
Ruby
mit
1,670
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1+1/compcert/3.6+8.11.html
HTML
mit
8,069
/** * Angular Paginate * @homepage https://github.com/darthwade/angular-paginate * @author Vadym Petrychenko https://github.com/darthwade * @license The MIT License (http://www.opensource.org/licenses/mit-license.php) * @copyright 2014 Vadym Petrychenko */ (function (factory) { if (typeof define === 'function' ...
darthwade/angular-paginate
angular-paginate.js
JavaScript
mit
6,581
<?php namespace InoOicClient\Oic\Authorization\State\Exception; class StateMismatchException extends \RuntimeException { }
Yusuke-KOMIYAMA/aiv
binder/app/Vendor/ivan-novakov/php-openid-connect-client/src/InoOicClient/Oic/Authorization/State/Exception/StateMismatchException.php
PHP
mit
132
# 9fs file server FROM debian:sid MAINTAINER jordi collell <j@tmpo.io> RUN apt-get update && apt-get install -y \ diod VOLUME /data CMD [ "diod", "--export=/data", "-n", "-f", "-l", "0.0.0.0:5640" ] EXPOSE 5640
jordic/k8s
9fs/Dockerfile
Dockerfile
mit
220
<?php umask(0000); // Définit une permission 0777 use Symfony\Component\ClassLoader\ApcClassLoader; use Symfony\Component\HttpFoundation\Request; $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; // Enable APC for autoloading to improve performance. // You should change the ApcClassLoader first argument t...
KartographerZ/web_app
web/app.php
PHP
mit
1,058
watch: clean NODE_ENV=development `npm bin`/webpack -w package: build mkdir -p dist zip -x\*.DS_Store dist/linkgrabber.zip -r css html images js vendor manifest.json build: clean NODE_ENV=production `npm bin`/webpack lint: node_modules/.bin/eslint src clean: rm -rf js rm -rf dist
7fffffff/linkgrabber
Makefile
Makefile
mit
292
<?php namespace Leezy\PheanstalkBundle\Tests\Command; use Leezy\PheanstalkBundle\Command\PutCommand; use Pheanstalk\Job; use Symfony\Component\Console\Tester\CommandTester; class PutCommandTest extends AbstractPheanstalkCommandTest { public function testExecute() { $args = $this->getCommandArgs()...
armetiz/LeezyPheanstalkBundle
tests/Command/PutCommandTest.php
PHP
mit
1,472
<?php namespace PlaygroundDesign\Service; use PlaygroundDesign\Entity\Theme as ThemeEntity; use Laminas\Form\Form; use Laminas\ServiceManager\ServiceManager; use Laminas\Validator\NotEmpty; use Laminas\EventManager\EventManagerAwareTrait; use PlaygroundDesign\Options\ModuleOptions; use DoctrineModule\Validator\NoObje...
gregorybesson/PlaygroundDesign
src/Service/Theme.php
PHP
mit
8,422
var express = require('express') var braintree = require('braintree') var router = express.Router() // eslint-disable-line new-cap var gateway = require('../lib/gateway') var TRANSACTION_SUCCESS_STATUSES = [ braintree.Transaction.Status.Authorizing, braintree.Transaction.Status.Authorized, braintree.Transaction....
alexanderalmstrom/alexanderalmstrom
app/routes/checkout.js
JavaScript
mit
2,862
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-analysis: 9 m 50 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/released/8.12.1/mathcomp-analysis/0.3.6.html
HTML
mit
15,603
<div class="body-bg"></div> <main ng-if="$pageFinishedLoading" ng-class="{ 'menu-collapsed': $baSidebarService.isMenuCollapsed() }"> <ba-sidebar></ba-sidebar> <page-top></page-top> <div class="al-main"> <div class="al-content"> <content-top></content-top> <div ba-panel ba-p...
lightningroood/bluradmin_springboot
src/main/resources/static/app/pages/payonline/template.html
HTML
mit
4,268
/* Copyright (c) 2017-2018 Tom Hancocks 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, publish, dis...
tjhancocks/Veracyon
kernel/include/device/ps2/keyboard.h
C
mit
1,500
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.1/compcert/2.0.0.html
HTML
mit
6,528
/** * */ package com.kant.datastructure.stacks; import com.kant.sortingnsearching.MyUtil; /** * http://www.geeksforgeeks.org/the-stock-span-problem/ <br/> * * * The stock span problem is a financial problem where we have a series of n * daily price quotes for a stock and we need to calculate spa...
thekant/myCodeRepo
src/com/kant/datastructure/stacks/StockSpanProblem.java
Java
mit
2,329
static void cnrom_switchchr(int bank) { int size = 8192; backend_read(romfn, 16 + (16384 * header.prgromsize) + (bank * size), size, ppu_memory); } static void cnrom_access(unsigned int address, unsigned char data) { if (address > 0x7fff && address < 0x10000) cnrom_switchchr(data & (header.chrr...
jezze/nes
cnrom.c
C
mit
370
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using CommonCache.Test.Common; using Microso...
AzureAD/microsoft-authentication-library-for-dotnet
tests/CacheCompat/CommonCache.Test.Unit/Utils/CacheTestExecutor.cs
C#
mit
4,930
<?php namespace Eggbe\Helper; use \Eggbe\Helper\Abstractions\AHelper; class Hash extends AHelper { /** * @param int $length * @return string * @throws \Exception */ public final static function solt($length){ if ((int)$length > 62){ throw new \Exception('Max solt length can not be more that 62 charact...
eggbe/helpers
src/Hash.php
PHP
mit
1,219
//****************************************************************************************************** // FrequencyValue.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
GridProtectionAlliance/gsf
Source/Libraries/GSF.PhasorProtocols/BPAPDCstream/FrequencyValue.cs
C#
mit
7,224
<ul class="context_menu"> <li><a href="?module=menu">Retour aux menus</a></li> </ul> <form action="?module=menu&action=edit" method="post"> <input type="hidden" name="menuId" value="<?php echo $menu->getId(); ?>" /> <label class="mandatory">Titre</label> <input type="text" name="title" value="<?php echo stripslas...
fabienInizan/menuPlugin
templates/admin/menu/displayEditForm.php
PHP
mit
516
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fourcolor: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/fourcolor/1.2.1.html
HTML
mit
7,527
import { Component } from 'react'; import Router from 'next/router'; import io from 'socket.io-client'; import fetch from 'isomorphic-fetch'; import Page from '../../layouts/page.js'; import Slide from '../../components/slide.js'; import Code from '../../components/code.js' import Emojis from '../../components/emojis....
AndyBitz/dme11a-js-presentation
pages/slides/0x05_call_by_reference.js
JavaScript
mit
2,834
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ex...
msotiroff/Programming-FUNDAMENTALS
Practice/Lists/EqualSumAfterExtraction/Examlpe/Properties/AssemblyInfo.cs
C#
mit
1,390
![preview Long Haul](/preview.jpg) Long Haul is a minimal jekyll theme built with SASS / GULP / BROWSERSYNC / AUTOPREFIXER and focuses on long form blog posts. It is meant to be used as a starting point for a jekyll blog/website. If you really enjoy Long Haul and want to give me credit somewhere on the internet send ...
ericluwj/ericluwj.github.io
README.md
Markdown
mit
1,805
/* eslint-disable promise/always-return */ import { runAuthenticatedQuery } from "schema/v2/test/utils" import gql from "lib/gql" describe("Me", () => { describe("ShowsByFollowedArtists", () => { it("returns shows by followed artists", async () => { const query = gql` { me { s...
artsy/metaphysics
src/schema/v2/me/__tests__/showsByFollowedArtists.test.ts
TypeScript
mit
1,640
<?php namespace scriptorium\UserBundle\Entity; use FOS\UserBundle\Entity\User as BaseUser; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Compone...
Komrod/UserScriptorium
src/scriptorium/UserBundle/Entity/User.php
PHP
mit
7,423
/* Copyright (c) 2015 Mathias Panzenböck * * 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, pub...
panzi/mediaextract
src/au.c
C
mit
2,119
package com.jasonlam604.stocktechnicals.indicators; import com.jasonlam604.stocktechnicals.util.NumberFormatter; /** * Moving Average Convergence/Divergence Oscillator */ public class MovingAverageConvergenceDivergence { private static final int CROSSOVER_NONE = 0; private static final int CROSSOVER_POSITIVE = 1...
jasonlam604/StockTechnicals
src/com/jasonlam604/stocktechnicals/indicators/MovingAverageConvergenceDivergence.java
Java
mit
2,631
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
RealityFactory/ogre
RenderSystems/GLES2/src/GLSLES/src/OgreGLSLESProgram.cpp
C++
mit
18,117
/* * 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 consolealiensgame; import alieninterfaces.*; import java.lang.reflect.Constructor; /** * * @author guberti */ public clas...
guberti/AliensGame
ConsoleAliensGame/src/consolealiensgame/AlienContainer.java
Java
mit
4,017
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,100,700|Source Sans:400,300,100' rel='st...
daemth/highcharts-editor
app/index.html
HTML
mit
2,606
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Example = mongoose.model('Example'), _ = require('lodash'), upload = require('./upload'); /** * Find example by id */ exports.example = function(req, res, next, id) { Example.load(id, function(err, example) { ...
dylanlawrence/ango
lib/controllers/example.js
JavaScript
mit
2,149
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cantor: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.2~camlp4/cantor/8.8.0.html
HTML
mit
7,710
class ApplicationMailer < ActionMailer::Base helper Common::PageHelper end
jbox-web/media-server
app/mailers/application_mailer.rb
Ruby
mit
77
import { fireShuffleTasks } from 'src/model/ModelBase'; import { REFERENCE } from 'config/types'; import { rebindMatch } from 'shared/rebind'; import { isArray, isString } from 'utils/is'; import { escapeKey } from 'shared/keypaths'; import ExpressionProxy from './ExpressionProxy'; import resolveReference from './resol...
ractivejs/ractive
src/view/resolvers/ReferenceExpressionProxy.js
JavaScript
mit
3,804
'use strict'; const config = require('config'); const esdoc = require('gulp-esdoc'); const gulp = require('gulp'); module.exports = function documentationBuilder() { return gulp.src('./src') .pipe(esdoc({ destination: config.get('build.documentation.outputPath'), unexportIdentifier: config.get('buil...
node-templates/base-microservice-swagger
bld/documentation.js
JavaScript
mit
601
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ceres: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.0/ceres/0.3.0.html
HTML
mit
6,619
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ltl: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.2/ltl/8.10.0.html
HTML
mit
7,100
--- layout: single title: Thanks comments: false share: false permalink: /thanks/ --- I’m truly grateful to all the wonderful humans and companies supporting my open source work on [GitHub Sponsors](https://github.com/sponsors/chrismacnaughton). ## 🦄 Sponsor <p class="small">$1000/month</p> ## Silver Sponsor <p c...
ChrisMacNaughton/chrismacnaughton.github.com
_pages/thanks.md
Markdown
mit
494
package model.question; import model.enums.QuestionTypes; public class ImageQuestion implements QuestionIF { private String imagePath; private char[] answer; private QuestionTypes type; public ImageQuestion(String imagePath, char[] answer, QuestionTypes type){ this.setType(type); this.setImage...
KhaledMuahamed/GameDevelop
Game/src/model/question/ImageQuestion.java
Java
mit
1,428
**Houdini** allows easy hotswapping of Python code. The snippet is currently at ALPHA stage, but should soon be top notch. ### Basic usage example Create the files **swapped.py**: ```python from houdini import hotswap @hotswap def foo(): return '0x0' ``` and **client.py**: ```python import time import swapped ...
edwkar/houdini
README.md
Markdown
mit
530
// Copyright 2015, Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package queryservice contains the interface for the service definition // of the Query Service. package queryservice import ( "io" "golang.org/x/net/context...
derekstavis/bluntly
vendor/github.com/youtube/vitess/go/vt/tabletserver/queryservice/queryservice.go
GO
mit
6,381
import os from typing import List, Tuple from raiden.network.blockchain_service import BlockChainService from raiden.network.pathfinding import get_random_service from raiden.network.proxies.service_registry import ServiceRegistry from raiden.network.rpc.client import JSONRPCClient from raiden.network.rpc.smartcontrac...
hackaugusto/raiden
raiden/tests/utils/smartcontracts.py
Python
mit
4,965
<md-tab-group> <md-tab label="Example"> <div class="page-content"> <div fxLayout="row" fxLayout.xs="column" fxLayout.sm="column" fxFlex> <md-card fxFlex class="page-card"> <md-card-title>Menu</md-card-title> <md-card-subtitle>Default material menu</md-card-subtitle> <md...
marulinho/Proyecto-Angular-Final
src/app/pages/component-menu/component-menu.component.html
HTML
mit
14,721
// // SettingVCPopAnimator.h // BlackNoise // // Created by 李金 on 2016/11/24. // Copyright © 2016年 kingandyoga. All rights reserved. // #import <Foundation/Foundation.h> @interface SettingVCPopAnimator : NSObject<UIViewControllerAnimatedTransitioning> @end
kingandyoga/BlackNoise
BlackNoise/BlackNoise/SettingVCPopAnimator.h
C
mit
271
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> .country { fill: lightgray; stroke: darkgrey; stroke-width: 1px; } .country:hover { fill: darkgrey; } div.tooltipDestination { position: absolute; ...
jesion/d3js-flight-connections-map
src/index.html
HTML
mit
10,931
require 'test_helper' describe Subcheat do it 'should report version number' do Subcheat::VERSION.must_be_instance_of String end end
avdgaag/subcheat
test/subcheat_test.rb
Ruby
mit
142
using System.Reflection; [assembly: AssemblyTitle("Querify.Nh")]
Lotpath/Querify
src/Querify.Nh/Properties/AssemblyInfo.cs
C#
mit
68
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <p>isElement</p> <p><a href="isElement.html"></a>isElement</p> <form><input><input></form> <select><option></option><option></option></select> <script></script> <svg> <g id="elmG"/> <text id="elmText"/> <rect id="elmRect"/> ...
anseki/leader-line
test/spec/funcs/isElement-c.html
HTML
mit
369
#!/bin/bash set -x set -e source "/tools/common_rc/functions.sh" apt-get update # install SSHD apt-get install -y --no-install-recommends ssh # let root logins, disable password logins sed -i \ -e 's/^#?UsePAM.*$/UsePAM no/g' \ -e 's/^#?PasswordAuthentication.*$/PasswordAuthentication yes/g' \ -e 's/^#?PermitRoot...
nfq-technologies/docker-images
php70-dev/build/setup_docker.sh
Shell
mit
2,588
// // TuneFightAppDelegate.h // TuneFight // // Created by Pit Garbe on 14.01.11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> @class RootViewController; @interface TuneFightAppDelegate : NSObject <UIApplicationDelegate> @property (nonatomic, strong) UIWindow *window; @...
leberwurstsaft/TuneFight
TuneFight/TuneFightAppDelegate.h
C
mit
324
class Network < ApplicationRecord end
NextEpisode/NextEpisode
app/models/network.rb
Ruby
mit
38
using FluentValidation; using MediatR; using Shop.Infrastructure.Data; using System.Linq; using System.Threading.Tasks; using AutoMapper; using Microsoft.EntityFrameworkCore; using Shop.Core.Interfaces; using Shop.Infrastructure.Data.Extensions; namespace Shop.Features.Product { public class ProductEdit { ...
jontansey/.Net-Core-Ecommerce-Base
src/Shop/Features/Product/ProductEdit.cs
C#
mit
4,494
using System; using System.Collections.Concurrent; using System.Threading; namespace Napack.Server { /// <summary> /// Holds statistics for the Napack Framework Server system as a whole. /// </summary> /// <remarks> /// This class and its contents is stored in memory. /// </remarks> public...
GuMiner/napack
server/Definitions/SystemStats/SystemStats.cs
C#
mit
1,627
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>extructures: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.11.2-2.0.7/extra-dev/dev/extructures/0.3.0.html
HTML
mit
7,071
'use strict' var test = require('tape') var createDate = require('./') test(function (t) { t.ok(createDate('1-1-2000') instanceof Date) t.end() })
bendrucker/create-date
test.js
JavaScript
mit
153
<html><body> <h4>Windows 10 x64 (18362.116)</h4><br> <h2>HAL_PRIVATE_DISPATCH</h2> <font face="arial"> +0x000 Version : Uint4B<br> +0x008 HalHandlerForBus : Ptr64 _<a href="./_BUS_HANDLER.html">_BUS_HANDLER</a><br> +0x010 HalHandlerForConfigSpace : Ptr64 _<a href="./_BUS_HANDLER.html">_BUS_HAND...
epikcraw/ggool
public/Windows 10 x64 (18362.116)/HAL_PRIVATE_DISPATCH.html
HTML
mit
8,993
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Microsoft; use JMS\Serializer\Annotation\ExclusionPolic...
romainneutron/PHPExiftool
lib/PHPExiftool/Driver/Tag/Microsoft/MediaType.php
PHP
mit
796
# This file is part of Indico. # Copyright (C) 2002 - 2022 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. import os from indico.core import signals from indico.core.db import db from .logger import logger from ...
indico/indico
indico/core/oauth/__init__.py
Python
mit
1,252
<!-- Latest statistical bulletins --> <section class="panel wrapper box box--padded--med panel--bottom-mar box--teal--separated-left solid border"> <header class="actionable-header__title"> <h2 class="actionable-header__title table-inline ">Latest statistical bulletins</h2> <a class="actionable-heade...
ONSdigital/tredegar
src/main/resources/files/app/partials/latest-bulletins/latest-bulletins.html
HTML
mit
2,318
<!DOCTYPE html> <?xml version="1.0" encoding="UTF-8"?> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Earth Negotiations Bulletin: AWGs</title> <link href="../assets/style/bulletin.css" rel="stylesheet" /> </head> <body> <h1>Earth Negotiations ...
medialab/climateDebateExplorer
ENB-data/enb_pages/enb12465e.html
HTML
mit
28,932
<?php /** * Created by PhpStorm. * User: Josh Houghtelin <josh@findsomehelp.com> * Date: 12/19/14 * Time: 6:08 PM */ require __DIR__.'/../vendor/autoload.php'; require __DIR__.'/api_key.php'; $vrp = new \Gueststream\Vrp($api_key); print_r($vrp->isOnline());
Gueststream-Inc/gueststream-php
examples/is_online.php
PHP
mit
265
using FlaUI.Core.AutomationElements.Infrastructure; using FlaUI.Core.Patterns; namespace FlaUI.Core.AutomationElements.PatternElements { /// <summary> /// An element which supports the <see cref="ISelectionItemPattern" />. /// </summary> public class SelectionItemAutomationElement : AutomationElement ...
maxinfet/FlaUI
src/FlaUI.Core/AutomationElements/PatternElements/SelectionItemAutomationElement.cs
C#
mit
2,132
#ifndef __SEQ_HPP__ #define __SEQ_HPP__ #include <string> #include <vector> #include <memory> #include <iostream> class SeqNode; typedef std::shared_ptr<SeqNode> SeqNodeSP; class SeqNode { public: enum E_CallType { E_UNKNOWN, E_SYNC, E_ASYNC, E_ASYNC_WAIT }; SeqNode(); void printTree(std::ostream...
thuleqaid/boost_study
demo-xml/include/seq.hpp
C++
mit
1,305
<?php class Upload { private $error = array(); private $name; private $ext; private $orgWidth; private $orgHeight; private $width; private $height; private $maxWidth = 0; private $maxHeight = 0; private $prefix; private $suffix; private $uploadedFile; private $sourc...
MacXGaming/PHP-Uploader
Upload.php
PHP
mit
6,087
using System; using System.Collections.Generic; namespace RefinId.Specs { public class TestStorage : ILongIdStorage { private List<long> _values; public TestStorage(params long[] values) { _values = new List<long>(values); } public List<long> Values { get { return _values; } } public List<l...
OlegAxenow/refinid
Refinid.Specs/TestStorage.cs
C#
mit
737
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.2/compcert/3.9.html
HTML
mit
8,106