repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
igoravl/MyDemos | 2019-04-12_MvpConf2019/Scripts/WebServerVm.ps1 | 3747 | param
(
[Parameter(Mandatory=$true)]
[string] $VmName,
[string] $HostName = 'localhost',
[int] $ProcessorCount = 1,
[long] $MemorySize = 2GB,
[string] $VmAdminUserName,
[securestring] $VmAdminPassword
)
Configuration HostConfiguration {
param
(
[Parameter(Ma... | mit |
yabawock/hideous | lib/hideous/version.rb | 39 | module Hideous
VERSION = "0.0.5"
end
| mit |
stivalet/PHP-Vulnerability-test-suite | Injection/CWE_95/safe/CWE_95__SESSION__CAST-cast_int_sort_of2__variable-interpretation_simple_quote.php | 1174 | <?php
/*
Safe sample
input : get the UserData field of $_SESSION
sanitize : cast via + = 0
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this software and its docum... | mit |
peburrows/leverage.js | README.md | 43 | # Leverage.js
An MVC javascript framework. | mit |
vol4onok/symfony | src/StorageBundle/Admin/FileAdmin.php | 4705 | <?php
namespace StorageBundle\Admin;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Form\FormMapper;
use Sonata\AdminBundle\Show\ShowMapper;
use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery;
use Symfony\Compone... | mit |
fulmicoton/potato | TODO.md | 229 | #. Separate DOM-Events from Non-Dom Events (dom events should be bound on each template render while non-Dom Events can be bound only on construction)
#. Solve model binding initialization problem
#. Give a nice spec to event DSL | mit |
jimmynono/cocktail-app | webpack.config.js | 1211 | const path = require('path')
module.exports = {
context: __dirname,
entry: './js/ClientApp.js',
devtool: 'eval',
output: {
path: path.join(__dirname, '/public'),
publicPath: '/public/',
filename: 'bundle.js'
},
devServer: {
publicPath: '/public/',
historyApiFallback: true
},
resolve... | mit |
hamiltonkibbe/PyAbleton | pyableton/__init__.py | 1356 | #!/usr/bin/env python
#
# Copyright (c) 2014 Hamilton Kibbe <ham@hamiltonkib.be>
#
# 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 ... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.3/actuary/2.1.html | 7210 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>actuary: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | mit |
svetlai/TelerikAcademy | Software-Technologies/ASP.NET-Web-Forms/01-Introduction-to-ASP.NET/02-WebFormsSumator/Default.aspx.cs | 314 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace _2._1.WebForms_Sumator
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | mit |
ignazas/ma2016 | vendor/nova-framework/system/src/View/Factory.php | 23140 | <?php
namespace Nova\View;
use Nova\Container\Container;
use Nova\Events\Dispatcher;
use Nova\Support\Contracts\ArrayableInterface as Arrayable;
use Nova\View\Engines\EngineResolver;
use Nova\View\Layout;
use Nova\View\View;
use Nova\View\ViewFinderInterface;
use Closure;
use InvalidArgumentException;
class Factor... | mit |
arbiterofcool/fig-seed | template/fig-django/figexample/settings.py | 2114 | """
Django settings for figexample project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)... | mit |
benjaminbalazs/sq-ember-inputs | app/components/sq-sortable-list.js | 106 | import SqSortableList from 'sq-ember-inputs/components/sq-sortable-list';
export default SqSortableList;
| mit |
michaeljcalkins/angular-common | modules/dragdrop/dragdrop.js | 3374 | (function() {
"use strict";
angular.module('common.dragdrop', [])
.factory('DragDropHandler', [function() {
return {
dragObject: undefined,
addObject: function(object, objects, to) {
objects.splice(to, 0, object);
},
moveObject: func... | mit |
nikhilrajaram/nikhilrajaram.github.io | instructors/Eun_Hyea_Kim.md | 2425 | ---
layout: page
title: "Eun Hyea Kim"
comments: true
description: "blanks"
keywords: "Eun Hyea Kim,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!-- <script... | mit |
JoshuaKGoldberg/csproj-to-tsconfig | src/cli.ts | 1355 | import * as yargs from "yargs";
import { Runner } from "./runner";
import { IRawConversionSettings, parseSettings } from "./settingsParser";
import { StatusCode } from "./statusCode";
const rawConversionSettings: IRawConversionSettings = yargs
.usage("Usage: $0 --csproj <csproj> --target <target>")
.command("... | mit |
puneethrai/OWE-Reimagined | OWE/www/app/modules/transactionModule/templates/Transaction.html | 1597 | <div class="dummyTransaction col-xs-12">
<div class="dummyUserAction">
<label class="dummyMainName Title"><%if(isNew){%>Add Transaction<%} else {%><%=model.name%><%}%></label>
<form class="form dummyForm">
<div class="form-group dummyInputGroup nopadding">
<label class="sr-only" for="InputAmount">Enter the ... | mit |
gonzaloruizdevilla/alicates | lib/modules/relation/lt.js | 228 | 'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
var _functionalCurry = require('../functional/curry');
var lt = (0, _functionalCurry.curry)(function (a, b) {
return a < b;
});
exports.lt = lt; | mit |
shioyama/rails | actionpack/lib/action_controller/test_case.rb | 21422 | # frozen_string_literal: true
require "rack/session/abstract/id"
require "active_support/core_ext/hash/conversions"
require "active_support/core_ext/object/to_query"
require "active_support/core_ext/module/anonymous"
require "active_support/core_ext/module/redefine_method"
require "active_support/core_ext/hash/keys"
r... | mit |
shubham2192/kclub | api/models/Blog-api.js | 238 | /**
* Blog-api.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs :: http://sailsjs.org/#!documentation/models
*/
module.exports = {
attributes: {
}
};
| mit |
blackbaud-joshgerdes/skyux2 | src/demos/page-summary/page-summary-demo.component.html | 2666 | <div style="border: solid 1px #ccc">
<sky-page-summary>
<sky-page-summary-alert *ngIf="showAlert">
<sky-alert alertType="info">This is an alert.</sky-alert>
</sky-page-summary-alert>
<sky-page-summary-image *ngIf="showImage">
<sky-avatar [name]="name" [canChange]="true"></sky-avatar>
</sky... | mit |
jeantimex/javascript-problems-and-solutions | src/string/palindromic-substrings.js | 1092 | /**
* Palindromic Substrings
*
* Given a string, your task is to count how many palindromic substrings in this string.
*
* The substrings with different start indexes or end indexes are counted as different substrings even they consist of
* same characters.
*
* Example 1:
*
* Input: "abc"
* Output: 3
* Expl... | mit |
rkipper/AppInventor_RK | appinventor/components/src/com/google/appinventor/components/runtime/PhoneStatus.java | 2694 | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.components.runtime;
import android.app.Activit... | mit |
tzmartin/gae-php.docset | Contents/Resources/Documents/functions_f.html | 2812 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
conjurdemos/secrets-management | permissions-model.rb | 362 | namespace do
managers = layer "managers"
users = layer "users"
environment "secrets" do
add_member "manage_variable", managers.roleid
add_member "use_variable", users.roleid
end
alice, bob, claire = %w(alice bob claire).map do |hostname|
host hostname
end
managers.add_host ali... | mit |
loopfz/Lucki | src/shaft/poker/game/table/IPlayerActionListener.java | 1532 | /*
* The MIT License
*
* Copyright 2013 Thomas Schaffer <thomas.schaffer@epitech.eu>.
*
* 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 limitatio... | mit |
gucong3000/postcss-unprefix | test/fixtures/check-down.css | 139 | * {
-webkit-transition: all 1s;
transition: all 1s;
-o-transition: all 1s;
}
* {
-webkit-transition: all 1s;
-o-transition: all 1s;
} | mit |
heladio/my-blog | themes/neat/README.md | 2278 | pelican-neat
============
A neat and flexible [pelican](http://docs.getpelican.com) theme based
on the [personal blog](https://github.com/berkerpeksag/berkerpeksag)
theme of [Berker Peksag](http://twitter.com/berkerpeksag).
Preview
-------
- Index:
;
import React from 'react';
import {shallow} from 'enzyme';
import {Filter} from '../../src/filtering/filter';
describe('Filter', () => {
it('has empty filtering text by default', () => {
// when
const filter = shallow(
<Filter/>
);
... | mit |
dogenzaka/shamoji | README.md | 413 | shamoji(杓文字)
=======
[](https://travis-ci.org/dogenzaka/shamoji)
[](https://codecov.io/github/dogenzaka/shamoji)
[ { 'accounts/:account_id/item_lists.json' }
around do |example|
begin
ExampleCom::ItemList.define_action :index, method: :get, path: custom_path
example.run
ensure
ExampleCom... | mit |
vpscoin/VPSCoin | src/qt/locale/bitcoin_ky.ts | 107742 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="ky" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About VPSCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="... | mit |
UMM-CSci-3601-S17/digital-display-garden-iteration-3-dorfner | server/src/test/java/umm3601/plant/TestPlantComment.java | 2771 | package umm3601.plant;
import com.mongodb.MongoClient;
import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import org.bson.types.ObjectId;
import org.junit.Before;
import org.junit.Test;
import umm3601.digitalDisplayGarde... | mit |
kanwei/masquerade | resources/templates/cljsexample.html | 393 | {% extends "templates/base.html" %}
{% block content %}
<br/>
<div id="messages"></div>
<textarea id="message"></textarea>
<br/>
<input type="text" id="user"></input>
<br/>
<button id="send">add message</button>
<!-- scripts -->
<script type="text/javascript" src="{{servlet-context}}/js/site.js"></script>
<script t... | mit |
iiet/iiet-git | app/controllers/projects/triggers_controller.rb | 2087 | # frozen_string_literal: true
class Projects::TriggersController < Projects::ApplicationController
before_action :authorize_admin_build!
before_action :authorize_manage_trigger!, except: [:index, :create]
before_action :authorize_admin_trigger!, only: [:edit, :update]
before_action :trigger, only: [:take_owner... | mit |
dswallow/PopMovies | app/src/test/java/com/example/android/popularmoviesapp/ExampleUnitTest.java | 329 | package com.example.android.popularmoviesapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2)... | mit |
faridlab/xin | docs/directive-pane.html | 2826 | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Xin | Directives</title>
<link rel="stylesheet" href="../vendor/jacket-awesome/dist/css/jacket-awesome.css">
<link rel="stylesheet" href="../vendor/google-code-prettify/bin/prettify.min.css">
<link rel="stylesheet" href="../vendor... | mit |
joda17/Diorite-API | src/main/java/org/diorite/material/blocks/stony/RedSandstoneStairsMat.java | 7654 | package org.diorite.material.blocks.stony;
import java.util.Map;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.diorite.BlockFace;
import org.diorite.cfg.magic.MagicNumbers;
import org.diorite.material.BlockMaterialData;
import org.diorite.m... | mit |
joelgarciajr84/balanced-php | scenarios/order_update/executable.php | 438 | <?php
require(__DIR__ . '/vendor/autoload.php');
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-25ZY8HQwZPuQtDecrxb671LilUya5t5G0";
$order = Balanced\Order::get("/orders/OR5sl2RJVnbwEf45nq5eATdz");
$order->description = 'New description for o... | mit |
v8-dox/v8-dox.github.io | e0ecf4f/html/structv8_1_1internal_1_1_smi_constants_3_014_01_4-members.html | 5888 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
uestccokey/EZFilter | app/src/main/java/cn/ezandroid/ezfilter/render/BWRender.java | 2224 | package cn.ezandroid.ezfilter.render;
import android.content.Context;
import android.opengl.GLES20;
import cn.ezandroid.lib.ezfilter.core.util.Path;
import cn.ezandroid.lib.ezfilter.extra.IAdjustable;
import cn.ezandroid.lib.ezfilter.extra.MultiBitmapInputRender;
/**
* 黑白滤镜
*
* @author like
* @date 2017-09-17
*... | mit |
jthanlopes/SysGAP | resources/views/site/reset-empresa.blade.php | 2346 | @extends ('site.layouts.home.master')
@section ('conteudo')
<div class="w3-row">
<div class="w3-padding-64 w3-container login">
<div class="w3-content">
<div class="w3-container">
<h2>Resetar Senha</h2>
<hr>
<form role="form" method="POST" action="{{ route('empresa.reseta-senha.requ... | mit |
fcecin/infinitum | src/qt/locale/infinitum_sq.ts | 12467 | <TS language="sq" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Kliko me të djathtën për të ndryshuar adresën ose etiketen.</translation>
</message>
<message>
<source>Create a new address</source... | mit |
flybayer/next.js | test/integration/404-page-app/test/index.test.js | 2390 | /* eslint-env jest */
import fs from 'fs-extra'
import { join } from 'path'
import {
killApp,
findPort,
launchApp,
nextStart,
nextBuild,
fetchViaHTTP,
} from 'next-test-utils'
import webdriver from 'next-webdriver'
import cheerio from 'cheerio'
jest.setTimeout(1000 * 60 * 2)
const appDir = join(__dirname... | mit |
alawatthe/MathLib | src/Complex/prototype/pow.ts | 2048 | /**
* Calculates the complex number raised to some power
*
* @param {numeric} c The power to which the complex number should be raised
* @return {Complex}
*/
pow(c) : Complex {
var re, im, abs, arg;
if (MathLib.type(c) === 'complex') {
re = c.re;
im = c.im;
abs = this.abs();
arg = this.arg();
// Fixe... | mit |
thegameofcode/cucumberly | test/episodes/createEpisodeTest.js | 3231 | 'use strict';
const sinon = require('sinon'),
q = require('q'),
mockery = require('mockery'),
_ = require('lodash'),
should = require('chai').should();
describe('Create episode', () => {
const idsGeneratorStub = () => '123';
it('Should call the next callback', done => {
let deferred = q.defer();
let promi... | mit |
rmagick/rmagick | spec/rmagick/image/find_similar_region_spec.rb | 1562 | RSpec.describe Magick::Image, '#find_similar_region' do
it 'works' do
image = described_class.new(20, 20)
girl = described_class.read(IMAGES_DIR + '/Flower_Hat.jpg').first
region = girl.crop(10, 10, 50, 50)
x, y = girl.find_similar_region(region)
expect(x).not_to be(nil)
expect(y).not_to be(n... | mit |
zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Field/InternalField.cs | 1044 | // Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | mit |
igorw/trashbin | src/Igorw/Trashbin/Provider.php | 1091 | <?php
namespace Igorw\Trashbin;
use Silex\Application;
use Silex\ServiceProviderInterface;
use Symfony\Component\Finder\Finder;
class Provider implements ServiceProviderInterface
{
public function register(Application $app)
{
$app['app.languages'] = $app->share(function () {
$languages = ... | mit |
kybarg/material-ui | packages/material-ui-icons/src/WrapTextTwoTone.js | 262 | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M4 17h6v2H4zm13-6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3 3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4zM4 5h16v2H4z" />
, 'WrapTextTwoTone');
| mit |
x007007007/pyScreenBrightness | src/pyScreenBrightness/base.py | 1127 | # -*- coding:utf-8 -*-
import abc
import platform
from UserList import UserList
class Monitor(object):
@abc.abstractmethod
def current(self):
pass
@abc.abstractmethod
def percent(self, range):
pass
@abc.abstractmethod
def reset(self):
pass
@abc.abstractmethod
... | mit |
citeaux/JAHAP | src/main/java/org/jahap/business/base/ratesbean.java | 11151 | /*
* The MIT License
*
* Copyright 2014 Sebastian Russ <citeaux at https://github.com/citeaux/JAHAP>.
*
* 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 w... | mit |
tolhaje/coords2details | details_checker.rb | 880 | require_relative 'location_splitter'
require_relative 'elevation_checker'
require_relative 'terrain_checker'
class DetailsChecker
attr_reader :locations, :services_response
def initialize(locations)
@locations = locations
end
def call!
split_locations! unless locations.is_a?(Array)
check_elevatio... | mit |
sveetch/django-datebook | datebook/forms/day.py | 6638 | # -*- coding: utf-8 -*-
"""
Forms for day forms
"""
from django.conf import settings
from django import forms
from django.utils.translation import ugettext as _
from arrow import Arrow
from datebook.models import DayEntry
from datebook.forms import CrispyFormMixin
from datebook.utils.imports import safe_import_module... | mit |
Seiferxx/user211 | view/profesor/profe_calumno.html | 3124 | <!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... | mit |
Stargrazer82301/CAAPR | CAAPR/CAAPR_AstroMagic/PTS/pts/core/tools/special.py | 24211 | #!/usr/bin/env python
# -*- coding: utf8 -*-
# *****************************************************************
# ** PTS -- Python Toolkit for working with SKIRT **
# ** © Astronomical Observatory, Ghent University **
# *****************************************************************
##... | mit |
atom/github | test/views/check-suite-view.test.js | 1809 | import React from 'react';
import {shallow} from 'enzyme';
import {BareCheckSuiteView} from '../../lib/views/check-suite-view';
import CheckRunView from '../../lib/views/check-run-view';
import checkSuiteQuery from '../../lib/views/__generated__/checkSuiteView_checkSuite.graphql';
import {checkSuiteBuilder} from '../... | mit |
folktale/core.inspect | Makefile | 1653 | bin = $(shell npm bin)
sjs = $(bin)/sjs
browserify = $(bin)/browserify
jsdoc = $(bin)/jsdoc
uglify = $(bin)/uglifyjs
VERSION = $(shell node -e 'console.log(require("./package.json").version)')
# -- Configuration -----------------------------------------------------
PACKAGE = core.inspect
EXP... | mit |
xuan6/admin_dashboard_local_dev | node_modules/react-icons-kit/entypo/minus.js | 308 | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var minus = exports.minus = { "viewBox": "0 0 20 20", "children": [{ "name": "path", "attribs": { "d": "M16,10c0,0.553-0.048,1-0.601,1H4.601C4.049,11,4,10.553,4,10c0-0.553,0.049-1,0.601-1h10.799C15.952,9,16,9.447,16,10z" } }] }; | mit |
wmira/react-icons-kit | src/md/ic_settings_system_daydream.js | 456 | export const ic_settings_system_daydream = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M9 16h6.5c1.38 0 2.5-1.12 2.5-2.5S16.88 11 15.5 11h-.05c-.24-1.69-1.69-3-3.45-3-1.4 0-2.6.83-3.16 2.02h-.16C7.17 10.18 6 11.45 6 13c0 1... | mit |
mohamed-mehany/SyntaxTerror | blog/public/assets/test/dummy_rails/app/assets/javascripts/application-768a0262af2eb7663859c5e8395c2b25.js | 350371 | /*!
* jQuery JavaScript Library v1.11.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-12-17T15:27Z
*/
(function( global, factory ) {
if... | mit |
VasilStamatov/GraphicsLearning | AI_Game/Agent.cpp | 4846 | #include "Agent.h"
#include <algorithm>
Agent::Agent()
{
}
Agent::Agent(float _speed, float _health, const glm::vec2 & _startPos,
const GameEngine::GLTexture & _texture, GameEngine::ColorRGBA8 & _color, std::weak_ptr<World> _world) :
m_movementSpeed(_speed), m_health(_health), m_worldPos(_startPos), m_te... | mit |
shashisp/blumix-webpy | app/gluon/storage.py | 8573 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
| This file is part of the web2py Web Framework
| Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
| License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
Provides:
- List; like list but returns None instead of IndexOutOfBounds
- Storage; like dictionary ... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.0/metacoq/1.0~beta1+8.12.html | 7659 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.8.2/mathcomp-algebra/1.6.2.html | 7875 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-algebra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.10.0/huffman/8.9.0.html | 7170 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | mit |
fridek/uj-gamedev-ai-project | bot/bot.cpp | 3941 | /*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2012 <copyright holder> <email>
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 ve... | mit |
IsidroE/CrypProject | Proyecto/Servidor/Servidor/Control/CifradoAES.cs | 421 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Servidor.Control
{
internal class CifradoAES
{
internal string cifrar(string transaccionSerializada)
{
return transaccionSerializada;
}
int... | mit |
qingmq/qingmq-broker | README.md | 30 | # qingmq-broker
QingMQ Broker
| mit |
coingulf/gulfcoin | src/qt/optionsdialog.cpp | 8954 | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
... | mit |
JoelBender/bacpypes | py27/bacpypes/service/object.py | 15660 | #!/usr/bin/env python
from ..debugging import bacpypes_debugging, ModuleLogger
from ..capability import Capability
from ..basetypes import ErrorType, PropertyIdentifier
from ..primitivedata import Atomic, Null, Unsigned
from ..constructeddata import Any, Array, ArrayOf, List
from ..apdu import \
SimpleAckPDU, Re... | mit |
DeonPoncini/libdungeon | src/FeatureIterator.cpp | 1608 | #include "FeatureIterator.h"
#include "Random.h"
#include <functional>
namespace dungeon
{
////////////////////////////////////////////////////////////////////////////////
// ADJUSTERS
////////////////////////////////////////////////////////////////////////////////
AForward::AForward(const Feature& feature) :
m... | mit |
SpatialMap/SpatialMapDev | node_modules/office-ui-fabric-react/lib/components/Check/Check.js | 1851 | "use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... | mit |
vmcilwain/authenticatable | app/models/authenticatable/security_key.rb | 764 | # Logic for creating a security key during password reset
module Authenticatable
class SecurityKey < ActiveRecord::Base
# Uses the hashable concern
include Hashable
# Requires user id and an expiration_date to be present
validates :user_id,:expiration_date, presence: true
# ActiveRecord ... | mit |
davidpadbury/random-image-generator | index.js | 754 | var Buffer = require('buffer').Buffer,
Jpeg = require('jpeg').Jpeg;
function randomColorComponent() {
return Math.floor(Math.random() * 256);
}
/**
* Creates a random image
*/
module.exports = function(width, height, callback) {
var buffer = new Buffer(width * height * 3);
for (var x = 0; x < width... | mit |
storybooks/storybook | examples/web-components-kitchen-sink/src/stories/addons/toolbars/addon-toolbars.stories.ts | 605 | import { html } from 'lit';
import { Story, Meta } from '@storybook/web-components';
export default {
title: 'Addons / Toolbars',
} as Meta;
const getCaptionForLocale = (locale: string) => {
switch (locale) {
case 'es':
return 'Hola!';
case 'fr':
return 'Bonjour !';
case 'zh':
return... | mit |
statgen/locuszoom | examples/credible_sets.html | 6734 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skele... | mit |
earwig/mwparserfromhell | src/mwparserfromhell/definitions.py | 3915 | # Copyright (C) 2012-2020 Ben Kurtovic <ben.kurtovic@gmail.com>
#
# 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, ... | mit |
bharling/django-pint | sandbox/example_app/templates/base.html | 1796 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... | mit |
SimControl/SimControl.Reactive | SimControl.Reactive/ExceptionTrigger.cs | 1633 | // Copyright (c) SimControl e.U. - Wilhelm Medetz. See LICENSE.txt in the project root for more information.
using System;
// TODO CR
namespace SimControl.Reactive
{
/// <summary>Exception trigger.</summary>
public class ExceptionTrigger: Trigger
{
/// <summary>Constructor.</summary>
///... | mit |
gabizou/SpongeCommon | src/main/java/org/spongepowered/common/data/processor/block/SpongeDirectionalProcessor.java | 5006 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | mit |
grcasanova/Codeigniter-Bundle | CodeIgniter/application/language/russian/date_lang.php | 6785 | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.2.4 or newer
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of th... | mit |
7odri9o/Sunshine | app/src/main/java/com/dreamdevs/sunshine/fragment/ForecastFragment.java | 12550 | package com.dreamdevs.sunshine.fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.support.v... | mit |
yonglehou/sharpsnmplib | lib/LogExtension.cs | 2438 | //Copyright (c) 2010 Lex Li
//
//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, distribute... | mit |
hhrosario/abresf | src/SF/AbreBundle/Resources/public/css/ymedia.css | 10320 | /*
OUR GRID
0 - 480
480 - 768
769 - 1020
1200 - infinite
*/
.col-md-4{
float: left;
}
.footer-wrapper .col-md-4{
padding-left: 10px;
}
.footer-ctas{
padding-left: 20px;
}
.visible-desktop{
display: none;
}
.visible-mobile{
display: none;
}
@media (min-width: 1020px){
.col-md-4{
width: 340px;
}
.col-md... | mit |
boada/planckClusters | MOSAICpipe/bpz-1.99.3/bpzfinalize.py | 4563 | from __future__ import print_function
from __future__ import division
# python bpzchisq2run.py ACS-Subaru
# PRODUCES ACS-Subaru_bpz.cat
# ADDS A FEW THINGS TO THE BPZ CATALOG
# INCLUDING chisq2 AND LABEL HEADERS
# ~/p/bpzchisq2run.py NOW INCLUDED!
# ~/Tonetti/colorpro/bpzfinalize7a.py
# ~/UDF/Elmegreen/phot8/bpzfinal... | mit |
yyuu/capistrano-rbenv | lib/capistrano-rbenv/version.rb | 68 | module Capistrano
module RbEnv
VERSION = "1.0.6git"
end
end
| mit |
Stolz/MarketTradeProcessor | README.md | 2296 | # Market Trade Processor
Demo application that processes currency exchange transactions using [Laravel Lumen](http://lumen.laravel.com/).
## Requirements
- PHP >= 5.5.9 with OpenSSL, Mbstring, Tokenizer, PDO and SQLite extensions.
- [Composer](https://getcomposer.org) command available via your `$PATH` shell variabl... | mit |
rentpath/react-ui | packages/react-ui-core/src/LeadForm/LeadForm.js | 2529 | import React, { Component } from 'react'
import PropTypes from 'prop-types'
import themed from '@rentpath/react-themed'
import clsx from 'clsx'
import isEqual from 'lodash/isEqual'
import { randomId } from '@rentpath/react-ui-utils'
import SubmitButton from './SubmitButton'
import Header from './Header'
import {
Form... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.6/released/8.11.1/pi-agm/1.2.5.html | 11443 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: 1 m 16 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... | mit |
RryLee/phppoker | src/RandomGame.php | 1239 | <?php
namespace Poker;
use Faker\Factory;
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class RandomGame extends GameCommand
{
use GameTrait;
/**
* Co... | mit |
v8-dox/v8-dox.github.io | b16d9c2/html/classv8_1_1_default_phantom_persistent_value_map_traits.html | 16725 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.0/finger-tree/8.5.0.html | 13088 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>finger-tree: 5 m 19 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | mit |
piterlin/piterlin.github.io | doc/spring4.3.3-docs/javadoc-api/org/springframework/messaging/support/package-frame.html | 4039 | <!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 (1.8.0_101) on Mon Sep 19 15:00:44 UTC 2016 -->
<title>org.springframework.messaging.support (Spring Framework 4.3.3.RELEASE API)</title><script>var _... | mit |
PowerDMS/Owin.Scim | source/Owin.Scim/Model/ScimFeatureBulkDefinition.cs | 985 | namespace Owin.Scim.Model
{
using Configuration;
public class ScimFeatureBulkDefinition : ScimTypeDefinitionBuilder<ScimFeatureBulk>
{
public ScimFeatureBulkDefinition(ScimServerConfiguration serverConfiguration)
: base(serverConfiguration)
{
For(b => b.Supported)
... | mit |
blyk/BlackCode-Fuse | AndroidUI/.build/Simulator/Android/include/app/Uno.Collections.Dictionary2_ValueCollection__Fuse_Navigation_Na-14a77dce.h | 5011 | // This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\Collections\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COLLECTIONS_DICTIONARY2_VALUE_COLLECTION__FUSE_NAVIGATION_NA_14A77DCE_H__
#define __APP_UNO_COLLECTIONS_DICTIONARY2_VALUE_CO... | mit |
nswweb/templateMgr | server/src/schemas/index.js | 51 | export * from './user';
export * from './template'; | mit |