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 |
|---|---|---|---|---|---|
const ASSERT = require('assert');
describe('SSL Specs', function () {
const PATH = require('path');
let Acts = require('./../index');
let testcert = PATH.join(__dirname, 'certs', 'test.cert');
let testkey = PATH.join(__dirname, 'certs', 'test.key');
it('boot with testcertificate without chain', fu... | nodejayes/acts | spec/ssl.spec.js | JavaScript | mit | 1,998 |
<?php
require "../zxcd9.php";
//$stmt = $db->prepare("SELECT * from fin_allotments where hrdbid=:id");
//$stmt->bindParam(':id', $_SESSION['id']);
//$stmt->execute();
//$rowfa = $stmt->fetch(PDO::FETCH_ASSOC);
//echo $rowfa['hrdbid'];
// echo $_SESSION['id'];
// while ($rowfa = $stmt->fetch(PDO::FETCH_ASSOC)) {... | jmigdelacruz/SLPonline | finance/allotments.php | PHP | mit | 18,757 |
package iso20022
type RepurchaseType6Code string
| fgrid/iso20022 | RepurchaseType6Code.go | GO | mit | 50 |
<div class="sv-main-content"><div ui-view=""><div layout="row" layout-wrap="layout-wrap" ng-if="!mapView" style="max-width:1400px;margin: 0px auto"><div flex-sm="100" flex-gt-sm="50" flex-gt-md="33" flex-gt-lg="33" ng-repeat="agent in agents"><sv-broker-profile-thumb class="m"></sv-broker-profile-thumb></div></div></di... | SvitlanaShepitsena/remax16 | app/scripts/brokers/views/brokersCtrl.html | HTML | mit | 328 |
namespace XHTMLClassLibrary.AttributeDataTypes
{
/// <summary>
/// One or more digits.
/// </summary>
public class Number : IAttributeDataType
{
private int? _number = null;
public string Value
{
get
{
if (_number.HasValue)
... | LordKiRon/fb2converters | fb2epub/HTML5ClassLibrary/AttributeDataTypes/Number.cs | C# | mit | 693 |
require "houston/releases/engine"
require "houston/releases/configuration"
module Houston
module Releases
extend self
def dependencies
[ :commits ]
end
def config(&block)
@configuration ||= Releases::Configuration.new
@configuration.instance_eval(&block) if block_given?
@con... | houston/houston-releases | lib/houston/releases.rb | Ruby | mit | 1,708 |
# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# Changes ... | lmazuel/azure-sdk-for-python | azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/application_gateway_ssl_predefined_policy.py | Python | mit | 1,826 |
const path = require('path');
const inquirer = require('inquirer');
const yargs = require('yargs');
const {
sanitizeArgs,
ui,
invalidGitRepo,
ingredients,
addIngredients,
promiseTimeout
} = require('../common');
const {
cloneRepo,
deleteGitFolder,
establishLocalGitBindings,
addGitRemote,
pushLoca... | appirio-digital/ezbake | commands/prepare.js | JavaScript | mit | 6,465 |
import React from 'react'
import { useSelector } from 'react-redux'
import Container from 'react-bootstrap/Container'
import Row from 'react-bootstrap/Row'
import Col from 'react-bootstrap/Col'
import MoveSelector from '../containers/move-selector'
import Footer from '../containers/footer'
import Player from '../conta... | koscelansky/Dama | src/components/game.js | JavaScript | mit | 1,182 |
<!-- TOC -->
- [General](#general)
- [R](#r)
- [Installazione](#installazione)
- [Scraping](#scraping)
- [scrape](#scrape)
- [Installazione](#installazione-1)
- [XML](#xml)
- [xml2json](#xml2json)
- [Installazione](#installazione-2)
- [XMLStarlet](#xmlstarlet)
... | aborruso/quaderno | datautilities/README.md | Markdown | mit | 5,440 |
namespace EnergyTrading.MDM.Test.Contracts.Validators
{
using System;
using System.Collections.Generic;
using System.Linq;
using EnergyTrading.MDM.ServiceHost.Unity.Configuration;
using global::MDM.ServiceHost.Unity.Sample.Configuration;
using Microsoft.Practices.Unity;
using NUnit.Framew... | RWE-Nexus/EnergyTrading-MDM-Sample | Code/Service/MDM.UnitTest.Sample/Contracts/Validators/BrokerValidatorFixture.cs | C# | mit | 6,568 |
## THIS REPO IS DEPRECATED (THIS PROJECT HAS BEEN MERGED)!! GO HERE, INSTEAD: https://github.com/apache/zeppelin/tree/master/elasticsearch
# zeppelin-elasticsearch-interpreter
Elasticsearch Interpreter for [Appache Zeppelin](https://zeppelin.incubator.apache.org/).

## B... | bbonnin/zeppelin-elasticsearch-interpreter | README.md | Markdown | mit | 2,801 |
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | mikeqian/hprose-java | src/main/java/hprose/util/concurrent/Callback.java | Java | mit | 1,155 |
class LateMigration < ActiveRecord::Migration
def up
puts "Doing schema LateMigration"
end
def down
puts "Undoing LateMigration"
end
end
| ajvargo/data-migrate | spec/db/migrate/4.2/20131111111111_late_migration.rb | Ruby | mit | 154 |
---
layout: tags
title: merge
---
| litejs/litejs.github.io | tags/merge.md | Markdown | mit | 34 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `mk_bare_fn` fn in crate `rustc_typeck`.">
<meta name="keyw... | ArcherSys/ArcherSys | Rust/share/doc/rust/html/rustc_typeck/middle/ty/fn.mk_bare_fn.html | HTML | mit | 4,495 |
const fs = require('fs');
const path = require('path');
class Service {
constructor() {
this.getFileRecursevly = this.getFileRecursevly.bind(this);
this.getFiles = this.getFiles.bind(this);
}
getFileRecursevly(folderPath, shortPath = '') {
var files = [];
var folder = fs.read... | blckt/electron | app/src/TreeView/service.js | JavaScript | mit | 1,003 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MemoryStandardStream.Read.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ----------------------------------------------... | NaosProject/Naos.Database | Naos.Database.Domain/Protocols/Classes/Stream/MemoryStandard/MemoryStandardStream.Read.cs | C# | mit | 10,172 |
package com.falcon.cms.web.rest;
import com.falcon.cms.web.rest.vm.LoggerVM;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.LoggerContext;
import com.codahale.metrics.annotation.Timed;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.a... | dooma/falconcms | src/main/java/com/falcon/cms/web/rest/LogsResource.java | Java | mit | 1,166 |
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [3.0.3](https://github.com/sonata-project/SonataCoreBundle/compare/3.0.2...3.0.3) - 2016-06-17
### Fixed
- Add missing exporter service
## [3.0.2](https://github.com/... | firestorm23/gyrolab-ste | vendor/sonata-project/core-bundle/CHANGELOG.md | Markdown | mit | 799 |
import DateParser from '../date-parser.js';
import ParsedInfo from '../../parsed-info';
import moment from 'moment';
Date.now = jest.fn(() => 1527130897000)
test('Parses 12 Jan', () => {
const dateParser = new DateParser();
dateParser.parse('12 Jan', ParsedInfo);
const { value, startIndex, endIndex } = ParsedIn... | p-v/samay.js | src/parser/english/__test__/date-parser.test.js | JavaScript | mit | 758 |
package tranquvis.simplesmsremote.CommandManagement.Modules;
/**
* Created by Andreas Kaltenleitner on 31.10.2016.
*/
public class ModuleAudioTest extends ModuleTest {
} | tranquvis/SimpleSmsRemote | app/src/androidTest/java/tranquvis/simplesmsremote/CommandManagement/Modules/ModuleAudioTest.java | Java | mit | 172 |
---
topic: "Turtle Letters: 04"
desc: "Planning your letters inside a bounding box (planning P and C)"
indent: true
---
{% include turtle_letters_header.html %}
For each letter that you and your pair partner are going to draw,
start by drawing a bounding box like this on on a piece of
paper.
<img src="BoundingBox.... | ucsb-cs8/ucsb-cs8.github.io | _tutorials/turtle_letters_04.md | Markdown | mit | 2,483 |
#include "stdafx.h"
#include "record.hpp"
namespace tc { namespace log {
const char* record::type_acronym( void ) const {
switch( type ) {
case log::trace: return "T";
case log::debug: return "D";
case log::info: return "I";
case log::warn: return "W";
case log::error: return "E";
case log::fatal: return "F";
... | aoziczero/deprecated-libtc | srcs/tc.log/record.cpp | C++ | mit | 591 |
/* Header Styles */
header.main{
background: rgb(252,252,252); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0J... | reengo/boxy | assets/themes/boxy/css/screen.css | CSS | mit | 14,966 |
#!/bin/bash
## To avoid regression ensure that all of these do not return (unknown)
# annot_t.js
printf "annot_t.js:9:21 = "
assert_ok "$FLOW" type-at-pos annot_t.js 9 21 --strip-root --pretty
# any.js
printf "any.js:3:15 = "
assert_ok "$FLOW" type-at-pos any.js 3 15 --strip-root --pretty
printf "any.js:4:2 = "
asse... | JonathanUsername/flow | tests/type-at-pos/test.sh | Shell | mit | 30,990 |
exports.LOADING = "LOADING";
exports.ERROR = "ERROR";
exports.SUCCESS = "SUCCESS";
exports.FETCH = "FETCH";
exports.CREATE = "CREATE";
exports.UPDATE = "UPDATE";
exports.DELETE = "DELETE";
exports.SET_EDIT_MODE = "SET_EDIT_MODE";
exports.SET_ADD_MODE = "SET_ADD_MODE";
exports.CLOSE_FORM = "CLOSE_FORM";
exports.SET_PAGE... | Em-Ant/fcc-options-app | client/src/constants/actionTypes/modelActionTypes.js | JavaScript | mit | 334 |
'use strict';
exports.ContainerBuilder = require('./CqrsContainerBuilder');
exports.EventStream = require('./EventStream');
exports.CommandBus = require('./CommandBus');
exports.EventStore = require('./EventStore');
exports.AbstractAggregate = require('./AbstractAggregate');
exports.AggregateCommandHandler = require... | snatalenko/node-cqrs | src/index.js | JavaScript | mit | 953 |
<!DOCTYPE html>
<html><head>
<script type="text/javascript" src="lightgl.js"></script>
<script type="text/javascript" src="csg.js"></script>
<script type="text/javascript" src="openjscad.js"></script>
<script type="text/javascript" src="braille.jscad" charset="utf-8"></script>
<script type="text/javascript" src="jquer... | v01pe/Text2Braille3d | index.html | HTML | mit | 3,907 |
# Pull base image with batteries
FROM buildpack-deps:jessie
MAINTAINER EngageNExecute code@engagenexecute.com
# Install packages.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
locales \
python-dev \
cmake \
libpq-dev \
python-pip \
git-... | EngageNExecute/opencv-python2 | Dockerfile | Dockerfile | mit | 649 |
'use strict';
var _ = require('./underscore-mixins.js');
var fnToNode = new Map();
exports.load = function (nodes, prefix) {
let uuid = require('uuid');
if (prefix != null && prefix.length > 0) {
prefix = prefix + ':';
} else {
prefix = '';
}
_(nodes).forEach(function (fn, name... | Alex-D/one-gulp | lib/dag.js | JavaScript | mit | 8,407 |
Text Override
===
v.2.8.4
by: Matthew D. Jordan
### About
A simple interface to modify a dimension's text override value directly. It even features shortcuts for frequently used overrides. Clear a text override by entering an empty string at the command line. If you want to use a chuck of text that includes space c... | mdjordan/text-override | readme.md | Markdown | mit | 1,345 |
#!/bin/sh
#
# MediaWiki Setup Script
#
# This script will install and configure MediaWiki on
# an Ubuntu 14.04 droplet
export DEBIAN_FRONTEND=noninteractive;
# Generate root and wordpress mysql passwords
rootmysqlpass=`dd if=/dev/urandom bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev | tr -dc 'a-zA-Z0... | digitalocean/do_user_scripts | Ubuntu-14.04/cms/mediawiki.sh | Shell | mit | 1,955 |
# Zensible Mongo
Extension library to simplify working with mongo, it uses a builder pattern approach to performing calls to the mongo db, this allows for specific type of calls to be stored.
# Motivation
We all had to perform simple mongo actions but because of the mindboogling poor api of the offical mongo driver ... | trustpilot/ZensibleMongo | README.md | Markdown | mit | 3,604 |
@echo off
ipython notebook Numba_Demo_002.ipynb
ipython nbconvert Numba_Demo_002.ipynb --to slides --post serve
pause | rressi/MyNotebooks | Numba_Demo_002.bat | Batchfile | mit | 117 |
import { connect } from 'react-redux';
import Main from './Main';
import * as userActions from '../../state/user/userActions';
const mapStateToProps = (state, ownProps) => {
return {
activeTab: ownProps.location.pathname.split('/')[2]
};
};
const mapDispatchToProps = (dispatch) => {
return {
getUserData... | GerManson/bodymass | src/dashboard/components/Main/MainContainer.js | JavaScript | mit | 440 |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MembersComponent } from './members/members.component';
import { SeatingMapComponent } from './seating-map/seating-map.component';
const routes: Routes = [
{
path: 'members',
component: MembersComponent... | pedrorohr/crescer-cwi | src/app/app-routing.module.ts | TypeScript | mit | 589 |
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale /usr/share/fonts/TTF
/usr/bin/mkfontdir /usr/share/fonts/TTF
/usr/bin/mkfontscale /usr/share/fonts/OTF
/usr/bin/mkfontdir /usr/share/fonts/OTF
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi
| panosmdma/SlackOnly-SlackBuilds | system/linux-libertine-fonts/doinst.sh | Shell | mit | 301 |
(function(angular) {
'use strict';
angular
.module('jstube.chromeExtensionCleaner.popup')
.directive('jstubeNavbar', jstubeNavbar);
function jstubeNavbar() {
return {
restrict: 'E',
templateUrl: 'nav/_navbar.html',
controller: 'NavbarController',
... | dayanand-saraswati/chrome-extension-cleaner | chromeExtensionCleaner/app/popup/nav/navbarDirective.js | JavaScript | mit | 389 |
// Just re-export everything from the other files
export * from './base-table-name';
export * from './compound-constraint';
export * from './constraint';
export * from './constraint-type';
export * from './default-value';
export * from './error-response';
export * from './filter-operation';
export * from './filter';
e... | mattbdean/Helium | common/api/index.ts | TypeScript | mit | 723 |
package com.dranawhite.mybatis.handler;
import com.alibaba.fastjson.JSON;
import com.dranawhite.mybatis.model.Address;
import com.dranawhite.mybatis.model.FullAddress;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;
import org.apache.iba... | dranawhite/test-java | test-framework/test-mybatis/src/main/java/com/dranawhite/mybatis/handler/FullAddressJsonHandler.java | Java | mit | 1,582 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="ht... | user-tony/photon-rails | lib/assets/css/css_compiled/@{photonImagePath}plugins/elrte/js/plugins/prettify/js/plugins/prettify/css/css_compiled/css/css_compiled/photon-min.css-v1.1.html | HTML | mit | 17,803 |
from util.tipo import tipo
class S_PARTY_MEMBER_INTERVAL_POS_UPDATE(object):
def __init__(self, tracker, time, direction, opcode, data):
print(str(type(self)).split('.')[3]+'('+str(len(data))+'): '+ str(data.get_array_hex(1))[1:-1])
| jeff-alves/Tera | game/message/unused/S_PARTY_MEMBER_INTERVAL_POS_UPDATE.py | Python | mit | 246 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... | mind0n/hive | Frontend/demo/dist/demo.bundle.js | JavaScript | mit | 281,070 |
export hom, hom_check
"""
`hom_check(G,H,d)` checks if the dictionary `d` is a graph homomorphism
from `G` to `H`.
"""
function hom_check(G::SimpleGraph, H::SimpleGraph, d::Dict)::Bool
for e in G.E
v, w = e
x = d[v]
y = d[w]
if !H[x, y]
return false
end
end
... | scheinerman/SimpleGraphAlgorithms.jl | src/hom.jl | Julia | mit | 1,166 |
"""Auto-generated file, do not edit by hand. BG metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_BG = PhoneMetadata(id='BG', country_code=359, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[23567]\\d{5,7}|[489]\\d{6,8}', possible... | ayushgoel/FixGoogleContacts | phonenumbers/data/region_BG.py | Python | mit | 3,204 |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | cedar-renjun/RemoteControl-Car | App/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/DeviceControlActivity.java | Java | mit | 25,314 |
package tasks
// This file is generated by methodGenerator.
// DO NOT MOTIFY THIS FILE.
import (
"net/url"
"github.com/kawaken/go-rtm/methods"
)
// AddTags returns "rtm.tasks.addTags" method instance.
func AddTags(timeline string, listID string, taskseriesID string, taskID string, tags string) *methods.Method {
... | kawaken/go-rtm | methods/tasks/add_tags.go | GO | mit | 582 |
require('babel-polyfill');
/* eslint-disable */
// Webpack config for creating the production bundle.
var path = require('path');
var webpack = require('webpack');
var CleanPlugin = require('clean-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var strip = require('strip-loader');
va... | chuson1996/frontend-advisor | webpack/prod.config.js | JavaScript | mit | 3,197 |
from itertools import product
import numpy as np
from sympy import And
import pytest
from conftest import skipif, opts_tiling
from devito import (ConditionalDimension, Grid, Function, TimeFunction, SparseFunction, # noqa
Eq, Operator, Constant, Dimension, SubDimension, switchconfig,
... | opesci/devito | tests/test_dimension.py | Python | mit | 47,982 |
App.SubPhotoInstance = DS.Model.extend({
width: DS.attr('number'),
height: DS.attr('number'),
url: DS.attr('string'),
type: 'sub_photo_instance'
});
| Mause/tumblr-ember | src/js/app/models/photo_model/sub_photo_instance_model.js | JavaScript | mit | 157 |
require "sendgrid-parse/version"
require "sendgrid-parse/encodable_hash"
| robforman/sendgrid-parse | lib/sendgrid-parse.rb | Ruby | mit | 73 |
"""Kytos SDN Platform."""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| kytos/kytos-utils | kytos/__init__.py | Python | mit | 102 |
finApp.directive('brief', function () {
return {
restrict: 'E',
templateUrl: 'views/directives/brief.html',
controller: 'BriefController',
controllerAs: 'bfc'
};
}); | ferpsanta/FinWallet | app/js/directives/brief.js | JavaScript | mit | 185 |
//
// XCPreferenceController.h
// XCRegex
//
// Created by alexiuce on 2017/6/22.
// Copyright © 2017年 zhidier. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface XCPreferenceController : NSWindowController
@end
| Alexiuce/XCRegex | XCRegex/PreferenceController/XCPreferenceController.h | C | mit | 237 |
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace p_1
{
class Spritebatch
{
public static void DrawSprite(Texture2D texture, RectangleF rectangle)
{
DrawSprite(texture, new Vector2(rectangle.X, rectangle.Y), new Vector2(rectangle.Width / texture.Width, rectangle.Height / texture.Height), Color.White, Vect... | doshaq/Dosha_Engine | SpriteBatch.cs | C# | mit | 2,305 |
describe("grid-columns", function() {
function createSuite(buffered) {
describe(buffered ? "with buffered rendering" : "without buffered rendering", function() {
var defaultColNum = 4,
totalWidth = 1000,
grid, view, colRef, store, column;
function spy... | san4osq/bindformext | ext/classic/classic/test/specs/grid/grid-columns.js | JavaScript | mit | 120,088 |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pigame.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the
... | MoonCheesez/stack | PiGame/pigame/manage.py | Python | mit | 804 |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class IBConnection, NSSet, NSString;
@interface IBDragConnectionContext : NSObject
{
NSString *connectionName;
long long relationshipType;
NSStri... | wczekalski/Distraction-Free-Xcode-plugin | Archived/v1/WCDistractionFreeXcodePlugin/Headers/PlugIns/IDEInterfaceBuilderKit/IBDragConnectionContext.h | C | mit | 1,348 |
/*
* Copyright 2011 Matt Crinklaw-Vogt
*
* 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, publ... | tantaman/commons | src/examples/java/com/tantaman/commons/examples/ParallelForDemo.java | Java | mit | 2,605 |
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" ... | dyno/dyno.github.io | _layouts/default.html | HTML | mit | 1,691 |
<?php
namespace Akamon\OAuth2\Server\Domain\Service\Token\TokenGranter;
use Akamon\OAuth2\Server\Domain\Exception\OAuthError\GrantTypeNotFoundOAuthErrorException;
use Akamon\OAuth2\Server\Domain\Exception\OAuthError\UnauthorizedClientForGrantTypeOAuthErrorException;
use Akamon\OAuth2\Server\Domain\Exception\OAuthErro... | Akamon/oauth2-server | src/Akamon/OAuth2/Server/Domain/Service/Token/TokenGranter/TokenGranterByGrantType.php | PHP | mit | 2,338 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-safechecker: 6 m 37 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.05.0-2.0.6/released/8.8.1/metacoq-safechecker/1.0~alpha+8.8.html | HTML | mit | 10,957 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jmlcoq: 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/jmlcoq/8.13.0.html | HTML | mit | 7,120 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>propcalc: 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.03.0-2.0.5/released/8.6/propcalc/8.9.0.html | HTML | mit | 7,394 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>karatsuba: 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/released/8.7.1+1/karatsuba/8.6.0.html | HTML | mit | 6,932 |
package com.flockinger.spongeblogSP.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.A... | daflockinger/spongeblogSP | src/main/java/com/flockinger/spongeblogSP/config/SwaggerConfig.java | Java | mit | 1,216 |
---
title: "Does detecting a Minimally Conscious State in the ICU matter ?"
date: 2017-11-22 00:00:00
categories: [Publi]
tags: [Disorders of Consciousness, ICU, Consciousness, MyPublications]
---
Our paper entitled **"Survival and consciousness recovery are better in the minimally conscious state than in the veget... | brohaut/brohaut.github.io | _posts/2017-11-22-Article-MCS_Prognosis.markdown | Markdown | mit | 2,374 |
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-exp... | RayOconnor/BetterMe | public/views/admin/templates/admin.view.client.html | HTML | mit | 2,897 |
import {keccak256, bufferToHex} from "ethereumjs-util"
export default class MerkleTree {
constructor(elements) {
// Filter empty strings and hash elements
this.elements = elements.filter(el => el).map(el => keccak256(el))
// Deduplicate elements
this.elements = this.bufDedup(this.eleme... | livepeer/protocol | utils/merkleTree.js | JavaScript | mit | 3,202 |
//
// peas.js
//
// tree data structure in javascript
//
//////////////////////////
var peas = function() {
// "sub" here is used as an object container for
// operations related to sub nodes.
// Each pea node will have a "sub" property
// with an instance of "sub"
var sub = function() {}
// the current node... | nzonbi/peas.js | peas.js | JavaScript | mit | 4,109 |
<!DOCTYPE html><html><head><meta charset="utf-8"><title>Untitled Document</title><style>/*
* HTML5 ✰ Boilerplate
*
... | gizmhail/iNoco | iNoco/TestNoco/oss.html | HTML | mit | 118,441 |
using System;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Stealer
{
public class Spy
{
public string StealFieldInfo(string className, params string[] fieldsNames)
{
var sb = new StringBuilder();
sb.AppendLine($"Class under investigation: {c... | BlueDress/School | C# OOP Advanced/Reflection/Stealer/Spy.cs | C# | mit | 857 |
from .. import Provider as CompanyProvider
class Provider(CompanyProvider):
formats = (
"{{last_name}} {{company_suffix}}",
"{{last_name}} {{last_name}} {{company_suffix}}",
"{{large_company}}",
)
large_companies = (
"AZAL",
"Azergold",
"SOCAR",
"So... | joke2k/faker | faker/providers/company/az_AZ/__init__.py | Python | mit | 1,274 |
/*
* engine.h
*
* Created on: Mar 9, 2017
* Author: sushil
*/
#ifndef ENGINE_H_
#define ENGINE_H_
class InputMgr;
#include <GfxMgr.h>
#include <inputMgr.h>
#include <EntityMgr.h>
#include <gameMgr.h>
#include <Types.h>
#include <UiMgr.h>
#include <SoundMgr.h>
#include <Grid.h>
class EntityMgr;
class Eng... | dissolete/Cries | inc/engine.h | C | mit | 900 |
import formatPhoneNumber, { formatPhoneNumberIntl } from './formatPhoneNumberDefaultMetadata'
describe('formatPhoneNumberDefaultMetadata', () => {
it('should format phone numbers', () => {
formatPhoneNumber('+12133734253', 'NATIONAL').should.equal('(213) 373-4253')
formatPhoneNumber('+12133734253', 'INTERNATIONAL... | halt-hammerzeit/react-phone-number-input | source/formatPhoneNumberDefaultMetadata.test.js | JavaScript | mit | 433 |
import React from 'react';
import { withStyles } from '@material-ui/core/styles';
import { green } from '@material-ui/core/colors';
import Radio, { RadioProps } from '@material-ui/core/Radio';
import RadioButtonUncheckedIcon from '@material-ui/icons/RadioButtonUnchecked';
import RadioButtonCheckedIcon from '@material-u... | kybarg/material-ui | docs/src/pages/components/radio-buttons/RadioButtons.tsx | TypeScript | mit | 1,939 |
//
// ViewController.h
// Examples
//
// Created by Tim Moose on 2/11/14.
// Copyright (c) 2014 Tractable Labs. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <TLIndexPathTools/TLTableViewController.h>
@interface SelectorTableViewController : TLTableViewController
@end
| wtmoose/TuneKit | Examples/Examples/SelectorTableViewController.h | C | mit | 286 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>app/helpers/cars_helper.rb - C0 code coverage information</title>
<style type='text/css'>body { background-color: ... | jared/ygo_classic | coverage/app-helpers-cars_helper_rb.html | HTML | mit | 13,184 |
class JeraPushGenerator < Rails::Generators::NamedBase
desc "This generator creates an initializer file at config/initializers"
source_root File.expand_path("../templates", __FILE__)
MissingModel = Class.new(Thor::Error)
def initializer_file
template 'jera_push.rb', 'config/initializers/jera_push.rb'
... | jera/jera-push | lib/generators/jera_push/jera_push_generator.rb | Ruby | mit | 1,499 |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Thu Apr 15 10:34:57 CEST 2021 -->
<title>Uses of Class com.wrapper.spotify.model_objects.miscellaneous.CurrentlyPlaying.Builder (Spotify Web API Java Client 6.5.3 API)</title>
<meta http-equiv="Content-Type" content="text/ht... | thelinmichael/spotify-web-api-java | docs/com/wrapper/spotify/model_objects/miscellaneous/class-use/CurrentlyPlaying.Builder.html | HTML | mit | 12,430 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 doriancoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... | doriancoin/doriancoin-v3 | src/wallet.cpp | C++ | mit | 52,573 |
CREATE TABLE SM_STATE_DEFINITION(
STATE_ID NUMBER NOT NULL,
WORKFLOW_ID NUMBER NOT NULL,
STATE_NAME VARCHAR2(256) NOT NULL,
EMAIL_TO VARCHAR2(2048),
PRIMARY KEY(STATE_ID),
FOREIGN KEY(WORKFLOW_ID) REFERENCES SM_WORKFLOW_DEFINITION(WORKFLOW_ID)
);
CREATE UNIQUE INDEX I_SM_STATE_DE... | SasiAR/state-manager | resources/database-schema/required_tables.sql | SQL | mit | 1,656 |
<?php
/*
Safe sample
input : get the field UserData from the variable $_POST
sanitize : settype (float)
construction : use of sprintf via a %u with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this ... | stivalet/PHP-Vulnerability-test-suite | Injection/CWE_89/safe/CWE_89__POST__CAST-func_settype_float__select_from_where-sprintf_%u_simple_quote.php | PHP | mit | 1,590 |
var final_transcript = '';
var recognizing = false;
//var socket = io.connect('http://collab.di.uniba.it:48922');//"http://collab.di.uniba.it/~iaffaldano:48922"
//socket.emit('client_type', {text: "Speaker"});
if ('webkitSpeechRecognition' in window) {
var recognition = new webkitSpeechRecognition();
recognitio... | collab-uniba/scriba | client/src/js/transcriptor.js | JavaScript | mit | 2,613 |
/* eslint-disable promise/always-return */
import { runAuthenticatedQuery, runQuery } from "schema/v1/test/utils"
describe("UpdateCollectorProfile", () => {
it("updates and returns a collector profile", () => {
/* eslint-disable max-len */
const mutation = `
mutation {
updateCollectorProfile(in... | mzikherman/metaphysics-1 | src/schema/v1/me/__tests__/update_collector_profile.test.js | JavaScript | mit | 2,055 |
module.exports = require('./src/tracking');
| JoshuaTang/jstracking | index.js | JavaScript | mit | 44 |
<!DOCTYPE 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">
<meta name="description" content="">
<meta name="keywords" content=" ">
<title>Subscribe to Messaging Events | LivePerson Technical Documentation</... | LivePersonInc/dev-hub | content7/consumer-int-msg-sub-events.html | HTML | mit | 175,167 |
<?php
namespace Sellsy\Tests\Sellsy\Criteria;
use Sellsy\Criteria\CriteriaInterface;
use Sellsy\Criteria\EmptyCriteria;
/**
* Class EmptyCriteriaTest
*
* @package Sellsy\Tests\Sellsy\Criteria
*/
class EmptyCriteriaTest extends \PHPUnit_Framework_TestCase
{
/**
* @return EmptyCriteria
*/
public ... | mehdi-ghezal/sellsy-api | tests/Sellsy/Criteria/EmptyCriteriaTest.php | PHP | mit | 1,225 |
/**
* Created by Administrator on 2017/3/11.
*/
public class ReverseWordsInSequence {
public void reverseSequence(String str) {
if (str == null) return;
String[] strArray = str.split(" ");
StringBuilder sb = new StringBuilder();
for (int i = strArray.length-1; i >= 0; --i)
... | RudyZH/Aim2Offer | 042_ReverseWordsInSequence.java | Java | mit | 1,796 |
<?php
class Autoreportemail_model extends CI_Model {
public function __construct()
{
parent::__construct();
}
public function get_milist($where = array())
{
$this->db->select('*');
$this->db->where($where);
$query = $this->db->get('autoreport_email');
re... | garpepi/Mini-HRM | application/models/Autoreportemail_model.php | PHP | mit | 2,189 |
---
layout: page
title: Incoming webhooks
permalink: /incoming_webhook
order: 4
headings:
- title: Posting a message with Incoming Webhooks
---
## Posting a message with Incoming Webhooks
[Incoming webhooks](https://api.slack.com/incoming-webhooks) are an easy way to send notifications
to a Slack channel with a m... | brianv0/sqrbot | node_modules/@slack/client/docs/_pages/incoming_webhook.md | Markdown | mit | 809 |
/*
Configures webpack to build only assets required
for integration environments.
*/
const webpack = require('webpack');
const merge = require('webpack-merge');
const { source, sourceAll } = require('../lib/path-helpers');
const ciBuildWorkflow = require('./workflow/build.ci');
const { entries } = require(source... | connectivedx/fuzzy-chainsaw | build/webpack/webpack.config.build.ci.js | JavaScript | mit | 671 |
/**
* A null-safe function to repeat the source string the desired amount of times.
* @private
* @param {String} source
* @param {Number} times
* @returns {String}
*/
function _repeat (source, times) {
var result = "";
for (var i = 0; i < times; i++) {
result += source;
}
return result;
... | ascartabelli/lamb | src/privates/_repeat.js | JavaScript | mit | 347 |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CTEArmorRicochet | demofile</title>
<meta name="description" content="Documentation for demofile">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel=... | saul/demofile | docs/interfaces/_sendtabletypes_.ctearmorricochet.html | HTML | mit | 6,739 |
(function(d,a){function b(a,b){var g=a.nodeName.toLowerCase();if("area"===g){var g=a.parentNode,i=g.name;if(!a.href||!i||g.nodeName.toLowerCase()!=="map")return!1;g=d("img[usemap=#"+i+"]")[0];return!!g&&e(g)}return(/input|select|textarea|button|object/.test(g)?!a.disabled:"a"==g?a.href||b:b)&&e(a)}function e(a){return!... | kosmas58/compass-jquery-plugin | templates/jquery/jquery-ui.min.js | JavaScript | mit | 222,205 |
/*
* jQuery Cryptography Plug-in
* version: 1.0.0 (24 Sep 2008)
* copyright 2008 Scott Thompson http://www.itsyndicate.ca - scott@itsyndicate.ca
* http://www.opensource.org/licenses/mit-license.php
*
* A set of functions to do some basic cryptography encoding/decoding
* I compiled from some javascripts I ... | ProJobless/nyus | themes/javascript/compressed/jquery/plugins/crypt.js | JavaScript | mit | 8,625 |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Handles backports of the standard library's `fractions.py`.
The fractions module in 2.6 does not handle being instantiated using a
float and then calculating an approximate fraction based on that.
This functionality is required by the FITS unit format... | piotroxp/scibibscan | scib/lib/python3.5/site-packages/astropy/utils/compat/fractions.py | Python | mit | 568 |
/* eslint-disable func-names */
const {
sampleUrls,
shortSampleUrls,
E2E_WAIT_TIME: WAIT_TIME,
E2E_PRESENT_WAIT_TIME: PRESENT_WAIT_TIME
} = require('../e2e_helper');
module.exports = {
after(browser) {
browser.end();
},
'Go to top page': browser => {
browser.page.index().navigate().waitForEleme... | unblee/jukebox | e2e/tests/index_test.js | JavaScript | mit | 3,824 |
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
}
+function ($) {
'use strict';
var version = $.fn.jquery.split(' ')[0].split('.')
if ((v... | austinxiao-ucsd/cogs120-webapp | js/bootstrap.js | JavaScript | mit | 71,641 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.