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 |
|---|---|---|---|---|---|
param
(
[Parameter(Mandatory=$true)]
[string] $VmName,
[string] $HostName = 'localhost',
[int] $ProcessorCount = 1,
[long] $MemorySize = 2GB,
[string] $VmAdminUserName,
[securestring] $VmAdminPassword
)
Configuration HostConfiguration {
param
(
[Parameter(Ma... | igoravl/MyDemos | 2019-04-12_MvpConf2019/Scripts/WebServerVm.ps1 | PowerShell | mit | 3,747 |
module Hideous
VERSION = "0.0.5"
end
| yabawock/hideous | lib/hideous/version.rb | Ruby | mit | 39 |
<?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... | stivalet/PHP-Vulnerability-test-suite | Injection/CWE_95/safe/CWE_95__SESSION__CAST-cast_int_sort_of2__variable-interpretation_simple_quote.php | PHP | mit | 1,174 |
# Leverage.js
An MVC javascript framework. | peburrows/leverage.js | README.md | Markdown | mit | 43 |
<?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... | vol4onok/symfony | src/StorageBundle/Admin/FileAdmin.php | PHP | mit | 4,705 |
#. 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 | fulmicoton/potato | TODO.md | Markdown | mit | 229 |
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... | jimmynono/cocktail-app | webpack.config.js | JavaScript | mit | 1,211 |
#!/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 ... | hamiltonkibbe/PyAbleton | pyableton/__init__.py | Python | mit | 1,356 |
<!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... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.3/actuary/2.1.html | HTML | mit | 7,210 |
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)
{
}
}
} | svetlai/TelerikAcademy | Software-Technologies/ASP.NET-Web-Forms/01-Introduction-to-ASP.NET/02-WebFormsSumator/Default.aspx.cs | C# | mit | 314 |
<?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... | ignazas/ma2016 | vendor/nova-framework/system/src/View/Factory.php | PHP | mit | 23,140 |
"""
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, ...)... | arbiterofcool/fig-seed | template/fig-django/figexample/settings.py | Python | mit | 2,114 |
import SqSortableList from 'sq-ember-inputs/components/sq-sortable-list';
export default SqSortableList;
| benjaminbalazs/sq-ember-inputs | app/components/sq-sortable-list.js | JavaScript | mit | 106 |
(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... | michaeljcalkins/angular-common | modules/dragdrop/dragdrop.js | JavaScript | mit | 3,374 |
---
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... | nikhilrajaram/nikhilrajaram.github.io | instructors/Eun_Hyea_Kim.md | Markdown | mit | 2,425 |
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("... | JoshuaKGoldberg/csproj-to-tsconfig | src/cli.ts | TypeScript | mit | 1,355 |
<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 ... | puneethrai/OWE-Reimagined | OWE/www/app/modules/transactionModule/templates/Transaction.html | HTML | mit | 1,597 |
'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; | gonzaloruizdevilla/alicates | lib/modules/relation/lt.js | JavaScript | mit | 228 |
# 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... | shioyama/rails | actionpack/lib/action_controller/test_case.rb | Ruby | mit | 21,422 |
/**
* 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: {
}
};
| shubham2192/kclub | api/models/Blog-api.js | JavaScript | mit | 238 |
<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... | blackbaud-joshgerdes/skyux2 | src/demos/page-summary/page-summary-demo.component.html | HTML | mit | 2,666 |
/**
* 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... | jeantimex/javascript-problems-and-solutions | src/string/palindromic-substrings.js | JavaScript | mit | 1,092 |
// -*- 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... | rkipper/AppInventor_RK | appinventor/components/src/com/google/appinventor/components/runtime/PhoneStatus.java | Java | mit | 2,694 |
<!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... | tzmartin/gae-php.docset | Contents/Resources/Documents/functions_f.html | HTML | mit | 2,812 |
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... | conjurdemos/secrets-management | permissions-model.rb | Ruby | mit | 362 |
/*
* 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... | loopfz/Lucki | src/shaft/poker/game/table/IPlayerActionListener.java | Java | mit | 1,532 |
* {
-webkit-transition: all 1s;
transition: all 1s;
-o-transition: all 1s;
}
* {
-webkit-transition: all 1s;
-o-transition: all 1s;
} | gucong3000/postcss-unprefix | test/fixtures/check-down.css | CSS | mit | 139 |
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/>
);
... | nkoder/lol-champions | __tests__/filtering/filter.test.js | JavaScript | mit | 843 |
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... | neerfri/signaling | spec/integration/readme_features/custom_action_path_spec.rb | Ruby | mit | 904 |
<?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="... | vpscoin/VPSCoin | src/qt/locale/bitcoin_ky.ts | TypeScript | mit | 107,742 |
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... | UMM-CSci-3601-S17/digital-display-garden-iteration-3-dorfner | server/src/test/java/umm3601/plant/TestPlantComment.java | Java | mit | 2,771 |
{% 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... | kanwei/masquerade | resources/templates/cljsexample.html | HTML | mit | 393 |
# 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... | iiet/iiet-git | app/controllers/projects/triggers_controller.rb | Ruby | mit | 2,087 |
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)... | dswallow/PopMovies | app/src/test/java/com/example/android/popularmoviesapp/ExampleUnitTest.java | Java | mit | 329 |
<!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... | faridlab/xin | docs/directive-pane.html | HTML | mit | 2,826 |
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... | joda17/Diorite-API | src/main/java/org/diorite/material/blocks/stony/RedSandstoneStairsMat.java | Java | mit | 7,654 |
<?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... | joelgarciajr84/balanced-php | scenarios/order_update/executable.php | PHP | mit | 438 |
<!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... | v8-dox/v8-dox.github.io | e0ecf4f/html/structv8_1_1internal_1_1_smi_constants_3_014_01_4-members.html | HTML | mit | 5,888 |
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
*... | uestccokey/EZFilter | app/src/main/java/cn/ezandroid/ezfilter/render/BWRender.java | Java | mit | 2,224 |
@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... | jthanlopes/SysGAP | resources/views/site/reset-empresa.blade.php | PHP | mit | 2,346 |
<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... | fcecin/infinitum | src/qt/locale/infinitum_sq.ts | TypeScript | mit | 12,467 |
/* 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... | flybayer/next.js | test/integration/404-page-app/test/index.test.js | JavaScript | mit | 2,390 |
/**
* 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... | alawatthe/MathLib | src/Complex/prototype/pow.ts | TypeScript | mit | 2,048 |
'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... | thegameofcode/cucumberly | test/episodes/createEpisodeTest.js | JavaScript | mit | 3,231 |
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... | rmagick/rmagick | spec/rmagick/image/find_similar_region_spec.rb | Ruby | mit | 1,562 |
// 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/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Field/InternalField.cs | C# | mit | 1,044 |
<?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 = ... | igorw/trashbin | src/Igorw/Trashbin/Provider.php | PHP | mit | 1,091 |
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');
| kybarg/material-ui | packages/material-ui-icons/src/WrapTextTwoTone.js | JavaScript | mit | 262 |
# -*- 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
... | x007007007/pyScreenBrightness | src/pyScreenBrightness/base.py | Python | mit | 1,127 |
/*
* 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... | citeaux/JAHAP | src/main/java/org/jahap/business/base/ratesbean.java | Java | mit | 11,151 |
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... | tolhaje/coords2details | details_checker.rb | Ruby | mit | 880 |
# -*- 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... | sveetch/django-datebook | datebook/forms/day.py | Python | mit | 6,638 |
<!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... | Seiferxx/user211 | view/profesor/profe_calumno.html | HTML | mit | 3,124 |
#!/usr/bin/env python
# -*- coding: utf8 -*-
# *****************************************************************
# ** PTS -- Python Toolkit for working with SKIRT **
# ** © Astronomical Observatory, Ghent University **
# *****************************************************************
##... | Stargrazer82301/CAAPR | CAAPR/CAAPR_AstroMagic/PTS/pts/core/tools/special.py | Python | mit | 24,211 |
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 '../... | atom/github | test/views/check-suite-view.test.js | JavaScript | mit | 1,809 |
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... | folktale/core.inspect | Makefile | Makefile | mit | 1,653 |
"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" } }] }; | xuan6/admin_dashboard_local_dev | node_modules/react-icons-kit/entypo/minus.js | JavaScript | mit | 308 |
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... | wmira/react-icons-kit | src/md/ic_settings_system_daydream.js | JavaScript | mit | 456 |
/*!
* 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... | mohamed-mehany/SyntaxTerror | blog/public/assets/test/dummy_rails/app/assets/javascripts/application-768a0262af2eb7663859c5e8395c2b25.js | JavaScript | mit | 350,371 |
#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... | VasilStamatov/GraphicsLearning | AI_Game/Agent.cpp | C++ | mit | 4,846 |
#!/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 ... | shashisp/blumix-webpy | app/gluon/storage.py | Python | mit | 8,573 |
<!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... | 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 | HTML | mit | 7,659 |
<!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... | 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 | HTML | mit | 7,875 |
<!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... | 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 | HTML | mit | 7,170 |
/*
<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... | fridek/uj-gamedev-ai-project | bot/bot.cpp | C++ | mit | 3,941 |
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... | IsidroE/CrypProject | Proyecto/Servidor/Servidor/Control/CifradoAES.cs | C# | mit | 421 |
# qingmq-broker
QingMQ Broker
| qingmq/qingmq-broker | README.md | Markdown | mit | 30 |
#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),
... | coingulf/gulfcoin | src/qt/optionsdialog.cpp | C++ | mit | 8,954 |
#!/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... | JoelBender/bacpypes | py27/bacpypes/service/object.py | Python | mit | 15,660 |
#include "FeatureIterator.h"
#include "Random.h"
#include <functional>
namespace dungeon
{
////////////////////////////////////////////////////////////////////////////////
// ADJUSTERS
////////////////////////////////////////////////////////////////////////////////
AForward::AForward(const Feature& feature) :
m... | DeonPoncini/libdungeon | src/FeatureIterator.cpp | C++ | mit | 1,608 |
"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)... | SpatialMap/SpatialMapDev | node_modules/office-ui-fabric-react/lib/components/Check/Check.js | JavaScript | mit | 1,851 |
# 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 ... | vmcilwain/authenticatable | app/models/authenticatable/security_key.rb | Ruby | mit | 764 |
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... | davidpadbury/random-image-generator | index.js | JavaScript | mit | 754 |
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... | storybooks/storybook | examples/web-components-kitchen-sink/src/stories/addons/toolbars/addon-toolbars.stories.ts | TypeScript | mit | 605 |
<!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... | statgen/locuszoom | examples/credible_sets.html | HTML | mit | 6,734 |
# 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, ... | earwig/mwparserfromhell | src/mwparserfromhell/definitions.py | Python | mit | 3,915 |
<!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 -->
... | bharling/django-pint | sandbox/example_app/templates/base.html | HTML | mit | 1,796 |
// 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>
///... | SimControl/SimControl.Reactive | SimControl.Reactive/ExceptionTrigger.cs | C# | mit | 1,633 |
/*
* 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... | gabizou/SpongeCommon | src/main/java/org/spongepowered/common/data/processor/block/SpongeDirectionalProcessor.java | Java | mit | 5,006 |
<?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... | grcasanova/Codeigniter-Bundle | CodeIgniter/application/language/russian/date_lang.php | PHP | mit | 6,785 |
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... | 7odri9o/Sunshine | app/src/main/java/com/dreamdevs/sunshine/fragment/ForecastFragment.java | Java | mit | 12,550 |
//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... | yonglehou/sharpsnmplib | lib/LogExtension.cs | C# | mit | 2,438 |
/*
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... | hhrosario/abresf | src/SF/AbreBundle/Resources/public/css/ymedia.css | CSS | mit | 10,320 |
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... | boada/planckClusters | MOSAICpipe/bpz-1.99.3/bpzfinalize.py | Python | mit | 4,563 |
module Capistrano
module RbEnv
VERSION = "1.0.6git"
end
end
| yyuu/capistrano-rbenv | lib/capistrano-rbenv/version.rb | Ruby | mit | 68 |
# 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... | Stolz/MarketTradeProcessor | README.md | Markdown | mit | 2,296 |
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... | rentpath/react-ui | packages/react-ui-core/src/LeadForm/LeadForm.js | JavaScript | mit | 2,529 |
<!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... | 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 | HTML | mit | 11,443 |
<?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... | RryLee/phppoker | src/RandomGame.php | PHP | mit | 1,239 |
<!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... | v8-dox/v8-dox.github.io | b16d9c2/html/classv8_1_1_default_phantom_persistent_value_map_traits.html | HTML | mit | 16,725 |
<!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" ... | 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 | HTML | mit | 13,088 |
<!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 _... | piterlin/piterlin.github.io | doc/spring4.3.3-docs/javadoc-api/org/springframework/messaging/support/package-frame.html | HTML | mit | 4,039 |
namespace Owin.Scim.Model
{
using Configuration;
public class ScimFeatureBulkDefinition : ScimTypeDefinitionBuilder<ScimFeatureBulk>
{
public ScimFeatureBulkDefinition(ScimServerConfiguration serverConfiguration)
: base(serverConfiguration)
{
For(b => b.Supported)
... | PowerDMS/Owin.Scim | source/Owin.Scim/Model/ScimFeatureBulkDefinition.cs | C# | mit | 985 |
// 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... | blyk/BlackCode-Fuse | AndroidUI/.build/Simulator/Android/include/app/Uno.Collections.Dictionary2_ValueCollection__Fuse_Navigation_Na-14a77dce.h | C | mit | 5,011 |
export * from './user';
export * from './template'; | nswweb/templateMgr | server/src/schemas/index.js | JavaScript | mit | 51 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.