repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
playwolsey/Robin | config/express.js | 1492 | /**
* @desc express config
* @author awwwesssooooome <chengpengcp9@gmail.com>
* @date 2015-09-21
*/
'use strict';
/**
* Module dependencies
*/
import express from 'express';
import cookieParser from 'cookie-parser';
import bodyParser from 'body-parser';
import favicon from 'serve-favicon';
import compression fr... | mit |
Coding/Coding-iPad | CodingForiPad/Models/COFolder.h | 2259 | //
// COFolder.h
//
#import <Foundation/Foundation.h>
#import <Mantle/Mantle.h>
#import "COUser.h"
@class Coding_DownloadTask;
typedef NS_ENUM(NSInteger, DownloadState){
DownloadStateDefault = 0,
DownloadStateDownloading,
DownloadStatePausing,
DownloadStateDownloaded
};
@interface COFolder : MTLMode... | mit |
koolkode/async | src/Concurrent/Filesystem/PoolFilesystem.php | 9372 | <?php
/*
* This file is part of KoolKode Async.
*
* (c) Martin Schröder <m.schroeder2007@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace KoolKode\Async\Concurrent\Filesystem;
use ... | mit |
theidealist/developerDebugDisplay | DisplayObjects/Lines.h | 1170 | /////////////////////////////////////////////////////////////////
/// @file Lines.h
/// @author Chris L Baker (clb) <chris@chimail.net>
/// @date 2014.05.20
/// @brief Provide a simple interface to draw a line
///
/// @attention Copyright (C) 2014
/// @attention All rights reserved
////////////////////... | mit |
ap--/python-seabreeze | src/libseabreeze/src/api/seabreezeapi/ProtocolFamilies.cpp | 3549 | /***************************************************//**
* @file ProtocolFamilies.cpp
* @date February 2012
* @author Ocean Optics, Inc.
*
* This provides a way to get references to different kinds
* of features (e.g. spectrometer, TEC) generically.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean ... | mit |
alexcstark/rubocop | spec/rubocop/cop/rails/index_true_spec.rb | 2354 | # frozen_string_literal: true
describe RuboCop::Cop::Rails::IndexTrue, :config do
subject(:cop) { described_class.new(config) }
let(:source) do
<<-RUBY
class ExampleMigration < ActiveRecord::Migration
def change
#{code}
end
end
RUBY
end
shared_examples :accepts d... | mit |
zhangmingkai4315/DataVis | d3js/event-with-tooltips.html | 1329 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="../node_modules/d3/d3.js">
</script>
<style media="screen">
</style>
<title>D3.JS</title>
<style type="text/css">
/* rect:hover{
fill:orange;
}
rect{
-moz-transition:all 0.3s;
... | mit |
rlazoti/exemplos-livro-redis | src/main/java/br/com/casadocodigo/redis/capitulo4/exemplo02/DefinirTempoExpiracaoDeSessaoDoUsuario.java | 508 | package br.com.casadocodigo.redis.capitulo4.exemplo02;
import redis.clients.jedis.Jedis;
public class DefinirTempoExpiracaoDeSessaoDoUsuario {
public static void main(String[] args) {
String codigoDoUsuario = "1962";
String chave = "usuario:" + codigoDoUsuario + ":sessao";
int trintaMinut... | mit |
42trees/godash | buildtemplates.sh | 68 | #!/bin/bash
handlebars `ls widgets/*.handlebars` -f js/templates.js
| mit |
emayk/ics | src/Emayk/Ics/Repo/Factory/Order/Status.php | 880 | <?php
/**
* Copyright (C) 2013 Emay Komarudin
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | mit |
grdt/foxlot | griny-template/multipage/price.html | 17979 | <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | mit |
lordmos/blink | Source/core/html/shadow/HTMLShadowElement.cpp | 3228 | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | mit |
ericclemmons/bookshelf-manager | test/models/type.js | 193 | var Type = function(Bookshelf) {
return Bookshelf.Model.extend({
tableName: 'types',
model: function() {
return this.belongsTo('model');
}
});
};
module.exports = Type;
| mit |
thanhnguyen12/Word2Vec | src/main/java/com/medallia/word2vec/SearcherImpl.java | 5469 | package com.medallia.word2vec;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
import com.google.common.primitives.Doubles;
import com.medallia.word2vec.util.Pair;
import java.nio.DoubleB... | mit |
synergy-software/synergy.framework | Contracts/Synergy.Contracts/Requirements/BusinessRuleViolationException.cs | 368 | using System;
namespace Synergy.Contracts.Requirements
{
public class BusinessRuleViolationException : Exception
{
public Business.Requirement Requirement { get; }
public BusinessRuleViolationException(string message, Business.Requirement requirement) : base(message)
{
thi... | mit |
pdehaan/grunt-mocha-webdriver | tasks/lib/mocha-runner.js | 1479 | var Mocha = require('mocha');
var path = require('path');
var Module = require('module');
var generateSauceReporter = require('./mocha-sauce-reporter');
var fs = require('fs');
var path = require('path');
module.exports = function (opts, fileGroup, browser, grunt, onTestFinish) {
//browserTitle means we're on a SL t... | mit |
sdl/groupsharekit.net | Sdl.Community.GroupShareKit/Helpers/ExpressionFieldValue.cs | 1341 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sdl.Community.GroupShareKit.Helpers
{
public class ExpressionFieldValue
{
public string Name { get; set; }
public string Value { get; set; }
public string Opera... | mit |
portchris/NaturalRemedyCompany | src/app/code/community/Ess/M2ePro/Model/Magento/Quote/Store/Configurator.php | 12176 | <?php
/*
* @author M2E Pro Developers Team
* @copyright M2E LTD
* @license Commercial use is forbidden
*/
class Ess_M2ePro_Model_Magento_Quote_Store_Configurator
{
/** @var $_quote Mage_Sales_Model_Quote */
protected $_quote = null;
/** @var $proxy Ess_M2ePro_Model_Order_Proxy */
protecte... | mit |
WladimirSidorenko/SentiLex | scripts/find_prj_line.py | 8625 | #!/usr/bin/env python
##################################################################
# Imports
from __future__ import print_function
from random import random
import codecs
import numpy as np
import sys
##################################################################
# Variables and Constants
ENCODING = "utf-8... | mit |
James226/persistent-planet | PersistentPlanet/WindowFocusChangedEvent.cs | 126 | namespace PersistentPlanet
{
public class WindowFocusChangedEvent
{
public bool HasFocus { get; set; }
}
} | mit |
yhs-968/yhs-968.github.io | _includes/footer.html | 943 | <footer class="site-footer">
<div class="wrapper">
<!--
<h2 class="footer-heading">{{ site.title }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li>{{ site.title }}</li>
<li><a href="mailto:{{ site.email }}">{{ site.... | mit |
ngageoint/geopackage-core-java | docs/docs/api/mil/nga/geopackage/style/class-use/Color.html | 5248 | <!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.13) on Thu Feb 03 14:46:53 MST 2022 -->
<title>Uses of Class mil.nga.geopackage.style.Color (GeoPackage Core 6.2.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="20... | mit |
DreMZ/PS | mods/duskmod/moves.js | 18661 | exports.BattleMovedex = {
//-----------------------------------------------------------------------------------------------
//Misc changes
//-----------------------------------------------------------------------------------------------
"shellsmash": {
inherit: true,
boosts: {
... | mit |
Melindrea/mhcm | app/config/workbench.php | 987 | <?php
return array(
/*
|--------------------------------------------------------------------------
| Workbench Author Name
|--------------------------------------------------------------------------
|
| When you create new packages via the Artisan "workbench" command your
| name is needed ... | mit |
brandenbyers/presentation-kombucha | index.html | 8177 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kombucha</title>
<meta name="description" content="Learn how to make kombucha.">
<meta name="author" content="Branden Byers">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-styl... | mit |
keyanmca/wowzarestapiclient | src/WowzaApplicationSettings.php | 417 | <?php
namespace WowzaRestApi;
class WowzaApplicationSettings
{
public $name;
public $modules = array();
public function __construct($object = null)
{
if (!is_null($object) && is_object($object)) {
$this->modules = array();
foreach ($object->modules->moduleList as $modul... | mit |
Rawrisaur/comp4711asn1 | application/models/Stocks.php | 394 | <?php
/*
* 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.
*/
/**
* Description of Stocks
*
* @author rjgodia
*/
class Stocks extends MY_Model
{
//put your code here
function __... | mit |
EDDYCJY/aliyun-api-gateway-sdk | src/ApiService.php | 3688 | <?php
namespace ApiGateway;
use ApiGateway\ApiModel;
use ApiGateway\Config\BaseConfig;
use ApiGateway\Config\ArrayConfig;
use ApiGateway\ClassSerialize;
use ApiGateway\Constants;
use ApiGateway\Auth\Signature;
use ApiGateway\Http\HttpHelper;
use ApiGateway\Exception\ServerException;
/**
* Api Service
... | mit |
jnrbsn/cfpg | cfpg.php | 11278 | <?php
/**
* Carpus Friendly Password Generator.
*
* The Carpus Friendly Password Generator uses a quantitative typing effort model to generate secure
* passwords that are measurably easy-to-type (a.k.a. carpus friendly) on standard QWERTY keyboards.
* Typing effort of the generated passwords is calculated based on... | mit |
KimSiHun/codility | src/org/shkim/codility/lesson/countingelement/FrogRiverOne.java | 437 | package org.shkim.codility.lesson.countingelement;
public class FrogRiverOne
{
public static int solution(int X, int A[])
{
int step = X;
int temp[] = new int[step];
for (int i = 0; i < temp.length; i++)
{
temp[i] = i+1;
}
for (int i = 0; i < A.length; i++)
{
if (A[i] > X || temp[A[i]-1] != 0... | mit |
astex/peanuts.admin | static/main.js | 2817 | // Admin main
//
// This is the main execution loop of the admin panel. It provides basic
// configuration, routing, and default imports.
require.config({
paths: {
'jquery': 'lib/jquery-1.10.2.min',
'underscore': 'lib/underscore',
'backbone': 'lib/backbone',
'require-css': 'lib/require-css.min',
... | mit |
loganbraga/hogwash | src/main/java/fr/loganbraga/hogwash/Generator/Generator.java | 102 | package fr.loganbraga.hogwash.Generator;
public interface Generator {
public String generate();
}
| mit |
plotly/plotly.py | packages/python/plotly/plotly/validators/bar/error_y/_arrayminussrc.py | 429 | import _plotly_utils.basevalidators
class ArrayminussrcValidator(_plotly_utils.basevalidators.SrcValidator):
def __init__(
self, plotly_name="arrayminussrc", parent_name="bar.error_y", **kwargs
):
super(ArrayminussrcValidator, self).__init__(
plotly_name=plotly_name,
pa... | mit |
alphabetum/saasy | vendor/rails/activerecord/lib/active_record/associations.rb | 115997 | module ActiveRecord
class HasManyThroughAssociationNotFoundError < ActiveRecordError #:nodoc:
def initialize(owner_class_name, reflection)
super("Could not find the association #{reflection.options[:through].inspect} in model #{owner_class_name}")
end
end
class HasManyThroughAssociationPolymorphicE... | mit |
matiasinsaurralde/loudp2p | README.md | 3400 |
# loudp2p
[![MIT License][license-image]][license-url]
[](https://godoc.org/github.com/matiasinsaurralde/loudp2p)
[](https://app.wercke... | mit |
csinva/csinva.github.io | _notes/math/optimization.md | 17292 | ---
layout: notes
title: Optimization
category: math
typora-copy-images-to: ../assets
---
{:toc}
# convex optimization
## convex sets (boyd 2)
- *affine set*: $x_1, x_2 \in C, \theta \in \mathbb{R} \implies \theta x_1 + (1 - \theta) x_2 \in C$
- *affine hull*: aff C = {$\sum \theta_i x_i | x_i \in C, \sum \theta_... | mit |
artsy/emission | src/lib/relay/middlewares/__tests__/cacheMiddleware-tests.ts | 5547 | jest.mock("../../../NativeModules/GraphQLQueryCache")
import * as _cache from "../../../NativeModules/GraphQLQueryCache"
const cache: jest.Mocked<typeof _cache> = _cache as any
import { NetworkError } from "lib/utils/errors"
import { cacheMiddleware } from "../cacheMiddleware"
describe("cacheMiddleware", () => {
c... | mit |
rentianhua/tsf | shuipf/Application/Member/Controller/AccountController.class.php | 6831 | <?php
// +----------------------------------------------------------------------
// | ShuipFCMS 帐户管理
// +----------------------------------------------------------------------
// | Copyright (c) 2012-2014 http://www.shuipfcms.com, All rights reserved.
// +---------------------------------------------------------------... | mit |
mcaliman/dochi | src/org/docbook/ns/docbook/Itemizedlist.java | 33730 | //
// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802
// Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine.
// Gene... | mit |
kentcdodds/angular-formly | src/providers/formlyConfig.js | 8628 | import angular from 'angular-fix';
import utils from '../other/utils';
export default formlyConfig;
// @ngInject
function formlyConfig(formlyUsabilityProvider, formlyErrorAndWarningsUrlPrefix, formlyApiCheck) {
const typeMap = {};
const templateWrappersMap = {};
const defaultWrapperName = 'default';
const _t... | mit |
leleuvilela/controlx | application/config/database.php | 4527 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... | mit |
advantys/workflowgen-templates | integration/azure/authentication/azure-v1/auth-code-pkce/WorkflowGenExample/containers/HomeContainer.js | 515 | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { HomeComponent as Home } from '../components';
import { ProtectedContainer } from '.';
class HomeContainer extends Component {
render () {
return (
<ProtectedContainer>
<Home user={this.props.user} />
</... | mit |
awillborn/Arabic-Conjugator | spec/past_tense/formI_past_spec.rb | 6446 | # encoding: utf-8
require 'spec_helper'
describe "Form I Past" do
context "regular past" do
it 'conjugates form I regular past' do
verb = Verb.new({root1: "ك", root2: "ت", root3: "ب", form: "1", tense: "past", pronoun: :she})
expect(verb.conjugate).to eq("كتبت")
end
it 'conjugates form I r... | mit |
JMwill/wiki | notebook/tool/spider/meizi_spider/python_spider/meizi/meizi/items.py | 514 | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class MeiziItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
page_num = scrapy.Field()
img_url... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-02-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering_list.rb | 3078 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2018_02_01
module Models
#
# Response for ListPeering API service call retrieves all peerings that
# belong to a... | mit |
HBobird/HBobird.github.io | categories/index.html | 3510 |
<!DOCTYPE HTML>
<html lang="default">
<head>
<meta charset="UTF-8">
<title>categories | 思卓</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
<meta name="author" content="bobird">
<link rel="icon" href="/img... | mit |
afcoin/afcoin | src/irc.cpp | 10514 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "net.h"
#... | mit |
jdguzman/cal_linker | spec/dummy/config/application.rb | 1060 | require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"
Bundler.require(*Rails.groups)
require "cal_linker"
module Dummy
class Ap... | mit |
bysse/nobloat | jsonrpc-dispatch/src/main/java/se/slackers/nobloat/jsonrpc/MethodRegistryImpl.java | 3875 | package se.slackers.nobloat.jsonrpc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import se.slackers.nobloat.jsonrpc.annotation.JsonRpc;
import se.slackers.nobloat.jsonrpc.annotation.JsonRpcNamespace;
import se.slackers.nobloat.jsonrpc.model.MethodRegistration;
import se.slackers.nobloat.jsonrpc.protocol.J... | mit |
btrekkie/reductions | src/com/github/btrekkie/reductions/mario/MarioHorizontalWireGadget.java | 1661 | package com.github.btrekkie.reductions.mario;
import java.util.Arrays;
import java.util.List;
import com.github.btrekkie.reductions.planar.Point;
/** A horizontal wire gadget for MarioProblem, as in IPlanarWireFactory.horizontalWire. */
public class MarioHorizontalWireGadget extends MarioGadget {
/** The height ... | mit |
jiangxiaolin1995/jiangxiaolin1995.github.io | tags/Gulp/index.html | 16315 | <!doctype html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<... | mit |
symfony2forclient/CustomLoginAndResistration | app/cache/dev/twig/da/96/a27dc9be5c9fa346531d80544769230940a893c62a301473c8c8fba3e15e.php | 1979 | <?php
/* TwigBundle:Exception:error.css.twig */
class __TwigTemplate_da96a27dc9be5c9fa346531d80544769230940a893c62a301473c8c8fba3e15e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... | mit |
mccricardo/django_maintenance | django_maintenance/management/commands/maintenance.py | 1052 | """ Command to set maintenance status. """
from django.core.management.base import BaseCommand
import sys
import json
import os
BASE_DIR = os.path.dirname(__file__)
JSON_FILE = os.path.join(BASE_DIR, '../../maintenance_settings.json')
class Command(BaseCommand):
""" Set maintenance status """
@classmethod
... | mit |
thanpolas/idify | README.md | 1958 | # Idify
Get any unique Id format guaranteed, power by the powerfull Redis Set Data Store.
[](http://travis-ci.org/thanpolas/idify)
## Install
Install the module with: `npm install idify --save`
## Documentation
### Initialize Idify
`... | mit |
xianyinuma/totalProject | public/css/login.css | 221 | #login{
width: 30%;
position: absolute;
top: 10%;
left: 35%;
padding: 30px 40px;
background-color: white;
border-radius: 15px;
}
#login button{
margin-top: -25px;
margin-right: -20px;
} | mit |
gillstrom/key-replace | readme.md | 1229 | # key-replace [](https://travis-ci.org/gillstrom/key-replace)
> Replace object keys with [String.prototype.replace](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace)
## Install
```
$ npm inst... | mit |
CajetanP/code-learning | Build Systems/CommandLine/HelloBeatles/src/johnpaul/johnpaul.hpp | 148 |
#ifndef JOHNPAUL_HPP_INCLUDED
#define JOHNPAUL_HPP_INCLUDED
void johnpaul (); // Prints "John, Paul, "
#endif /* ifndef JOHNPAUL_HPP_INCLUDED */
| mit |
KlusterKite/KlusterKite | KlusterKite.NodeManager/KlusterKite.NodeManager.Launcher/Token.cs | 1449 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Token.cs" company="KlusterKite">
// All rights reserved
// </copyright>
// <summary>
// The token response description
// </summary>
// ---------------------------------------... | mit |
art-suite/art-engine | source/Art/Engine/Elements/ShapeChildren/index.js | 245 | // generated by Neptune Namespaces v4.x.x
// file: Art/Engine/Elements/ShapeChildren/index.js
(module.exports = require('./namespace'))
.addModules({
FillElement: require('./FillElement'),
OutlineElement: require('./OutlineElement')
}); | mit |
JonathanxD/CodeAPI | docs/-kores/com.github.jonathanxd.kores.base/-field-access/-builder/name.md | 447 | //[Kores](../../../index.md)/[com.github.jonathanxd.kores.base](../../index.md)/[FieldAccess](../index.md)/[Builder](index.md)/[name](name.md)
# name
[jvm]
Content
open override fun [name](name.md)(value: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [FieldAccess.Builder](i... | mit |
KeitIG/react-keybinding-component | jest.config.js | 323 | module.exports = {
transform: {
'^.+\\.(t|j)sx?$': 'ts-jest'
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
moduleFileExtensions: [
'ts',
'tsx',
'js',
'jsx',
'json',
'node'
],
globals: {
'ts-jest': {
tsConfig: {
jsx: 'react'
}
}
}... | mit |
dpxxdp/segue4 | modules/users/client/config/users.client.routes.js | 2704 | 'use strict';
// Setting up route
angular.module('users').config(['$stateProvider',
function ($stateProvider) {
// Users state routing
$stateProvider
.state('settings', {
abstract: true,
url: '/settings',
templateUrl: 'modules/users/client/views/settings/settings.client.view.htm... | mit |
PracticalTestDrivenDevelopment/Book-API | HelloWorld/HelloWorld/HelloWorldTests.cs | 1633 | using System;
using Xunit;
namespace HelloWorld
{
public class HelloWorldTests
{
[Theory]
[InlineData(12)]
[InlineData(13)]
[InlineData(14)]
[InlineData(15)]
[InlineData(16)]
[InlineData(17)]
[InlineData(18)]
[InlineData(19)]
[Inli... | mit |
shakkun/ss-temp | spec/models/cms/user_spec.rb | 181 | require 'spec_helper'
describe Cms::User do
subject(:model) { Cms::User }
subject(:factory) { :ss_user }
it_behaves_like "mongoid#save"
it_behaves_like "mongoid#find"
end
| mit |
linx4200/1111-prebuy-robber | README.md | 191 | # 1111-prebuy-robber
chrome extension: 双11预售抢购插件 (2015)
实测可用,抢了不少好货,顺便记录一下怎么写插件
PS: "还有机会"抢购功能经测试不可用...
| mit |
allenlinatoc/techbyte | TechByte/Architecture/Usecases/UCNewSystemUser.cs | 5973 | using Guitar32;
using Guitar32.Database;
using Guitar32.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TechByte.Configs;
using TechByte.Values;
namespace TechByte.Architecture.Usecases
{
public class UCNewSystemUser : TechByte.Architecture.Beans.Accounts.Sy... | mit |
uniquecorn/dungeon-crossing | Assets/Scripts/ButtonPro.cs | 3060 | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using NaughtyAttributes;
public class ButtonPro : MonoBehaviour, IPointerClickHandler, IPointerEnterHandler,IPointerExitHandler,IPointerDownHandler,IPointerUpHandler
{
public Graphic[] targetGraphics;
public Gra... | mit |
netcredit/NetCreditHub | src/NetCreditHub.Zero/Data/IZeroDatabaseFactory.cs | 416 | #region Copyright and License
/* @Copyright JONVON(NetCreditHub.COM) 2017. All rights reserved. - 8502090@qq.com */
#endregion
namespace NetCreditHub.Data
{
using Dependency;
using Environment;
public interface IZeroDatabaseFactory : ITransientDependency
{
IDatabase CreateDatabase();
... | mit |
hughsk/snap-lerp | test.js | 1018 | import test from 'tape'
import lerp from './'
test('snap-lerp', t => {
t.equal(lerp(1, 3, 0.5, 0.01), 2)
t.equal(lerp(1, 3, 0.5, 2, false), 3)
t.equal(lerp(1, 3, 0.5, 2, true), 3)
t.equal(lerp(3, 1, 0.5, 0.01), 2)
t.equal(lerp(3, 1, 0.5, 2, false), 1)
t.equal(lerp(3, 1, 0.5, 2, true), 1)
t.equal(lerp(1,... | mit |
walkdianzi/DashengHook | WeChat-Headers/VideoStreamPlayerViewModel.h | 2487 | //
// 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"
#import "AVAssetResourceLoaderDelegate.h"
#import "VideoStreamDownloadLogicDelegate.h"
@class NSMutableArray, NSString, VideoStreamDownloadLogic, VideoStreamI... | mit |
chapmanb/bcbio-nextgen-vm | bcbiovm/gcp/__init__.py | 61 | """Functionality to interact with Google Cloud Platform.
"""
| mit |
neoscoin/neos-core | src/test/README.md | 1201 | # Notes
The sources in this directory are unit test cases. Boost includes a
unit testing framework, and since bitcoin already uses boost, it makes
sense to simply use this framework rather than require developers to
configure some other framework (we want as few impediments to creating
unit tests as possible).
The bu... | mit |
niko-matses/nikomatses.com | deploy.sh | 308 | #!/usr/bin/env sh
set -e
git stash save
gulp --prod
REV=`git rev-parse HEAD`
git checkout gh-pages
git rm -rf .
git checkout master -- .gitignore
mv dist/* . && rm -rf dist # might to be changed if you have hidden files
git add .
git commit -m "deployed $REV"
git push --all
git checkout master
git stash pop | mit |
mgrebenets/fastlane | spaceship/lib/spaceship/connect_api/client.rb | 11093 | require_relative '../client'
module Spaceship
module ConnectAPI
class Client < Spaceship::Client
##
# Spaceship HTTP client for the App Store Connect API.
#
# This client is solely responsible for the making HTTP requests and
# parsing their responses. Parameters should be either na... | mit |
foobarflies/Sylius | src/Sylius/Bundle/MoneyBundle/test/app/AppKernel.php | 1660 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
use Symf... | mit |
garethj-msft/msgraph-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsPiRequest.cs | 1849 | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | mit |
yuweijun/yuweijun.github.io | manpages/man1/perlebcdic.1.html | 85032 | <!DOCTYPE html>
<HTML><head><TITLE>Manpage of PERLEBCDIC</TITLE>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/main.css" type="text/css">
</head>
<body>
<header class="site-header">
<div class="wrap"> <div class="site-title"><a href="/manpages/index.html">linux manpages</a></div>
<div class="site-descrip... | mit |
Polokniko/lambda | README.md | 1256 | A dumb personal discord bot written in [Python](https://www.python.org/) 3.6 using the cogs rewrite version of [discord.py](https://github.com/Rapptz/discord.py/tree/rewrite)
I made this while also learning git and programming, so there may be mistakes
## Usage
If you want to use it, use your own [discord bot ... | mit |
abramhindle/CMPUT404-Web-Mining | d3.html | 3732 | <!DOCTYPE html>
<meta charset="utf-8">
<style>
.node {
font: 11px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.link {
stroke: steelblue;
stroke-opacity: .4;
fill: none;
}
</style>
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
var diameter = 960,
radius = diameter / 2,
in... | mit |
rava-dosa/rava-dosa.github.io | aboutme.md | 922 | ---
layout: page
title: About me
subtitle: Who am I ?
---
My name is Apoorva Kumar. I have pursued my Btech in Computer Science and Engineering from Indian Institute of Kharagpur(2020). And I am always looking for challenging opportunities worth my time, and worth the risk.
### Why I started blogging ?
One of the ... | mit |
Meniny/Meniny.github.io | docs/asciidoc/stylesheets/previews/foundation-lime.html | 91925 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.6.2">
<meta name="author" content="Elias Abel">
<title>Ascii... | mit |
tradewave/tradewave-python | README.md | 957 | [](https://travis-ci.org/tradewave/tradewave-python)
[](https://coveralls.io/r/tradewave/tradewave-python?branch=master)
[;
var createCaption = require('vendors/caption');
var glslify = require('glslify');
var windowSize = new THREE.Vector2(window.innerWidth, window.innerHeight);
var SwapRenderer = require('vendors/swapRenderer'), swapRenderer;
var velocityRenderer, pressureRenderer;
var Solver = require('./flu... | mit |
srpurdy/SharpEdgeCMS | framework_2_2_3/language/it/profiler_lang.php | 839 | <?php
$lang['profiler_database'] = 'DATABASE';
$lang['profiler_controller_info'] = 'CLASS/METHOD';
$lang['profiler_benchmarks'] = 'BENCHMARKS';
$lang['profiler_queries'] = 'QUERIES';
$lang['profiler_get_data'] = 'GET DATA';
$lang['profiler_post_data'] = 'POST DATA';
$lang['profiler_uri_string'] = 'URI STRING';
$lang['p... | mit |
mikeobrien/volta | src/Volta.Tests/Client/run-tests.cmd | 369 | ~results.html-
lib\phantomjs\phantomjs.exe lib/bambino.coffee ../../Volta.Web --auto-run --create-runner --runner-filename ~SpecRunner.html --specs-path specs --require-path lib --jasmine-path lib/jasmine --script-path lib/jasmine/jasmine-jquery.js --module-path ../../Volta.Web/scripts/underscore/underscore-config.js ... | mit |
anypossiblew/tiven.wang | _posts/articles/java/scala/2018-05-03-scala.md | 2273 | ---
layout: post
theme: UbuntuMono
title: Scala
excerpt: ""
modified: 2018-05-03T11:51:25-04:00
categories: articles
tags: [Scala, Java]
image:
vendor: twitter
feature: /media/Da_wGJhW4AIaSxO.jpg:large
credit: National Geographic
creditlink: https://twitter.com/NatGeoPhotos/status/986270834439393280
comments: t... | mit |
EminentTechnology/CodeTorch | src/core/Eminent.CodeGenerator/RemoteLoaderFactory.cs | 1301 | using System;
using System.Reflection;
namespace Eminent.CodeGenerator
{
/// <summary>
/// Factory class to create objects exposing IRemoteInterface
/// </summary>
public class RemoteLoaderFactory : MarshalByRefObject
{
private const BindingFlags bfi = BindingFlags.Instance | BindingFlags.Public | BindingFlags.... | mit |
erieoutingclub/erieoutingclub.github.io | blog.md | 137 | ---
layout: blog
title: "Erie Outing Club Blog"
permalink: /blog
---
<center><h1>My Posts</h1></center>
# The Erie Outing Club Blog
| mit |
simpleviewinc/mongolayer | testing/config.js | 108 | module.exports = function() {
return {
connectionString : "mongodb://127.0.0.1:27017/mongolayer"
}
} | mit |
SonicFreak94/sa2-battle-network | sa2-battle-network/Events.cpp | 827 | #include "stdafx.h"
#include "Events.h"
#include "PoseEffect2PStartMan.h"
#include "ItemBoxItems.h"
#include "EmeraldSync.h"
#include "CharacterSync.h"
#include "AddHP.h"
#include "AddRings.h"
#include "Damage.h"
#include "OnStageChange.h"
#include "OnResult.h"
#include "Random.h"
#include "OnInput.h"
void nethax::e... | mit |
kamillamagna/NMF_Tool | vendor/bundle/gems/mini_racer-0.1.12/lib/mini_racer/version.rb | 42 | module MiniRacer
VERSION = "0.1.12"
end
| mit |
jumpchain/jumpmaker | JumpMaker/PDFSharp/PdfSharp/Pdf/enums/PdfColorMode.cs | 1855 | #region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange
//
// Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy... | mit |
scionoftech/webp-converter | bin/libwebp_osx/doc/dwebp.html | 10497 | <!-- Creator : groff version 1.19.2 -->
<!-- CreationDate: Thu Dec 26 09:17:31 2019 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/h... | mit |
dungphi/DATN | tinymce/plugins/youtube/view/forms.html | 2602 | <form action="#" method="get" class="form-horizontal">
<div class="row">
<div class="col-xs-10">
<div class="form-group">
<label class="col-xs-2 control-label" for="youtubeID" id="youtubeurl">{{youtubeurl}}:</label>
<div class="col-xs-10">
<inp... | mit |
onokumus/kitap | bolum02.md | 13 | ## Bölüm 2
| mit |
bitrise-io/devcenter | ja/steps-and-workflows/generic-workflow-recipes.html | 171704 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content... | mit |
attm2x/m2x-android-test-app | app/src/main/java/lateralview/net/m2xapiv2exampleapp/activities/DistributionActivity.java | 4951 | package lateralview.net.m2xapiv2exampleapp.activities;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import org.json.JSONException;
import org.json.JSONObject;
import lateralview.net.attm2xapiv2.listen... | mit |
WarToaster/HangOn | libraries/lithium/tests/mocks/core/MockCallable.php | 379 | <?php
/**
* Lithium: the most rad php framework
*
* @copyright Copyright 2011, Union of RAD (http://union-of-rad.org)
* @license http://opensource.org/licenses/bsd-license.php The BSD License
*/
namespace lithium\tests\mocks\core;
class MockCallable extends \lithium\core\Object {
public function __ca... | mit |
baimaiprachan/baimaiprachan.github.io | savory4-pics.html | 27408 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="SP">
<meta name="description" content="จัดเลี้ยงนอกสถานที่ บุฟเฟต์ ราคาถูก อร่อย สะอาด บริการดี เหมาะสำหรับ คอฟฟี่เบรค เลี... | mit |