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
class AddVersionToComponents < ActiveRecord::Migration def change add_column :components, :version, :float end end
e-nable/LimbForge
db/migrate/20160829013357_add_version_to_components.rb
Ruby
mit
123
package is.hail.expr.ir.functions import is.hail.annotations.{Region, StagedRegionValueBuilder} import is.hail.asm4s import is.hail.asm4s._ import is.hail.expr.ir._ import is.hail.types.physical._ import is.hail.types.virtual._ import is.hail.utils._ import java.util.Locale import java.time.{Instant, ZoneId} import ja...
danking/hail
hail/src/main/scala/is/hail/expr/ir/functions/StringFunctions.scala
Scala
mit
12,228
using GalaSoft.MvvmLight; namespace Operation.WPF.ViewModels { public interface IViewModelFactory { T ResolveViewModel<T>() where T : ViewModelBase; } }
ElijahReva/operations-research-wpf
Operation.WPF/ViewModels/IViewModelFactory.cs
C#
mit
181
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class MageTurret : Turret { [SerializeField] float range; [SerializeField] float baseDamage = 0.00f; float currentDamage = 0.00f; [SerializeField] float damageIncrease; [SerializeFiel...
GoldenArmor/HostileKingdom
Assets/Turrets/MageTower/Scripts/MageTurret.cs
C#
mit
4,399
import torch from hypergan.train_hooks.base_train_hook import BaseTrainHook class NegativeMomentumTrainHook(BaseTrainHook): def __init__(self, gan=None, config=None, trainer=None): super().__init__(config=config, gan=gan, trainer=trainer) self.d_grads = None self.g_grads = None def gradients(sel...
255BITS/HyperGAN
hypergan/train_hooks/negative_momentum_train_hook.py
Python
mit
887
#include "Namespace_Base.h" #include <co/Coral.h> #include <co/IComponent.h> #include <co/IPort.h> #include <co/IInterface.h> namespace co { //------ co.Namespace has a facet named 'namespace', of type co.INamespace ------// co::IInterface* Namespace_co_INamespace::getInterface() { return co::typeOf<co::INamespace>...
coral-framework/coral
src/core/generated/Namespace_Base.cpp
C++
mit
1,595
/*** AppView ***/ define(function(require, exports, module) { var View = require('famous/core/View'); var Surface = require('famous/core/Surface'); var Transform = require('famous/core/Transform'); var StateModifier = require('famous/modifiers/StateModifier'); var SlideshowView = require('views/Sl...
M1Reeder/famous-example-server
app/public/sandbox/index/views/ProjectView.js
JavaScript
mit
599
# Development Guidelines This document describes tools, tasks and workflow that one needs to be familiar with in order to effectively maintain this project. If you use this package within your own software as is but don't plan on modifying it, this guide is **not** for you. ## Tools * [Phing](http://www.phing.info/...
opentok/OpenTok-PHP-SDK
DEVELOPING.md
Markdown
mit
3,910
<?php /** * Go! AOP framework * * @copyright Copyright 2013, Lisachenko Alexander <lisachenko.it@gmail.com> * * This source file is subject to the license that is bundled * with this source code in the file LICENSE. */ namespace Demo\Example; /** * Human class example */ class HumanDemo { /** * Eat...
latamautos/goaop
demos/Demo/Example/HumanDemo.php
PHP
mit
880
using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing; using Migrap.AspNet.Multitenant; using System; using System.Collections.Generic; namespace Migrap.AspNet.Routing { public class TenantRouteConstraint : IRouteConstraint { public const string TenantKey = "tenant"; private readonly ISet<st...
migrap/Migrap.AspNet.Multitenant
src/Migrap.AspNet.Multitenant/Routing/TenantRouteConstraint.cs
C#
mit
1,080
import numpy as np __author__ = 'David John Gagne <djgagne@ou.edu>' def main(): # Contingency Table from Wilks (2011) Table 8.3 table = np.array([[50, 91, 71], [47, 2364, 170], [54, 205, 3288]]) mct = MulticlassContingencyTable(table, n_classes=table.shape[0], ...
djgagne/hagelslag
hagelslag/evaluation/MulticlassContingencyTable.py
Python
mit
2,908
.navbar-brand { font-family: "Bungee", cursive; font-size: 200%; padding: 0; } #image_billiard { height: 70px; padding: 15px; width: auto; float: left; } .brand-text { float: right; padding-top: 25px; padding-left: 10px; } .navbar-default { height: 70px; } .navbar-default .navbar-nav > li > a ...
eSmelser/SnookR
SnookR/substitutes/static/substitutes/css/custom.css
CSS
mit
959
"use strict"; var ArrayCollection_1 = require('./ArrayCollection'); exports.ArrayCollection = ArrayCollection_1.ArrayCollection; var ArrayList_1 = require('./ArrayList'); exports.ArrayList = ArrayList_1.ArrayList; var SequenceBase_1 = require('./SequenceBase'); exports.SequenceBase = SequenceBase_1.SequenceBase; var Bu...
swhitf/paladin-core
dist/collections/internal/index.js
JavaScript
mit
1,324
<!-- dx-header --> # IDR for ChIP-seq (DNAnexus Platform App) Generate peaks that pass the IDR threshold This is the source code for an app that runs on the DNAnexus Platform. For more information about how to run or modify it, see https://wiki.dnanexus.com/. <!-- /dx-header --> Take peaks. Generate pseudoreplicate...
ENCODE-DCC/chip-seq-pipeline
dnanexus/encode_idr/Readme.md
Markdown
mit
730
<span class="S-prose"> {% for item in site.data.testimonials %}{% if forloop.last %} {% assign testimonial = item[1] %} <figure class="O-block C-testimonial-highlight"> <blockquote>“{{ testimonial.content }}”</blockquote> <figcaption class="C-quote-person"> <img class="C-quote-person__avatar"...
lmjabreu/lmjabreu.com
_includes/testimonial_highlight.html
HTML
mit
1,018
<?php /** * Provides low-level debugging, error and exception functionality * * @copyright Copyright (c) 2007-2011 Will Bond, others * @author Will Bond [wb] <will@flourishlib.com> * @author Will Bond, iMarc LLC [wb-imarc] <will@imarc.net> * @author Nick Trew [nt] * @license http://flourishlib.c...
mkrause/roy
_example/thirdparty/flourish/fCore.php
PHP
mit
39,704
// Copyright (c) 2014 blinkbox Entertainment Limited. All rights reserved. package com.blinkboxbooks.android.list; import android.content.Context; import android.database.ContentObserver; import android.database.Cursor; import android.database.MergeCursor; import android.support.v4.content.AsyncTaskLoader; import andr...
blinkboxbooks/android-app
app/src/main/java/com/blinkboxbooks/android/list/LibraryLoader.java
Java
mit
5,766
# React Implement a basic reactive system. Reactive programming is a programming paradigm that focuses on how values are computed in terms of each other to allow a change to one value to automatically propagate to other values, like in a spreadsheet. Implement a basic reactive system with cells with settable values ...
sacherjj/rust
exercises/react/README.md
Markdown
mit
2,305
<?php return array ( 'id' => 'samsung_d500_ver1_sub6226', 'fallback' => 'samsung_d500_ver1', 'capabilities' => array ( 'max_data_rate' => '40', ), );
cuckata23/wurfl-data
data/samsung_d500_ver1_sub6226.php
PHP
mit
165
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-multinomials: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boo...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.13.2/mathcomp-multinomials/1.1.html
HTML
mit
7,619
using System; using System.Net.Http; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Castle.Core; using DotJEM.Json.Storage.Adapter; using DotJEM.Pipelines; using DotJEM.Web.Host.Diagnostics.Performance; using DotJEM.Web.Host.Providers.Concurrency; using DotJEM.Web.Host.Providers.Services.Di...
dotJEM/web-host
src/DotJEM.Web.Host/Providers/Services/ContentService.cs
C#
mit
7,585
package com.gdgand.rxjava.rxjavasample.hotandcold; import android.app.Application; import com.gdgand.rxjava.rxjavasample.hotandcold.di.component.ApplicationComponent; import com.gdgand.rxjava.rxjavasample.hotandcold.di.component.DaggerApplicationComponent; import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.Ap...
gdgand/android-rxjava
2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/SampleApplication.java
Java
mit
911
'use strict' var solc = require('solc/wrapper') var compileJSON = function () { return '' } var missingInputs = [] module.exports = function (self) { self.addEventListener('message', function (e) { var data = e.data switch (data.cmd) { case 'loadVersion': delete self.Module // NOTE: w...
Yann-Liang/browser-solidity
src/app/compiler/compiler-worker.js
JavaScript
mit
1,202
/* tslint:disable:no-unused-variable */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DebugElement } from '@angular/core'; import { SettingsComponent } from './settings.component'; describe('HomeComponent', () => { let component: S...
radiium/turntable
src/app/settings-panel/settings/settings.component.spec.ts
TypeScript
mit
772
//Express, Mongo & Environment specific imports var express = require('express'); var morgan = require('morgan'); var serveStatic = require('serve-static'); var bodyParser = require('body-parser'); var cookieParser = require('cookie-parser'); var compression = require('compression'); var errorHandler = require('errorha...
rpelger/books-app-mean
app.js
JavaScript
mit
1,664
[instagram-private-api](../../README.md) / [index](../../modules/index.md) / DirectInboxFeedResponseInbox # Interface: DirectInboxFeedResponseInbox [index](../../modules/index.md).DirectInboxFeedResponseInbox ## Table of contents ### Properties - [blended\_inbox\_enabled](DirectInboxFeedResponseInbox.md#blended_in...
huttarichard/instagram-private-api
docs/interfaces/index/DirectInboxFeedResponseInbox.md
Markdown
mit
2,170
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
DREEBIT/ng-messenger
src/components/conversation-header/conversation-header.component.js
JavaScript
mit
1,657
const describe = require("mocha").describe; const it = require("mocha").it; const assert = require("chai").assert; const HttpError = require("./HttpError"); describe("HttpError", function () { it("should be instance of Error", function () { const testSubject = new HttpError(); assert.isOk(testSubject instan...
danielireson/formplug-serverless
src/error/HttpError.spec.js
JavaScript
mit
343
import { inject, injectable } from 'inversify'; import TYPES from '../../di/types'; import * as i from '../../i'; import { RunOptions } from '../../models'; import { IInputConfig } from '../../user-extensibility'; import { BaseInputManager } from '../base-input-manager'; var NestedError = require('nested-error-stacks')...
yosplz/neoman
src/lib/input-managers/custom/custom-input-manager.ts
TypeScript
mit
928
<?php if (!file_exists('./../include/config.php')){ header('Location:install.php'); } include('./../include/config.php'); include('./../include/functions.php'); if (isset($_POST['step'])) $step = intval($_POST['step']); else{ $step = 0; } ?> <!DOCTYPE html> <html> <head> <title>SPC - DB Upgrade</title> ...
50thomatoes50/simple-photos-contest
install/upgrade.php
PHP
mit
3,262
<html><body> <h4>Windows 10 x64 (18362.329)</h4><br> <h2>_PS_CLIENT_SECURITY_CONTEXT</h2> <font face="arial"> +0x000 ImpersonationData : Uint8B<br> +0x000 ImpersonationToken : Ptr64 Void<br> +0x000 ImpersonationLevel : Pos 0, 2 Bits<br> +0x000 EffectiveOnly : Pos 2, 1 Bit<br> </font></body></html>
epikcraw/ggool
public/Windows 10 x64 (18362.329)/_PS_CLIENT_SECURITY_CONTEXT.html
HTML
mit
319
package io.blitz.curl.exception; /** * Exceptions thrown when a validation error occur during a test execution * @author ghermeto */ public class ValidationException extends BlitzException { /** * Constructs an instance of <code>ValidationException</code> with the * specified error and reason messag...
blitz-io/blitz-java
src/main/java/io/blitz/curl/exception/ValidationException.java
Java
mit
473
<html><body> <h4>Windows 10 x64 (19041.508)</h4><br> <h2>_RTL_FEATURE_CONFIGURATION_PRIORITY</h2> <font face="arial"> FeatureConfigurationPriorityAll = 0n0<br> FeatureConfigurationPriorityService = 0n4<br> FeatureConfigurationPriorityUser = 0n8<br> FeatureConfigurationPriorityTest = 0n12<br> Featur...
epikcraw/ggool
public/Windows 10 x64 (19041.508)/_RTL_FEATURE_CONFIGURATION_PRIORITY.html
HTML
mit
379
/** * jQuery object. * @external jQuery * @see {@link http://api.jquery.com/jQuery/} */ /** * The jQuery plugin namespace. * @external "jQuery.fn" * @see {@link http://docs.jquery.com/Plugins/Authoring The jQuery Plugin Guide} */ /** * The plugin global configuration object. * @external "jQuery.vulcanup" *...
vulcan-estudios/vulcanup
src/js/vulcanup.js
JavaScript
mit
7,069
const test = require('tape') const nlp = require('../_lib') test('match min-max', function(t) { let doc = nlp('hello1 one hello2').match('#Value{7,9}') t.equal(doc.out(), '', 'match was too short') doc = nlp('hello1 one two three four five hello2').match('#Value{3}') t.equal(doc.out(), 'one two three', 'exact...
nlp-compromise/compromise
tests/match/min-max.test.js
JavaScript
mit
888
# encoding: utf-8 require 'webmock/rspec' require 'vcr' require_relative '../lib/spotifiery' VCR.configure do |config| config.cassette_library_dir = 'spec/fixtures/vcr_cassettes' config.hook_into :webmock end
cicloon/spotifiery
spec/spec_helper.rb
Ruby
mit
218
class Tweet < ActiveRecord::Base # Remember to create a migration! belongs_to :user end
WoodhamsBD/lil_twitter
app/models/tweet.rb
Ruby
mit
93
using System.IO; using System.Runtime.InteropServices; internal static class Example { [STAThread()] public static void Main() { SolidEdgeFramework.Application objApplication = null; SolidEdgeAssembly.AssemblyDocument objAssemblyDocument = null; SolidEdgeAssembly.StructuralFrames o...
SolidEdgeCommunity/docs
docfx_project/snippets/SolidEdgeAssembly.StructuralFrame.DeleteHoleLocation.cs
C#
mit
1,219
#!/usr/bin/env ruby require 'json' SRC_RANDOM = Random.new(1984) MAX_VALUES = Hash.new(1).update "rcat" => 50, "vcat" => 50, "infq" => 5, "kws" => 10 MRG_VALUES = { "dev" => ["oth","oth","oth","oth","oth","oth"], "bwsm" => ["ff", "sf", "op", "ng", "kq", "an", "ms", "kk", "mo"], "pos" => [2, 4, 5, 6, 7], "mob...
bsm/flood
qfy/testdata/generate.rb
Ruby
mit
1,184
#Upselling 2016-06-01 Upselling is a sales technique whereby a seller induces the customer to purchase more expensive items, upgrades or other add-ons in an attempt to make a more profitable sale. While it usually involves marketing more profitable services or products, it can be simply exposing the customer to other...
tgquintela/temporal_tasks
Notes_md/upselling.md
Markdown
mit
882
package com.lht.dot.ui.view; import android.content.Context; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import com.bumptech.glide.Glide; /** * Created by lht-Mac on 2017/7/11....
LiuHongtao/Dot
app/src/main/java/com/lht/dot/ui/view/PhotoShotRecyclerView.java
Java
mit
1,901
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GPS.SimpleMVC.Views; namespace GPS.SimpleMVC.Tests.ControllerImplementations { public interface ITestView : ISimpleView { Guid UID { get; set; } string Name { g...
gatewayprogrammingschool/SimpleMVC
tests/GPS.SimpleMVCTests/Controllers/ITestView.cs
C#
mit
507
/** * @license * Copyright 2020 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
ManakCP/NestJs
node_modules/@tensorflow/tfjs-core/src/backends/cpu/register_all_kernels.ts
TypeScript
mit
1,414
function ones(rows, columns) { columns = columns || rows; if (typeof rows === 'number' && typeof columns === 'number') { const matrix = []; for (let i = 0; i < rows; i++) { matrix.push([]); for (let j = 0; j < columns; j++) { matrix[i].push(1); ...
arnellebalane/matrix.js
source/matrix.ones.js
JavaScript
mit
455
<?php namespace LolApi\Classes\TournamentProvider; /** * TournamentCodeParameters * * @author Javier */ class TournamentCodeParameters { // ~ maptype ~ const MAPTYPE_SUMMONERS_RIFT='SUMMONERS_RIFT'; const MAPTYPE_TWISTED_TREELINE='TWISTED_TREELINE'; const MAPTYPE_HOWLING_ABYSS='HOWLING_ABYSS'; ...
javierglch/HexaniaBlogSymfony
src/LolApi/Classes/TournamentProvider/TournamentCodeParameters.php
PHP
mit
2,170
<!DOCTYPE html> <html> <head> <script src="https://cdn.rawgit.com/konvajs/konva/1.4.0/konva.min.js"></script> <meta charset="utf-8"> <title>Konva Animate Position Demo</title> <style> body { margin: 0; padding: 0; overflow: hidden; background-color...
leinadpb/Fisica
public/test3.html
HTML
mit
1,205
/* * The MIT License * * Copyright 2015 Adam Kowalewski. * * 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,...
OtwartaPlatformaWyborcza/OPW-backend-JavaEE
opw/src/main/java/com/adamkowalewski/opw/entity/OpwLink.java
Java
mit
5,602
<?php namespace MF\QueryBuilderComposer; use Doctrine\ORM\QueryBuilder; interface Modifier { public function __invoke(QueryBuilder $queryBuilder): QueryBuilder; }
MortalFlesh/php-query-builder-composer
src/Modifier.php
PHP
mit
170
package backup // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated....
Azure/azure-sdk-for-go
services/recoveryservices/mgmt/2021-12-01/backup/protectionpolicyoperationstatuses.go
GO
mit
5,253
package servicebus // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenera...
Azure/azure-sdk-for-go
services/preview/servicebus/mgmt/2021-06-01-preview/servicebus/queues.go
GO
mit
49,392
<?php return array ( 'id' => 'docomo_n2701c_ver1', 'fallback' => 'docomo_generic_jap_ver2', 'capabilities' => array ( 'columns' => '11', 'max_image_width' => '121', 'rows' => '11', 'resolution_width' => '176', 'resolution_height' => '198', 'max_image_height' => '190', 'flash_lite_ve...
cuckata23/wurfl-data
data/docomo_n2701c_ver1.php
PHP
mit
342
<?php namespace HMLB\Date\Tests\Localization; /* * This file is part of the Date package. * * (c) Hugues Maignol <hugues@hmlb.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use HMLB\Date\Date; use HMLB\Date\Tests\AbstractTe...
hmlb/date
tests/Localization/ItTest.php
PHP
mit
840
// http://www.w3.org/2010/05/video/mediaevents.html var poppy = popcorn( [ vid_elem_ref | 'id_string' ] ); poppy // pass-through video control methods .load() .play() .pause() // property setters .currentTime( time ) // skip forward or backwards `time` seconds .playbackRate( rate ) .volume( delt...
rwaldron/butter
popcorn-js/popcorn-api-notes.js
JavaScript
mit
2,970
/* _____ __ _____________ _______ ______ ___________ / \| | \____ \__ \\_ __ \/ ___// __ \_ __ \ | Y Y \ | / |_> > __ \| | \/\___ \\ ___/| | \/ |__|_| /____/| __(____ /__| /____ >\___ >__| \/ |__| \/ \/ \/ Copyright (C) 2004 - 2020 Ingo Berg Redistri...
Siv3D/OpenSiv3D
Siv3D/src/ThirdParty/muparser/muParserDLL.cpp
C++
mit
25,026
<!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
007393a/html/structv8_1_1internal_1_1_smi_tagging_3_014_01_4.html
HTML
mit
7,170
using System; using System.IO; using Xunit; namespace OpenSage.Tests.Data { internal static class TestUtility { public static T DoRoundtripTest<T>( Func<Stream> getOriginalStream, Func<Stream, T> parseCallback, Action<T, Stream> serializeCallback, bool s...
feliwir/openSage
src/OpenSage.Game.Tests/Data/TestUtility.cs
C#
mit
1,933
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\DoctrineMongoDBBundle\Command; use Doctrine\ODM\MongoDB\...
ajessu/jobeet
vendor/symfony/src/Symfony/Bundle/DoctrineMongoDBBundle/Command/InfoDoctrineODMCommand.php
PHP
mit
3,442
#!/bin/bash # This script overcomes a yucky bug in simplescalar's GCC, which # prevents it from working on the user filesystem (due to a problem # with the transition to 64-bit). Luckily /tmp is implemented differently # and doesn'thave this problem so we copy the tree there and do the make there. TMPNAME=/tmp/SS...
H7DE/Instruction-Level-Parallelism-CW
SSCA2v2.2/BuildForSimplescalar.sh
Shell
mit
757
<!-- Smart Data Platform - Reference Implementation This page shows how to receive and visualize the data stream from a sensor in real-time. In particular data is received using Socket.IO, which provides an abstraction layer to Websocket API. Data visualizzation is based on D3js library (<http://d3js.org). --...
csipiemonte/smartlab
reference-realtime/webapplication/sdp-ref/index.html
HTML
mit
6,042
module LiveScript module Source VERSION = '1.5.0' end end
Roonin-mx/livescript-source
lib/livescript/source/version.rb
Ruby
mit
66
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Topup extends MY_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this co...
seegan/Myproj
application/controllers/super_admin/topup.php
PHP
mit
1,936
define(['myweb/jquery'], function ($) { 'use strict'; var error = function (message) { $('.form-feedback').removeClass('form-success').addClass('form-error').text(message).fadeIn(200); }; var success = function (message) { $('.form-feedback').removeClass('form-error').addClass('form-suc...
broekema41/Device-lab-access-point
static/js/message.js
JavaScript
mit
576
# encoding: UTF-8 include Vorax describe 'tablezip layout' do before(:each) do# {{{ @sp = Sqlplus.new('sqlplus') @sp.default_convertor = :tablezip @prep = [VORAX_CSTR, "set tab off", "set linesize 10000", "set markup html on", "set echo off", ...
talek/vorax4
vorax/ruby/spec/tablezip_spec.rb
Ruby
mit
2,817
from django.contrib.admin.models import LogEntry from django.contrib.auth.models import User, Group, Permission from simple_history import register from celsius.tools import register_for_permission_handling register(User) register(Group) register_for_permission_handling(User) register_for_permission_handling(Group) ...
cytex124/celsius-cloud-backend
src/addons/management_user/admin.py
Python
mit
408
<!DOCTYPE html> <!--[if IE 8]> <html class="ie ie8"> <![endif]--> <!--[if IE 9]> <html class="ie ie9"> <![endif]--> <!--[if gt IE 9]><!--> <html> <!--<![endif]--> <head> <!-- Basic --> <meta charset="utf-8"> <title>VirUCA</title> <meta name="keywords" content="" /> <meta n...
mariamartinmarin/virUCA
application/views/jugar.php
PHP
mit
17,711
namespace ConsoleStudentSystem.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class User { private ICollection<UserProfile> userProfiles; public User() { this.userProfiles = new HashSet<UserProfile>(); } ...
studware/Ange-Git
MyTelerikAcademyHomeWorks/DataBase/12.EntityFrameworkCodeFirst/ConsoleStudentSystem/ConsoleStudentSystem.Models/Student.cs
C#
mit
492
const gulp = require('gulp'), zip = require('gulp-zip'); /** * Metadata about the plugin. * * @var object */ const plugin = { name: 'example-plugin', directory: '.' } gulp.task('distribute', function () { let paths = [ 'vendor/twig/**/*', 'vendor/composer/**/*', 'v...
p810/wordpress-plugin-scaffold
gulpfile.js
JavaScript
mit
542
namespace RouteExtreme.Web { using System; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; using RouteExtreme.Models; using RouteExtreme.Data; p...
zhenyaracheva/RoutExtreme
RouteExtreme.Web/App_Start/Startup.Auth.cs
C#
mit
3,515
package com.management.dao.impl.calcs; import java.sql.Connection; import java.sql.SQLException; import java.util.List; import org.apache.commons.dbutils.QueryRunner; import org.apache.commons.dbutils.handlers.BeanListHandler; import com.management.bean.calculate.ProjectCalc; import com.management.bean.calculate.Pro...
ztmark/managementsystem
src/com/management/dao/impl/calcs/ProjectCalcDaoImpl.java
Java
mit
2,035
# [Глава 1](../index.md#Глава-1-Построение-абстракций-с-помощью-процедур) ### Упражнение 1.2 Переведите следующее выражение в префиксную форму: `(5 + 4 + (2 - (3 - (6 + 4/5)))) / (3 * (6 - 2) * (2 - 7))` #### Решение [Code](../../src/sicp/chapter01/1_02.clj) | [Test](../../test/sicp/chapter01/1_02_test.clj)
justCxx/sicp
doc/chapter01/ex_1_02.md
Markdown
mit
419
<!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
967cf97/html/classv8_1_1HeapProfiler_1_1ObjectNameResolver.html
HTML
mit
6,804
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Windows; using System.Windows.Forms; using System.Windows.Forms.Integration; using System.Windows.Media; using WPFControls; namespace...
Microsoft/WPF-Samples
Migration and Interoperability/WindowsFormsHostingWpfControl/FormsApp/Form1.cs
C#
mit
5,369
using System.Collections.Immutable; using JetBrains.Annotations; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Queries.Expressions; using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Resources.Annotations; using Microsoft.Extensions.Primitives; namespace JsonApiDotNetCoreTests.IntegrationTests...
json-api-dotnet/JsonApiDotNetCore
test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitions/Reading/MoonDefinition.cs
C#
mit
2,427
/* * Author: Minho Kim (ISKU) * Date: March 3, 2018 * E-mail: minho.kim093@gmail.com * * https://github.com/ISKU/Algorithm * https://www.acmicpc.net/problem/13169 */ import java.util.*; public class Main { private static long[] array; private static int N; public static void main(String... args) { Scann...
ISKU/Algorithm
BOJ/13169/Main.java
Java
mit
630
from django import forms from miniURL.models import Redirection #Pour faire un formulaire depuis un modèle. (/!\ héritage différent) class RedirectionForm(forms.ModelForm): class Meta: model = Redirection fields = ('real_url', 'pseudo') # Pour récupérer des données cel apeut ce faire avec un POST...
guillaume-havard/testdjango
sitetest/miniURL/forms.py
Python
mit
615
<!DOCTYPE html> <!-- Copyright 2012 The Polymer Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <html> <head> <title>CoolClock</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="../../...
revans/sparks
lib/sparks/generators/template/vendor/assets/javascripts/polymer-all/more-elements/cool-clock/index.html
HTML
mit
494
package pp.iloc.model; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import pp.iloc.model.Num.NumKind; import pp.iloc.model.Operand.Type; import pp.iloc.parse.FormatException;...
tcoenraad/compiler-construction
lib/pp/iloc/model/Program.java
Java
mit
7,199
/** audio player styles **/ .audio-player, .audio-player div,.audio-player button { margin: 0; padding: 0; border: none; outline: none; } div.audio-player { position: relative; width: 100% !important; height: 76px !important; margin: 0 auto; } /* play/pause control */ .mejs-controls .mejs-button button ...
sharon-lin/SpellrTellr
css/audio.css
CSS
mit
6,594
<a href="https://sweetalert2.github.io/"> <img src="./assets/swal2-logo.png" width="498" alt="SweetAlert2"> </a> A beautiful, responsive, customizable, accessible (WAI-ARIA) replacement <br> for JavaScript's popup boxes. Zero dependencies. --- ### [Installation](https://sweetalert2.github.io/#download) | [Usage](h...
limonte/sweetalert2
README.md
Markdown
mit
5,912
<!DOCTYPE html> <html class="no-js " lang="zh"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="keywords" content="jQuery,API,中文,jquery api,1.11,def.resolveWith(c,[a])"/> <meta name="description" content="jQuery API 1.12.0 中文手册最新版,在线地址:http://j...
shifonecui/shifonecui.github.com
deferred.resolveWith.html
HTML
mit
38,635
import { IHiveMindNeuron, IHiveMindNeurons } from './HiveMindNeurons'; import { UserInput } from '../../BasicUserInput'; import { RequestContext } from '../../BasicRequestContext'; import { INeuronsResponse, ISingleNeuronsResponse, SingleNeuronsResponse } from './NeuronsResponse'; import { INeuronResponse } from '../.....
OFTechLabs/oratio
src/emergent/hivemind/neurons/PureEmergentHiveMindNeurons.ts
TypeScript
mit
2,881
require_relative 'spec_helper' require_relative '../lib/nixonpi/animations/easing' describe NixonPi::Easing do before :each do @object = Object.new @object.extend(NixonPi::Easing) end # @param [Object] x percent complete (0.0 - 1.0) # @param [Object] t elapsed time ms # @param [Object] b start value...
danielkummer/nixon-pi
spec/easing_spec.rb
Ruby
mit
604
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>circuits: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/8.11.dev/circuits/8.6.0.html
HTML
mit
6,855
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-abel: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.9.0/mathcomp-abel/1.0.0.html
HTML
mit
7,463
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Aug 25 21:11:45 2017 @author: hubert """ import numpy as np import matplotlib.pyplot as plt class LiveBarGraph(object): """ """ def __init__(self, band_names=['delta', 'theta', 'alpha', 'beta'], ch_names=['TP9', 'AF7', 'A...
bcimontreal/bci_workshop
python/extra_stuff/livebargraph.py
Python
mit
940
#!/usr/bin/env bash # DETAILS: Invokes rsyncs with well known better options. # CREATED: 06/29/13 16:14:34 IST # MODIFIED: 10/24/17 14:36:30 IST # # AUTHOR: Ravikiran K.S., ravikirandotks@gmail.com # LICENCE: Copyright (c) 2013, Ravikiran K.S. #set -uvx # Warn unset vars as error, Verbose (echo each com...
rkks/scripts
bash/rsync.sh
Shell
mit
5,109
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Transaction</title> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.hr...
stevedoe/nxt-client
html/doc/nxt/Transaction.html
HTML
mit
13,838
require 'spec_helper' describe 'ssh::default' do let(:chef_run){ ChefSpec::SoloRunner.new(platform: 'ubuntu', version: '12.04').converge(described_recipe) } it 'should include the ssh::client recipe' do expect(chef_run).to include_recipe('ssh::client') end it 'should include the ssh::server recipe' do expec...
ersmith/cookbook-ssh
spec/default_spec.rb
Ruby
mit
373
<?php namespace Ekyna\Bundle\CartBundle\Provider; use Ekyna\Bundle\CartBundle\Model\CartProviderInterface; use Ekyna\Bundle\OrderBundle\Entity\OrderRepository; use Ekyna\Component\Sale\Order\OrderInterface; use Ekyna\Component\Sale\Order\OrderTypes; use Symfony\Component\HttpFoundation\Session\SessionInterface; /** ...
ekyna/CartBundle
Provider/CartProvider.php
PHP
mit
2,736
<h1><?php echo $titulo_pagina; ?></h1> <p>Usuários cadastrados no sistema</p> <p class="alert bg-danger" style="display:none;"><strong>Mensagem!</strong> <span></span></p> <p><a href="<?php echo base_url().'admin/usuarios/cadastrar'; ?>" class="btn btn-primary">Cadastrar</a></p> <table class="table table-bordered table...
bmarquesn/bmnprojetopiloto
application/views/admin/usuarios/listar.php
PHP
mit
1,435
# -*- coding: utf-8 -*- from modules import Robot import time r = Robot.Robot() state = [0, 1000, 1500] (run, move, write) = range(3) i = run slowdown = 1 flag_A = 0 flag_C = 0 lock = [0, 0, 0, 0] while(True): a = r.Read() for it in range(len(lock)): if lock[it]: lock[it] = lock[it] - 1 ...
KMPSUJ/lego_robot
pilot.py
Python
mit
4,781
// // UIBarButtonItem+initWithImageName.h // lottowinnersv2 // // Created by Mac Mini on 4/17/14. // Copyright (c) 2014 com.qaik. All rights reserved. // #import <UIKit/UIKit.h> @interface UIBarButtonItem (initWithImageName) + (instancetype)barbuttonItemWithImage:(UIImage *)image target:(id)target action:(SEL)act...
bumaociyuan/ZXFramework
UIKit/UIBarButtonItem+initWithImageName.h
C
mit
604
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using Windows.Foundation.Collections; using Windows.Media; using Windows.UI.Xaml; using Windows.UI.Xaml.Contr...
jimshalo10/HoloLensCompanionKit
MixedRemoteViewCompositor/Samples/LowLatencyMRC/UWP/Viewer/Playback.xaml.cs
C#
mit
4,072
<html><body> <h4>Windows 10 x64 (19042.610)</h4><br> <h2>_OBJECT_REF_INFO</h2> <font face="arial"> +0x000 ObjectHeader : Ptr64 <a href="./_OBJECT_HEADER.html">_OBJECT_HEADER</a><br> +0x008 NextRef : Ptr64 Void<br> +0x010 ImageFileName : [16] UChar<br> +0x020 NextPos : Uint2B<br...
epikcraw/ggool
public/Windows 10 x64 (19042.610)/_OBJECT_REF_INFO.html
HTML
mit
490
#ifndef _SIMPLE_POLYGON_H #define _SIMPLE_POLYGON_H #include <vector> #include <QtOpenGL> #include "AGVector.h" #include "Triangulate.h" #define MAX_DIST 0.1 using std::vector; class SimplePolygon { public: SimplePolygon(); ~SimplePolygon(); void DrawPolygon(); void Clear(); void Update(AGVector v,...
thejnich/ArtGalleryProblem
headers/SimplePolygon.h
C
mit
808
<?php class ModelTask { public $Model; public $MethodName; public $Request; public $ResponseInfo; public $Response; public $Headers; public static function Prepare(&$model, $methodName) { $newTask = new self; $newTask->Model = &$model; $newTask->MethodName = $methodName; $newTask->Request = null; $...
lekster/md_new
libraries/common/Rest/class.ModelTask.php
PHP
mit
431
/* * This code it's help you to check JS plugin function (e.g. jQuery) exist. * When function not exist, the code will auto reload JS plugin from your setting. * * plugin_name: It's your plugin function name (e.g. jQuery). The type is string. * reload_url: It's your reload plugin function URL. The type is string....
opoepev/checkJSPluginExist
checkJSPluginExist.js
JavaScript
mit
1,273
# -*- coding: utf-8 -*- from django.db import models from Corretor.base import CorretorException from Corretor.base import ExecutorException from Corretor.base import CompiladorException from Corretor.base import ComparadorException from Corretor.base import LockException from model_utils import Choices class Retorn...
arruda/amao
AMAO/apps/Corretor/models/retorno.py
Python
mit
2,633
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ur_PK" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ShadowCoin</source> <translation type="unfinished"/> </message> <message> <location ...
hansacoin/hansacoin
src/qt/locale - Copy/bitcoin_ur_PK.ts
TypeScript
mit
107,848
<?php include $_SERVER['DOCUMENT_ROOT'] . '/snippets/document/header/index.php'; ?> <div class="layout-project"> <div class="project project_glow context-content"> <section class="project__layout"> <header class="project__header"> <div class="container"> <h1 class="project__title">Glow</h...
Booozz/portfolio-m
app/templates/project-glow.php
PHP
mit
2,356